Retrieve preview photos for a specific album
Preview photos are a subset of the album's photos (max. 32 photos) that anyone can view when the preview feature is ON for that album
Query parameters
-
ID of the album to retrieve preview photos for
GET /album/getPreviewPhotos
curl \
-X GET https://public-api.joinswsh.com/album/getPreviewPhotos?albumId=22222222-2222-2222-2222-222222222222
Response examples (200)
{
"data": [
{
"photoId": "string",
"width": 42,
"height": 42,
"originalUrl": "string",
"stableUrl": "string"
}
],
"warnings": [
"Example warning"
]
}
Response examples (400)
{
"message": "Invalid request"
}