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
- JavaScript
- Bash
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);
});
# You can also use wget
curl -X GET /api/v2/feed/unseen/count/ \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access_token}'
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Response status code | Feed Unseen Count |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
» total | integer | true | none | The total unseen count |
» count_by_category | list(object) | false | none | The total count by category |
Example responses
- 200
{
"count_by_category": [
{
"id": "integer",
"count": "integer"
}
],
"total": "integer"
}