From 54fc6ec2bda751e457e9feee52dac1a967cab5d0 Mon Sep 17 00:00:00 2001 From: allencloud Date: Wed, 8 Feb 2017 14:07:20 +0800 Subject: [PATCH] add filters for plugin list endpoint in swagger.yml Signed-off-by: allencloud Upstream-commit: 26649de086f38f7a74a0a78782c084c49fe41d89 Component: engine --- components/engine/api/swagger.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/engine/api/swagger.yaml b/components/engine/api/swagger.yaml index 5cdc4f6c2c..445df1972b 100644 --- a/components/engine/api/swagger.yaml +++ b/components/engine/api/swagger.yaml @@ -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=` + - `enable=|` tags: ["Plugin"] /plugins/privileges: