place.wisp.v2.domain.addSite
Map an owned domain to one owned site record.
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": "Map an owned domain to one owned site record.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "InvalidDomain"
},
{
"name": "InvalidRequest"
},
{
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"domain": {
"description": "Fully-qualified domain to map.",
"maxLength": 253,
"minLength": 3,
"type": "string"
},
"siteRkey": {
"description": "Owned place.wisp.fs record key to map this domain to.",
"format": "record-key",
"type": "string"
}
},
"required": [
"domain",
"siteRkey"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"domain": {
"type": "string"
},
"kind": {
"enum": [
"wisp",
"custom"
],
"type": "string"
},
"mapped": {
"const": true,
"type": "boolean"
},
"siteRkey": {
"format": "record-key",
"type": "string"
},
"status": {
"enum": [
"pendingVerification",
"verified"
],
"type": "string"
}
},
"required": [
"domain",
"kind",
"status",
"siteRkey",
"mapped"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "place.wisp.v2.domain.addSite",
"lexicon": 1
}