ai.newnal.illi.account.registerPushToken
Register this installation's push token for user-visible notifications only: one token per session, replaced on rotation, removed on logout. Pushes carry generic text and { homeId, kind } only; events travel over SSE.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | account.illi.newnal.ai |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.kinds.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.platformNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Register this installation's push token for user-visible notifications only: one token per session, replaced on rotation, removed on logout. Pushes carry generic text and { homeId, kind } only; events travel over SSE.",
"errors": [
{
"name": "RateLimitExceeded"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"endpoint": {
"description": "UnifiedPush endpoint URL.",
"format": "uri",
"type": "string"
},
"kinds": {
"items": {
"knownValues": [
"memberJoined",
"media",
"deviceOffline"
],
"type": "string"
},
"type": "array"
},
"platform": {
"knownValues": [
"fcm",
"apns",
"unifiedpush"
],
"type": "string"
},
"token": {
"maxLength": 4096,
"type": "string"
}
},
"required": [
"platform",
"token",
"kinds"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"ok": {
"type": "boolean"
}
},
"required": [
"ok"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "ai.newnal.illi.account.registerPushToken",
"lexicon": 1
}