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.

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,
        "validUntil": "2026-03-23T03:18:41+00:00"
      },
      {
        "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
      }
    ]
  }
}
FieldTypeReq.OpenS.Details
collectionsArray of collectionYesThe collections
Last modified May 8, 2026: Add collections (2cd80f6)