Favorites and collections
Favorites
Section titled “Favorites”| Endpoint | Scope |
|---|---|
GET /v1/me/favorites?type=asset |
library:read |
PUT /v1/me/favorites/{type}/{id} |
library:write |
DELETE /v1/me/favorites/{type}/{id} |
library:write |
type is asset or pack. Both PUT and DELETE are idempotent and answer 204.
Collections
Section titled “Collections”A collection is a list of sounds and packs with a title, a description and a visibility:
private (only the owner), unlisted (anyone with the link) or public.
| Endpoint | Scope |
|---|---|
GET /v1/me/collections |
library:read |
POST /v1/me/collections { "title", "description", "visibility" } |
library:write |
GET /v1/collections/{id} |
none for public and unlisted ones |
GET /v1/collections/{id}/items |
none for public and unlisted ones |
PATCH /v1/collections/{id} |
library:write |
DELETE /v1/collections/{id} |
library:write |
POST /v1/collections/{id}/items { "target_type": "asset", "target_id": "ast_…", "note" } |
library:write |
PATCH /v1/collections/{id}/items/{item_id} { "position": 0 } |
library:write |
DELETE /v1/collections/{id}/items/{item_id} |
library:write |
Adding a target that is already in the collection returns the existing item with 200.
A collection holds up to 2,000 items; a user may have up to 500 collections.