Skip to main content

Mark Read Broadcast Messages

This endpoint marks as viewed/read a broadcast message for a user.

info

This operation does not require authentication.

HTTP Request

POST /api/v2/notification/banner/read/

Parameters

NameInTypeRequiredDescription
banner_idsbodylist([integer])trueThe request body(banner ids list)

Example Body Parameters

{
"banner_ids": ["integer"]
}

Example Request

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

fetch('/api/v2/notification/banner/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

Example responses

{
"banner_ids": ["integer"]
}