Lockerz Admin
posted this on December 05, 2010 06:43 pm
This will get the previous and next photo for a user.
<API_Endpoint>/users/{User}/photos/{PhotoId}/{Direction}
GET
XML, JSON, JSONP
No
{User} - Alias or Id for a user.
{PhotoId} - Id of a photo.
{Direction} - "Next", "Previous", or "Cursors"
N/A
PhotoDetails (2 PhotoDetails if Direction is 'Cursors')
N/A
400 BadRequest, 10006 InvalidPhotoId - {PhotoId} is not a number.
400 BadRequest; 10026 InvalidUserId - {User} does not exist.
N/A
curl -X GET http://api.plixi.com/api/tpapi.svc/users/701/photos/1469/next