{"openapi":"3.1.0","info":{"title":"DrawBold Integration API","version":"1.0.0","description":"Versioned REST API for third-party integrations. Create a scoped key in Developers. Keys never bypass board ownership or team membership. 120requests/minute/key. GET requests are safe to retry; use Idempotency-Key for JSON mutations. API-key management requires a user web session."},"servers":[{"url":"/api/v1"}],"security":[{"IntegrationKey":[]}],"paths":{"/auth/me":{"get":{"operationId":"getProfile","tags":["Profile"],"summary":"Read your profile","description":"Requires scope `profile:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"profile:read","parameters":[{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"updateProfile","tags":["Profile"],"summary":"Update your name and avatar","description":"Requires scope `profile:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"profile:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"avatarUrl":{"type":"string","format":"uri","maxLength":2048}},"additionalProperties":false}}}}}},"/diagrams":{"get":{"operationId":"listBoards","tags":["Boards"],"summary":"List your boards","description":"Requires scope `boards:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:read","parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"search","in":"query","schema":{"type":"string"}},{"name":"spaceId","in":"query","schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Board"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["items","pagination"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createBoard","tags":["Boards"],"summary":"Create a private board","description":"Requires scope `boards:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Board"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","maxLength":200},"boardData":{"$ref":"#/components/schemas/BoardDocument"},"expectedRevision":{"type":"integer","minimum":0},"isPublic":{"type":"integer","enum":[0,1]},"spaceId":{"type":["string","null"]}},"additionalProperties":false}}}}}},"/diagrams/shared":{"get":{"operationId":"listSharedBoards","tags":["Boards"],"summary":"List boards shared directly or through a team","description":"Requires scope `boards:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:read","parameters":[{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Board"}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diagrams/from-spec":{"post":{"operationId":"createBoardFromSpec","tags":["Boards"],"summary":"Create an automatically arranged board from nodes and connections","description":"Requires scope `boards:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Board"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"spec":{"type":"object","properties":{"direction":{"type":"string","enum":["LR","TD","RL","BT"]},"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"label":{"type":"string"}},"required":["id"],"additionalProperties":true},"minItems":1,"maxItems":1000},"edges":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":true}}},"required":["nodes"],"additionalProperties":false}},"required":["spec"],"additionalProperties":false}}}}}},"/diagrams/from-template":{"post":{"operationId":"createBoardFromTemplate","tags":["Boards"],"summary":"Create a board from a server-owned template","description":"Requires scope `boards:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Board"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"templateId":{"type":"string"},"title":{"type":"string"},"spaceId":{"type":"string"}},"required":["templateId"],"additionalProperties":false}}}}}},"/diagrams/{id}":{"get":{"operationId":"getBoard","tags":["Boards"],"summary":"Read a board you can access","description":"Requires scope `boards:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Board"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"updateBoard","tags":["Boards"],"summary":"Update a board with optimistic concurrency","description":"Requires scope `boards:write`. Send expectedRevision when updating boardData. A stale revision returns409. Only the owner can change visibility or personal space.","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"diagram":{"$ref":"#/components/schemas/Board"}},"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","maxLength":200},"boardData":{"$ref":"#/components/schemas/BoardDocument"},"expectedRevision":{"type":"integer","minimum":0},"isPublic":{"type":"integer","enum":[0,1]},"spaceId":{"type":["string","null"]}},"additionalProperties":false}}}}},"delete":{"operationId":"deleteBoard","tags":["Boards"],"summary":"Delete your board","description":"Requires scope `boards:delete`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diagrams/{id}/elements":{"patch":{"operationId":"patchBoardElements","tags":["Boards"],"summary":"Add, update or delete native nodes and connections","description":"Requires scope `boards:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Board"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":0},"operations":{"type":"array","items":{"type":"object","properties":{"op":{"type":"string"}},"required":["op"],"additionalProperties":true}},"relayout":{"type":"boolean"}},"required":["expectedRevision","operations"],"additionalProperties":false}}}}}},"/diagrams/{id}/render":{"post":{"operationId":"renderBoard","tags":["Boards"],"summary":"Render an accessible board as SVG or PNG","description":"Requires scope `boards:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"image/svg+xml":{"schema":{"type":"string"}},"image/png":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","enum":["svg","png"]},"frameId":{"type":"string"},"maxWidth":{"type":"integer","minimum":100,"maximum":2400,"default":1400}},"required":["format"],"additionalProperties":false}}}}}},"/diagrams/{id}/ops":{"post":{"operationId":"applyBoardOperations","tags":["Boards"],"summary":"Apply collaboration operations through the realtime room","description":"Requires scope `boards:write`. Requires the BOARD_ROOM binding. Batch ids deduplicate reconnects. Returns the current board and revision.","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"since":{"type":"integer","minimum":0},"batches":{"type":"array","items":{"type":"object","properties":{"batch":{"type":"string"},"ops":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true}}},"required":["batch","ops"],"additionalProperties":false}}},"additionalProperties":false}}}}}},"/diagrams/{id}/members":{"get":{"operationId":"listMembers","tags":["Sharing"],"summary":"List board members","description":"Requires scope `sharing:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sharing:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"shareBoardWithUser","tags":["Sharing"],"summary":"Share a board with an enabled registered user","description":"Requires scope `sharing:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sharing:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"},"userId":{"type":"string"},"role":{"type":"string","enum":["editor","viewer"]}},"required":["role"],"additionalProperties":false}}}}}},"/diagrams/{id}/links":{"get":{"operationId":"listLinks","tags":["Sharing"],"summary":"List board links","description":"Requires scope `sharing:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sharing:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createBoardLink","tags":["Sharing"],"summary":"Create a sharing link","description":"Requires scope `sharing:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sharing:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["editor","viewer"]},"expiresInDays":{"type":"integer","minimum":1,"maximum":365}},"required":["role"],"additionalProperties":false}}}}}},"/diagrams/{id}/comments":{"get":{"operationId":"listComments","tags":["Comments"],"summary":"List board comments","description":"Requires scope `comments:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"comments:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addComment","tags":["Comments"],"summary":"Add a comment or reply","description":"Requires scope `comments:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"comments:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":2000},"parentId":{"type":"string"},"nodeId":{"type":"string"},"x":{"type":"number"},"y":{"type":"number"}},"required":["body"],"additionalProperties":false}}}}}},"/diagrams/{id}/versions":{"get":{"operationId":"listVersions","tags":["Versions"],"summary":"List board versions","description":"Requires scope `versions:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"versions:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createVersion","tags":["Versions"],"summary":"Save a named version","description":"Requires scope `versions:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"versions:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100}},"required":["name"],"additionalProperties":false}}}}}},"/diagrams/{id}/members/{userId}":{"patch":{"operationId":"updateBoardMember","tags":["Sharing"],"summary":"Change a direct member permission","description":"Requires scope `sharing:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sharing:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["editor","viewer"]}},"required":["role"],"additionalProperties":false}}}}},"delete":{"operationId":"removeBoardMember","tags":["Sharing"],"summary":"Remove direct sharing or leave a board","description":"Requires scope `sharing:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sharing:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diagrams/{id}/links/{linkId}":{"delete":{"operationId":"revokeBoardLink","tags":["Sharing"],"summary":"Revoke a sharing link","description":"Requires scope `sharing:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sharing:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"linkId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diagrams/{id}/join":{"post":{"operationId":"joinBoard","tags":["Sharing"],"summary":"Join a board using X-Board-Link","description":"Requires scope `sharing:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sharing:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diagrams/{id}/comments/{commentId}":{"patch":{"operationId":"updateComment","tags":["Comments"],"summary":"Edit your comment or resolve a discussion","description":"Requires scope `comments:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"comments:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":2000},"resolved":{"type":"boolean"}},"additionalProperties":false}}}}},"delete":{"operationId":"deleteComment","tags":["Comments"],"summary":"Delete a comment subject to board permissions","description":"Requires scope `comments:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"comments:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diagrams/{id}/versions/{versionId}":{"get":{"operationId":"getVersion","tags":["Versions"],"summary":"Read a saved version","description":"Requires scope `versions:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"versions:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"versionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"renameVersion","tags":["Versions"],"summary":"Rename a saved version","description":"Requires scope `versions:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"versions:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"versionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100}},"required":["name"],"additionalProperties":false}}}}},"delete":{"operationId":"deleteVersion","tags":["Versions"],"summary":"Delete a saved version","description":"Requires scope `versions:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"versions:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"versionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diagrams/{id}/versions/{versionId}/restore":{"post":{"operationId":"restoreVersion","tags":["Versions"],"summary":"Restore a saved version","description":"Requires scope `versions:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"versions:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"versionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":0}},"required":["expectedRevision"],"additionalProperties":false}}}}}},"/diagrams/notifications":{"get":{"operationId":"listNotifications","tags":["Notifications"],"summary":"List your notifications","description":"Requires scope `notifications:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"notifications:read","parameters":[{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"clearNotifications","tags":["Notifications"],"summary":"Clear your notification inbox","description":"Requires scope `notifications:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"notifications:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diagrams/notifications/read":{"post":{"operationId":"markNotificationsRead","tags":["Notifications"],"summary":"Mark notifications read","description":"Requires scope `notifications:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"notifications:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"},"maxItems":100},"read":{"type":"boolean"}},"additionalProperties":false}}}}}},"/diagrams/notifications/{noticeId}":{"delete":{"operationId":"deleteNotification","tags":["Notifications"],"summary":"Delete one of your notifications","description":"Requires scope `notifications:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"notifications:write","parameters":[{"name":"noticeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diagrams/{id}/participants":{"get":{"operationId":"listBoardParticipants","tags":["Comments"],"summary":"List board participant names for mentions (without email addresses)","description":"Requires scope `comments:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"comments:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"participants":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":true}}},"required":["participants"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/spaces":{"get":{"operationId":"listSpaces","tags":["Spaces"],"summary":"List your personal spaces","description":"Requires scope `spaces:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"spaces:read","parameters":[{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"spaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":true}}},"required":["spaces"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createSpace","tags":["Spaces"],"summary":"Create a personal space","description":"Requires scope `spaces:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"spaces:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":300},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}},"required":["name"],"additionalProperties":false}}}}}},"/spaces/{id}":{"patch":{"operationId":"updateSpace","tags":["Spaces"],"summary":"Update your space","description":"Requires scope `spaces:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"spaces:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":300},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}},"additionalProperties":false}}}}},"delete":{"operationId":"deleteSpace","tags":["Spaces"],"summary":"Remove your space without deleting its boards","description":"Requires scope `spaces:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"spaces:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/teams":{"get":{"operationId":"listTeams","tags":["Teams"],"summary":"List teams (administration lists all teams)","description":"Requires scope `teams:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:read","parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"search","in":"query","schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createTeam","tags":["Teams"],"summary":"Create a team","description":"Requires scope `teams:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":1000}},"required":["name"],"additionalProperties":false}}}}}},"/teams/board-access/{boardId}":{"get":{"operationId":"getBoardTeam","tags":["Teams"],"summary":"Read team-sharing metadata for a board you own","description":"Requires scope `teams:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:read","parameters":[{"name":"boardId","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/teams/{id}":{"get":{"operationId":"getTeam","tags":["Teams"],"summary":"Read team settings, members and board metadata","description":"Requires scope `teams:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"updateTeam","tags":["Teams"],"summary":"Update team settings","description":"Requires scope `teams:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":1000}},"required":["name"],"additionalProperties":false}}}}},"delete":{"operationId":"deleteTeam","tags":["Teams"],"summary":"Delete a team, preserving boards","description":"Requires scope `teams:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/teams/{id}/members":{"post":{"operationId":"addTeamMember","tags":["Teams"],"summary":"Add a registered member to a team","description":"Requires scope `teams:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"},"role":{"type":"string","enum":["admin","member","viewer"]}},"required":["email","role"],"additionalProperties":false}}}}}},"/teams/{id}/members/{userId}":{"patch":{"operationId":"updateTeamMember","tags":["Teams"],"summary":"Change a team member role","description":"Requires scope `teams:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["admin","member","viewer"]}},"required":["role"],"additionalProperties":false}}}}},"delete":{"operationId":"removeTeamMember","tags":["Teams"],"summary":"Remove a member or leave the team","description":"Requires scope `teams:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/teams/{id}/owner":{"post":{"operationId":"transferTeam","tags":["Teams"],"summary":"Transfer team ownership","description":"Requires scope `teams:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string"}},"required":["userId"],"additionalProperties":false}}}}}},"/teams/{id}/boards":{"post":{"operationId":"shareTeamBoard","tags":["Teams"],"summary":"Share an owned board with the team","description":"Requires scope `teams:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"boardId":{"type":"string"},"role":{"type":"string","enum":["editor","viewer"]}},"required":["boardId"],"additionalProperties":false}}}}}},"/teams/{id}/boards/new":{"post":{"operationId":"createTeamBoard","tags":["Teams"],"summary":"Create a board and share it with the team atomically","description":"Requires scope `teams:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false}}}}}},"/teams/{id}/boards/{boardId}":{"delete":{"operationId":"removeTeamBoard","tags":["Teams"],"summary":"Revoke team sharing without deleting the board","description":"Requires scope `teams:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"teams:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"boardId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/teams":{"get":{"operationId":"listAdminTeams","tags":["Admin teams"],"summary":"List teams (administration lists all teams)","description":"Requires scope `admin:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:read","parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"search","in":"query","schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createAdminTeam","tags":["Admin teams"],"summary":"Create a team","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":1000}},"required":["name"],"additionalProperties":false}}}}}},"/admin/teams/board-access/{boardId}":{"get":{"operationId":"getAdminBoardTeam","tags":["Admin teams"],"summary":"Read team-sharing metadata for a board you own","description":"Requires scope `admin:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:read","parameters":[{"name":"boardId","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/teams/{id}":{"get":{"operationId":"getAdminTeam","tags":["Admin teams"],"summary":"Read team settings, members and board metadata","description":"Requires scope `admin:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"updateAdminTeam","tags":["Admin teams"],"summary":"Update team settings","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":1000}},"required":["name"],"additionalProperties":false}}}}},"delete":{"operationId":"deleteAdminTeam","tags":["Admin teams"],"summary":"Delete a team, preserving boards","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/teams/{id}/members":{"post":{"operationId":"addAdminTeamMember","tags":["Admin teams"],"summary":"Add a registered member to a team","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"},"role":{"type":"string","enum":["admin","member","viewer"]}},"required":["email","role"],"additionalProperties":false}}}}}},"/admin/teams/{id}/members/{userId}":{"patch":{"operationId":"updateAdminTeamMember","tags":["Admin teams"],"summary":"Change a team member role","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["admin","member","viewer"]}},"required":["role"],"additionalProperties":false}}}}},"delete":{"operationId":"removeAdminTeamMember","tags":["Admin teams"],"summary":"Remove a member or leave the team","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/teams/{id}/owner":{"post":{"operationId":"transferAdminTeam","tags":["Admin teams"],"summary":"Transfer team ownership","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string"}},"required":["userId"],"additionalProperties":false}}}}}},"/admin/teams/{id}/boards":{"post":{"operationId":"shareAdminTeamBoard","tags":["Admin teams"],"summary":"Share an owned board with the team","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"boardId":{"type":"string"},"role":{"type":"string","enum":["editor","viewer"]}},"required":["boardId"],"additionalProperties":false}}}}}},"/admin/teams/{id}/boards/new":{"post":{"operationId":"createAdminTeamBoard","tags":["Admin teams"],"summary":"Create a board and share it with the team atomically","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false}}}}}},"/admin/teams/{id}/boards/{boardId}":{"delete":{"operationId":"removeAdminTeamBoard","tags":["Admin teams"],"summary":"Revoke team sharing without deleting the board","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"boardId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/media/upload":{"post":{"operationId":"uploadImage","tags":["Media"],"summary":"Upload an image (up to the configured limit, default10MB)","description":"Requires scope `media:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"media:write","parameters":[{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"diagramId":{"type":"string"}},"required":["file"],"additionalProperties":false}}}}}},"/diagrams/{id}/exports":{"get":{"operationId":"listExports","tags":["Exports"],"summary":"List exports for an accessible board","description":"Requires scope `exports:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"exports:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":true}}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/exports":{"post":{"operationId":"publishExport","tags":["Exports"],"summary":"Publish an SVG or PNG export of an editable board","description":"Requires scope `exports:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"exports:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"diagramId":{"type":"string"},"exportType":{"type":"string","enum":["svg","png"]},"fileData":{"type":"string"}},"required":["diagramId","exportType","fileData"],"additionalProperties":false}}}}}},"/admin/users":{"get":{"operationId":"adminListusers","tags":["Administration"],"summary":"List administrative users","description":"Requires scope `admin:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:read","parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"search","in":"query","schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/boards":{"get":{"operationId":"adminListboards","tags":["Administration"],"summary":"List administrative boards","description":"Requires scope `admin:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:read","parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"search","in":"query","schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/mcp":{"get":{"operationId":"adminListmcp","tags":["Administration"],"summary":"List administrative mcp","description":"Requires scope `admin:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:read","parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"search","in":"query","schema":{"type":"string"}},{"name":"kind","in":"query","schema":{"type":"string","enum":["boards","admin"]}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/mcp/sessions":{"get":{"operationId":"adminListmcp_sessions","tags":["Administration"],"summary":"List administrative mcp/sessions","description":"Requires scope `admin:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:read","parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"search","in":"query","schema":{"type":"string"}},{"name":"kind","in":"query","schema":{"type":"string","enum":["boards","admin"]}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/mcp/audit":{"get":{"operationId":"adminListmcp_audit","tags":["Administration"],"summary":"List administrative mcp/audit","description":"Requires scope `admin:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:read","parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"search","in":"query","schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/users/{id}":{"patch":{"operationId":"adminUpdateUser","tags":["Administration"],"summary":"Edit a regular user account","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"email":{"type":"string","format":"email"},"avatarUrl":{"type":["string","null"]}},"required":["name"],"additionalProperties":false}}}}}},"/admin/users/{id}/status":{"patch":{"operationId":"adminSetUserStatus","tags":["Administration"],"summary":"Enable or disable an account (self-disable is forbidden)","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"disabled":{"type":"boolean"}},"required":["disabled"],"additionalProperties":false}}}}}},"/admin/users/{id}/password":{"post":{"operationId":"adminResetPassword","tags":["Administration"],"summary":"Reset a user password","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"newPassword":{"type":"string","minLength":8,"maxLength":128}},"required":["newPassword"],"additionalProperties":false}}}}}},"/admin/boards/{id}":{"patch":{"operationId":"adminUpdateBoard","tags":["Administration"],"summary":"Update administrative board metadata","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"isPublic":{"type":"boolean"}},"required":["title","isPublic"],"additionalProperties":false}}}}},"delete":{"operationId":"adminDeleteBoard","tags":["Administration"],"summary":"Delete a board as an administrator","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/catalog":{"get":{"operationId":"getBoardCatalog","tags":["Boards"],"summary":"Read native shape, icon and connection options","description":"Requires scope `boards:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:read","parameters":[{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/templates":{"get":{"operationId":"listTemplates","tags":["Boards"],"summary":"List native board templates","description":"Requires scope `boards:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:read","parameters":[{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/templates/{id}":{"get":{"operationId":"getTemplate","tags":["Boards"],"summary":"Read the specification of a native template","description":"Requires scope `boards:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/templates/{id}/preview":{"get":{"operationId":"renderTemplatePreview","tags":["Boards"],"summary":"Render a native board template as an SVG preview","description":"Requires scope `boards:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diagrams/{id}/design":{"get":{"operationId":"inspectDesign","tags":["Boards"],"summary":"Inspect a design as JSON or HTML","description":"Requires scope `boards:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"boards:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"format","in":"query","schema":{"type":"string","enum":["json","html"]}},{"name":"nodeId","in":"query","schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}},"text/html":{"schema":{"type":"string"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/settings":{"get":{"operationId":"adminGetSettings","tags":["Administration"],"summary":"Read site settings","description":"Requires scope `admin:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:read","parameters":[{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"siteName":{"type":"string","minLength":1,"maxLength":100},"siteDescription":{"type":"string","maxLength":500},"supportEmail":{"type":"string"},"registrationEnabled":{"type":"boolean"}},"required":["siteName","siteDescription","supportEmail","registrationEnabled"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"adminUpdateSettings","tags":["Administration"],"summary":"Update site settings","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"siteName":{"type":"string","minLength":1,"maxLength":100},"siteDescription":{"type":"string","maxLength":500},"supportEmail":{"type":"string"},"registrationEnabled":{"type":"boolean"}},"required":["siteName","siteDescription","supportEmail","registrationEnabled"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"siteName":{"type":"string","minLength":1,"maxLength":100},"siteDescription":{"type":"string","maxLength":500},"supportEmail":{"type":"string"},"registrationEnabled":{"type":"boolean"}},"required":["siteName","siteDescription","supportEmail","registrationEnabled"],"additionalProperties":false}}}}}},"/admin/help":{"get":{"operationId":"adminGetHelp","tags":["Administration"],"summary":"Read help configuration and articles","description":"Requires scope `admin:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:read","parameters":[{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/help/config":{"put":{"operationId":"adminSaveHelpConfig","tags":["Administration"],"summary":"Update bilingual help configuration","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"hiddenSectionIds":{"type":"array","items":{"type":"string"}},"vi":{"type":"object","properties":{"pageTitle":{"type":"string"},"pageSubtitle":{"type":"string"},"mcpRemoteDesc":{"type":"string"},"mcpNote":{"type":"string"},"supportDesc":{"type":"string"},"faqs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"q":{"type":"string","minLength":1,"maxLength":400},"a":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","q","a"],"additionalProperties":false}}},"additionalProperties":false},"en":{"type":"object","properties":{"pageTitle":{"type":"string"},"pageSubtitle":{"type":"string"},"mcpRemoteDesc":{"type":"string"},"mcpNote":{"type":"string"},"supportDesc":{"type":"string"},"faqs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"q":{"type":"string","minLength":1,"maxLength":400},"a":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","q","a"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false}}}}},"delete":{"operationId":"adminResetHelpConfig","tags":["Administration"],"summary":"Reset help configuration","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/help/articles":{"post":{"operationId":"adminCreateHelpArticle","tags":["Administration"],"summary":"Create a guide or changelog article","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","maxLength":80},"category":{"type":"string","enum":["changelog","guide","canvas","shortcuts","export","mcp","general"]},"titleVi":{"type":"string","minLength":1,"maxLength":200},"titleEn":{"type":"string","minLength":1,"maxLength":200},"summaryVi":{"type":"string","maxLength":500},"summaryEn":{"type":"string","maxLength":500},"contentVi":{"type":"string","minLength":1,"maxLength":20000},"contentEn":{"type":"string","minLength":1,"maxLength":20000},"sortOrder":{"type":"integer","minimum":-10000,"maximum":10000},"isPublished":{"type":"boolean"}},"required":["titleVi","titleEn","contentVi","contentEn"],"additionalProperties":false}}}}}},"/admin/help/articles/{id}":{"patch":{"operationId":"adminUpdateHelpArticle","tags":["Administration"],"summary":"Edit a help article","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","maxLength":80},"category":{"type":"string","enum":["changelog","guide","canvas","shortcuts","export","mcp","general"]},"titleVi":{"type":"string","minLength":1,"maxLength":200},"titleEn":{"type":"string","minLength":1,"maxLength":200},"summaryVi":{"type":"string","maxLength":500},"summaryEn":{"type":"string","maxLength":500},"contentVi":{"type":"string","minLength":1,"maxLength":20000},"contentEn":{"type":"string","minLength":1,"maxLength":20000},"sortOrder":{"type":"integer","minimum":-10000,"maximum":10000},"isPublished":{"type":"boolean"}},"additionalProperties":false}}}}},"delete":{"operationId":"adminDeleteHelpArticle","tags":["Administration"],"summary":"Delete a help article","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/admin/spaces":{"get":{"operationId":"adminListSpaces","tags":["Administration"],"summary":"List all personal spaces with owner and board counts","description":"Requires scope `admin:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:read","parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"search","in":"query","schema":{"type":"string"}},{"name":"userId","in":"query","schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"adminCreateSpace","tags":["Administration"],"summary":"Create a personal space for an existing user","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":300},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}},"required":["userId","name"],"additionalProperties":false}}}}}},"/admin/spaces/{id}":{"patch":{"operationId":"adminUpdateSpace","tags":["Administration"],"summary":"Edit a space without changing its owner","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":300},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}},"additionalProperties":false}}}}},"delete":{"operationId":"adminDeleteSpace","tags":["Administration"],"summary":"Delete a space while preserving all boards","description":"Requires scope `admin:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"admin:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sites":{"get":{"operationId":"listLandingPages","tags":["Landing pages"],"summary":"List personal and team landing pages","description":"Requires scope `sites:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sites:read","parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"search","in":"query","schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createLandingPage","tags":["Landing pages"],"summary":"Create a landing page from a template","description":"Requires scope `sites:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sites:write","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"201":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"template":{"type":"string","enum":["product","services","event","portfolio"]},"teamId":{"type":"string"}},"required":["name"],"additionalProperties":false}}}}}},"/sites/templates":{"get":{"operationId":"listLandingTemplates","tags":["Landing pages"],"summary":"List starter landing-page templates","description":"Requires scope `sites:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sites:read","parameters":[{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sites/{id}":{"get":{"operationId":"getLandingPage","tags":["Landing pages"],"summary":"Read landing page content and effective permissions","description":"Requires scope `sites:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sites:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"saveLandingPage","tags":["Landing pages"],"summary":"Save a landing-page snapshot","description":"Requires scope `sites:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sites:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"document":{"type":"object","properties":{},"additionalProperties":true},"expectedRevision":{"type":"integer","minimum":0}},"required":["document","expectedRevision"],"additionalProperties":false}}}}},"delete":{"operationId":"deleteLandingPage","tags":["Landing pages"],"summary":"Delete a landing page (owner or team admin only)","description":"Requires scope `sites:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sites:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sites/{id}/checks":{"get":{"operationId":"checkLandingPage","tags":["Landing pages"],"summary":"Check SEO, image descriptions and anchor links","description":"Requires scope `sites:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sites:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sites/{id}/versions":{"get":{"operationId":"listLandingVersions","tags":["Landing pages"],"summary":"List the latest50 saved revisions","description":"Requires scope `sites:read`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sites:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sites/{id}/versions/{versionId}/restore":{"post":{"operationId":"restoreLandingVersion","tags":["Landing pages"],"summary":"Restore a saved landing page as a new revision","description":"Requires scope `sites:write`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sites:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"versionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","minLength":1,"maxLength":128},"description":"Optional: reuse the same key for retries of the same exact request within24h."},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expectedRevision":{"type":"integer","minimum":0}},"required":["expectedRevision"],"additionalProperties":false}}}}}},"/sites/{id}/export":{"post":{"operationId":"exportLandingPage","tags":["Landing pages"],"summary":"Download a self-contained Cloudflare Pages or Worker ZIP; does not deploy","description":"Requires scope `sites:publish`. ","security":[{"IntegrationKey":[]}],"x-required-scope":"sites:publish","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Board-Link","in":"header","schema":{"type":"string"},"description":"Optional board invitation token; the key still needs the operation scope."}],"responses":{"200":{"description":"Success","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlation id for this request"},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"schema":{"type":"integer","minimum":0},"description":"Unix timestamp of the end of the current minute"}},"content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid, expired or disabled credential","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope or resource permission denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Revision, ownership or idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"target":{"type":"string","enum":["pages","worker"]},"expectedRevision":{"type":"integer","minimum":0}},"required":["target","expectedRevision"],"additionalProperties":false}}}}}},"/integrations/keys":{"get":{"operationId":"listIntegrationKeys","tags":["Integration keys"],"summary":"List your integration-key metadata (web session only)","security":[{"WebSession":[]}],"responses":{"200":{"description":"Key metadata; never raw keys or hashes","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["profile:read","profile:write","boards:read","boards:write","boards:delete","sharing:read","sharing:write","comments:read","comments:write","versions:read","versions:write","notifications:read","notifications:write","teams:read","teams:write","spaces:read","spaces:write","media:write","exports:read","exports:write","admin:read","admin:write","sites:read","sites:write","sites:publish"]}},"revoked":{"type":"integer","minimum":0},"expiresAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"]}},"required":["id","name","prefix","scopes","revoked","expiresAt"],"additionalProperties":false}}},"required":["data"],"additionalProperties":false}}}}}},"post":{"operationId":"createIntegrationKey","tags":["Integration keys"],"summary":"Create an expiring scoped key (web session only)","security":[{"WebSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"scopes":{"type":"array","items":{"type":"string","enum":["profile:read","profile:write","boards:read","boards:write","boards:delete","sharing:read","sharing:write","comments:read","comments:write","versions:read","versions:write","notifications:read","notifications:write","teams:read","teams:write","spaces:read","spaces:write","media:write","exports:read","exports:write","admin:read","admin:write","sites:read","sites:write","sites:publish"]},"minItems":1},"expiresInDays":{"type":"integer","minimum":1,"maximum":365,"default":30}},"required":["name","scopes"],"additionalProperties":false}}}},"responses":{"201":{"description":"Raw key returned once; store it securely","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["profile:read","profile:write","boards:read","boards:write","boards:delete","sharing:read","sharing:write","comments:read","comments:write","versions:read","versions:write","notifications:read","notifications:write","teams:read","teams:write","spaces:read","spaces:write","media:write","exports:read","exports:write","admin:read","admin:write","sites:read","sites:write","sites:publish"]}},"revoked":{"type":"integer","minimum":0},"expiresAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"]},"key":{"type":"string"}},"required":["id","key","scopes","expiresAt"],"additionalProperties":false}}}}}}},"/integrations/keys/{id}":{"delete":{"operationId":"revokeIntegrationKey","tags":["Integration keys"],"summary":"Revoke your integration key (web session only)","security":[{"WebSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Revoked","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"],"additionalProperties":false}}}}}}}},"components":{"securitySchemes":{"WebSession":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"A signed-in user web session; integration keys cannot call these management operations."},"IntegrationKey":{"type":"http","scheme":"bearer","bearerFormat":"draw_api_…","description":"A dedicated integration key, not a board MCP key or an admin MCP key."}},"schemas":{"Error":{"type":"object","properties":{"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{}},"required":["code","message","requestId"],"additionalProperties":false},{"type":"string"}]}},"required":["error"],"additionalProperties":true},"Pagination":{"type":"object","properties":{"page":{"type":"integer","minimum":0},"limit":{"type":"integer","minimum":0},"total":{"type":"integer","minimum":0},"totalPages":{"type":"integer","minimum":0}},"required":["page","limit","total"],"additionalProperties":false},"Page":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":true}},"total":{"type":"integer","minimum":0},"page":{"type":"integer","minimum":0},"limit":{"type":"integer","minimum":0}},"required":["data","total","page","limit"],"additionalProperties":false},"Board":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"userId":{"type":["string","null"]},"boardData":{"$ref":"#/components/schemas/BoardDocument"},"revision":{"type":"integer","minimum":0},"isPublic":{"type":"integer"},"role":{"type":"string","enum":["owner","editor","viewer"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","revision"],"additionalProperties":true},"BoardDocument":{"type":"object","properties":{"version":{"type":"integer","const":1},"direction":{"type":"string","enum":["LR","RL","TD","TB","BT"]},"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"position":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"],"additionalProperties":false},"data":{"type":"object","properties":{"label":{"type":"string"},"shape":{"type":"string"}},"required":["label","shape"],"additionalProperties":true},"parentNode":{"type":"string"},"style":{"type":"object","properties":{"width":{"type":"number"},"height":{"type":"number"}},"required":["width","height"],"additionalProperties":false}},"required":["id","type","position","data"],"additionalProperties":true}},"edges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"target":{"type":"string"}},"required":["id","source","target"],"additionalProperties":true}},"viewport":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"zoom":{"type":"number"}},"required":["x","y","zoom"],"additionalProperties":false}},"required":["version","nodes","edges"],"additionalProperties":true}}}}