Skip to main content

Restore a Post

This endpoint restores a Post

info

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

HTTP Request

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

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this post

Example Request

fetch('/api/v2/post/{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