Browse code

Bump API version to v1.38

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2018/05/24 09:39:28
Showing 3 changed files
... ...
@@ -3,7 +3,7 @@ package api // import "github.com/docker/docker/api"
3 3
 // Common constants for daemon and client.
4 4
 const (
5 5
 	// DefaultVersion of Current REST API
6
-	DefaultVersion = "1.37"
6
+	DefaultVersion = "1.38"
7 7
 
8 8
 	// NoBaseImageSpecifier is the symbol used by the FROM
9 9
 	// 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.37"
22
+basePath: "/v1.38"
23 23
 info:
24 24
   title: "Docker Engine API"
25
-  version: "1.37"
25
+  version: "1.38"
26 26
   x-logo:
27 27
     url: "https://docs.docker.com/images/logo-docker-main.png"
28 28
   description: |
... ...
@@ -49,8 +49,8 @@ info:
49 49
     the URL is not supported by the daemon, a HTTP `400 Bad Request` error message
50 50
     is returned.
51 51
 
52
-    If you omit the version-prefix, the current version of the API (v1.37) is used.
53
-    For example, calling `/info` is the same as calling `/v1.37/info`. Using the
52
+    If you omit the version-prefix, the current version of the API (v1.38) is used.
53
+    For example, calling `/info` is the same as calling `/v1.38/info`. Using the
54 54
     API without a version-prefix is deprecated and will be removed in a future release.
55 55
 
56 56
     Engine releases in the near future should support this version of the API,
... ...
@@ -15,6 +15,9 @@ keywords: "API, Docker, rcli, REST, documentation"
15 15
 
16 16
 ## V1.38 API changes
17 17
 
18
+[Docker Engine API v1.38](https://docs.docker.com/engine/api/v1.38/) documentation
19
+
20
+
18 21
 * `GET /tasks` and `GET /tasks/{id}` now return a `NetworkAttachmentSpec` field,
19 22
   containing the `ContainerID` for non-service containers connected to "attachable"
20 23
   swarm-scoped networks.