Skip to main content

Get Flag Status for a Specific Comment

Retrieves, if exists, a flag for this contribute created by the user logged

info

This operation requires authentication

HTTP Request

GET /api/v2/comment/{id}/flag/status/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this comment

Example Request

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

fetch('/api/v2/comment/{id}/flag/status/',
{
method: 'GET',

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

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeFlag

Example responses

{
"added_at": "string",
"flag_type": "integer",
"flag_type_description": "string"
}