FAQ/API Documentation/Photo Resources

Insert Tag

Lockerz Admin
posted this on December 05, 2010 07:27 pm

This call will let you add tags associated to a photo.

URL

<API_Endpoint>/photos/{PhotoId}/tags

HTTP Method

PUT

Formats

XML, JSON

Authenticated

Yes

Input

{PhotoId} - Id of a photo.

Contents

{Tag}

Output

InsertTagResponse

Parameters

N/A

Error Codes

400 BadRequest, 10006 InvalidPhotoId
400 BadRequest, 10028 MessageLengthExceeded - {Tag} is longer than 50 characters
403 Forbidden - Bad Credentials
403 Forbidden - Not Photo Owner

Notes

N/A

Example

curl -X PUT http://api.plixi.com/api/tpapi.svc/photos/1620/tags -d "kittens" -u bbbb@foo2.com:password  -H "TPSERVICE:Plixi"

 
Topic is closed for comments