Skip to content

Commit

Permalink
add filters for plugin list endpoint in swagger.yml
Browse files Browse the repository at this point in the history
Signed-off-by: allencloud <[email protected]>
  • Loading branch information
allencloud committed Feb 8, 2017
1 parent 41650df commit 26649de
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 26649de

Please sign in to comment.