full diff

dev.knotless.registerPush

From
bafyreig73w3ifjiofwbt4aayvbv3si55snmpyzs4fch7zrlcrcu2gycnm4 indexed 2026-11-06 08:02 UTC View this version
To
bafyreifaeucpi333fi2poh3q4v2ums6lzif7x3fznjffahevoh5vtxfyz4 indexed 2026-11-12 00:44 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.registerPush:input.key" }
  • AddedEdge AddedEdge { src: "dev.knotless.registerPush:input", tgt: "dev.knotless.registerPush:input.key", kind: "prop", name: Some("key") }

Migration guidance

Added

  • AddedVertex { vertex_id: "dev.knotless.registerPush:input.key" }

Notes

  • Non-breaking: AddedEdge { src: "dev.knotless.registerPush:input", tgt: "dev.knotless.registerPush:input.key", kind: "prop", name: Some("key") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Keeps, on the appview, a device to send the asking account's notifications to, from then on. A device already registered to another account moves to this one.",
66 "errors": [
77 {
8 "description": "The token is not hexadecimal, or the environment is not one this appview knows.",
8 "description": "The token is not hexadecimal, the environment is not one this appview knows, or the key is not 32 bytes in base64.",
99 "name": "InvalidRequest"
1010 },
1111 {
1212 "description": "No account is asking.",
1313 "name": "AuthenticationRequired"
1414 }
1515 ],
1616 "input": {
1717 "encoding": "application/json",
1818 "schema": {
1919 "properties": {
2020 "environment": {
2121 "description": "Which of Apple's push services issued the token.",
2222 "knownValues": [
2323 "production",
2424 "sandbox"
2525 ],
2626 "maxLength": 20,
2727 "type": "string"
2828 },
29 "key": {
30 "description": "A 32-byte AES-256-GCM key the device made, in base64. A private repository's notifications are sealed with it, for the app to open on the device; to a device without one, they name nothing.",
31 "maxLength": 100,
32 "type": "string"
33 },
2934 "token": {
3035 "description": "The device's push token from Apple, in hexadecimal.",
3136 "maxLength": 200,
3237 "type": "string"
3338 }
3439 },
3540 "required": [
3641 "token",
3742 "environment"
3843 ],
3944 "type": "object"
4045 }
4146 },
4247 "output": {
4348 "encoding": "application/json",
4449 "schema": {
4550 "properties": {},
4651 "type": "object"
4752 }
4853 },
4954 "type": "procedure"
5055 }
5156 },
5257 "description": "Asks this appview to send the asking account's notifications to a device.",
5358 "id": "dev.knotless.registerPush",
5459 "lexicon": 1
5560}

Compare other versions