Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Doc: Update curl urls #183

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion peerdb-api/endpoints/custom-sync.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Indicates if the request was successful.
<RequestExample>
```bash Request
curl --request POST \
--url http://localhost:3000/api/mirrors/sync \
--url http://localhost:3000/api/v1/flows/cdc/sync \
--header 'Authorization: Basic OnBlZXJkYg==' \
--header 'Content-Type: application/json' \
--data '{
Expand Down
4 changes: 2 additions & 2 deletions peerdb-api/endpoints/mirror-status.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Information about the mirror configuration and initial load of tables.
<RequestExample>
```bash Request
curl --request POST \
--url http://localhost:3000/api/mirrors/state \
--url http://localhost:3000/api/v1/mirrors/status \
--header 'Authorization: Basic OnBlZXJkYg==' \
--header 'Content-Type: application/json' \
--data '{
Expand All @@ -195,7 +195,7 @@ curl --request POST \

```bash with includeFlowInfo set
curl --request POST \
--url http://localhost:3000/api/mirrors/state \
--url http://localhost:3000/api/v1/mirrors/status \
--header 'Authorization: Basic OnBlZXJkYg==' \
--header 'Content-Type: application/json' \
--data '{
Expand Down