FAQ/API Documentation/Commenting Resources

Add User Comment

Lockerz Admin
posted this on December 05, 2010 06:57 pm

This will let a user post a comment on a specific photo.

URL

<API_Endpoint>/users/{User}/comments/{PhotoId}

HTTP Method

POST

Formats

XML, JSON

Authenticated

Yes

Input

{User} - Alias or Id for a user.

{PhotoId} - Id of a photo.

Contents

{Comment}

Output

AddPhotoCommentResponse

 <AddPhotoCommentResponse>

     <CommentId>692</CommentId>

 </AddPhotoCommentResponse>

 {"CommentId":693}

Parameters

N/A

Error Codes

N/A

Notes

N/A

Example

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"

 
Topic is closed for comments