Skip to main content

Check if Following Post

This endpoint returns following = true if the post (identified in path) is followed by me

info

This operation requires authentication.

HTTP Request

GET /api/v2/post/{id}/following/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this post.

Example Request

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

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

Responses

StatusMeaningDescriptionSchema
200OKResponse status codenone

Example responses

{
"following": "boolean"
}