Add (or re-pin) an asset in a collection
POST /collections/{id}/resources
POST
/collections/{id}/resources
Idempotent on (collection_id, asset_id). Re-adding an
existing membership updates sort_order, pinned, and
expires_at but keeps added_at fixed.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Request Body required
Section titled “Request Body required ”object
asset_id
required
string format: uuid
sort_order
integer
pinned
boolean
expires_at
string format: date-time
Responses
Section titled “ Responses ”Resource added
Malformed request
object
error
required
Human-readable error summary
string
Example
the request could not be completedAuthentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
error
required
Human-readable error summary
string
Example
the request could not be completedResource not found
object
error
required
Human-readable error summary
string
Example
the request could not be completed