Add a modality space to the group. Requires space.create.
Input
application/jsoncredentialScopes
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).
writableBy
array
Optional
Who may write into the space in their own name: role ids, or 'public' for anyone signed in. Absent is any member.
Output
application/jsonuri
stringspace-ref
Required
No description available.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
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"
},
"writableBy": {
"description": "Who may write into the space in their own name: role ids, or 'public' for anyone signed in. Absent is any member.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"group",
"type",
"readableBy"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"format": "space-ref",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"type": "procedure"
}