User Following
From EveryTrail API Developer Documentation
Contents |
URL
/api/user/following
Semantics
Get users that a given user is following
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| user_id | int | yes | The id of the user which is following the returned users |
Success Response
<etUserFollowingResponse status="success"> <userID>${userID}</userID> <users> ${userXML} </users> </etUserFollowingResponse>
- ${userID}: the id of the user specified in the request
- ${userXML} - see User XML Format
Error Response
<etUserFollowingResponse status="error"> <userID>${userID}</userID> ${error response} </etUserFollowingResponse>
- ${userID}: the id of the user specified in the request
- ${error response}: See format in Error Reponse Format
Error Codes
| Code | Message |
|---|---|
| 15 | Invalid user id |
