User Photos
From EveryTrail API Developer Documentation
Contents |
URL
/api/user/pictures
Semantics
Get a list of pictures for a user
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| user_id | int | yes | The id of the user |
| limit | int | no | The maximum number of results to return (default is 20) |
| start | int | no | The index of the first result to return from the result set. (default is 0) |
Success Response
<etUserPicturesResponse status="success"> <pictures> ${pictureXML} </pictures> </etUserPicturesResponse>
${pictureXML} - see Picture XML Format
Error Response
<etUserPicturesResponse status="error"> ${error response} </etUserPicturesResponse>
${error response}: See format in Error Reponse Format
Error Codes
| Code | Message |
|---|---|
| 15 | Invalid user id |
