town.muni.arbiter.createSpace

Create a new space on an arbiter.

Repository @zicklag.dev did:plc:ulg2bzgrgs7ddjjlmhtegk3v namespace authority
Details · procedure
Kindprocedure
Authorityarbiter.muni.town
Indexed

Procedure

procedure · POST

Input

application/json

arbiterDid

requiredstring · did

The DID of the arbiter to create the space in.

config

requiredunion

The space configuration. Different servers will support different space config lexicons. Which lexicons are supported will also likely depend on the arbiter's config type.

One of

The maximum depth to allow when doing remote resolutions. Because spaces are allowed to have members resolved from remote spaces, all of the arbiter endpoints have an optional resolution depth parameter that can be used to limit how many chained remote calls can be resolved. This applies both to queries and procedures. Queries may need to resolve external members to complete the member list, and procedures may need to resolve external members if the requesting member is not in the local member list, to see if the member has access through a remote list.

spaceKey

requiredstring

The key of the space to create.

  • maxLength: 1024

spaceType

requiredstring · nsid

The NSID of the space type.

Output

application/json

schema

union
One of

Errors

ErrArbiterNotExists

The specified arbiter does not exist on this server.

ErrSpaceExists

The specified space already exists on this arbiter.

ErrPermissionDenied

The requesting user is not allowed to make the request.

ErrRaceCondition

The config was changed by another request during the execution of this request. The action should be retried if still applicable.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.