Lockerz Admin
posted this on December 05, 2010 06:57 pm
This will let a user post a comment on a specific photo.
<API_Endpoint>/users/{User}/comments/{PhotoId}
POST
XML, JSON
Yes
{User} - Alias or Id for a user.
{PhotoId} - Id of a photo.
{Comment}
AddPhotoCommentResponse
<AddPhotoCommentResponse>
<CommentId>692</CommentId>
</AddPhotoCommentResponse>
{"CommentId":693}
N/A
N/A
N/A
curl -X POST http://api.plixi.com/api/tpapi.svc/users/732/comments/1639 -u mlinenweber+26@gmail.com:password -H "TPSERVICE:Plixi" -d "my comment"