curl --fail-with-body -X GET "$RAWCHUNKS_API/api/albums"
{
"items": [
{
"id": "<string>",
"title": "<string>",
"creator": "<string>",
"description": {},
"cover": {},
"public": true,
"created_at": "<string>"
}
]
}Albums
List albums
List a creator’s albums or public albums.
GET
/
api
/
albums
curl --fail-with-body -X GET "$RAWCHUNKS_API/api/albums"
{
"items": [
{
"id": "<string>",
"title": "<string>",
"creator": "<string>",
"description": {},
"cover": {},
"public": true,
"created_at": "<string>"
}
]
}With neither
creator nor public=true, the response is an empty array. There are no pagination parameters. Album visibility is a catalog setting, not a private storage boundary.
Headers and parameters
string
Creator address; takes precedence over public.
string
Set the literal string true for public albums.
Response (200)
Success.object[]
Errors
Failed JSON responses contain anerror string. Check the HTTP status before reading a successful result. See job handling for interrupted or uncertain submissions.
| Status | Meaning |
|---|---|
400 | Invalid request. |
500 | Request failed. |
curl --fail-with-body -X GET "$RAWCHUNKS_API/api/albums"
⌘I