Skip to main content

Mark a Specific Feed Object as Read

This endpoint marks as read a list of objects in the feed. Usually it is called when a Feed object enter the viewport of the user.

info

This operation requires authentication

HTTP Request

POST /api/v2/feed/read/

Parameters

NameInTypeRequiredDescription
» objectbodylistfalseList of Feed's object id

Example Body Parameters

{
"object": ["integer"]
}

Example Request


const inputBody = {
object: ["integer"]
};
const headers = {
'Content-Type':'application/x-www-form-urlencoded',
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/feed/read/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone