Retrieve all albums the caller has access to
GET
/album/getAlbums
curl \
-X GET https://public-api.joinswsh.com/album/getAlbums \
-H "x-api-key: $API_KEY"
Response examples (200)
{
"data": [
{
"albumId": "22222222-2222-2222-2222-222222222222",
"name": "My Album",
"ownerId": "11111111-1111-1111-1111-111111111111",
"shareUrl": "https://joinswsh.com/album/abcdef"
}
],
"cursor": "string",
"warnings": [
"Example warning"
]
}
Response examples (400)
{
"message": "Invalid request"
}