Get the list of users this user is following; returns the public user info representation for each.
GET /api/v1/user/66a5db1f-2785-498d-9068-e24ddbba03f2/following HTTP/1.1
Accept: application/json
Authorization: Bearer ...
----------------------------------------
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
ETag: ...
[
{
"id": "e2de7d16-da33-4d7a-81fe-2ca520b348d8",
"username": "tcoles+test103",
"avatar": null,
"emblem": null,
},
{
"id": "d9fdc918-fb1f-43ba-a27a-d834619404fe",
"username": "tcoles+test104",
"avatar": "protected/us-west-2:b3726d17-a16d-4f5b-a4b9-5ac097dd4b26/2a41fe93-33a1-4239-8359-a3e5bce306d7.png",
"emblem": null,
"profile": "Test4"
},
{
"id": "ce444aa0-7813-4790-aeaf-c974c7b8dc1e",
"username": "tcolesdev",
"avatar": "protected/us-west-2:ce444aa0-7813-4790-aeaf-c974c7b8dc1e/c90ecab2-b3fc-4c24-bc5b-e93eb9a1733c.png",
"emblem": null,
}
]Authentication is required for this method, and access is restricted to the user themself.
| Name | Description | Value |
|---|---|---|
| userId | the ID of the user as a GUID with dashes | string |
NONE
NONE
Successful responses are code 200 with data in the response body. Error responses are standard.
The response body is an array of UserInfo objects.
| Name | Description | Value |
|---|---|---|
| id | the ID of the user as a GUID with dashes | string |
| username | the user's username, which is unique | string |
| avatar | a media path to the user's avatar image file; will be null if no avatar has been set | string or null |
| emblem | the GUID of an emblem to display with the user's avatar, or null if none is selected | string or null |
| profile | a text description of this user, if public optional | string |