From e238713cc9dade460ec961dde3f94173ca59a545 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 26 Oct 2018 15:34:27 +0200 Subject: [PATCH] Update API version to v1.40 Signed-off-by: Sebastiaan van Stijn --- api/common.go | 2 +- api/swagger.yaml | 8 ++++---- docs/api/version-history.md | 5 +++++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/api/common.go b/api/common.go index 4582eb92e0..aa146cdaeb 100644 --- a/api/common.go +++ b/api/common.go @@ -3,7 +3,7 @@ package api // import "github.com/docker/docker/api" // Common constants for daemon and client. const ( // DefaultVersion of Current REST API - DefaultVersion = "1.39" + DefaultVersion = "1.40" // NoBaseImageSpecifier is the symbol used by the FROM // command to specify that no base image is to be used. diff --git a/api/swagger.yaml b/api/swagger.yaml index dc8a430b83..3bf0d8f0b1 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -19,10 +19,10 @@ produces: consumes: - "application/json" - "text/plain" -basePath: "/v1.39" +basePath: "/v1.40" info: title: "Docker Engine API" - version: "1.39" + version: "1.40" x-logo: url: "https://docs.docker.com/images/logo-docker-main.png" description: | @@ -49,8 +49,8 @@ info: the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. - If you omit the version-prefix, the current version of the API (v1.39) is used. - For example, calling `/info` is the same as calling `/v1.39/info`. Using the + If you omit the version-prefix, the current version of the API (v1.40) is used. + For example, calling `/info` is the same as calling `/v1.40/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, diff --git a/docs/api/version-history.md b/docs/api/version-history.md index 9c9d2f954a..03ef55dfca 100644 --- a/docs/api/version-history.md +++ b/docs/api/version-history.md @@ -13,6 +13,11 @@ keywords: "API, Docker, rcli, REST, documentation" will be rejected. --> +## v1.40 API changes + +[Docker Engine API v1.40](https://docs.docker.com/engine/api/v1.40/) documentation + + ## V1.39 API changes [Docker Engine API v1.39](https://docs.docker.com/engine/api/v1.39/) documentation