Browse code

bump engine API to 1.27

Signed-off-by: Victor Vieux <victorvieux@gmail.com>

Victor Vieux authored on 2017/02/09 09:13:02
Showing 3 changed files
... ...
@@ -21,7 +21,7 @@ import (
21 21
 // Common constants for daemon and client.
22 22
 const (
23 23
 	// DefaultVersion of Current REST API
24
-	DefaultVersion string = "1.26"
24
+	DefaultVersion string = "1.27"
25 25
 
26 26
 	// NoBaseImageSpecifier is the symbol used by the FROM
27 27
 	// command to specify that no base image is to be used.
... ...
@@ -19,10 +19,10 @@ produces:
19 19
 consumes:
20 20
   - "application/json"
21 21
   - "text/plain"
22
-basePath: "/v1.26"
22
+basePath: "/v1.27"
23 23
 info:
24 24
   title: "Docker Engine API"
25
-  version: "1.26"
25
+  version: "1.27"
26 26
   x-logo:
27 27
     url: "https://docs.docker.com/images/logo-docker-main.png"
28 28
   description: |
... ...
@@ -44,7 +44,7 @@ info:
44 44
 
45 45
     The API is usually changed in each release of Docker, so API calls are versioned to ensure that clients don't break.
46 46
 
47
-    For Docker Engine 1.14, the API version is 1.26. To lock to this version, you prefix the URL with `/v1.26`. For example, calling `/info` is the same as calling `/v1.26/info`.
47
+    For Docker Engine 1.14, the API version is 1.27. To lock to this version, you prefix the URL with `/v1.27`. For example, calling `/info` is the same as calling `/v1.27/info`.
48 48
 
49 49
     Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine.
50 50
 
... ...
@@ -52,11 +52,12 @@ info:
52 52
 
53 53
     The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer Docker daemons.
54 54
 
55
-    This documentation is for version 1.26 of the API, which was introduced with Docker 1.14. Use this table to find documentation for previous versions of the API:
55
+    This documentation is for version 1.27 of the API, which was introduced with Docker 1.14. Use this table to find documentation for previous versions of the API:
56 56
 
57 57
     Docker version  | API version | Changes
58 58
     ----------------|-------------|---------
59
-    1.13.x | [1.25](https://docs.docker.com/engine/api/v1.25/) | [API changes](https://docs.docker.com/engine/api/version-history/#v1-25-api-changes)
59
+    1.13.1 | [1.26](https://docs.docker.com/engine/api/v1.26/) | [API changes](https://docs.docker.com/engine/api/version-history/#v1-26-api-changes)
60
+    1.13.0 | [1.25](https://docs.docker.com/engine/api/v1.25/) | [API changes](https://docs.docker.com/engine/api/version-history/#v1-25-api-changes)
60 61
     1.12.x | [1.24](https://docs.docker.com/engine/api/v1.24/) | [API changes](https://docs.docker.com/engine/api/version-history/#v1-24-api-changes)
61 62
     1.11.x | [1.23](https://docs.docker.com/engine/api/v1.23/) | [API changes](https://docs.docker.com/engine/api/version-history/#v1-23-api-changes)
62 63
     1.10.x | [1.22](https://docs.docker.com/engine/api/v1.22/) | [API changes](https://docs.docker.com/engine/api/version-history/#v1-22-api-changes)
... ...
@@ -13,17 +13,23 @@ keywords: "API, Docker, rcli, REST, documentation"
13 13
      will be rejected.
14 14
 -->
15 15
 
16
-## v1.26 API changes
16
+## v1.27 API changes
17 17
 
18
-[Docker Engine API v1.26](v1.26/) documentation
18
+[Docker Engine API v1.27](https://docs.docker.com/engine/api/v1.27/) documentation
19 19
 
20
-* `GET /containers/(id or name)/attach/ws` now returns WebSocket in binary frame format for API version >= v1.26, and returns WebSocket in text frame format for API version< v1.26, for the purpose of backward-compatibility.
20
+* `GET /containers/(id or name)/attach/ws` now returns WebSocket in binary frame format for API version >= v1.27, and returns WebSocket in text frame format for API version< v1.27, for the purpose of backward-compatibility.
21 21
 * `GET /networks` is optimised only to return list of all networks and network specific information. List of all containers attached to a specific network is removed from this API and is only available using the network specific `GET /networks/{network-id}.
22 22
 * `GET /containers/json` now supports `publish` and `expose` filters to filter containers that expose or publish certain ports.
23 23
 
24
+## v1.26 API changes
25
+
26
+[Docker Engine API v1.26](https://docs.docker.com/engine/api/v1.26/) documentation
27
+
28
+* `POST /plugins/(plugin name)/upgrade` upgrade a plugin.
29
+
24 30
 ## v1.25 API changes
25 31
 
26
-[Docker Engine API v1.25](v1.25.md) documentation
32
+[Docker Engine API v1.25](https://docs.docker.com/engine/api/v1.25/) documentation
27 33
 
28 34
 * The API version is now required in all API calls. Instead of just requesting, for example, the URL `/containers/json`, you must now request `/v1.25/containers/json`.
29 35
 * `GET /version` now returns `MinAPIVersion`.