1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix events "since" / "until" query parameter description

The "since" query parameter can be *useful*
for polling (in combination with "until"), but
doesn't actualy stop the endpoint from streaming
events.

This patch updates the description to better
clarify that "since" does not make the endpoint
non-streaming.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2016-08-10 22:45:25 +02:00
parent 19a3289250
commit ceed39b530
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
8 changed files with 24 additions and 28 deletions

View file

@ -1735,8 +1735,7 @@ Create a new image from a container's changes
`GET /events`
Get container events from docker, either in real time via streaming, or via
polling (using since).
Get container events from docker, in real time via streaming.
Docker containers report the following events:
@ -1762,8 +1761,8 @@ and Docker images report:
**Query parameters**:
- **since** Timestamp used for polling
- **until** Timestamp used for polling
- **since** Timestamp. Show all events created since timestamp and then stream
- **until** Timestamp. Show events created until given timestamp and stop streaming
- **filters** A json encoded value of the filters (a map[string][]string) to process on the event list. Available filters:
- `container=<string>`; -- container to filter
- `event=<string>`; -- event to filter

View file

@ -1816,8 +1816,7 @@ Create a new image from a container's changes
`GET /events`
Get container events from docker, either in real time via streaming, or via
polling (using since).
Get container events from docker, in real time via streaming.
Docker containers report the following events:
@ -1843,8 +1842,8 @@ and Docker images report:
**Query parameters**:
- **since** Timestamp used for polling
- **until** Timestamp used for polling
- **since** Timestamp. Show all events created since timestamp and then stream
- **until** Timestamp. Show events created until given timestamp and stop streaming
- **filters** A json encoded value of the filters (a map[string][]string) to process on the event list. Available filters:
- `container=<string>`; -- container to filter
- `event=<string>`; -- event to filter

View file

@ -1960,8 +1960,7 @@ Create a new image from a container's changes
`GET /events`
Get container events from docker, either in real time via streaming, or via
polling (using since).
Get container events from docker, in real time via streaming.
Docker containers report the following events:
@ -1987,8 +1986,8 @@ and Docker images report:
**Query parameters**:
- **since** Timestamp used for polling
- **until** Timestamp used for polling
- **since** Timestamp. Show all events created since timestamp and then stream
- **until** Timestamp. Show events created until given timestamp and stop streaming
- **filters** A json encoded value of the filters (a map[string][]string) to process on the event list. Available filters:
- `container=<string>`; -- container to filter
- `event=<string>`; -- event to filter

View file

@ -2110,8 +2110,7 @@ Create a new image from a container's changes
`GET /events`
Get container events from docker, either in real time via streaming, or via
polling (using since).
Get container events from docker, in real time via streaming.
Docker containers report the following events:
@ -2137,8 +2136,8 @@ and Docker images report:
**Query parameters**:
- **since** Timestamp used for polling
- **until** Timestamp used for polling
- **since** Timestamp. Show all events created since timestamp and then stream
- **until** Timestamp. Show events created until given timestamp and stop streaming
- **filters** A json encoded value of the filters (a map[string][]string) to process on the event list. Available filters:
- `container=<string>`; -- container to filter
- `event=<string>`; -- event to filter

View file

@ -2343,7 +2343,7 @@ Create a new image from a container's changes
`GET /events`
Get container events from docker, either in real time via streaming, or via polling (using since).
Get container events from docker, in real time via streaming.
Docker containers report the following events:
@ -2523,8 +2523,8 @@ Docker networks report the following events:
**Query parameters**:
- **since** Timestamp used for polling
- **until** Timestamp used for polling
- **since** Timestamp. Show all events created since timestamp and then stream
- **until** Timestamp. Show events created until given timestamp and stop streaming
- **filters** A json encoded value of the filters (a map[string][]string) to process on the event list. Available filters:
- `container=<string>`; -- container to filter
- `event=<string>`; -- event to filter

View file

@ -2388,7 +2388,7 @@ Create a new image from a container's changes
`GET /events`
Get container events from docker, either in real time via streaming, or via polling (using since).
Get container events from docker, in real time via streaming.
Docker containers report the following events:
@ -2568,8 +2568,8 @@ Docker networks report the following events:
**Query parameters**:
- **since** Timestamp used for polling
- **until** Timestamp used for polling
- **since** Timestamp. Show all events created since timestamp and then stream
- **until** Timestamp. Show events created until given timestamp and stop streaming
- **filters** A json encoded value of the filters (a map[string][]string) to process on the event list. Available filters:
- `container=<string>`; -- container to filter
- `event=<string>`; -- event to filter

View file

@ -2396,7 +2396,7 @@ Create a new image from a container's changes
`GET /events`
Get container events from docker, either in real time via streaming, or via polling (using since).
Get container events from docker, in real time via streaming.
Docker containers report the following events:
@ -2580,8 +2580,8 @@ Docker daemon report the following event:
**Query parameters**:
- **since** Timestamp used for polling
- **until** Timestamp used for polling
- **since** Timestamp. Show all events created since timestamp and then stream
- **until** Timestamp. Show events created until given timestamp and stop streaming
- **filters** A json encoded value of the filters (a map[string][]string) to process on the event list. Available filters:
- `container=<string>`; -- container to filter
- `event=<string>`; -- event to filter

View file

@ -2402,7 +2402,7 @@ Create a new image from a container's changes
`GET /events`
Get container events from docker, either in real time via streaming, or via polling (using since).
Get container events from docker, either in real time via streaming.
Docker containers report the following events:
@ -2586,8 +2586,8 @@ Docker daemon report the following event:
**Query parameters**:
- **since** Timestamp used for polling
- **until** Timestamp used for polling
- **since** Timestamp. Show all events created since timestamp and then stream
- **until** Timestamp. Show events created until given timestamp and stop streaming
- **filters** A json encoded value of the filters (a map[string][]string) to process on the event list. Available filters:
- `container=<string>`; -- container to filter
- `event=<string>`; -- event to filter