us.off-the-clock.subspace.putMembers

Add members to a subspace, or replace existing members' read, write and admin values, in a single change. A DID named twice takes its last entry. All or nothing: any refusal refuses the whole call. Auth: OAuth as the authority with manage=update, or service auth from a subspace admin.

Details · procedure
Kindprocedure
Authoritysubspace.off-the-clock.us
Commit rev3n27y4ll5zzkd
Indexed

Procedure

procedure · POST

Input

application/json

members

requiredarray
  • maxLength: 100

space

requiredstring · space-ref

Reference to the subspace.

Errors

SpaceNotFound

No description in schema.

PolicyMismatch

The space is not governed by the subspace policy.

NotAuthorized

No description in schema.

ParentMembershipRequired

The space has a parent and a DID lacks parent membership.

AuthorityRequired

Setting admin, or changing an admin's entry, requires the authority.

Similar lexicons

semantic match

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

  • Remove members from a subspace in a single change, and cascade to its subspaces. DIDs that are not members are ignored. All or nothing: any refusal refuses the whole call. Auth: OAuth as the authority with manage=update, or service auth from a subspace admin.

  • Add a member to a space. Caller must be the space owner.

  • A subspace member entry. A DID with no entry reads as read, write and admin all false.

  • Add a member to a space. Caller must be the space owner.

  • The published member entries of one account, keyed by the member's DID, across every subspace that publishes its members to the space holding this record. Written by the authority's host to the authority's own repo. Authoritative only in the authority's repo.