fyi.opensocial.updateGroupHandle
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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | opensocial.fyi |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"errors": [
{
"name": "InvalidHandle"
},
{
"name": "UnsupportedDomain"
},
{
"name": "HandleNotAvailable"
},
{
"name": "NotPointing"
},
{
"name": "NotController"
},
{
"description": "The PLC directory refused the change, as when another was made first: ask again.",
"name": "InvalidOperation"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"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"
},
"handle": {
"description": "The new handle: a domain that names the group, or the group's own address.",
"format": "handle",
"type": "string"
}
},
"required": [
"group",
"handle"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"handle": {
"format": "handle",
"type": "string"
}
},
"required": [
"handle"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "fyi.opensocial.updateGroupHandle",
"lexicon": 1
}