at.happyproto.actor.setNotices
Turn the caller's maintenance emails on or off, in their preferences space. Account email (links they ask for, a note when their contact email changes, changes to the terms) has no switch. Customers and staff; anyone else is refused.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | actor.happyproto.at |
| Commit rev | 3n2hhbrcjsb22 |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.idempotencyKeyNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Turn the caller's maintenance emails on or off, in their preferences space. Account email (links they ask for, a note when their contact email changes, changes to the terms) has no switch. Customers and staff; anyone else is refused.",
"errors": [
{
"description": "This endpoint requires an authenticated caller.",
"name": "AuthRequired"
},
{
"description": "The caller is neither a customer nor staff, or the provisioner refused them.",
"name": "Forbidden"
},
{
"description": "The input is malformed, or the provisioner refused it as malformed.",
"name": "InvalidRequest"
},
{
"description": "Passed through from the provisioner. Not expected here; declared because every provisioner refusal is mapped the same way.",
"name": "NotFound"
},
{
"description": "Passed through from the provisioner. Not expected here; declared because every provisioner refusal is mapped the same way.",
"name": "InvalidSlug"
},
{
"description": "Passed through from the provisioner. Not expected here; declared because every provisioner refusal is mapped the same way.",
"name": "SlugTaken"
},
{
"description": "Passed through from the provisioner. Not expected here; declared because every provisioner refusal is mapped the same way.",
"name": "NotEntitled"
},
{
"description": "Passed through from the provisioner. Not expected here; declared because every provisioner refusal is mapped the same way.",
"name": "InstanceLimit"
},
{
"description": "Passed through from the provisioner. Not expected here; declared because every provisioner refusal is mapped the same way.",
"name": "NoCapacity"
},
{
"description": "Passed through from the provisioner. Not expected here; declared because every provisioner refusal is mapped the same way.",
"name": "OperationInProgress"
},
{
"description": "Owner email is not switched on yet.",
"name": "EmailNotConfigured"
},
{
"description": "The preferences space or the provisioner could not be reached, or answered with an error it does not explain to callers.",
"name": "Upstream"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"idempotencyKey": {
"description": "A UUID the client generates once per action and resends on every retry of it.",
"type": "string"
},
"maintenance": {
"description": "Whether to get maintenance emails.",
"type": "boolean"
}
},
"required": [
"maintenance",
"idempotencyKey"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"maintenance": {
"description": "The setting now saved.",
"type": "boolean"
}
},
"required": [
"maintenance"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "at.happyproto.actor.setNotices",
"lexicon": 1
}