Skip to main content

Restore a Comment

This endpoint restores a Comment.

info

This operation requires authentication. The logged user must be the comment creator

HTTP Request

POST /api/v2/comment/{id}/restore/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this comment

Example Request

fetch('/api/v2/comment/{id}/restore/',
{
method: 'POST',
headers: {
'Authorization': 'Bearer {access_token}'
}

})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone