Collections

Create a collection

Changed on

Creates an empty collection. Leave object_type out for a mixed collection, or set it to pin the collection to a single type so anything else is refused when it is added.

put/collections

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://develop.ampache.dev/rest/8/json/collections
  • Auth
    • HTTP bearer
    • or API key in header auth
    • or API key in query parameter auth

Query parameters

namestring
type'public' | 'private'
object_typestring

Request body

namestring required
type'public' | 'private'
object_typestring

Response

The collection that was created

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      endpoint added