/picture/addcomment
From EveryTrail API Developer Documentation
Contents |
URL
/api/picture/addcomment
Semantics
Add a comment to a picture
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| username | string | yes | username for authentication |
| password | string | yes | password for authentication |
| picture_id | int | yes | id of the trip picture to on |
| comment | string | yes | the comment |
Success Response
<etPictureAddcommentResponse status="success"> <pictureID>${picture ID}</pictureID> </etPictureAddcommentResponse>
${picture ID}: ID of the picture
Error Response
<etPictureAddcommentResponse status="error"> <pictureID>${picture ID}</pictureID> ${error reponse} </etPictureAddcommentResponse>
${picture ID}: ID of the picture
${error reponse}: See format in Error Reponse Format
