place.wisp.v2.domain.addSite

Map an owned domain to one owned site record.

Repository @wisp.place did:plc:7puq73yz2hkvbcpdhnsze2qw not from the namespace authority
Details · procedure
Kindprocedure
Authoritydomain.v2.wisp.place
Indexed
cid bafyreiefo3lazuqt3exaphfgjaryrbrx6x7yfqosdisowlpmqztycnjynm

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.domainNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.kindNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$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
}