social.coves.aggregator.register

Register an existing aggregator DID with this Coves instance. Aggregators must first create their own DID via PLC directory, then call this endpoint to register. Domain ownership is verified via .well-known/atproto-did file.

Repository @coves.social did:web:coves.social namespace authority
Details · procedure
Kindprocedure
Authorityaggregator.coves.social
Indexed
cid bafyreig77xc55armfcnyily2pp7xvqdkciquthviwfvnxwvuamkmt74ale

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Register an existing aggregator DID with this Coves instance. Aggregators must first create their own DID via PLC directory, then call this endpoint to register. Domain ownership is verified via .well-known/atproto-did file.",
      "errors": [
        {
          "description": "DID format is invalid or not did:plc or did:web format",
          "name": "InvalidDID"
        },
        {
          "description": "Could not verify domain ownership via .well-known/atproto-did or DID mismatch",
          "name": "DomainVerificationFailed"
        },
        {
          "description": "This aggregator DID is already registered with this instance",
          "name": "AlreadyRegistered"
        },
        {
          "description": "Could not resolve DID document to extract handle and PDS URL",
          "name": "DIDResolutionFailed"
        },
        {
          "description": "Internal server error occurred during registration",
          "name": "RegistrationFailed"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "description": "DID of the aggregator (did:plc or did:web format)",
              "format": "did",
              "type": "string"
            },
            "domain": {
              "description": "Hostname where the aggregator is hosted, without scheme (e.g., 'rss-bot.example.com'). Must serve a .well-known/atproto-did file containing the DID.",
              "maxLength": 253,
              "type": "string"
            }
          },
          "required": [
            "did",
            "domain"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "description": "DID of the registered aggregator",
              "format": "did",
              "type": "string"
            },
            "handle": {
              "description": "Handle extracted from DID document",
              "maxLength": 512,
              "type": "string"
            },
            "message": {
              "description": "Success message with next steps",
              "maxLength": 1000,
              "type": "string"
            }
          },
          "required": [
            "did",
            "handle"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.coves.aggregator.register",
  "lexicon": 1
}