GET user/{userId}/followers

Get the list of users that are following this user; returns the public user info representation for each.

Example

GET /api/v1/user/66a5db1f-2785-498d-9068-e24ddbba03f2/followers HTTP/1.1
Accept: application/json
Authorization: Bearer ...
----------------------------------------
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
ETag: ...

[
  {
    "id": "3185dd7e-575d-4af9-86fa-c5f322958b76",
    "username": "tcoles+test04",
    "avatar": null,
    "emblem": null,
    "profile": "I said it wasn't important."
  },
  {
    "id": "b6bea640-f04f-4800-9122-e519f1181127",
    "username": "tcoles+test106",
    "avatar": "protected/us-west-2:1075cdec-fb15-4506-b4a2-e8f48090c9b9/2c71fad7-bafd-4b12-882d-a4f9e568fc9f.png",
    "emblem": null,
  }
]

Security

Authentication is required for this method, and access is restricted to the user themself.

URL Parameters

NameDescriptionValue
userIdthe ID of the user as a GUID with dashesstring

Query Parameters

NONE

Request Body

NONE

Response

Successful responses are code 200 with data in the response body. Error responses are standard.

Response Body

The response body is an array of UserInfo objects.

UserInfo

NameDescriptionValue
idthe ID of the user as a GUID with dashesstring
usernamethe user's username, which is uniquestring
avatara media path to the user's avatar image file; will be null if no avatar has been setstring or null
emblemthe GUID of an emblem to display with the user's avatar, or null if none is selectedstring or null
profilea text description of this user, if public optionalstring