mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add filters for plugin list endpoint in swagger.yml
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
41650df87e
commit
26649de086
1 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue