Skip to Content
Xeonr Developer Docs
API SpecificationDevices and preferences

Get notify me

POST
/xeonr.notify.v1.DeviceService/GetNotifyMe

The caller's notify roles: whether they are a notify platform admin, which of their teams they administer, and the notify scopes their token carries. The console reads this to decide which screens to show; every RPC still enforces its own scopes.

Required scopes: notify:devices: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

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.DeviceService/GetNotifyMe" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "subject": "string",
  "admin": true,
  "teams": [
    {
      "id": "string",
      "slug": "string",
      "admin": true
    }
  ],
  "scopes": [
    "string"
  ]
}