membphis commented on a change in pull request #2886:
URL: https://github.com/apache/apisix/pull/2886#discussion_r532388482
##########
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:
https://github.com/apache/apisix/blob/master/t/admin/plugins.t#L128
https://github.com/apache/apisix/blob/master/t/admin/plugins.t#L149
the APISIX API has done in this way for .
`/apisix/admin/plugins/basic-auth`
`/apisix/admin/plugins/basic-auth?schema_type=consumer`
and `/apisix/admin/plugins/{plugin-name}` is an old API for months. If we
want to change it, it will not be backward compatible.
that is the original PR link: https://github.com/apache/apisix/pull/2509
----------------------------------------------------------------
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:
[email protected]