atproto blogging
1{
2 "lexicon": 1,
3 "id": "app.bsky.notification.registerPush",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Register to receive push notifications, via a specified service, for the requesting account. Requires auth.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "serviceDid",
14 "token",
15 "platform",
16 "appId"
17 ],
18 "properties": {
19 "ageRestricted": {
20 "type": "boolean",
21 "description": "Set to true when the actor is age restricted"
22 },
23 "appId": {
24 "type": "string"
25 },
26 "platform": {
27 "type": "string",
28 "knownValues": [
29 "ios",
30 "android",
31 "web"
32 ]
33 },
34 "serviceDid": {
35 "type": "string",
36 "format": "did"
37 },
38 "token": {
39 "type": "string"
40 }
41 }
42 }
43 }
44 }
45 }
46}