You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/08/27 03:36:23 UTC
[apisix] branch master updated: docs: add upstream parameter for
stream route description of admin-api.md (#4907)
This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 5c831bb docs: add upstream parameter for stream route description of admin-api.md (#4907)
5c831bb is described below
commit 5c831bb06e0b9e554738947ea72de448e932c622
Author: Xu_Mj <40...@users.noreply.github.com>
AuthorDate: Fri Aug 27 11:36:18 2021 +0800
docs: add upstream parameter for stream route description of admin-api.md (#4907)
Co-authored-by: Alex Zhang <to...@apache.org>
---
docs/en/latest/admin-api.md | 2 ++
docs/zh/latest/admin-api.md | 2 ++
2 files changed, 4 insertions(+)
diff --git a/docs/en/latest/admin-api.md b/docs/en/latest/admin-api.md
index 1d4e2e5..37c5cc5 100644
--- a/docs/en/latest/admin-api.md
+++ b/docs/en/latest/admin-api.md
@@ -971,5 +971,7 @@ $ curl "http://127.0.0.1:9080/apisix/admin/plugins/key-auth" -H 'X-API-KEY:
| server_addr | False | IP | server IP | "127.0.0.1" |
| server_port | False | Integer | server port | 9090 |
| sni | False | Host | server name indication | "test.com" |
+| upstream | False | Upstream | Upstream configuration, see [Upstream](architecture-design/upstream.md) for more details | |
+| upstream_id | False | Upstream | specify the upstream id, see [Upstream](architecture-design/upstream.md) for more details | |
[Back to TOC](#table-of-contents)
diff --git a/docs/zh/latest/admin-api.md b/docs/zh/latest/admin-api.md
index 6fdc37b..9116453 100644
--- a/docs/zh/latest/admin-api.md
+++ b/docs/zh/latest/admin-api.md
@@ -978,5 +978,7 @@ $ curl "http://127.0.0.1:9080/apisix/admin/plugins/key-auth" -H 'X-API-KEY:
| server_addr | 可选 | IP | 服务端 IP 地址 | "127.0.0.1" |
| server_port | 可选 | 整数 | 服务端端口 | 9090 |
| sni | 可选 | Host | 服务器名称指示| "test.com" |
+| upstream | 可选 | Upstream | 启用的 Upstream 配置,详见 [Upstream](architecture-design/upstream.md) | |
+| upstream_id | 可选 | Upstream | 启用的 upstream id,详见 [Upstream](architecture-design/upstream.md) | |
[Back to TOC](#目录)