imjoey opened a new issue #1208: URL: https://github.com/apache/apisix-dashboard/issues/1208
# Bug report ## Describe the bug I enabled two plugins in global scope ( also known as `global_rule` ). The json data in response from endpoint `manager-api:9000/apisix/admin/global_rules` is as follows: ```json { "code":0, "message":"", "data":{ "rows":[ { "id":"1", "plugins":{ "cors":{ "disable":false }, "echo":{ "before_body":"before the body modification ", "disable":false } } } ], "total_size":1 }, "request_id":"221ac1c3-f66c-4661-974d-510535f48604" } ``` The above data structure is not the same as others retuned by other interfaces. Take "/apisix/admin/global_rules" for example, it returns the following json data: (some properties removed): ```json { "code":0, "message":"", "data":{ "rows":[ { "id":"336048915977602045", "name":"tetst1", "status":1 }, { "id":"336048939381818365", "name":"test2", "status":1 } ], "total_size":2 }, "request_id":"87c20714-3fa0-4745-8494-96aa5c2f5624" } ``` So is the global_rule data as expected? Thanks. ## System information - OS: macOS - Version: latest in master branch (https://github.com/apache/apisix-dashboard/commit/45e90ec8e13a1c9659645034f1fd50f0552b93e3) ---------------------------------------------------------------- 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: us...@infra.apache.org