From 85eb5c51373754f0558f1699b2281f5c45383007 Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Thu, 26 Sep 2024 15:41:44 +0530 Subject: [PATCH] fix curl urls --- peerdb-api/endpoints/custom-sync.mdx | 2 +- peerdb-api/endpoints/mirror-status.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/peerdb-api/endpoints/custom-sync.mdx b/peerdb-api/endpoints/custom-sync.mdx index c2e3bd8..84aee44 100644 --- a/peerdb-api/endpoints/custom-sync.mdx +++ b/peerdb-api/endpoints/custom-sync.mdx @@ -38,7 +38,7 @@ Indicates if the request was successful. ```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 '{ diff --git a/peerdb-api/endpoints/mirror-status.mdx b/peerdb-api/endpoints/mirror-status.mdx index 9d3354b..213ea8f 100644 --- a/peerdb-api/endpoints/mirror-status.mdx +++ b/peerdb-api/endpoints/mirror-status.mdx @@ -184,7 +184,7 @@ Information about the mirror configuration and initial load of tables. ```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 '{ @@ -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 '{