/picture/comments

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/picture/comments

Semantics

Get a list of comments for a picture

Parameters

Parameter nameParameter formatRequiredDescription
picture_idintyesThe id of the picture

Success Response

<etPictureCommentsResponse status="success">
  <comments>
    ${commentXML}
  </comments>
</etPictureCommentsResponse>

${commentXML} - see Comment XML Format

Error Response

<etPictureCommentsResponse status="error">
  <pictureID>${pictureID}</pictureID>
  ${error reponse}
</etPictureCommentsResponse>
  • ${pictureID}: id of the picture specified in the request
  • ${error reponse}: See format in Error Reponse Format
Personal tools