Skip to Content
Xeonr Developer Docs
API SpecificationTopics

List grants

POST
/xeonr.notify.v1.TopicService/ListGrants

The capabilities granted on a topic, with a display snapshot of each grantee notify has seen. Needs manage on the topic.

Cursor-paginated: newest first, over an opaque cursor over (created_at, id). limit is clamped to 500 (0 means the default of 50); pass next_cursor back as cursor for the next page.

Required scopes: notify:topics:read

Authorization

BearerAuth
AuthorizationBearer <token>

An access token from Xeonr Auth, presented as Authorization: Bearer <token>. Its audience must include https://notify.xeonr.io, and it must carry the scope the method lists.

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

topicId?string
Length1 <= length <= 32
cursor?string

Cursor is opaque, empty for the first page. The keyset is (created_at, id) descending.

Lengthlength <= 256
limit?integer

Limit is clamped to 500; zero means the default of 50.

Rangevalue <= 500
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.TopicService/ListGrants" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "grants": [
    "map[capability:CAPABILITY_PUBLISH createdAt:2026-10-22T09:30:00Z createdBy:urn:xeonr:auth:uid:user:3 granteeUrn:urn:xeonr:auth:uid:service_account:57 id:gr_1e8c3f7a2d9b4e6c0a5f8b21 topicId:tp_3f9a1c7e2b8d4a6f0c5e9b12]"
  ],
  "nextCursor": "MTc5MjY2MTQwMDAwMDAwMC5ncl8xZThjM2Y3YTJkOWI0ZTZjMGE1ZjhiMjE"
}