|
@@ -46,7 +46,7 @@ List containers
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /containers/json?all=1&before=8dfafdbc3a40&size=1 HTTP/1.1
|
|
|
+ GET /v1.25/containers/json?all=1&before=8dfafdbc3a40&size=1 HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -255,7 +255,7 @@ Create a container
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/create HTTP/1.1
|
|
|
+ POST /v1.25/containers/create HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -562,7 +562,7 @@ Return low-level information on the container `id`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /containers/4fa6e0f0c678/json HTTP/1.1
|
|
|
+ GET /v1.25/containers/4fa6e0f0c678/json HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -746,7 +746,7 @@ Return low-level information on the container `id`
|
|
|
|
|
|
**Example request, with size information**:
|
|
|
|
|
|
- GET /containers/4fa6e0f0c678/json?size=1 HTTP/1.1
|
|
|
+ GET /v1.25/containers/4fa6e0f0c678/json?size=1 HTTP/1.1
|
|
|
|
|
|
**Example response, with size information**:
|
|
|
|
|
@@ -780,7 +780,7 @@ supported on Windows.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /containers/4fa6e0f0c678/top HTTP/1.1
|
|
|
+ GET /v1.25/containers/4fa6e0f0c678/top HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -803,7 +803,7 @@ supported on Windows.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /containers/4fa6e0f0c678/top?ps_args=aux HTTP/1.1
|
|
|
+ GET /v1.25/containers/4fa6e0f0c678/top?ps_args=aux HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -845,7 +845,7 @@ Get `stdout` and `stderr` logs from the container ``id``
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /containers/4fa6e0f0c678/logs?stderr=1&stdout=1×tamps=1&follow=1&tail=10&since=1428990821 HTTP/1.1
|
|
|
+ GET /v1.25/containers/4fa6e0f0c678/logs?stderr=1&stdout=1×tamps=1&follow=1&tail=10&since=1428990821 HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -885,7 +885,7 @@ Inspect changes on container `id`'s filesystem
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /containers/4fa6e0f0c678/changes HTTP/1.1
|
|
|
+ GET /v1.25/containers/4fa6e0f0c678/changes HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -927,7 +927,7 @@ Export the contents of container `id`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /containers/4fa6e0f0c678/export HTTP/1.1
|
|
|
+ GET /v1.25/containers/4fa6e0f0c678/export HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -952,7 +952,7 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /containers/redis1/stats HTTP/1.1
|
|
|
+ GET /v1.25/containers/redis1/stats HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1076,7 +1076,7 @@ Resize the TTY for container with `id`. The unit is number of characters. You m
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/4fa6e0f0c678/resize?h=40&w=80 HTTP/1.1
|
|
|
+ POST /v1.25/containers/4fa6e0f0c678/resize?h=40&w=80 HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1103,7 +1103,7 @@ Start the container `id`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/e90e34656806/start HTTP/1.1
|
|
|
+ POST /v1.25/containers/e90e34656806/start HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1130,7 +1130,7 @@ Stop the container `id`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/e90e34656806/stop?t=5 HTTP/1.1
|
|
|
+ POST /v1.25/containers/e90e34656806/stop?t=5 HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1155,7 +1155,7 @@ Restart the container `id`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/e90e34656806/restart?t=5 HTTP/1.1
|
|
|
+ POST /v1.25/containers/e90e34656806/restart?t=5 HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1179,7 +1179,7 @@ Kill the container `id`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/e90e34656806/kill HTTP/1.1
|
|
|
+ POST /v1.25/containers/e90e34656806/kill HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1204,7 +1204,7 @@ Update configuration of one or more containers.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/e90e34656806/update HTTP/1.1
|
|
|
+ POST /v1.25/containers/e90e34656806/update HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -1250,7 +1250,7 @@ Rename the container `id` to a `new_name`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/e90e34656806/rename?name=new_name HTTP/1.1
|
|
|
+ POST /v1.25/containers/e90e34656806/rename?name=new_name HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1275,7 +1275,7 @@ Pause the container `id`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/e90e34656806/pause HTTP/1.1
|
|
|
+ POST /v1.25/containers/e90e34656806/pause HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1295,7 +1295,7 @@ Unpause the container `id`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/e90e34656806/unpause HTTP/1.1
|
|
|
+ POST /v1.25/containers/e90e34656806/unpause HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1315,7 +1315,7 @@ Attach to the container `id`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/16253994b7c4/attach?logs=1&stream=0&stdout=1 HTTP/1.1
|
|
|
+ POST /v1.25/containers/16253994b7c4/attach?logs=1&stream=0&stdout=1 HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1406,7 +1406,7 @@ Implements websocket protocol handshake according to [RFC 6455](http://tools.iet
|
|
|
|
|
|
**Example request**
|
|
|
|
|
|
- GET /containers/e90e34656806/attach/ws?logs=0&stream=1&stdin=1&stdout=1&stderr=1 HTTP/1.1
|
|
|
+ GET /v1.25/containers/e90e34656806/attach/ws?logs=0&stream=1&stdin=1&stdout=1&stderr=1 HTTP/1.1
|
|
|
|
|
|
**Example response**
|
|
|
|
|
@@ -1444,7 +1444,7 @@ Block until container `id` stops, then returns the exit code
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/16253994b7c4/wait HTTP/1.1
|
|
|
+ POST /v1.25/containers/16253994b7c4/wait HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1518,7 +1518,7 @@ Get a tar archive of a resource in the filesystem of container `id`.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /containers/8cce319429b2/archive?path=/root HTTP/1.1
|
|
|
+ GET /v1.25/containers/8cce319429b2/archive?path=/root HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1617,7 +1617,7 @@ Delete stopped containers
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/prune HTTP/1.1
|
|
|
+ POST /v1.25/containers/prune HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -1648,7 +1648,7 @@ Delete stopped containers
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /images/json?all=0 HTTP/1.1
|
|
|
+ GET /v1.25/images/json?all=0 HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1686,7 +1686,7 @@ Delete stopped containers
|
|
|
|
|
|
**Example request, with digest information**:
|
|
|
|
|
|
- GET /images/json?digests=1 HTTP/1.1
|
|
|
+ GET /v1.25/v1.25/images/json?digests=1 HTTP/1.1
|
|
|
|
|
|
**Example response, with digest information**:
|
|
|
|
|
@@ -1743,7 +1743,7 @@ Build an image from a Dockerfile
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /build HTTP/1.1
|
|
|
+ POST /v1.25/v1.25/build HTTP/1.1
|
|
|
|
|
|
{% raw %}
|
|
|
{{ TAR STREAM }}
|
|
@@ -1856,7 +1856,7 @@ Create an image either by pulling it from the registry or by importing it
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /images/create?fromImage=busybox&tag=latest HTTP/1.1
|
|
|
+ POST /v1.25/images/create?fromImage=busybox&tag=latest HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -1931,7 +1931,7 @@ Return low-level information on the image `name`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /images/example/json HTTP/1.1
|
|
|
+ GET /v1.25/images/example/json HTTP/1.1
|
|
|
|
|
|
**Example response (Linux daemon)**:
|
|
|
|
|
@@ -2129,7 +2129,7 @@ Return the history of the image `name`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /images/ubuntu/history HTTP/1.1
|
|
|
+ GET /v1.25/images/ubuntu/history HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -2183,7 +2183,7 @@ Push the image `name` on the registry
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /images/test/push HTTP/1.1
|
|
|
+ POST /v1.25/images/test/push HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -2203,7 +2203,7 @@ The push is cancelled if the HTTP connection is closed.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /images/registry.acme.com:5000/test/push HTTP/1.1
|
|
|
+ POST /v1.25/images/registry.acme.com:5000/test/push HTTP/1.1
|
|
|
|
|
|
|
|
|
**Query parameters**:
|
|
@@ -2245,7 +2245,7 @@ Tag the image `name` into a repository
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /images/test/tag?repo=myrepo&tag=v42 HTTP/1.1
|
|
|
+ POST /v1.25/images/test/tag?repo=myrepo&tag=v42 HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -2309,7 +2309,7 @@ Search for an image on [Docker Hub](https://hub.docker.com).
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /images/search?term=sshd HTTP/1.1
|
|
|
+ GET /v1.25/images/search?term=sshd HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -2363,7 +2363,7 @@ Delete unused images
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /images/prune HTTP/1.1
|
|
|
+ POST /v1.25/images/prune HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -2414,7 +2414,7 @@ if available, for accessing the registry without password.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /auth HTTP/1.1
|
|
|
+ POST /v1.25/auth HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -2446,7 +2446,7 @@ Display system-wide information
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /info HTTP/1.1
|
|
|
+ GET /v1.25/info HTTP/1.1
|
|
|
|
|
|
**Example response (Linux)**:
|
|
|
|
|
@@ -2659,7 +2659,7 @@ Return docker data usage information
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /system/df HTTP/1.1
|
|
|
+ GET /v1.25/system/df HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -2751,7 +2751,7 @@ Show the docker version information
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /version HTTP/1.1
|
|
|
+ GET /v1.25/version HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -2784,7 +2784,7 @@ Ping the docker server
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /_ping HTTP/1.1
|
|
|
+ GET /v1.25/_ping HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -2806,7 +2806,7 @@ Create a new image from a container's changes
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /commit?container=44c004db4b17&comment=message&repo=myrepo HTTP/1.1
|
|
|
+ POST /v1.25/commit?container=44c004db4b17&comment=message&repo=myrepo HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -3212,7 +3212,7 @@ Sets up an exec instance in a running container `id`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /containers/e90e34656806/exec HTTP/1.1
|
|
|
+ POST /v1.25/containers/e90e34656806/exec HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -3273,7 +3273,7 @@ interactive session with the `exec` command.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /exec/e90e34656806/start HTTP/1.1
|
|
|
+ POST /v1.25/exec/e90e34656806/start HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -3314,7 +3314,7 @@ This API is valid only if `tty` was specified as part of creating and starting t
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /exec/e90e34656806/resize?h=40&w=80 HTTP/1.1
|
|
|
+ POST /v1.25/exec/e90e34656806/resize?h=40&w=80 HTTP/1.1
|
|
|
Content-Type: text/plain
|
|
|
|
|
|
**Example response**:
|
|
@@ -3340,7 +3340,7 @@ Return low-level information about the `exec` command `id`.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /exec/11fb006128e8ceb3942e7c58d77750f24210e35f879dd204ac975c184b820b39/json HTTP/1.1
|
|
|
+ GET /v1.25/exec/11fb006128e8ceb3942e7c58d77750f24210e35f879dd204ac975c184b820b39/json HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -3384,7 +3384,7 @@ Return low-level information about the `exec` command `id`.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /volumes HTTP/1.1
|
|
|
+ GET /v1.25/volumes HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -3432,7 +3432,7 @@ Create a volume
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /volumes/create HTTP/1.1
|
|
|
+ POST /v1.25/volumes/create HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -3573,7 +3573,7 @@ Delete unused volumes
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /volumes/prune HTTP/1.1
|
|
|
+ POST /v1.25/volumes/prune HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -3605,7 +3605,7 @@ Delete unused volumes
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /networks?filters={"type":{"custom":true}} HTTP/1.1
|
|
|
+ GET /v1.25/networks?filters={"type":{"custom":true}} HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -3700,7 +3700,7 @@ Content-Type: application/json
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /networks/7d86d31b1478e7cca9ebed7e73aa0fdeec46c5ca29497431d3007d2d9e15ed99 HTTP/1.1
|
|
|
+ GET /v1.25/networks/7d86d31b1478e7cca9ebed7e73aa0fdeec46c5ca29497431d3007d2d9e15ed99 HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -3766,7 +3766,7 @@ Create a network
|
|
|
**Example request**:
|
|
|
|
|
|
```
|
|
|
-POST /networks/create HTTP/1.1
|
|
|
+POST /v1.25/networks/create HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -3849,7 +3849,7 @@ Connect a container to a network
|
|
|
**Example request**:
|
|
|
|
|
|
```
|
|
|
-POST /networks/22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30/connect HTTP/1.1
|
|
|
+POST /v1.25/networks/22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30/connect HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -3887,7 +3887,7 @@ Disconnect a container from a network
|
|
|
**Example request**:
|
|
|
|
|
|
```
|
|
|
-POST /networks/22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30/disconnect HTTP/1.1
|
|
|
+POST /v1.25/networks/22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30/disconnect HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -3940,7 +3940,7 @@ Delete unused networks
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /networks/prune HTTP/1.1
|
|
|
+ POST /v1.25/networks/prune HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -3972,7 +3972,7 @@ Returns information about installed plugins.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /plugins HTTP/1.1
|
|
|
+ GET /v1.25/plugins HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -4104,7 +4104,7 @@ using the [`POST /plugins/(plugin name)/enable` endpoint](#enable-a-plugin).
|
|
|
**Example request**:
|
|
|
|
|
|
```
|
|
|
-POST /plugins/pull?name=tiborvass/no-remove:latest HTTP/1.1
|
|
|
+POST /v1.25/plugins/pull?name=tiborvass/no-remove:latest HTTP/1.1
|
|
|
```
|
|
|
|
|
|
The `:latest` tag is optional, and is used as default if omitted. When using
|
|
@@ -4165,7 +4165,7 @@ Returns detailed information about an installed plugin.
|
|
|
**Example request**:
|
|
|
|
|
|
```
|
|
|
-GET /plugins/tiborvass/no-remove:latest HTTP/1.1
|
|
|
+GET /v1.25/plugins/tiborvass/no-remove:latest HTTP/1.1
|
|
|
```
|
|
|
|
|
|
The `:latest` tag is optional, and is used as default if omitted.
|
|
@@ -4319,7 +4319,7 @@ Enables a plugin
|
|
|
**Example request**:
|
|
|
|
|
|
```
|
|
|
-POST /plugins/tiborvass/no-remove:latest/enable HTTP/1.1
|
|
|
+POST /v1.25/plugins/tiborvass/no-remove:latest/enable HTTP/1.1
|
|
|
```
|
|
|
|
|
|
The `:latest` tag is optional, and is used as default if omitted.
|
|
@@ -4347,7 +4347,7 @@ Disables a plugin
|
|
|
**Example request**:
|
|
|
|
|
|
```
|
|
|
-POST /plugins/tiborvass/no-remove:latest/disable HTTP/1.1
|
|
|
+POST /v1.25/plugins/tiborvass/no-remove:latest/disable HTTP/1.1
|
|
|
```
|
|
|
|
|
|
The `:latest` tag is optional, and is used as default if omitted.
|
|
@@ -4404,14 +4404,14 @@ Content-Type: text/plain; charset=utf-8
|
|
|
|
|
|
### Push a plugin
|
|
|
|
|
|
-`POST /plugins/tiborvass/(plugin name)/push HTTP/1.1`
|
|
|
+`POST /v1.25/plugins/tiborvass/(plugin name)/push HTTP/1.1`
|
|
|
|
|
|
Pushes a plugin to the registry.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
```
|
|
|
-POST /plugins/tiborvass/no-remove:latest HTTP/1.1
|
|
|
+POST /v1.25/plugins/tiborvass/no-remove:latest HTTP/1.1
|
|
|
```
|
|
|
|
|
|
The `:latest` tag is optional, and is used as default if omitted. When using
|
|
@@ -4441,7 +4441,7 @@ List nodes
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /nodes HTTP/1.1
|
|
|
+ GET /v1.25/nodes HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -4534,7 +4534,7 @@ Return low-level information on the node `id`
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /nodes/24ifsmvkjbyhk HTTP/1.1
|
|
|
+ GET /v1.25/nodes/24ifsmvkjbyhk HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -4652,7 +4652,7 @@ an empty value or the default cluster-wide value.
|
|
|
|
|
|
**Example Request**
|
|
|
|
|
|
- POST /nodes/24ifsmvkjbyhk/update?version=8 HTTP/1.1
|
|
|
+ POST /v1.25/nodes/24ifsmvkjbyhk/update?version=8 HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -4750,7 +4750,7 @@ Initialize a new swarm. The body of the HTTP response includes the node ID.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /swarm/init HTTP/1.1
|
|
|
+ POST /v1.25/swarm/init HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -4825,7 +4825,7 @@ Join an existing swarm
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /swarm/join HTTP/1.1
|
|
|
+ POST /v1.25/swarm/join HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -4868,7 +4868,7 @@ Leave a swarm
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /swarm/leave HTTP/1.1
|
|
|
+ POST /v1.25/swarm/leave HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -4894,7 +4894,7 @@ Update a swarm
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /swarm/update HTTP/1.1
|
|
|
+ POST /v1.25/swarm/update HTTP/1.1
|
|
|
|
|
|
{
|
|
|
"Name": "default",
|
|
@@ -4979,7 +4979,7 @@ List services
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /services HTTP/1.1
|
|
|
+ GET /v1.25/services HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -5088,7 +5088,7 @@ image](#create-an-image) section for more details.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /services/create HTTP/1.1
|
|
|
+ POST /v1.25/services/create HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -5299,7 +5299,7 @@ Return information on the service `id`.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /services/1cb4dnqcyx6m66g2t538x3rxha HTTP/1.1
|
|
|
+ GET /v1.25/services/1cb4dnqcyx6m66g2t538x3rxha HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -5391,7 +5391,7 @@ image](#create-an-image) section for more details.
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- POST /services/1cb4dnqcyx6m66g2t538x3rxha/update?version=23 HTTP/1.1
|
|
|
+ POST /v1.25/services/1cb4dnqcyx6m66g2t538x3rxha/update?version=23 HTTP/1.1
|
|
|
Content-Type: application/json
|
|
|
|
|
|
{
|
|
@@ -5550,7 +5550,7 @@ List tasks
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /tasks HTTP/1.1
|
|
|
+ GET /v1.25/tasks HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|
|
@@ -5748,7 +5748,7 @@ Get details on a task
|
|
|
|
|
|
**Example request**:
|
|
|
|
|
|
- GET /tasks/0kzzo1i0y4jz6027t0k7aezc7 HTTP/1.1
|
|
|
+ GET /v1.25/tasks/0kzzo1i0y4jz6027t0k7aezc7 HTTP/1.1
|
|
|
|
|
|
**Example response**:
|
|
|
|