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/11/29 06:32:25 UTC

[GitHub] [apisix] membphis commented on a change in pull request #2886: feat: provide the ability to view plug-in types

membphis commented on a change in pull request #2886:
URL: https://github.com/apache/apisix/pull/2886#discussion_r532163386



##########
File path: doc/zh-cn/admin-api.md
##########
@@ -723,3 +723,15 @@ Content-Type: text/plain
 ```
 
 [Back to TOC](#目录)
+
+*地址*:/apisix/admin/plugins/meta_attributes
+
+*说明*: 插件元属性,包括插件的 `name`, `priority`, `priority`, `schema`, `consumer_schema` and `version`。
+
+> 请求方法:
+
+|Method   |请求 URI|请求 body|说明        |
+|---------|-------------------------|--|------|
+|GET      |/apisix/admin/plugins/meta_attributes/{plugin_name}|无|获取资源|

Review comment:
       I do not like this way(use a new API style)
   
   We can add a new argument to the old API for this feature.
   
   `/apisix/admin/schema/plugins/limit-count?type=priority`
   `/apisix/admin/schema/plugins/limit-count?type=schema`
   `/apisix/admin/schema/plugins/limit-count?type=consumer_schema `
   `/apisix/admin/schema/plugins/limit-count?type=version`
   
   we talked about this at Github issue or email list, but I can not find them :(




----------------------------------------------------------------
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