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:
allencloud
2017-02-08 14:07:20 +08:00
parent 7a04a9d5d0
commit 54fc6ec2bd

View File

@ -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: