Skip to content

docs: Add ADR 0040 - API standards for request, response, and error payloads - #881

Draft
mike-gorman-bitwarden wants to merge 1 commit into
mainfrom
docs/adr-0040-api-payload-standards
Draft

mike-gorman-bitwarden wants to merge 1 commit into
mainfrom
docs/adr-0040-api-payload-standards

Conversation

@mike-gorman-bitwarden

@mike-gorman-bitwarden mike-gorman-bitwarden commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

🎟️ Tracking

Follow-up to ADR-0036 (#865).

📔 Objective

Adds ADR-0040, "API standards for request, response, and error payloads", with status Proposed. Sets what every request and response shares: the payload envelope (data, meta, and id/type/attributes on every resource), standard fields, JSON value rules (dates, enumerations, whitespace, empty strings and null), naming, content negotiation, method semantics, status codes, exhaustive request validation, and the error format, with the recorded departure from RFC 9457.

…ayloads

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying contributing-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: efef2d3
Status: ✅  Deploy successful!
Preview URL: https://513f6060.contributing-docs.pages.dev
Branch Preview URL: https://docs-adr-0040-api-payload-st.contributing-docs.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant