getCollections

Returns all collections a user has access to.

http://your-server/rest/getCollections

Returns all collections a user has access to.

Parameters

ParameterReq.OpenS.DefaultComment
usernameNoIf specified, return collections for this user rather than for the authenticated user. The authenticated user must have admin role if this parameter is used.
countNoThe number of collections to return. If unset or set to a negative value, return all collections.
offsetNoThe number of collections to skip.

Example

Result

A subsonic-response element with a top-level collections array of collection elements on success.

{
  "subsonic-response": {
    "status": "ok",
    "version": "1.16.1",
    "type": "AwesomeServerName",
    "serverVersion": "0.1.3 (tag)",
    "openSubsonic": true,
    "collections": [
      {
        "id": "800000075",
        "name": "testcollection",
        "owner": "user",
        "public": true,
        "created": "2026-03-16T03:18:41+00:00",
        "changed": "2026-03-16T03:18:41+00:00",
        "itemCount": 3,
        "readonly": true
      },
      {
        "id": "800000076",
        "name": "testcollection2",
        "comment" "this is another collection",
        "owner": "user",
        "public": false,
        "itemCount": 17,
        "created": "2026-03-16T03:18:41+00:00",
        "changed": "2026-03-16T03:18:41+00:00",
        "readonly": true
      }
    ],
    "totalCount": 10
  }
}
FieldTypeReq.OpenS.Details
collectionsArray of collectionYesThe collections.
totalCountintegerYesThe total number of collections a user has access to.