uloggdDevelopers
Developer portaluloggd
Get startedResourcesArcade
Developer portaluloggdIdentityCatalogProfileLibraryReviewsJournalListsAwardsScreenshotsSocialAccountNotificationsCommentsLikesHistoryPeopleMineralsArcade

Likes

One like, flipped and counted in the same transaction.

Liking has a scope of its own because it is not the same act as replying: one leaves words under somebody's name and the other does not. An integration that only wants to mark what it liked does not need to be able to speak for its owner.

POST/api/v1/likes

Turns the like over and says which side came up. It is not a PUT and a DELETE because the database has one statement that flips and counts in the same transaction; faking two verbs would mean reading the state before writing the opposite, and two quick taps would race each other.

Scope likes.write · Counted against the write allowance

Body

FieldTypeNotes
onrequiredstringreview, list, screenshot, diary, content_comment or profile_comment.
idrequiredstringThe id of what is being liked.

Example response

{
  "data": { "on": "review", "id": "...", "liked": true, "like_count": 12 }
}

Comments

The replies under a post and under a profile.

History

What the owner looked at, following the account.