app.studynext.pushSubscription
A push notification subscription (Expo push token or Web Push subscription), written into the owning user's own PDS by that device. Which of expoPushToken / (endpoint, keys) is present depends on `platform`. rkey = a per-install stable device id generated once and persisted locally (not derived from the token/endpoint themselves, since those rotate and contain characters outside the AT Protocol rkey charset). Re-registration upserts the same rkey via putRecord, so a device never accumulates duplicate records.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | studynext.app |
| Commit rev | 3n3kcoqiosc2t |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.platformNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"keys": {
"description": "Web Push encryption keys. Present when platform=web.",
"properties": {
"auth": {
"maxLength": 500,
"type": "string"
},
"p256dh": {
"maxLength": 500,
"type": "string"
}
},
"required": [
"p256dh",
"auth"
],
"type": "object"
},
"main": {
"description": "A push notification subscription (Expo push token or Web Push subscription), written into the owning user's own PDS by that device. Which of expoPushToken / (endpoint, keys) is present depends on `platform`. rkey = a per-install stable device id generated once and persisted locally (not derived from the token/endpoint themselves, since those rotate and contain characters outside the AT Protocol rkey charset). Re-registration upserts the same rkey via putRecord, so a device never accumulates duplicate records.",
"key": "any",
"record": {
"properties": {
"deviceId": {
"maxLength": 100,
"type": "string"
},
"endpoint": {
"description": "Web Push endpoint URL. Present when platform=web.",
"maxLength": 2000,
"type": "string"
},
"expoPushToken": {
"description": "Present when platform=expo.",
"maxLength": 500,
"type": "string"
},
"keys": {
"ref": "#keys",
"type": "ref"
},
"platform": {
"knownValues": [
"expo",
"web"
],
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"platform",
"deviceId",
"updatedAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "app.studynext.pushSubscription",
"lexicon": 1
}