Skip to main content

Check if Suspended Post

This endpoint returns suspended = true if the notifications for the post (identified in path) is suspended by me

info

This operation requires authentication.

HTTP Request

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

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this post.

Example Request

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

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

Responses

StatusMeaningDescriptionSchema
200OKResponse status codenone

Example responses

{
"suspended": "boolean"
}