ai.newnal.illi.device.requestOnboardingCode
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Register the device (device id, model) under parent 1's device-app session and issue a one-time onboarding code shown on the device (D-38).",
5
+
"description": "Register the device (device id, model) under parent 1's device-app session and issue a one-time onboarding code shown on the device.",
6
6
"errors": [
7
7
{
8
8
"name": "DeviceAlreadyLinked"
9
9
},
10
10
{
11
11
"name": "InvalidAttestation"
12
12
},
13
13
{
14
14
"name": "DeviceRevoked"
15
15
},
16
16
{
17
17
"name": "RateLimitExceeded"
18
18
}
19
19
],
20
20
"input": {
21
21
"encoding": "application/json",
22
22
"schema": {
23
23
"properties": {
24
24
"attestation": {
25
25
"type": "string"
26
26
},
27
27
"deviceId": {
28
28
"maxLength": 64,
29
29
"type": "string"
30
30
},
31
31
"firmwareVersion": {
32
32
"maxLength": 32,
33
33
"type": "string"
34
34
},
35
35
"model": {
36
36
"maxLength": 64,
37
37
"type": "string"
38
38
}
39
39
},
40
40
"required": [
41
41
"deviceId",
42
42
"model"
43
43
],
44
44
"type": "object"
45
45
}
46
46
},
47
47
"output": {
48
48
"encoding": "application/json",
49
49
"schema": {
50
50
"properties": {
51
51
"code": {
52
52
"type": "string"
53
53
},
54
54
"deviceId": {
55
55
"type": "string"
56
56
},
57
57
"expiresAt": {
58
58
"format": "datetime",
59
59
"type": "string"
60
60
}
61
61
},
62
62
"required": [
63
63
"deviceId",
64
64
"code",
65
65
"expiresAt"
66
66
],
67
67
"type": "object"
68
68
}
69
69
},
70
70
"type": "procedure"
71
71
}
72
72
},
73
73
"id": "ai.newnal.illi.device.requestOnboardingCode",
74
74
"lexicon": 1
75
75
}