removed only_ids and trunc_cmd from the api

Upstream-commit: 1990c49a6235530a3ddedc00db3aa38acf93a9c5
Component: engine
This commit is contained in:
Victor Vieux
2013-05-13 12:18:55 +02:00
parent 0bf1d78235
commit ad78d7afdf
6 changed files with 48 additions and 74 deletions
@@ -28,7 +28,7 @@ List containers
.. sourcecode:: http
GET /containers/ps?trunc_cmd=0&all=1&only_ids=0&before=8dfafdbc3a40 HTTP/1.1
GET /containers/ps?trunc_cmd=0&all=1&before=8dfafdbc3a40 HTTP/1.1
**Example response**:
@@ -68,9 +68,7 @@ List containers
}
]
:query only_ids: 1 or 0, Only display numeric IDs. Default 0
:query all: 1 or 0, Show all containers. Only running containers are shown by default
:query trunc_cmd: 1 or 0, Truncate output. Output is truncated by default
:query limit: Show ``limit`` last created containers, include non-running ones.
:query since: Show only containers created since Id, include non-running ones.
:query before: Show only containers created before Id, include non-running ones.
@@ -467,7 +465,7 @@ List Images
.. sourcecode:: http
GET /images/json?all=0&only_ids=0 HTTP/1.1
GET /images/json?all=0 HTTP/1.1
**Example response**:
@@ -523,7 +521,6 @@ List Images
base [style=invisible]
}
:query only_ids: 1 or 0, Only display numeric IDs. Default 0
:query all: 1 or 0, Show all containers. Only running containers are shown by default
:statuscode 200: no error
:statuscode 500: server error