chadtmiller.com/group-host
atmosphere group host
0
0
{
"lexicon": 1,
"id": "org.atgrp.internal.updateGroupHandle",
"defs": {
"main": {
"type": "procedure",
"description": "Give the group a handle on a domain it owns, once that domain names the group by its _atproto DNS record or its /.well-known/atproto-did; or give it back its own address as its handle. Updates the group's did:plc and tells the network. Its address stays reserved for it. Requires group.configure.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"group",
"handle"
],
"properties": {
"group": {
"type": "string",
"format": "did",
"description": "The group DID. Every method is served by the group's host and authorized against that group's roles."
},
"handle": {
"type": "string",
"description": "The new handle: a domain that names the group, or the group's own address.",
"format": "handle"
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"handle"
],
"properties": {
"handle": {
"type": "string",
"format": "handle"
}
}
}
},
"errors": [
{
"name": "InvalidHandle"
},
{
"name": "UnsupportedDomain"
},
{
"name": "HandleNotAvailable"
},
{
"name": "NotPointing"
},
{
"name": "NotController"
},
{
"name": "InvalidOperation",
"description": "The PLC directory refused the change, as when another was made first: ask again."
}
]
}
}
}