full diff

ai.newnal.illi.device.requestOnboardingCode

From
bafyreieu2cioxskmvywswxdhmcbyblxfa2ja5hisk7mgwdg7g3uijhqxnm indexed 2026-11-02 10:40 UTC View this version
To
bafyreialh4avmg5dffgsw3fdvmqncbtas5vcbri5x6gwwi3ncgvl3fja7i indexed 2026-11-07 09:30 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.illi.device.requestOnboardingCode:input.timezone" }
  • AddedEdge AddedEdge { src: "ai.newnal.illi.device.requestOnboardingCode:input", tgt: "ai.newnal.illi.device.requestOnboardingCode:input.timezone", kind: "prop", name: Some("timezone") }

Migration guidance

Added

  • AddedVertex { vertex_id: "ai.newnal.illi.device.requestOnboardingCode:input.timezone" }

Notes

  • Non-breaking: AddedEdge { src: "ai.newnal.illi.device.requestOnboardingCode:input", tgt: "ai.newnal.illi.device.requestOnboardingCode:input.timezone", kind: "prop", name: Some("timezone") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "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.",
66 "errors": [
77 {
88 "name": "DeviceAlreadyLinked"
99 },
1010 {
1111 "name": "InvalidAttestation"
1212 },
1313 {
1414 "name": "DeviceRevoked"
1515 },
1616 {
1717 "name": "RateLimitExceeded"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "attestation": {
2525 "type": "string"
2626 },
2727 "deviceId": {
2828 "maxLength": 64,
2929 "type": "string"
3030 },
3131 "firmwareVersion": {
3232 "description": "Version of the ILLI unit's OS image (the firmware build), reported by the device itself; not verified. Trusted software state comes from the key attestation.",
3333 "maxLength": 32,
3434 "type": "string"
3535 },
3636 "model": {
3737 "maxLength": 64,
3838 "type": "string"
39 },
40 "timezone": {
41 "description": "The device's IANA time zone (Asia/Seoul). device.link copies it to the home, and the home's daily works, upload counts and recommendations follow it. Absent or unknown to the server: Asia/Seoul.",
42 "maxLength": 64,
43 "type": "string"
3944 }
4045 },
4146 "required": [
4247 "deviceId",
4348 "model"
4449 ],
4550 "type": "object"
4651 }
4752 },
4853 "output": {
4954 "encoding": "application/json",
5055 "schema": {
5156 "properties": {
5257 "code": {
5358 "type": "string"
5459 },
5560 "deviceId": {
5661 "type": "string"
5762 },
5863 "expiresAt": {
5964 "format": "datetime",
6065 "type": "string"
6166 }
6267 },
6368 "required": [
6469 "deviceId",
6570 "code",
6671 "expiresAt"
6772 ],
6873 "type": "object"
6974 }
7075 },
7176 "type": "procedure"
7277 }
7378 },
7479 "id": "ai.newnal.illi.device.requestOnboardingCode",
7580 "lexicon": 1
7681}

Compare other versions