Skip to content

Rebuild node RPC OpenAPI spec from stacks-core 12ac3abeb - #1899

Merged
cuevasm merged 1 commit into
masterfrom
openapi/stacks-node-rpc-12ac3abeb
Oct 29, 2026
Merged

cuevasm merged 1 commit into
masterfrom
openapi/stacks-node-rpc-12ac3abeb

Conversation

@werner-stacks

Copy link
Copy Markdown
Collaborator

Description

stacks-core PR #7786 (stacks-network/stacks-core#7786) documents how /v2/accounts reports locked STX under PoX-5. This PR rebuilds the node RPC spec from stacks-core 12ac3abebc67cf2bfd286413a1d7db47cd9c7e5d, the merge commit of #7786, so the change can reach https://docs.stacks.co/reference/api/stacks-node-rpc/accounts.

  • Adds openapi/stacks-node-rpc/stacks-node-rpc.12ac3abeb.json, built with the commands in the folder README (@redocly/cli 2.19, then normalize.py).
  • Updates the README with the new source commit and sha256 (6fae49c3e9a6ec33f5f8495637a58d761be7c08f96ce8d3013a1bff9abfdfc6f).
  • Keeps stacks-node-rpc.b62be8ee9.json, which GitBook loads today.

The new file differs from the b62be8ee9 build in four descriptions: the GET /v2/accounts/{principal} operation, and balance, locked and unlock_height in AccountData. Lint gives the same result as before: valid, 19 warnings.

Merging this PR does not change the live site. After it merges, the GitBook spec is pointed at the raw URL of the new file, pinned to the merge commit.

Adds stacks-node-rpc.12ac3abeb.json, built from stacks-core docs/rpc
after stacks-core PR #7786 with @redocly/cli 2.19 and normalize.py.
The b62be8ee9 build stays until GitBook is repointed.
@werner-stacks
werner-stacks requested a review from cuevasm October 28, 2026 15:48
@cuevasm
cuevasm merged commit 1a03c67 into master Oct 29, 2026
4 checks passed
@cuevasm
cuevasm deleted the openapi/stacks-node-rpc-12ac3abeb branch October 29, 2026 03:08
@werner-stacks

Copy link
Copy Markdown
Collaborator Author

thanks for signing off and merging, now live at https://docs.stacks.co/reference/api/stacks-node-rpc/accounts

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.

2 participants