full diff

town.muni.arbiter.setSpaceConfig

zicklag.dev +9 −2
From
bafyreibqalacm2hgsr6mganzurktapnns34zybnv76boxz3op7nqan4dmm indexed 2026-05-19 19:41 UTC View this version
To
bafyreihwvnoiegl56zwlzg654zjz4tplvskysrzowcp6kfehkdqxpe6feq indexed 2026-05-19 22:18 UTC View this version

Compatibility

breaking 1 breaking change, 3 non-breaking changes.

Breaking changes (1)
  • ConstraintAdded ConstraintAdded { vertex_id: "town.muni.arbiter.setSpaceConfig:input.spaceKey", sort: "maxLength", value: "1024" }
Non-breaking changes (3)
  • AddedVertex AddedVertex { vertex_id: "town.muni.arbiter.setSpaceConfig:output" }
  • AddedEdge AddedEdge { src: "town.muni.arbiter.setSpaceConfig", tgt: "town.muni.arbiter.setSpaceConfig:output", kind: "prop", name: Some("output") }
  • ConstraintRemoved ConstraintRemoved { vertex_id: "town.muni.arbiter.setSpaceConfig:input.resolverDepth", sort: "minimum" }

Migration guidance

Added

  • AddedVertex { vertex_id: "town.muni.arbiter.setSpaceConfig:output" }

Constraint changes

  • ConstraintAdded ConstraintAdded { vertex_id: "town.muni.arbiter.setSpaceConfig:input.spaceKey", sort: "maxLength", value: "1024" }
  • ConstraintRemoved ConstraintRemoved { vertex_id: "town.muni.arbiter.setSpaceConfig:input.resolverDepth", sort: "minimum" }

Notes

  • Non-breaking: AddedEdge { src: "town.muni.arbiter.setSpaceConfig", tgt: "town.muni.arbiter.setSpaceConfig:output", kind: "prop", name: Some("output") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Configure a space on the arbiter.",
66 "errors": [
77 {
88 "description": "The specified arbiter does not exist on this server.",
99 "name": "ErrArbiterNotExists"
1010 },
1111 {
1212 "description": "The specified space does not exist on this arbiter.",
1313 "name": "ErrSpaceNotExists"
1414 },
1515 {
1616 "description": "The requesting user is not allowed to make the request.",
1717 "name": "ErrPermissionDenied"
1818 },
1919 {
2020 "description": "The config was changed by another request during the execution of this request.\n\nThe action should be retried if still applicable.",
2121 "name": "ErrRaceCondition"
2222 }
2323 ],
2424 "input": {
2525 "encoding": "application/json",
2626 "schema": {
2727 "properties": {
2828 "arbiterDid": {
2929 "description": "The DID of the arbiter that the space is in.",
3030 "format": "did",
3131 "type": "string"
3232 },
3333 "config": {
3434 "description": "The new space configuration.",
3535 "refs": [],
3636 "type": "union"
3737 },
3838 "resolverDepth": {
39 "description": "The maximum depth to allow when doing remote resolutions needed to evaluate the\naccess of the requesting user.",
40 "minimum": 0,
39 "description": "The maximum depth to allow when doing remote resolutions.\n\nBecause spaces are allowed to have members resolved from remote spaces,\nall of the arbiter endpoints have an optional resolution depth parameter\nthat can be used to limit how many chained remote calls can be resolved.\n\nThis applies both to queries and procedures. Queries may need to resolve\nexternal members to complete the member list, and procedures may need\nto resolve external members if the requesting member is not in the local\nmember list, to see if the member has access through a remote list.",
4140 "type": "integer"
4241 },
4342 "spaceKey": {
4443 "description": "The key of the space to configure.",
44 "maxLength": 1024,
4545 "type": "string"
4646 },
4747 "spaceType": {
4848 "description": "The new type of the space.",
4949 "format": "nsid",
5050 "type": "string"
5151 }
5252 },
5353 "required": [
5454 "arbiterDid",
5555 "spaceKey",
5656 "spaceType",
5757 "config"
5858 ],
5959 "type": "object"
6060 }
6161 },
62 "output": {
63 "encoding": "application/json",
64 "schema": {
65 "refs": [],
66 "type": "union"
67 }
68 },
6269 "type": "procedure"
6370 }
6471 },
6572 "id": "town.muni.arbiter.setSpaceConfig",
6673 "lexicon": 1
6774}

Compare other versions