AlbumTreeResponseDto
| Field | Required | Description |
|---|---|---|
albums | Yes | Albums that stand on their own (not inside a visible collection) |
collections | Yes | Collections visible to the user with their albums |
spaces | Yes | Shared 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"
}© 2026 Frameleaf Inc. All rights reserved.
Frameleaf and the Frameleaf logo are Trademarks of Frameleaf Inc.