ai.newnal.illi.parent.requestCreation
The root admin asks the device to create the second parent's Newnal ID (07 F-06); the name and honorific given here fill the new parentSlot. The device learns of it by SSE or getState.pendingRequests and completes it with account.parent.signIn {slot: 2}.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | parent.illi.newnal.ai |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.requestIdNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "The root admin asks the device to create the second parent's Newnal ID (07 F-06); the name and honorific given here fill the new parentSlot. The device learns of it by SSE or getState.pendingRequests and completes it with account.parent.signIn {slot: 2}.",
"errors": [
{
"name": "NotRootAdmin"
},
{
"name": "ParentLimitReached"
},
{
"name": "ParentAlreadyLinked"
},
{
"name": "HomeNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"homeId": {
"format": "tid",
"type": "string"
},
"honorific": {
"maxLength": 32,
"type": "string"
},
"name": {
"maxLength": 64,
"type": "string"
},
"slot": {
"maximum": 2,
"minimum": 2,
"type": "integer"
}
},
"required": [
"homeId",
"slot",
"name",
"honorific"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"deviceOnline": {
"type": "boolean"
},
"expiresAt": {
"format": "datetime",
"type": "string"
},
"requestId": {
"type": "string"
}
},
"required": [
"requestId",
"expiresAt",
"deviceOnline"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "ai.newnal.illi.parent.requestCreation",
"lexicon": 1
}