Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

[docs] new JSON RPC API docs format (backport #29772)#29939

Merged
jacobcreech merged 3 commits into
v1.14from
mergify/bp/v1.14/pr-29772
Apr 7, 2023
Merged

[docs] new JSON RPC API docs format (backport #29772)#29939
jacobcreech merged 3 commits into
v1.14from
mergify/bp/v1.14/pr-29772

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Jan 26, 2023

This is an automatic backport of pull request #29772 done by Mergify.
Cherry-pick of 9b27002 has failed:

On branch mergify/bp/v1.14/pr-29772
Your branch is up to date with 'origin/v1.14'.

You are currently cherry-picking commit 9b270020f.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   docs/components/CodeDocBlock.jsx
	modified:   docs/publish-docs.sh
	modified:   docs/sidebars.js
	new file:   docs/sidebars/api.js
	new file:   docs/src/api/deprecated/_getConfirmedBlock.mdx
	new file:   docs/src/api/deprecated/_getConfirmedBlocks.mdx
	new file:   docs/src/api/deprecated/_getConfirmedBlocksWithLimit.mdx
	new file:   docs/src/api/deprecated/_getConfirmedSignaturesForAddress2.mdx
	new file:   docs/src/api/deprecated/_getConfirmedTransaction.mdx
	new file:   docs/src/api/deprecated/_getFeeCalculatorForBlockhash.mdx
	new file:   docs/src/api/deprecated/_getFeeRateGovernor.mdx
	new file:   docs/src/api/deprecated/_getFees.mdx
	new file:   docs/src/api/deprecated/_getRecentBlockhash.mdx
	new file:   docs/src/api/deprecated/_getSnapshotSlot.mdx
	new file:   docs/src/api/http.md
	new file:   docs/src/api/methods/_getAccountInfo.mdx
	new file:   docs/src/api/methods/_getBalance.mdx
	new file:   docs/src/api/methods/_getBlock.mdx
	new file:   docs/src/api/methods/_getBlockCommitment.mdx
	new file:   docs/src/api/methods/_getBlockHeight.mdx
	new file:   docs/src/api/methods/_getBlockProduction.mdx
	new file:   docs/src/api/methods/_getBlockTime.mdx
	new file:   docs/src/api/methods/_getBlocks.mdx
	new file:   docs/src/api/methods/_getBlocksWithLimit.mdx
	new file:   docs/src/api/methods/_getClusterNodes.mdx
	new file:   docs/src/api/methods/_getEpochInfo.mdx
	new file:   docs/src/api/methods/_getEpochSchedule.mdx
	new file:   docs/src/api/methods/_getFeeForMessage.mdx
	new file:   docs/src/api/methods/_getFirstAvailableBlock.mdx
	new file:   docs/src/api/methods/_getGenesisHash.mdx
	new file:   docs/src/api/methods/_getHealth.mdx
	new file:   docs/src/api/methods/_getHighestSnapshotSlot.mdx
	new file:   docs/src/api/methods/_getIdentity.mdx
	new file:   docs/src/api/methods/_getInflationGovernor.mdx
	new file:   docs/src/api/methods/_getInflationRate.mdx
	new file:   docs/src/api/methods/_getInflationReward.mdx
	new file:   docs/src/api/methods/_getLargestAccounts.mdx
	new file:   docs/src/api/methods/_getLatestBlockhash.mdx
	new file:   docs/src/api/methods/_getLeaderSchedule.mdx
	new file:   docs/src/api/methods/_getMaxRetransmitSlot.mdx
	new file:   docs/src/api/methods/_getMaxShredInsertSlot.mdx
	new file:   docs/src/api/methods/_getMinimumBalanceForRentExemption.mdx
	new file:   docs/src/api/methods/_getMultipleAccounts.mdx
	new file:   docs/src/api/methods/_getProgramAccounts.mdx
	new file:   docs/src/api/methods/_getRecentPerformanceSamples.mdx
	new file:   docs/src/api/methods/_getRecentPrioritizationFees.mdx
	new file:   docs/src/api/methods/_getSignatureStatuses.mdx
	new file:   docs/src/api/methods/_getSignaturesForAddress.mdx
	new file:   docs/src/api/methods/_getSlot.mdx
	new file:   docs/src/api/methods/_getSlotLeader.mdx
	new file:   docs/src/api/methods/_getSlotLeaders.mdx
	new file:   docs/src/api/methods/_getStakeActivation.mdx
	new file:   docs/src/api/methods/_getStakeMinimumDelegation.mdx
	new file:   docs/src/api/methods/_getSupply.mdx
	new file:   docs/src/api/methods/_getTokenAccountBalance.mdx
	new file:   docs/src/api/methods/_getTokenAccountsByDelegate.mdx
	new file:   docs/src/api/methods/_getTokenAccountsByOwner.mdx
	new file:   docs/src/api/methods/_getTokenLargestAccounts.mdx
	new file:   docs/src/api/methods/_getTokenSupply.mdx
	new file:   docs/src/api/methods/_getTransaction.mdx
	new file:   docs/src/api/methods/_getTransactionCount.mdx
	new file:   docs/src/api/methods/_getVersion.mdx
	new file:   docs/src/api/methods/_getVoteAccounts.mdx
	new file:   docs/src/api/methods/_isBlockhashValid.mdx
	new file:   docs/src/api/methods/_minimumLedgerSlot.mdx
	new file:   docs/src/api/methods/_requestAirdrop.mdx
	new file:   docs/src/api/methods/_sendTransaction.mdx
	new file:   docs/src/api/methods/_simulateTransaction.mdx
	new file:   docs/src/api/websocket.md
	new file:   docs/src/api/websocket/_accountSubscribe.mdx
	new file:   docs/src/api/websocket/_accountUnsubscribe.mdx
	new file:   docs/src/api/websocket/_blockSubscribe.mdx
	new file:   docs/src/api/websocket/_blockUnsubscribe.mdx
	new file:   docs/src/api/websocket/_logsSubscribe.mdx
	new file:   docs/src/api/websocket/_logsUnsubscribe.mdx
	new file:   docs/src/api/websocket/_programSubscribe.mdx
	new file:   docs/src/api/websocket/_programUnsubscribe.mdx
	new file:   docs/src/api/websocket/_rootSubscribe.mdx
	new file:   docs/src/api/websocket/_rootUnsubscribe.mdx
	new file:   docs/src/api/websocket/_signatureSubscribe.mdx
	new file:   docs/src/api/websocket/_signatureUnsubscribe.mdx
	new file:   docs/src/api/websocket/_slotSubscribe.mdx
	new file:   docs/src/api/websocket/_slotUnsubscribe.mdx
	new file:   docs/src/api/websocket/_slotsUpdatesSubscribe.mdx
	new file:   docs/src/api/websocket/_slotsUpdatesUnsubscribe.mdx
	new file:   docs/src/api/websocket/_voteSubscribe.mdx
	new file:   docs/src/api/websocket/_voteUnsubscribe.mdx
	modified:   docs/src/cluster/rpc-endpoints.md
	modified:   docs/src/developing/clients/javascript-api.md
	modified:   docs/src/developing/clients/javascript-reference.md
	modified:   docs/src/developing/clients/rust-api.md
	modified:   docs/src/developing/intro/rent.md
	modified:   docs/src/developing/intro/transaction_fees.md
	modified:   docs/src/developing/programming-model/accounts.md
	modified:   docs/src/developing/test-validator.md
	modified:   docs/src/getstarted/hello-world.md
	modified:   docs/src/implemented-proposals/rpc-transaction-history.md
	modified:   docs/src/implemented-proposals/transaction-fees.md
	modified:   docs/src/integrations/exchange.md
	modified:   docs/src/integrations/retrying-transactions.md
	new file:   docs/src/pages/CodeDocBlock.module.css
	new file:   docs/src/pages/api.js
	modified:   docs/src/pages/developers.js
	modified:   docs/src/running-validator/validator-stake.md
	modified:   docs/src/running-validator/validator-start.md
	modified:   docs/src/transaction_fees.md

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	deleted by them: docs/src/developing/clients/jsonrpc-api.md
	deleted by us:   docs/src/developing/transaction_confirmation.md
	both modified:   docs/src/developing/versioned-transactions.md

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* feat: added api page

* fix: api redirects

* feat: websocket page and partials

* feat: deprectated partials

* feat: http method partials

* fix: more deprecated partials

* feat: codeblock component and styles

* feat: api http methods page

* feat: sidebar

* refactor: proposal api links

* refactor: internal linking

* refactor: more internal links

* refactor: internal link and note cards

* refactor: local links

* refactor: local links and auto save prettier

* feat: added numNonVoteTransaction data details

* fix: updated getRecentPrioritizationFees

* fix: corrected wording

* fix: version typo

* fix: commitment links

* fix: parsed response links

* fix: dangling links

* refactor: filter criteria

* docs: removed jsonrpc-api.md file

* fix: dangling links

* style: removed whitespaces for CI

* style: removed whitespace

* style: fixed whitespaces

(cherry picked from commit 9b27002)

# Conflicts:
#	docs/src/developing/clients/jsonrpc-api.md
#	docs/src/developing/transaction_confirmation.md
#	docs/src/developing/versioned-transactions.md
@jacobcreech
Copy link
Copy Markdown
Contributor

Already live on site, no backport needed

@jacobcreech jacobcreech closed this Feb 7, 2023
@mergify mergify Bot deleted the mergify/bp/v1.14/pr-29772 branch February 7, 2023 14:55
@yihau yihau restored the mergify/bp/v1.14/pr-29772 branch April 6, 2023 14:21
@nickfrosty
Copy link
Copy Markdown
Contributor

@Mergifyio refresh

@nickfrosty nickfrosty reopened this Apr 6, 2023
@mergify
Copy link
Copy Markdown
Contributor Author

mergify Bot commented Apr 6, 2023

refresh

❌ Command disallowed due to command restrictions in the Mergify configuration.

Details
  • any of:
    • sender-permission>=write
    • sender={{author}}

@yihau yihau removed the conflicts label Apr 7, 2023
@yihau yihau self-requested a review April 7, 2023 11:36
@yihau yihau requested review from jacobcreech and nickfrosty April 7, 2023 11:39
@jacobcreech jacobcreech merged commit 9a0bb47 into v1.14 Apr 7, 2023
@jacobcreech jacobcreech deleted the mergify/bp/v1.14/pr-29772 branch April 7, 2023 13:35
bw-solana pushed a commit to bw-solana/solana that referenced this pull request Jan 10, 2025
…ana-labs#29939)

* [docs] new JSON RPC API docs format (solana-labs#29772)

* feat: added api page

* fix: api redirects

* feat: websocket page and partials

* feat: deprectated partials

* feat: http method partials

* fix: more deprecated partials

* feat: codeblock component and styles

* feat: api http methods page

* feat: sidebar

* refactor: proposal api links

* refactor: internal linking

* refactor: more internal links

* refactor: internal link and note cards

* refactor: local links

* refactor: local links and auto save prettier

* feat: added numNonVoteTransaction data details

* fix: updated getRecentPrioritizationFees

* fix: corrected wording

* fix: version typo

* fix: commitment links

* fix: parsed response links

* fix: dangling links

* refactor: filter criteria

* docs: removed jsonrpc-api.md file

* fix: dangling links

* style: removed whitespaces for CI

* style: removed whitespace

* style: fixed whitespaces

(cherry picked from commit 9b27002)

# Conflicts:
#	docs/src/developing/clients/jsonrpc-api.md
#	docs/src/developing/transaction_confirmation.md
#	docs/src/developing/versioned-transactions.md

* rm docs/src/developing/clients/jsonrpc-api.md

* fix docs/src/developing/versioned-transactions.md

---------

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
Co-authored-by: yihau <yihau.chen@icloud.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants