Path parameters
-
ID of the resource to fetch
POST /users/{id}/follow
curl \
-X POST https://api.cosmily.com/api/v1/users/{id}/follow \
-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
}
}
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
}
}