mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add available filters for containers, images and events to API docs.
Signed-off-by: Kamil Domański <kamil@domanski.co> (github: kdomanski)
This commit is contained in:
parent
37bdb05615
commit
51da97628a
5 changed files with 23 additions and 9 deletions
|
@ -748,7 +748,8 @@ Query Parameters:
|
|||
|
||||
|
||||
- **all** – 1/True/true or 0/False/false, default false
|
||||
- **filters** – a JSON encoded value of the filters (a map[string][]string) to process on the images list.
|
||||
- **filters** – a json encoded value of the filters (a map[string][]string) to process on the images list. Available filters:
|
||||
- dangling=true
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -739,7 +739,8 @@ Status Codes:
|
|||
Query Parameters:
|
||||
|
||||
- **all** – 1/True/true or 0/False/false, default false
|
||||
- **filters** – a json encoded value of the filters (a map[string][string]) to process on the images list.
|
||||
- **filters** – a json encoded value of the filters (a map[string][]string) to process on the images list. Available filters:
|
||||
- dangling=true
|
||||
|
||||
### Create an image
|
||||
|
||||
|
|
|
@ -84,7 +84,9 @@ Query Parameters:
|
|||
- **since** – Show only containers created since Id, include non-running ones.
|
||||
- **before** – Show only containers created before Id, include non-running ones.
|
||||
- **size** – 1/True/true or 0/False/false, Show the containers sizes
|
||||
- **filters** - a json encoded value of the filters (a map[string][]string) to process on the containers list.
|
||||
- **filters** - a json encoded value of the filters (a map[string][]string) to process on the containers list. Available filters:
|
||||
- exited=<int> -- containers with exit code of <int>
|
||||
- status=(restarting|running|paused|exited)
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
@ -745,7 +747,8 @@ Status Codes:
|
|||
Query Parameters:
|
||||
|
||||
- **all** – 1/True/true or 0/False/false, default false
|
||||
- **filters** – a json encoded value of the filters (a map[string][string]) to process on the images list.
|
||||
- **filters** – a json encoded value of the filters (a map[string][]string) to process on the images list. Available filters:
|
||||
- dangling=true
|
||||
|
||||
### Create an image
|
||||
|
||||
|
|
|
@ -88,7 +88,9 @@ Query Parameters:
|
|||
non-running ones.
|
||||
- **size** – 1/True/true or 0/False/false, Show the containers
|
||||
sizes
|
||||
- **filters** - a json encoded value of the filters (a map[string][]string) to process on the containers list.
|
||||
- **filters** - a json encoded value of the filters (a map[string][]string) to process on the containers list. Available filters:
|
||||
- exited=<int> -- containers with exit code of <int>
|
||||
- status=(restarting|running|paused|exited)
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
@ -885,7 +887,8 @@ Status Codes:
|
|||
Query Parameters:
|
||||
|
||||
- **all** – 1/True/true or 0/False/false, default false
|
||||
- **filters** – a json encoded value of the filters (a map[string][]string) to process on the images list.
|
||||
- **filters** – a json encoded value of the filters (a map[string][]string) to process on the images list. Available filters:
|
||||
- dangling=true
|
||||
|
||||
### Create an image
|
||||
|
||||
|
|
|
@ -88,7 +88,9 @@ Query Parameters:
|
|||
non-running ones.
|
||||
- **size** – 1/True/true or 0/False/false, Show the containers
|
||||
sizes
|
||||
- **filters** - a json encoded value of the filters (a map[string][]string) to process on the containers list.
|
||||
- **filters** - a json encoded value of the filters (a map[string][]string) to process on the containers list. Available filters:
|
||||
- exited=<int> -- containers with exit code of <int>
|
||||
- status=(restarting|running|paused|exited)
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
@ -833,7 +835,8 @@ Status Codes:
|
|||
Query Parameters:
|
||||
|
||||
- **all** – 1/True/true or 0/False/false, default false
|
||||
- **filters** – a json encoded value of the filters (a map[string][]string) to process on the images list.
|
||||
- **filters** – a json encoded value of the filters (a map[string][]string) to process on the images list. Available filters:
|
||||
- dangling=true
|
||||
|
||||
### Create an image
|
||||
|
||||
|
@ -1390,7 +1393,10 @@ Query Parameters:
|
|||
|
||||
- **since** – timestamp used for polling
|
||||
- **until** – timestamp used for polling
|
||||
- **filters** – a json encoded value of the filters (a map[string][]string) to process on the event list.
|
||||
- **filters** – a json encoded value of the filters (a map[string][]string) to process on the event list. Available filters:
|
||||
- event=<string> -- event to filter
|
||||
- image=<string> -- image to filter
|
||||
- container=<string> -- container to filter
|
||||
|
||||
Status Codes:
|
||||
|
||||
|
|
Loading…
Reference in a new issue