Add a bookmark
POST
/bookmarksAdd an item to your bookmarks. The operation is idempotent: bookmarking an already-bookmarked item is not an error. For EVENT the target is checked for existence and 404 is returned if it does not exist.
| Auth | Login required |
|---|
Request body
entitystringrequiredThe kind of item to bookmark (EVENT / COMMUNITY / PLAYLIST / USER)
entityIdstringrequiredID of the target entity.
Response
| Field | Type | Description |
|---|---|---|
success | boolean | Always true (HTTP 201) |
Request
curl https://api.4s.link/bookmarks \-X POST \-H "Authorization: Bearer 4s_at_..." \-H "Content-Type: application/json" \-d '{"entity": "EVENT","entityId": "e1f2a3b4-..."}'
Example response
{"success": true}