Repository navigation
Sync sdk/openapi.json with provable.io v1.15.0 - #4
Merged
Merged
Conversation
added 2 commits
November 9, 2026 18:27
Adds /o/stream (live feed of public draws) and marks /api/batch and /api/stream as needing an API key; anonymous draw limits are described in the spec intro.
Both SDKs gain streamPublicDraws / stream_public_draws (every public draw as it is made) and listSealedCommits / list_sealed_commits (the public /api/commits lookup, never added when that route shipped). The SSE parsing moves into one private helper per SDK; streamOutcomes behaves as before. The Python client now follows redirects: the API host answers /o/* with a 301 to provable.io, so get_outcome_permalink returned the redirect instead of the outcome. httpx drops Authorization on a cross-host redirect. Generated openapi-types.ts, models.py and operations.py are refreshed. Checked live: both stream methods receive a fresh draw through api.provable.io.
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.
Copies the live spec from provable.io v1.15.0 and keeps both SDKs in parity with it:
/o/streamfeed:streamPublicDraws()(TS) andstream_public_draws()(Python);/api/commits, never added when it shipped:listSealedCommits()andlist_sealed_commits();/api/batchand/api/streamnow need an API key (anonymous calls get 401account_required); anonymous draws are capped at 10 a minute and 100 a day per IP;get_outcome_permalinkgets the outcome instead of the API host's 301 to provable.io.Generated files are refreshed. Local: TS 6/6, Python 9/9. Live: both stream methods received a fresh draw through api.provable.io. Nothing publishes until a tag.