GET/users/{id}/albums
List user's albums
Retrieve user's albums. Same filtering, sorting, and pagination as `/albums`.
Parameters 13
| Name | Type | Description |
|---|---|---|
_page | query · integer | Page number (1-based) |
_limit | query · integer | Items per page |
_start | query · integer | Slice start index (alternative to page-based) |
ReturnsAlbum
Bearer token required
Response examples
200Array of albums
[
{
"id": 1,
"userId": 1,
"title": "Abstract",
"description": "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
"coverImage": "https://picsum.photos/seed/album1/600/400",
"photoCount": 39,
"isPublic": true,
"createdAt": "2024-07-02T09:01:49.954Z"
}
]404404 — resource not found
{
"error": {
"status": 404,
"message": "users #999 not found"
}
}