Skip to content

Commit

Permalink
Manually edit examples to hide staging endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-md committed Jun 4, 2024
1 parent d7588ca commit 86097a7
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion components/ApiReference/examples/-v1-contracts--get.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"count": 13790,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/contracts/?limit=2&offset=2",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/contracts/?limit=2&offset=2",
"previous": null,
"results": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"count": 3,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/all-transactions/?limit=2&offset=2",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/all-transactions/?limit=2&offset=2",
"previous": null,
"results": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"count": 3,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/module-transactions/?limit=2&offset=2&safe=0xF72b6C739E7889b89C888403a960a59935564405",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/module-transactions/?limit=2&offset=2&safe=0xF72b6C739E7889b89C888403a960a59935564405",
"previous": null,
"results": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"count": 6,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/safe-operations/?limit=2&offset=2",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/safe-operations/?limit=2&offset=2",
"previous": null,
"results": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"count": 6,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/user-operations/?limit=2&offset=2",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/user-operations/?limit=2&offset=2",
"previous": null,
"results": [
{
Expand Down
2 changes: 1 addition & 1 deletion components/ApiReference/examples/-v1-tokens--get.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"count": 88,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/tokens/?limit=2&offset=2",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/tokens/?limit=2&offset=2",
"previous": null,
"results": [
{
Expand Down
12 changes: 6 additions & 6 deletions components/ApiReference/generated-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ curl -X GET https://safe-transaction-mainnet.safe.global/api/v1/contracts/ \
```json
{
"count": 13790,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/contracts/?limit=2&offset=2",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/contracts/?limit=2&offset=2",
"previous": null,
"results": [
{
Expand Down Expand Up @@ -1029,7 +1029,7 @@ curl -X GET https://safe-transaction-mainnet.safe.global/api/v1/safes/0xcd2E72aE
```json
{
"count": 3,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/all-transactions/?limit=2&offset=2",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/all-transactions/?limit=2&offset=2",
"previous": null,
"results": [
{
Expand Down Expand Up @@ -1397,7 +1397,7 @@ curl -X GET https://safe-transaction-mainnet.safe.global/api/v1/safes/0xcd2E72aE
```json
{
"count": 3,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/module-transactions/?limit=2&offset=2&safe=0xF72b6C739E7889b89C888403a960a59935564405",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/module-transactions/?limit=2&offset=2&safe=0xF72b6C739E7889b89C888403a960a59935564405",
"previous": null,
"results": [
{
Expand Down Expand Up @@ -2252,7 +2252,7 @@ curl -X GET https://safe-transaction-mainnet.safe.global/api/v1/safes/0xcd2E72aE
```json
{
"count": 6,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/safe-operations/?limit=2&offset=2",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/safe-operations/?limit=2&offset=2",
"previous": null,
"results": [
{
Expand Down Expand Up @@ -2433,7 +2433,7 @@ curl -X GET https://safe-transaction-mainnet.safe.global/api/v1/safes/0xcd2E72aE
```json
{
"count": 6,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/user-operations/?limit=2&offset=2",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/safes/0xF72b6C739E7889b89C888403a960a59935564405/user-operations/?limit=2&offset=2",
"previous": null,
"results": [
{
Expand Down Expand Up @@ -2945,7 +2945,7 @@ curl -X GET https://safe-transaction-mainnet.safe.global/api/v1/tokens/ \
```json
{
"count": 88,
"next": "https://safe-transaction-sepolia.staging.5afe.dev/api/v1/tokens/?limit=2&offset=2",
"next": "https://safe-transaction-mainnet.safe.global/api/v1/tokens/?limit=2&offset=2",
"previous": null,
"results": [
{
Expand Down

0 comments on commit 86097a7

Please sign in to comment.