DELETE photos/:photo_id/vote
Unlikes the specified photo for the user.
- id (required) — The Photo ID to unlike.
A JSON object containing keys: status, message, photo (in short format) and error(if happened).
All known errors cause the resource to return HTTP error code header together with a JSON array containing at least 'status' and 'error' keys describing the source of error.
- 404 Not Found — The requested photo does not exist or was deleted.
Request
DELETE v1/photos/8359543/vote
Return
{
"status": 200,
"message": "Successfully unliked photo.",
"photo": {
"id": 12345,
"name": "photo1",
...
}
"error": "None"
}