ai.newnal.illi.mydata.setItemState
Root or main admin marks a question skipped or 'not sure', or clears that mark. Refused with ItemHasValue when a value exists for the question.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | mydata.illi.newnal.ai |
| Commit rev | 3n32nhnygdu2b |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.stateNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Root or main admin marks a question skipped or 'not sure', or clears that mark. Refused with ItemHasValue when a value exists for the question.",
"errors": [
{
"name": "NotMember"
},
{
"name": "NotAdmin"
},
{
"name": "HomeNotFound"
},
{
"name": "ItemHasValue"
},
{
"name": "PdsUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"homeId": {
"format": "tid",
"type": "string"
},
"itemKey": {
"maxLength": 100,
"type": "string"
},
"slot": {
"description": "The parent slot, 1 or 2.",
"maximum": 2,
"minimum": 1,
"type": "integer"
},
"state": {
"knownValues": [
"skipped",
"notSure",
"none",
"clear"
],
"type": "string"
}
},
"required": [
"homeId",
"slot",
"itemKey",
"state"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"items": {
"items": {
"ref": "ai.newnal.illi.mydata.defs#itemState",
"type": "ref"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "ai.newnal.illi.mydata.setItemState",
"lexicon": 1
}