full diff

ink.resenha.notification.registerPush

resenha.ink +12 −0
From
bafyreiap7omjnvx44o3qargpawtufoomvthv5qtnpvz4r33e5eaosdl6ka indexed 2026-11-03 21:09 UTC View this version
To
bafyreiamuqule6qhwbf3vqrscyzbone22urgdklxj5su76cunhoq26coki indexed 2026-11-12 19:47 UTC View this version

Compatibility

backward compatible Backward compatible. 4 non-breaking changes.

Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.notification.registerPush:input.capabilities" }
  • AddedVertex AddedVertex { vertex_id: "ink.resenha.notification.registerPush:input.capabilities:items" }
  • AddedEdge AddedEdge { src: "ink.resenha.notification.registerPush:input", tgt: "ink.resenha.notification.registerPush:input.capabilities", kind: "prop", name: Some("capabilities") }
  • AddedEdge AddedEdge { src: "ink.resenha.notification.registerPush:input.capabilities", tgt: "ink.resenha.notification.registerPush:input.capabilities:items", kind: "items", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "ink.resenha.notification.registerPush:input.capabilities" }
  • AddedVertex { vertex_id: "ink.resenha.notification.registerPush:input.capabilities:items" }

Notes

  • Non-breaking: AddedEdge { src: "ink.resenha.notification.registerPush:input", tgt: "ink.resenha.notification.registerPush:input.capabilities", kind: "prop", name: Some("capabilities") }
  • Non-breaking: AddedEdge { src: "ink.resenha.notification.registerPush:input.capabilities", tgt: "ink.resenha.notification.registerPush:input.capabilities:items", kind: "items", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Requires the caller's service token. Registering a token again moves it to the caller.",
66 "input": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "appId": {
1111 "description": "The app's bundle identifier.",
1212 "maxLength": 256,
1313 "type": "string"
1414 },
15 "capabilities": {
16 "description": "What the app can show: shop for the Shop's availability notifications. Apps that send none are never sent them.",
17 "items": {
18 "knownValues": [
19 "shop"
20 ],
21 "maxLength": 64,
22 "type": "string"
23 },
24 "maxLength": 10,
25 "type": "array"
26 },
1527 "environment": {
1628 "description": "sandbox for debug builds, production for TestFlight and the App Store.",
1729 "knownValues": [
1830 "sandbox",
1931 "production"
2032 ],
2133 "type": "string"
2234 },
2335 "platform": {
2436 "knownValues": [
2537 "ios",
2638 "macos"
2739 ],
2840 "type": "string"
2941 },
3042 "token": {
3143 "description": "The device's push token, hex.",
3244 "maxLength": 512,
3345 "type": "string"
3446 }
3547 },
3648 "required": [
3749 "token",
3850 "platform",
3951 "appId",
4052 "environment"
4153 ],
4254 "type": "object"
4355 }
4456 },
4557 "type": "procedure"
4658 }
4759 },
4860 "description": "Registers a device for push notifications.",
4961 "id": "ink.resenha.notification.registerPush",
5062 "lexicon": 1
5163}

Compare other versions