Trip Pictures
From EveryTrail API Developer Documentation
Contents |
URL
/api/trip/pictures
Semantics
Get a list of pictures for a trip
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| username* | string | no | The username of the owner of the trip |
| password* | string | no | The password of the owner of the trip |
| trip_id | int | yes | The id of the trip |
- If the username and password are validated for the same user as trip owner, trips that are private will be returned
Success Response
<etTripPicturesResponse status="success"> <pictures> ${pictureXML} </pictures> </etTripPicturesResponse>
${pictureXML} - see Picture XML Format
Error Response
<etTripPicturesResponse status="error"> ${error response} </etTripPicturesResponse>
${error response}: See format in Error Reponse Format
Error Codes
| Code | Message |
|---|---|
| 105 | Invalid Trip Id |
| 109 | This trip is private |
