app.didpic.notification.registerPush
Schema Diff
+2 -3
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"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).",
5
+
"description": "Bind a device push token to the authenticated viewer.",
6
6
"input": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"accountsOnDevice": {
11
-
"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.",
11
+
"description": "DIDs signed in on this device, for binding reconciliation.",
12
12
"items": {
13
13
"format": "did",
14
14
"type": "string"
15
15
},
16
16
"type": "array"
17
17
},
18
18
"platform": {
19
19
"knownValues": [
20
20
"ios",
21
21
"android"
22
22
],
23
23
"type": "string"
24
24
},
25
25
"token": {
26
-
"description": "Expo push token of the form `ExponentPushToken[...]`.",
27
26
"type": "string"
28
27
}
29
28
},
30
29
"required": [
31
30
"token",
32
31
"platform"
33
32
],
34
33
"type": "object"
35
34
}
36
35
},
37
36
"type": "procedure"
38
37
}
39
38
},
40
39
"id": "app.didpic.notification.registerPush",
41
40
"lexicon": 1
42
41
}