Skip to main content

Check if Following Discussion

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

info

This operation requires authentication.

HTTP Request

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

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this discussion.

Example Request

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

fetch('/api/v2/discussion/{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"
}