---
# System prepended metadata

title: Notes

---

# Notes

Reference snapshot Name | Clarifications 
------------------------|---------------- 
GET-cities-Please Implement three letter Get-you did it in GET -albums.JPG|It is implemented, only we need to create the city before finding it with the /cities API. By h way I created and I found it
GET-polls-list-cannot find poll -How can user find poll without POLL ID.JPG|By accessing `data.album.polls` returned in the response of get Album By Id API also there you can access `data.album.polls[0].votes` for the first poll for example. to find out what I explained by get Album by Id and send 1 which represents album with its fully details. Regarding the API `/polls/list` we send the album Id to get polls in response and we can access from `data.polls` in the returned reponse we can access `data.polls[0].votes` for example for the first poll to get the votes for it and user how votes as well accessed by `data.polls[0].votes[0].user` to get the first vote in the first poll of this album. please let the frontend developer to check to find out if the APIs will fit or not so that I can help you as much as possible.
**POST-albums-albumid-images-cannot add image.JPG**| Please add new album and test again as the old albums added (before the new requirment`default Image` for the album) will not be able to add an image because it has not a `default image`. simply I delete the deafult to add the new image for the album to be the album's image. to solve this issue we can reset the database.
**POST-albums-albumid-images-cannot add image kl.JPG**|Please add new album and test again as the old albums added (before the new requirment`default Image` for the album) will not be able to add an image because it has not a `default image`. simply I delete the deafult to add the new image for the album to be the album's image. to solve this issue we can reset the database.
POST-allbum-this example is NOT correct.JPG| it is swagger limitation I cannot type things between double quotes for as there is no skip charachter I can use to beautify the object. to solve this issue consider Object like That > `{"lat": 25, "long": 30}` for example to be used always with this API only.
POST-poll another user cannot ADD poll to album.JPG|it was the album's owner who can add the poll but Now any user can add any poll for any album.
POST-polls 25charaters max unless can be done in frontend.JPG|Th poll's charachters are 25 charachters only no more no less, any poll should be 25 charachters as per your request as you did not specify the minimum charachters required so the poll's charachters only 25 charachters. by the way I opened it to minimux 5 charachters and maximum 255 charachters, but you have to set the limits in frontend.
POST-reports- also add - field category - How can user report a poll without POLL ID.JPG| There is not API created to report a poll, only the API created is for reporting an album with its id.
*PUT-polls album id problem 1-.JPG*|*sorry about that it was unintended mistake in swagger, but the API was implemented correctly also any user can update any poll in the album, just you can control it from the frontend.*
*PUT-polls album id problem 2-How can user update poll without POLL ID.JPG*|*sorry about that it was unintended mistake in swagger, but the API was implemented correctly also any user can update any poll in the album, just you can control it from the frontend.*

