Skip to content

AlbumTreeResponseDto

Endpoints · All schemas

FieldRequiredDescription
albumsYesAlbums that stand on their own (not inside a visible collection)
collectionsYesCollections visible to the user with their albums
spacesYesShared spaces, always top level

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

Field definitions: AlbumResponseDto, AlbumCollectionResponseDto

{
  "properties": {
    "albums": {
      "description": "Albums that stand on their own (not inside a visible collection)",
      "items": {
        "$ref": "#/components/schemas/AlbumResponseDto"
      },
      "type": "array"
    },
    "collections": {
      "description": "Collections visible to the user with their albums",
      "items": {
        "$ref": "#/components/schemas/AlbumCollectionResponseDto"
      },
      "type": "array"
    },
    "spaces": {
      "description": "Shared spaces, always top level",
      "items": {
        "$ref": "#/components/schemas/AlbumResponseDto"
      },
      "type": "array"
    }
  },
  "required": [
    "albums",
    "collections",
    "spaces"
  ],
  "type": "object"
}