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 2022/01/14 07:55:41 UTC

[GitHub] [apisix] anjia0532 edited a comment on issue #6105: bug: admin api data structure of the chaos/admin api 数据结构混乱

anjia0532 edited a comment on issue #6105:
URL: https://github.com/apache/apisix/issues/6105#issuecomment-1012876781


   > > /apisix/admin/plugins /apisix/admin/plugins?all=true 和/apisix/admin/plugins/list 返回风格与其他接口返回数据风格不一致
   > 
   > Yes, these APIs don't fetch data from etcd, so they are different.
   > 
   > BTW, `/apisix/admin/plugins/list` should be marked as deprecated. PR is welcome!
   > 
   > > stand-alone 模式不支持(也可能没更新文档 ) /apisix/admin/plugin_configs 接口
   > 
   > stand-alone mode doesn't have Admin API.
   > 
   > > stand-alone#配置-plugins 文档中描述 stream: true # stream 插件需要设置 stream 属性为 true 啥样的插件算是 stream 插件?没法从admin api 相关接口中获得这个标识
   > 
   > You can get stream plugin list via `/apisix/admin/plugins?all=true&subsystem=stream`. The API doesn't provide room for stream plugins, so we have to use an extra subsystem argument.
   
   In my test `docker apache/apisix:2.9-alpine`  `subsystem=stream` not work.
   
   [apisix/admin-api/#plugin](https://apisix.apache.org/docs/apisix/admin-api/#plugin)
   
   > Description: all the attributes of all plugins, each plugin includes `name`, `priority`, `type`, `schema`, `consumer_schema` and `version`.
   Not have `name`(maybe it's object key?), `type`, `consumer_schema` field
   ```
       "mqtt-proxy": {
           "priority": 1000,
           "version": 0.1,
           "schema": {
               // 忽略
           }
       }
   ```


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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