Skip to content

Commit 994558a

Browse files
docs: Update doc references to docsv2 changes. (#1800)
Original PR was [here](#1742)
1 parent f643b4a commit 994558a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ NOTE: Node LTS (`long term support`) versions start with an even number, and odd
6666
- [Source code installation and usage](#source-code-installation-and-usage)
6767
- [Configuration](#configuration)
6868
- [Debugging fee and staking payout calculations](#debugging-staking-payout-calculations)
69-
- [Available endpoints](https://paritytech.github.io/substrate-api-sidecar/dist/)
69+
- [Available endpoints](https://paritytech.github.io/substrate-api-sidecar/docsv2/)
7070
- [Chain integration guide](./guides/CHAIN_INTEGRATION.md)
7171
- [Docker](#docker)
7272
- [Notes for maintainers](#notes-for-maintainers)
@@ -112,7 +112,7 @@ node_modules/.bin/substrate-api-sidecar
112112

113113
[Jump to the configuration section](#configuration) for more details on connecting to a node.
114114

115-
[Click here for full endpoint docs.](https://paritytech.github.io/substrate-api-sidecar/dist/)
115+
[Click here for full endpoint docs.](https://paritytech.github.io/substrate-api-sidecar/docsv2/)
116116

117117
In the full endpoints doc, you will also find the following `trace` related endpoints :
118118
- `/experimental/blocks/{blockId}/traces/operations?actions=false`
@@ -318,7 +318,7 @@ CALC_DEBUG=1 sh calc/build.sh
318318
319319
## Available endpoints
320320
321-
[Click here for full endpoint docs.](https://paritytech.github.io/substrate-api-sidecar/dist/)
321+
[Click here for full endpoint docs.](https://paritytech.github.io/substrate-api-sidecar/docsv2/)
322322
323323
## Chain integration guide
324324

guides/STAKING_IMPLEMENTATION_DETAILS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This document outlines the implementation details for the `claimed` field return
44
Before proceeding, please check out the introductory helper guide in this [HackMd](https://hackmd.io/@LwMsxe3-SFmNXxugAXOKgg/ryPwFoezyl).
55

66
## Description
7-
In Sidecar, the `/accounts/{accountId}/staking-info` endpoint ([docs](https://paritytech.github.io/substrate-api-sidecar/dist/)) takes two parameters:
7+
In Sidecar, the `/accounts/{accountId}/staking-info` endpoint ([docs](https://paritytech.github.io/substrate-api-sidecar/docsv2/)) takes two parameters:
88
- a stash account (required field): this can be a validator's account or a nominator's account.
99
- a block height (optional - default latest block): based on the height, the corresponding eras are returned.
1010

src/App.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default class App {
102102
// Set up a root route
103103
this.app.get('/', (_req: Request, res: Response) => {
104104
res.send({
105-
docs: 'https://paritytech.github.io/substrate-api-sidecar/dist',
105+
docs: 'https://paritytech.github.io/substrate-api-sidecar/docsv2',
106106
github: 'https://github.com/paritytech/substrate-api-sidecar',
107107
version: packageJson.version,
108108
listen: `${this.host}:${this.port}`,

0 commit comments

Comments
 (0)