Collections

Get the contents of a collection

Changed on

The collection's members, grouped by object_type under contents. A collection is heterogeneous by design, so a flat list would leave the client guessing what each id is. The scalar items stays the member count.

get/collections/{collection_id}/items

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://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

offsetinteger

Return results starting from this index position

limitinteger

Maximum number of results to return

Response

The collection and its contents

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • breaking

      the /// response's property type changed from array to object for status

    • info

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

    • info

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