CheckLikedItems
LibraryService
CheckLikedItems
CheckLikedItems checks whether specific items are in the user’s liked collection. Useful for rendering like/unlike toggle state in the UI. Requires the “read” scope.
POST
CheckLikedItems
Headers
OAuth 2.0 Bearer token with the 'read' scope. Required for all library operations. Format: Bearer <access_token>.
Example:
"Bearer eyJhbGciOiJSUzI1NiIs..."
Preferred locale for localized content in returned items (BCP 47).
Example:
"ar"
Body
application/json
Response
Successful response
CheckLikedItemsResponse is the response message indicating which items are liked.
Map of item ID to liked status. Every requested ID appears in this map. True indicates the item is in the user's liked collection.