Skip to content

Commit

Permalink
doc: move rest api link to newline
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Aug 10, 2024
1 parent 4530683 commit f8f70bd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion docs/developer-guide/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ Access Zealot apps, debug files, users and other resources via API. All endpoint

There are two versions of the API: `REST API` and `GraphQL`.

## [REST API](/api/v1/en)
## REST

The current version of the API is `1.x`. It is the recommended way to interact with Zealot. Version 1 does not requires clinets to pass the `v1` version to path of url.

Open [API docs](/api/v1/en).

### Authentication

Requests currently only support query authentication for User Token, found in `API - Key` at the bottom of the login user details page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ Zealot 提供提供开发接口服务可用于控制应用、调试文件、用

目前接口划分为两个版本:`REST API``GraphQL`

## [REST API](/api/v1/zh-Hans)
## REST API

这是 Zealot 当前的核心接口版本是 `1.x`,需要注意的是接口无需显性传递版本参数。

[查看接口文档](/api/v1/zh-Hans)

### 接口认证 {#authentication}

接口请求目前仅支持`用户密钥`认证,在登录用户的详情页面最下面 `API - 密钥` 找到。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ Zealot 提供提供开发接口服务可用于控制应用、调试文件、用

目前接口划分为两个版本:`REST API``GraphQL`

## [REST API](/api/v1/zh-Hans)
## REST API

这是 Zealot 当前的核心接口版本是 `1.x`,需要注意的是接口无需显性传递版本参数。

[查看接口文档](/api/v1/zh-Hans)

### 接口认证 {#authentication}

接口请求目前仅支持`用户密钥`认证,在登录用户的详情页面最下面 `API - 密钥` 找到。
Expand Down
4 changes: 3 additions & 1 deletion versioned_docs/version-5.3/developer-guide/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ Access Zealot apps, debug files, users and other resources via API. All endpoint

There are two versions of the API: `REST API` and `GraphQL`.

## [REST API](/api/v1/en)
## REST API

The current version of the API is `1.x`. It is the recommended way to interact with Zealot. Version 1 does not requires clinets to pass the `v1` version to path of url.

Open [API docs](/api/v1/en).

### Authentication

Requests currently only support query authentication for User Token, found in `API - Key` at the bottom of the login user details page.
Expand Down

0 comments on commit f8f70bd

Please sign in to comment.