fyi.opensocial.createSpace

Create a space under the group with its access record and, unless index is false, an index entry. Requires space.create.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed

Procedure

procedure · POST

Input

application/json

group

requiredstring · did

The group DID. Every method is served by the group's host and authorized against that group's roles.

index

boolean

Add the space to the group's index.

  • default: true

name

string

What the group calls it, kept in its index entry.

  • maxLength: 640
  • maxGraphemes: 64

skey

string · record-key

Omit to generate a TID.

type

requiredstring · nsid

Output

application/json

access

requiredref

Present when the space was indexed.

space

requiredstring · space-ref

Errors

SpaceAlreadyExists

A space with this type and skey already exists.

ReservedSpace

The meta and members spaces can't be created or deleted.

UnknownRole

A grant names a role that doesn't exist.

InvalidScope

A grant isn't a space scope.

Similar lexicons

semantic match

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