app.didpic.notification.registerPush
Schema Diff
+3 -4
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "app.didpic.notification.registerPush",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
6
"input": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
10
"token",
11
11
"platform"
12
12
],
13
13
"properties": {
14
14
"token": {
15
-
"type": "string",
16
-
"description": "Expo push token of the form `ExponentPushToken[...]`."
15
+
"type": "string"
17
16
},
18
17
"platform": {
19
18
"type": "string",
20
19
"knownValues": [
21
20
"ios",
22
21
"android"
23
22
]
24
23
},
25
24
"accountsOnDevice": {
26
25
"type": "array",
27
26
"items": {
28
27
"type": "string",
29
28
"format": "did"
30
29
},
31
-
"description": "DIDs the calling device currently has signed in. When provided, the server replaces all (token, *) bindings to match this list: bindings for DIDs absent from it are pruned. Must include the authenticated DID. Lets a multi-account device reconcile after an account is removed without needing the gone account's auth."
30
+
"description": "DIDs signed in on this device, for binding reconciliation."
32
31
}
33
32
}
34
33
},
35
34
"encoding": "application/json"
36
35
},
37
-
"description": "Bind a device's push token to the authenticated viewer. Idempotent: re-registering the same (token, did) pair refreshes its registered_at. A single token can be bound to multiple DIDs (multi-account device); a single DID can be bound to multiple tokens (multiple devices for one account)."
36
+
"description": "Bind a device push token to the authenticated viewer."
38
37
}
39
38
},
40
39
"$type": "com.atproto.lexicon.schema",
41
40
"lexicon": 1
42
41
}