Lockerz Admin
posted this on December 05, 2010 07:27 pm
This call will let you add tags associated to a photo.
<API_Endpoint>/photos/{PhotoId}/tags
PUT
XML, JSON
Yes
{PhotoId} - Id of a photo.
{Tag}
InsertTagResponse
N/A
400 BadRequest, 10006 InvalidPhotoId
400 BadRequest, 10028 MessageLengthExceeded - {Tag} is longer than 50 characters
403 Forbidden - Bad Credentials
403 Forbidden - Not Photo Owner
N/A
curl -X PUT http://api.plixi.com/api/tpapi.svc/photos/1620/tags -d "kittens" -u bbbb@foo2.com:password -H "TPSERVICE:Plixi"