full diff

place.wisp.v2.secret.create

wisp.place +9 −2
From
bafyreicxnjxqvnzbjumq7v2h7g4jr7mniwchtqlqbo44opvbn62y7qljzq indexed 2026-05-24 05:17 UTC View this version
To
bafyreie3qh2qszauc6c66syw6fnb5qhsqkib3jpmfzbwzsvxyvkse3abwq indexed 2026-09-11 00:26 UTC View this version

Compatibility

breaking 1 breaking change, 2 non-breaking changes.

Breaking changes (1)
  • ConstraintAdded ConstraintAdded { vertex_id: "place.wisp.v2.secret.create:input.name", sort: "maxLength", value: "64" }
Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "place.wisp.v2.secret.create:input.token" }
  • AddedEdge AddedEdge { src: "place.wisp.v2.secret.create:input", tgt: "place.wisp.v2.secret.create:input.token", kind: "prop", name: Some("token") }

Migration guidance

Added

  • AddedVertex { vertex_id: "place.wisp.v2.secret.create:input.token" }

Constraint changes

  • ConstraintAdded ConstraintAdded { vertex_id: "place.wisp.v2.secret.create:input.name", sort: "maxLength", value: "64" }

Notes

  • Non-breaking: AddedEdge { src: "place.wisp.v2.secret.create:input", tgt: "place.wisp.v2.secret.create:input.token", kind: "prop", name: Some("token") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "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.",
5 "description": "Create a named webhook signing secret. The server generates a random token unless the caller supplies one; the token is returned once in the response. Reference the secret by name via secretId in place.wisp.v2.wh.",
66 "errors": [
77 {
88 "name": "AuthenticationRequired"
99 },
1010 {
1111 "name": "InvalidRequest"
1212 },
1313 {
1414 "name": "AlreadyExists"
1515 }
1616 ],
1717 "input": {
1818 "encoding": "application/json",
1919 "schema": {
2020 "properties": {
2121 "name": {
22 "description": "Unique name for this secret, scoped to the caller DID.",
22 "description": "Unique 1–64 character secret ID scoped to the caller DID. Use ASCII letters, digits, dots, underscores, and hyphens only.",
2323 "format": "record-key",
24 "maxLength": 64,
25 "type": "string"
26 },
27 "token": {
28 "description": "Optional caller-supplied signing token: 32–256 printable ASCII characters, no whitespace. Omit it to have the server generate one. Use this to register a secret the receiving system already generated.",
29 "maxLength": 256,
30 "minLength": 32,
2431 "type": "string"
2532 }
2633 },
2734 "required": [
2835 "name"
2936 ],
3037 "type": "object"
3138 }
3239 },
3340 "output": {
3441 "encoding": "application/json",
3542 "schema": {
3643 "properties": {
3744 "createdAt": {
3845 "format": "datetime",
3946 "type": "string"
4047 },
4148 "name": {
4249 "type": "string"
4350 },
4451 "token": {
4552 "description": "The signing token. Only returned at creation time — store it now.",
4653 "type": "string"
4754 }
4855 },
4956 "required": [
5057 "name",
5158 "token",
5259 "createdAt"
5360 ],
5461 "type": "object"
5562 }
5663 },
5764 "type": "procedure"
5865 }
5966 },
6067 "id": "place.wisp.v2.secret.create",
6168 "lexicon": 1
6269}

Compare other versions