social.colibri.notification.registerPush
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"fcmSubscription": {
"description": "A Firebase Cloud Messaging registration token.",
"properties": {
"token": {
"description": "FCM registration token from FirebaseMessaging.getInstance().token.",
"type": "string"
}
},
"required": [
"token"
],
"type": "object"
},
"main": {
"description": "Registers a push subscription (Web Push or FCM) for the authenticated user.",
"errors": [
{
"description": "Missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "A parameter or body field was missing or malformed.",
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"platform": {
"knownValues": [
"web",
"tauri",
"android"
],
"type": "string"
},
"subscription": {
"refs": [
"lex:social.colibri.notification.registerPush#webPushSubscription",
"lex:social.colibri.notification.registerPush#fcmSubscription"
],
"type": "union"
}
},
"required": [
"platform",
"subscription"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"registered": {
"type": "boolean"
}
},
"required": [
"registered"
],
"type": "object"
}
},
"type": "procedure"
},
"pushKeys": {
"description": "Web Push subscription keys.",
"properties": {
"auth": {
"type": "string"
},
"p256dh": {
"type": "string"
}
},
"required": [
"p256dh",
"auth"
],
"type": "object"
},
"webPushSubscription": {
"description": "A browser Web Push subscription.",
"properties": {
"endpoint": {
"format": "uri",
"type": "string"
},
"keys": {
"ref": "lex:social.colibri.notification.registerPush#pushKeys",
"type": "ref"
}
},
"required": [
"endpoint",
"keys"
],
"type": "object"
}
},
"id": "social.colibri.notification.registerPush",
"lexicon": 1
}
Metadata
- DID
-
did:plc:mprdjqjluoswa7awzggaggj3 - CID
-
bafyreifi5c4yrwbpwvkoukgfggksxqe6ap3rcatweuw3nzf4cljmghyj54 - Indexed At
- 2026-07-31 21:23 UTC
- AT-URI
-
at://did:plc:mprdjqjluoswa7awzggaggj3/com.atproto.lexicon.schema/social.colibri.notification.registerPush
Version History (2 versions)
- 2026-07-31 21:23 UTC (current)
- 2026-07-24 14:44 UTC diff
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Registers a push endpoint for the requesting user's device. Web Push requires endpoint, p256dh, and auth. FCM requires token.
-
so.sprk.notification.registerPush procedure
Register to receive push notifications, via a specified service, for the requesting account. Requires auth.
-
app.bivri.notif.registerPush procedure
Authenticated member Web Push subscription management. Identity comes only from authentication.
-
app.bsky.notification.registerPush procedure
Register to receive push notifications, via a specified service, for the requesting account. Requires auth.
-
Register to receive push notifications, via a specified service, for the requesting account. Requires auth.