Repository navigation
Version 0.5.0: the spec at API 1.18.0, validation error models removed - #10
Merged
Merged
Conversation
The saved spec follows the public document at API 1.18.0. The models HTTPValidationError and ValidationError are removed. ErrorEnvelope.error is the new model ErrorBody, no longer a dict. No client method, argument or return type changed. Tests cover the 422 envelope and the upload_queue rate limit. The README links the limits page.
The server counts the limit of an uploaded file in MiB. The docstrings of create_upload said 25 MB.
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.
Follows API 1.18.0, in production since 2026-11-12.
HTTPValidationErrorandValidationErrorare removed. The server never sent that shape.ErrorEnvelope.erroris the new modelErrorBody, where 0.4.1 declared a dict.details["cap"]upload_queue.Run here: ruff, mypy,
gen_models.py --check, truthcheck, 143 unit tests.Against production with no key:
one_time_sends.config,read_by_token,get_by_token,confirmandcreateall answered.With a wrong API key,
me()raisedAuthenticationErrorwithinvalid_tokenand a correlation id.