Fix API version configuration: restore v1 URL path and update header to 1.2.0 - #22
Merged
Merged
Conversation
… version to v1 Co-authored-by: SirTenzin <49116958+SirTenzin@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix bug in API versioning configuration
Fix API version configuration: restore v1 URL path and update header to 1.2.0
Jan 14, 2026
SirTenzin
marked this pull request as ready for review
January 14, 2026 13:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aims of this PR
Fixes accidental API version misconfiguration. The SDK was using
1.2for both URL routing and theX-Api-Versionheader, but should usev1for URL paths and1.2.0for the header.Changes:
LATEST_API_VERSION:"1.2"→"1.2.0"(sets X-Api-Version header)versionparameter inClientandAsyncClient:"1.2"→"v1"(URL path component)Result:
Checklist
Additional context
The base URL
https://api.useautumn.comremains unchanged. The/v1route version is stable; theX-Api-Versionheader controls actual API behavior and schema versions.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Summary by cubic
Fixes API versioning mismatch by restoring the URL to /v1 and setting the default X-Api-Version to 1.2.0. Aligns request/response schemas to the intended latest functional API version.
Written for commit 4bacebc. Summary will update on new commits.