fyi.opensocial.createSpace

lexicons.opensocial.fyi

Documentation

Add a modality space to the group. Requires space.create.

main procedure

Add a modality space to the group. Requires space.create.

Input

Encodingapplication/json
credentialScopes array Optional

Which collections each role may write as the group DID in this space. Copied into the space's access record.

group stringdid Required

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

name string Optional

No description available.

readableBy array Required

No description available.

skey stringrecord-key Optional

A valid record key for AT Protocol repositories.

type stringnsid Required

A namespaced identifier (e.g., app.bsky.feed.post).

Output

Encodingapplication/json
uri stringspace-ref Required

No description available.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Add a modality space to the group. Requires space.create.",
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "credentialScopes": {
          "description": "Which collections each role may write as the group DID in this space. Copied into the space's access record.",
          "items": {
            "ref": "fyi.opensocial.access#roleScopes",
            "type": "ref"
          },
          "type": "array"
        },
        "group": {
          "description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
          "format": "did",
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "readableBy": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "skey": {
          "format": "record-key",
          "type": "string"
        },
        "type": {
          "format": "nsid",
          "type": "string"
        }
      },
      "required": [
        "group",
        "type",
        "readableBy"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "uri": {
          "format": "space-ref",
          "type": "string"
        }
      },
      "required": [
        "uri"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@