Skip to main content

Check User Hidden By

This endpoint returns true if the user (identified in path) has hidden me

info

This operation requires authentication.

HTTP Request

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

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_hidden_by/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codenone

Example responses

{
"is_hidden_by": "boolean"
}