Retrieve all albums the caller has access to
GET /album/getAlbums
curl \
-X GET https://public-api.joinswsh.com/album/getAlbums
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",
"numPhotos": 5,
"numParticipants": 2
}
],
"cursor": "string",
"warnings": [
"Example warning"
]
}
Response examples (400)
{
"message": "Invalid request"
}