You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/07/20 07:17:52 UTC

[GitHub] [incubator-apisix] EdisonLiang opened a new issue #1873: bug: The `doc/admin-api.md#consumer` & `doc/zh-cn/admin-api.md#consumer` doc, the consumer 'id' meaning confused.

EdisonLiang opened a new issue #1873:
URL: https://github.com/apache/incubator-apisix/issues/1873


   ### Issue description
   The `doc/admin-api.md#consumer` & `doc/zh-cn/admin-api.md#consumer` doc, the consumer `id` meaning confused.   
   
   `id` miss leading `name` to `index` number while fetching one consumer details. eg:
   based on docs:
   `curl http://127.0.0.1:9080/apisix/admin/consumers/{id}  -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' `
   
   but should be fix it for:
   `curl http://127.0.0.1:9080/apisix/admin/consumers/{name}  -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'` 
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix] membphis commented on issue #1873: doc: The `doc/admin-api.md#consumer` & `doc/zh-cn/admin-api.md#consumer` doc, the consumer 'id' meaning confused.

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1873:
URL: https://github.com/apache/incubator-apisix/issues/1873#issuecomment-660949655


   welcome PR


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org