Skip to Content
Xeonr Developer Docs

Mark notifications read

POST
/xmb.api.v1.NotificationService/MarkNotificationsRead

Marks the given notifications, or all of them, as read for the caller on this server.

Required scopes: xmb:user:write

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

serverSlug?string
Length1 <= length <= 128
uuids?array<>

Specific rows to mark. Ignored when all is set.

Itemsitems <= 100
all?boolean

Mark everything the caller can see in this audience.

audience?string

Which feed the marks apply to. UNSPECIFIED reads as VIEWER.

Value in"NOTIFICATION_AUDIENCE_UNSPECIFIED" | "NOTIFICATION_AUDIENCE_VIEWER" | "NOTIFICATION_AUDIENCE_ADMIN"
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.NotificationService/MarkNotificationsRead" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{}