rsvp.atmo.space.admin.createSpace
Create a new space owned by the JWT issuer. The caller is added as an owner-perm member.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | admin.space.atmo.rsvp |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.keyNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Create a new space owned by the JWT issuer. The caller is added as an owner-perm member.",
"errors": [
{
"name": "AlreadyExists"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"appPolicy": {
"ref": "rsvp.atmo.space.defs#appPolicy",
"type": "ref"
},
"appPolicyRef": {
"format": "at-uri",
"type": "string"
},
"key": {
"description": "Space key. Auto-generated (TID) if omitted.",
"type": "string"
},
"memberListRef": {
"format": "at-uri",
"type": "string"
},
"type": {
"description": "Space type NSID. Defaults to the service's configured type.",
"format": "nsid",
"type": "string"
}
},
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"space": {
"ref": "rsvp.atmo.space.defs#spaceView",
"type": "ref"
}
},
"required": [
"space"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "rsvp.atmo.space.admin.createSpace",
"lexicon": 1
}