full diff

pub.chive.governance.requestElevation

From
bafyreiad5amod4mr75k4zgaxgohejpcq3txyfastu7ugwrsqrhmvgcfvte indexed 2026-06-18 13:14 UTC View this version
To
bafyreiad5amod4mr75k4zgaxgohejpcq3txyfastu7ugwrsqrhmvgcfvte indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "elevationResult": {
55 "description": "Result of elevation operation",
66 "properties": {
77 "message": {
88 "description": "Human-readable result message",
99 "type": "string"
1010 },
1111 "requestId": {
1212 "description": "Elevation request ID (if created)",
1313 "type": "string"
1414 },
1515 "success": {
1616 "description": "Whether the operation succeeded",
1717 "type": "boolean"
1818 }
1919 },
2020 "required": [
2121 "success",
2222 "message"
2323 ],
2424 "type": "object"
2525 },
2626 "main": {
2727 "description": "Request elevation to trusted editor role. The request is validated against eligibility criteria.",
2828 "errors": [
2929 {
3030 "name": "AuthenticationRequired"
3131 },
3232 {
3333 "name": "InvalidRequest"
3434 }
3535 ],
3636 "input": {
3737 "encoding": "application/json",
3838 "schema": {
3939 "properties": {
4040 "targetRole": {
4141 "description": "Role to request elevation to",
4242 "knownValues": [
4343 "trusted-editor"
4444 ],
4545 "type": "string"
4646 }
4747 },
4848 "required": [
4949 "targetRole"
5050 ],
5151 "type": "object"
5252 }
5353 },
5454 "output": {
5555 "encoding": "application/json",
5656 "schema": {
5757 "ref": "#elevationResult",
5858 "type": "ref"
5959 }
6060 },
6161 "type": "procedure"
6262 }
6363 },
6464 "id": "pub.chive.governance.requestElevation",
6565 "lexicon": 1,
6666 "revision": 1
6767}