Skip to main content

Follow a Discussion

This endpoint follows a discussion.

info

This operation requires authentication

HTTP Request

POST /api/v2/discussion/{id}/follow/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this discussion

Example Request

const headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

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

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone