Skip to main content

Check User Followed

This endpoint returns is_followed = true if the user (identified in path) is followed by me.

info

This operation requires the community to be set to follow mode.

info

This operation requires authentication.

HTTP Request

GET /api/v2/user/{id}/is_followed/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this user

Example Request

const headers = {
'Accept':'application/json',
'Authorization: Bearer <token>'
};

fetch('/api/v2/user/{id}/is_followed/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codenone

Example responses

{
"is_followed": "boolean"
}