docs: update Stacks Blockchain API reference to latest OpenAPI spec (v3 endpoints)#1144
Merged
Conversation
Add reference pages for the 42 endpoints introduced in the updated OpenAPI spec, including the new Staking and Microblocks groups plus new v3 routes across Accounts, Transactions, Blocks, Faucets, Proof of Transfer, Names, Mempool, Smart Contracts, and Stacking. Each page is an <APIPage> stub wired into its group's meta.json nav. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
What & why
Updates the Stacks Blockchain API documentation to match the latest OpenAPI spec, which restructured many endpoints (v1/v2 → v3) and added new endpoint groups. The docs had drifted from the spec, so this brings the reference tree back to 1:1 coverage and documents the new cursor pagination.
Changes
Spec source
scripts/fetch-openapi-specs.mts) at the up-to-datestacks-blockchain-apirepo and regeneratedopenapi/stacks-blockchain-api.json(82 endpoints, was 68).Reference pages (English) — now match the spec exactly
Feesgroup (theFeestag was dropped from the spec).info/pox-details,transactions/transaction-fee-priorities,transactions/dropped-mempool-transactions).Content pages
limit/cursorparams;cursor.next/previous/currentresponse shape; a walk-the-list example), with a note that legacy endpoints still use offset/limit. Grounded in the actual spec.Verification
meta.jsonentry ↔ file is consistent.fumadocs-mdxcompiles cleanly; dev-server render check confirms new pages return 200 with correct titles/paths/groups, deleted pages 404, and the Pagination page renders correctly.Reviewer notes
content/docs/es/.../reference/is a separately-maintained, already-divergent translation — scaffolding English content there would mix languages. The ES Pagination page also still describes offset pagination. Left for a proper translation pass.🤖 Generated with Claude Code