Path parameters
-
ID of the resource to fetch
GET /users/{id}/followed_by
curl \
-X GET https://api.cosmily.com/api/v1/users/{id}/followed_by \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": 42,
"auth0_id": "string",
"username": "string",
"email": "string",
"user_type": "string",
"followed_by_count": 42,
"following_count": 42,
"supergroups": [
"string"
],
"last_active": "string",
"followed_by_me": true,
"profile_picture": {
"id": 42,
"user_id": 42,
"image": "string",
"url": "string"
}
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}
Response examples (200)
{
"data": [
{
"id": 42,
"auth0_id": "string",
"username": "string",
"email": "string",
"user_type": "string",
"followed_by_count": 42,
"following_count": 42,
"supergroups": [
"string"
],
"last_active": "string",
"followed_by_me": true,
"profile_picture": {
"id": 42,
"user_id": 42,
"image": "string",
"url": "string"
}
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}