You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sy...@apache.org on 2022/12/16 11:06:19 UTC

[apisix] branch master updated: docs: a consumer is identified by a `username` property, not `id` (#8528)

This is an automated email from the ASF dual-hosted git repository.

sylviasu 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 9686c555c docs: a consumer is identified by a `username` property, not `id` (#8528)
9686c555c is described below

commit 9686c555c24cbdb979adfd9e3961d975b94cdb2a
Author: Ashing Zheng <ax...@gmail.com>
AuthorDate: Fri Dec 16 19:06:08 2022 +0800

    docs: a consumer is identified by a `username` property, not `id` (#8528)
---
 docs/zh/latest/admin-api.md | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/zh/latest/admin-api.md b/docs/zh/latest/admin-api.md
index d65bf59d8..4e658b924 100644
--- a/docs/zh/latest/admin-api.md
+++ b/docs/zh/latest/admin-api.md
@@ -726,12 +726,12 @@ Consumer 资源请求地址:/apisix/admin/consumers/{username}
 
 ### 请求方法 {#consumer-request-methods}
 
-| 名称   | 请求 URI                      | 请求 body  | 描述         |
-| ------ | ---------------------------- | --------- | ------------ |
-| GET    | /apisix/admin/consumers      | 无        | 获取资源列表。 |
-| GET    | /apisix/admin/consumers/{id} | 无        | 获取资源。     |
-| PUT    | /apisix/admin/consumers      | {...}     | 创建资源。     |
-| DELETE | /apisix/admin/consumers/{id} | 无        | 删除资源。     |
+| 名称   | 请求 URI                           | 请求 body | 描述          |
+| ------ | ---------------------------------- | --------- | ------------- |
+| GET    | /apisix/admin/consumers            | 无        | 获取资源列表。|
+| GET    | /apisix/admin/consumers/{username} | 无        | 获取资源。    |
+| PUT    | /apisix/admin/consumers            | {...}     | 创建资源。    |
+| DELETE | /apisix/admin/consumers/{username} | 无        | 删除资源。    |
 
 ### body 请求参数 {#consumer-body-request-methods}