User Followers
From EveryTrail API Developer Documentation
Contents |
URL
/api/user/followers
Semantics
Get users following a given user
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| user_id | int | yes | The id of the user which the returned users are following |
Success Response
<etUserFollowersResponse status="success"> <userID>${userID}</userID> <users> ${userXML} </users> </etUserFollowersResponse>
- ${userID}: the id of the user specified in the request
- ${userXML} - see User XML Format
Error Response
<etUserFollowersResponse status="error"> <userID>${userID}</userID> ${error response} </etUserFollowersResponse>
- ${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 |
