Skip to content

Commit 459e66c

Browse files
authored
fix: replace redoc to docs for ER links (#473)
1 parent d8cf8d0 commit 459e66c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

pages/express-relay/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
"api-reference": {
2727
"title": "HTTP API Reference ↗",
28-
"href": "https://pyth-express-relay-mainnet.asymmetric.re/redoc",
28+
"href": "https://pyth-express-relay-mainnet.asymmetric.re/docs",
2929
"newWindow": true
3030
},
3131
"websocket-api-reference": "Websocket API Reference",

pages/express-relay/integrate-as-protocol.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ contract EasyLend is IExpressRelayFeeReceiver {
181181

182182
DeFi protocols should fetch opportunities and expose them to Express Relay for auction.
183183

184-
Express Relay provides a **POST** method, [`/v1/opportunities`](https://per-staging.dourolabs.app/redoc#tag/opportunity/operation/post_opportunity), which accepts a JSON payload containing the details of the opportunity.
184+
Express Relay provides a **POST** method, [`/v1/opportunities`](https://per-staging.dourolabs.app/docs#tag/opportunity/operation/post_opportunity), which accepts a JSON payload containing the details of the opportunity.
185185

186186
The JSON payload should contain opportunities in the following format:
187187

@@ -233,4 +233,4 @@ The [Error Codes](./errors.mdx) page lists the error codes returned by Express R
233233

234234
### API Reference
235235

236-
The [API Reference](https://per-staging.dourolabs.app/redoc) provides detailed information on Express Relay APIs for submitting opportunities.
236+
The [API Reference](https://per-staging.dourolabs.app/docs) provides detailed information on Express Relay APIs for submitting opportunities.

pages/express-relay/integrate-as-searcher.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ await client.subscribe_chains(['op_sepolia'])
6565

6666
</Tabs.Tab>
6767
<Tabs.Tab>
68-
Searchers can request opportunities through an HTTP **GET** call to the [`/v1/opportunities`](https://pyth-express-relay-mainnet.asymmetric.re/redoc#tag/opportunity/operation/get_opportunities) endpoint.
68+
Searchers can request opportunities through an HTTP **GET** call to the [`/v1/opportunities`](https://pyth-express-relay-mainnet.asymmetric.re/docs#tag/opportunity/operation/get_opportunities) endpoint.
6969

7070
```bash copy
7171
curl -X 'GET' \
@@ -208,7 +208,7 @@ def opportunity_callback(opportunity: Opportunity):
208208

209209
</Tabs.Tab>
210210
<Tabs.Tab>
211-
Searchers can submit bids through an HTTP POST call to the [`/v1/bids`](https://pyth-express-relay-mainnet.asymmetric.re/redoc#tag/bid/operation/bid) endpoint. This endpoint accepts a JSON payload containing the details of the bid.
211+
Searchers can submit bids through an HTTP POST call to the [`/v1/bids`](https://pyth-express-relay-mainnet.asymmetric.re/docs#tag/bid/operation/bid) endpoint. This endpoint accepts a JSON payload containing the details of the bid.
212212

213213
```bash copy
214214
curl -X POST https://pyth-express-relay-mainnet.asymmetric.re/v1/bids \

pages/express-relay/websocket-api-reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ After a successful subscription, you will receive new opportunities for the sele
6060
}
6161
```
6262

63-
The schema for the opportunity is similar to what’s returned in the [HTTP requests](https://pyth-express-relay-mainnet.asymmetric.re/redoc#tag/opportunity/operation/get_opportunities)
63+
The schema for the opportunity is similar to what’s returned in the [HTTP requests](https://pyth-express-relay-mainnet.asymmetric.re/docs#tag/opportunity/operation/get_opportunities)
6464

6565
To unsubscribe from a list of chains, you can send the following message:
6666

0 commit comments

Comments
 (0)