add filters for plugin list endpoint in swagger.yml
Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: 26649de086f38f7a74a0a78782c084c49fe41d89 Component: engine
This commit is contained in:
@ -6443,6 +6443,15 @@ paths:
|
||||
description: "Server error"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
parameters:
|
||||
- name: "filters"
|
||||
in: "query"
|
||||
type: "string"
|
||||
description: |
|
||||
A JSON encoded value of the filters (a `map[string][]string`) to process on the plugin list. Available filters:
|
||||
|
||||
- `capability=<capability name>`
|
||||
- `enable=<true>|<false>`
|
||||
tags: ["Plugin"]
|
||||
|
||||
/plugins/privileges:
|
||||
|
||||
Reference in New Issue
Block a user