Skip to content

Commit

Permalink
chore: update api docs (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
medcl authored Jan 20, 2025
1 parent 4630930 commit f389302
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/content.en/docs/references/connectors/google_drive.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ weight: 10
## Register Google Drive Connector

```shell
curl -XPUT http://localhost:9000/connector/google_drive?replace=true -d '{
curl -XPUT "http://localhost:9000/connector/google_drive?replace=true" -d '{
"name": "Google Drive Connector",
"description": "Fetch the files metadata from Google Drive.",
"icon": "/assets/connector/google_drive/icon.png",
Expand Down
4 changes: 2 additions & 2 deletions docs/content.en/docs/references/connectors/hugo_site.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ weight: 20
## Register Hugo Site Connector

```shell
curl -XPUT http://localhost:9000/connector/hugo_site?replace=true -d '{
curl -XPUT "http://localhost:9000/connector/hugo_site?replace=true" -d '{
"name": "Hugo Site Connector",
"description": "Fetch the index.json file from a specified Hugo site.",
"icon": "/assets/connector/hugo_site/icon.png",
Expand Down Expand Up @@ -80,7 +80,7 @@ connector:

```shell
//request
curl -H 'Content-Type: application/json' -XPOST http://localhost:9000/datasource/ -d'
curl -H 'Content-Type: application/json' -XPOST "http://localhost:9000/datasource/" -d'
{
"name":"My Hugo Site",
"type":"connector",
Expand Down
4 changes: 2 additions & 2 deletions docs/content.en/docs/references/connectors/yuque.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ weight: 30
## Register Yuque Connector

```shell
curl -XPUT http://localhost:9000/connector/yuque?replace=true -d '{
curl -XPUT "http://localhost:9000/connector/yuque?replace=true" -d '{
"name": "Yuque Docs Connector",
"description": "Fetch the docs metadata for yuque.",
"icon": "/assets/connector/yuque/icon.png",
Expand Down Expand Up @@ -70,7 +70,7 @@ Before using this connector, you need to obtain your Yuque API token. Refer to t
Here is an example request to configure the Yuque Connector:

```shell
curl -H 'Content-Type: application/json' -XPOST http://localhost:9000/datasource/ -d '
curl -H 'Content-Type: application/json' -XPOST "http://localhost:9000/datasource/" -d '
{
"name": "My Yuque",
"type": "connector",
Expand Down

0 comments on commit f389302

Please sign in to comment.