|
@@ -27,6 +27,7 @@ keywords: "API, Docker, rcli, REST, documentation"
|
|
|
* `POST /swarm/update` now accepts 3 additional parameters as part of the swarm spec's CA configuration; the desired CA certificate for
|
|
|
the swarm, the desired CA key for the swarm (if not using an external certificate), and an optional parameter to force swarm to
|
|
|
generate and rotate to a new CA certificate/key pair.
|
|
|
+* `POST /service/create` and `POST /services/(id or name)/update` now take the field `Platforms` as part of the service `Placement`, allowing to specify platforms supported by the service.
|
|
|
|
|
|
## v1.29 API changes
|
|
|
|
|
@@ -37,7 +38,7 @@ keywords: "API, Docker, rcli, REST, documentation"
|
|
|
* `GET /networks/(name)` now returns an `Ingress` field showing whether the network is the ingress one.
|
|
|
* `GET /networks/` now supports a `scope` filter to filter networks based on the network mode (`swarm`, `global`, or `local`).
|
|
|
* `POST /containers/create`, `POST /service/create` and `POST /services/(id or name)/update` now takes the field `StartPeriod` as a part of the `HealthConfig` allowing for specification of a period during which the container should not be considered unhealthy even if health checks do not pass.
|
|
|
-* `GET /services/(id)` now accepts an `insertDefaults` query-parameter to merge default values into the service inspect output.
|
|
|
+* `GET /services/(id)` now accepts an `insertDefaults` query-parameter to merge default values into the service inspect output.
|
|
|
* `POST /containers/prune`, `POST /images/prune`, `POST /volumes/prune`, and `POST /networks/prune` now support a `label` filter to filter containers, images, volumes, or networks based on the label. The format of the label filter could be `label=<key>`/`label=<key>=<value>` to remove those with the specified labels, or `label!=<key>`/`label!=<key>=<value>` to remove those without the specified labels.
|
|
|
|
|
|
## v1.28 API changes
|