place.wisp.v2.domain.claimSubdomain
Claim a wisp.place subdomain handle for the authenticated DID.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | domain.v2.wisp.place |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.domainNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.kindNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Claim a wisp.place subdomain handle for the authenticated DID.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "InvalidDomain"
},
{
"name": "AlreadyClaimed"
},
{
"name": "DomainLimitReached"
},
{
"name": "RateLimitExceeded"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"handle": {
"description": "Subdomain label only (for example, alice).",
"maxLength": 63,
"minLength": 3,
"type": "string"
},
"siteRkey": {
"description": "Optional place.wisp.fs rkey to map immediately after claim.",
"format": "record-key",
"type": "string"
}
},
"required": [
"handle"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"domain": {
"type": "string"
},
"kind": {
"enum": [
"wisp"
],
"type": "string"
},
"siteRkey": {
"format": "record-key",
"type": "string"
},
"status": {
"enum": [
"verified",
"alreadyClaimed"
],
"type": "string"
}
},
"required": [
"domain",
"kind",
"status"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "place.wisp.v2.domain.claimSubdomain",
"lexicon": 1
}