FAQ/API Documentation/Photo Resources

Flag Photo

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

This call will let you flag a photo for abuse.

URL

<API_Endpoint>/photos/{PhotoId}/flag

HTTP Method

POST

Formats

XML, JSON

Authenticated

Yes

Input

{PhotoId} - Id of a photo.

Contents

N/A

Output

SessionKeyOperationResponse

Parameters

N/A

Error Codes

400 BadRequest, 10006 InvalidPhotoId - {PhotoId} is not a number.
403 Forbidden - Bad Credentials

Notes

N/A

Example

curl -X POST http://api.plixi.com/api/tpapi.svc/photos/9/flag -u bbbb@foo2.com:password  -H "TPSERVICE:Plixi"

 
Topic is closed for comments