place.wisp.v2.secret.create

Create a named webhook signing secret. The server generates a short random token returned once in the response. Reference the secret by name via secretId in place.wisp.v2.wh.

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

Showing version bafyreicxnjxqvnzbjumq7v2h7g4jr7mniwchtqlqbo44opvbn62y7qljzq. Show the latest

cid bafyreicxnjxqvnzbjumq7v2h7g4jr7mniwchtqlqbo44opvbn62y7qljzq

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.nameNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.tokenNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create a named webhook signing secret. The server generates a short random token returned once in the response. Reference the secret by name via secretId in place.wisp.v2.wh.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "InvalidRequest"
        },
        {
          "name": "AlreadyExists"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "name": {
              "description": "Unique name for this secret, scoped to the caller DID.",
              "format": "record-key",
              "type": "string"
            }
          },
          "required": [
            "name"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "createdAt": {
              "format": "datetime",
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "token": {
              "description": "The signing token. Only returned at creation time — store it now.",
              "type": "string"
            }
          },
          "required": [
            "name",
            "token",
            "createdAt"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "place.wisp.v2.secret.create",
  "lexicon": 1
}