Skip to content

Document x-api-minor-version validation, api-version header, and XDK structured error upgrades - #625

Merged
tcaldwell-x merged 1 commit into
mainfrom
tcaldwell/api-version-and-xdk-errors
Dec 5, 2026
Merged

tcaldwell-x merged 1 commit into
mainfrom
tcaldwell/api-version-and-xdk-errors

Conversation

@tcaldwell-x

Copy link
Copy Markdown
Collaborator

Summary

  • x-api/fundamentals/versioning.mdx: Documents the api-version response header (<major>.<minor>, e.g. 2.175), the optional x-api-minor-version request header, live 400 Bad Request Problem Details responses for malformed/unsupported minor versions, and client-level api_minor_version pinning examples across all five official XDKs (Python, TypeScript, Java, C#, Ruby).
  • changelog.mdx: Adds Dec 4, 2026 release notes for strict x-api-minor-version validation and the structured RFC 7807 / x-request-id / x-api-minor-version upgrade across all five official XDKs (feat(sdks): surface structured RFC 7807 error fields, x-request-id, and x-api-minor-version across all 5 XDKs xdk#66).

Verification

  • Verified live api-version response header and both 400 Invalid Request Problem Details bodies directly against https://api.x.com/2/openapi.json.

@mintlify

mintlify Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
x-corp 🟢 Ready View Preview Dec 5, 2026, 2:32 AM

@tcaldwell-x
tcaldwell-x merged commit e4105cf into main Dec 5, 2026
3 checks passed
@tcaldwell-x
tcaldwell-x deleted the tcaldwell/api-version-and-xdk-errors branch December 5, 2026 02:34

This branch was successfully deployed

1 active deployment
staging — 6d30b820 Deployed Dec 5, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant