town.muni.arbiter.setSpaceMemberAccess
Set the access of a member in a space. This is also how you add a new member to the space.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | arbiter.muni.town |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe updated access configuration for the member.
The DID of the arbiter that the space is in.
The member to set the access of.
resolverDepth
integerThe 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.
The key of the space to configure.
maxLength: 1024
Output
application/jsonschema
unionErrors
ErrArbiterNotExists
The specified arbiter does not exist on this server.
ErrSpaceNotExists
The specified space does not exist 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.
ErrMemberNotInSpace
The specified member is not in the space.
ErrInvalidConfig
The config provided is invalid for some reason other than it being an unsupported lexicon.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
town.muni.arbiter.removeSpaceMember
procedureRemove a member's access from a space.
-
town.muni.arbiter.setSpaceConfig
procedureConfigure a space on the arbiter.
-
Get the members that have been assigned to the space. This is not a flat membership list, but a list of the direct members of the space, including DIDs, local spaces, and remote spaces that have been added as members, without doing any resolution of remote spaces.
-
Get the flattened, resolved list of members for a space. This member list will be the same as what the server is expected to return as the space host, but it will additionally contain a member config object for each member. The details of the member config object are dependent on the server implementation and possibly the arbiter config type.
-
town.muni.arbiter.setArbiterConfig
procedureSet the config object for an arbiter.