Collections
Add an object to a collection
Changed onAdding the same object twice is a no-op rather than a duplicate. A pinned collection refuses anything but its own type, and an object that does not exist is refused rather than stored as a dangling id.
put/collections/{collection_id}/items
Request
- Base URLhttps://develop.ampache.dev/rest/8/json
- URLhttps://develop.ampache.dev/rest/8/json/collections/{collection_id}/items
- Auth
- HTTP bearer
- or API key in header auth
- or API key in query parameter auth
Path parameters
collection_idstring required
Query parameters
idstring
object_typestring
Type of the object
Request body
Response
Confirmation the object was added
Changes
- info
endpoint added
- info