Skip to main content

Get Main Feed Unseen Count

This endpoint retrieves Main Feed unseen count

info

This operation requires authentication

HTTP Request

GET /api/v2/feed/unseen/count/

Example Request


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

fetch('/api/v2/feed/unseen/count/',
{
method: 'GET',

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

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeFeed Unseen Count

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» totalintegertruenoneThe total unseen count
» count_by_categorylist(object)falsenoneThe total count by category

Example responses

{
"count_by_category": [
{
"id": "integer",
"count": "integer"
}
],
"total": "integer"
}