full diff

place.wisp.v2.secret.rotate

wisp.place +12 −1
From
bafyreihrx7f2n3yn37eietn324veryrb7igclzkxwxvmrd2mjtza47ok2e indexed 2026-05-24 05:17 UTC View this version
To
bafyreigebya7nf5j4f6ycu5ciy5taj3g6wiacpcq6tnk5oloet7td3jzra 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.rotate:input.name", sort: "maxLength", value: "64" }
Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "place.wisp.v2.secret.rotate:input.token" }
  • AddedEdge AddedEdge { src: "place.wisp.v2.secret.rotate:input", tgt: "place.wisp.v2.secret.rotate:input.token", kind: "prop", name: Some("token") }

Migration guidance

Added

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

Constraint changes

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

Notes

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

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Rotate a webhook signing secret, generating a new token. The old token stops working immediately. The new token is only returned in this response.",
5 "description": "Rotate a webhook signing secret to a newly generated token, or to a caller-supplied one. The old token stops working immediately. The new token is only returned in this response.",
66 "errors": [
77 {
88 "name": "AuthenticationRequired"
99 },
1010 {
11 "name": "InvalidRequest"
12 },
13 {
1114 "name": "NotFound"
1215 }
1316 ],
1417 "input": {
1518 "encoding": "application/json",
1619 "schema": {
1720 "properties": {
1821 "name": {
22 "description": "1–64 character server-managed secret ID. Use ASCII letters, digits, dots, underscores, and hyphens only.",
1923 "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.",
29 "maxLength": 256,
30 "minLength": 32,
2031 "type": "string"
2132 }
2233 },
2334 "required": [
2435 "name"
2536 ],
2637 "type": "object"
2738 }
2839 },
2940 "output": {
3041 "encoding": "application/json",
3142 "schema": {
3243 "properties": {
3344 "name": {
3445 "type": "string"
3546 },
3647 "rotatedAt": {
3748 "format": "datetime",
3849 "type": "string"
3950 },
4051 "token": {
4152 "description": "The new signing token. Only returned here — store it now.",
4253 "type": "string"
4354 }
4455 },
4556 "required": [
4657 "name",
4758 "token",
4859 "rotatedAt"
4960 ],
5061 "type": "object"
5162 }
5263 },
5364 "type": "procedure"
5465 }
5566 },
5667 "id": "place.wisp.v2.secret.rotate",
5768 "lexicon": 1
5869}

Compare other versions