Create a new album
POST /album/createAlbum
curl \
-X POST https://public-api.joinswsh.com/album/createAlbum \
-H "Content-Type: application/json" \
-d '{"name":"My Album"}'
Request examples
{
"name": "My Album"
}
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
},
"warnings": [
"Example warning"
]
}
Response examples (400)
{
"message": "Invalid request"
}