api: bump to 1.51

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski
2025-06-05 12:30:43 +02:00
parent c29de525b8
commit 27f2e0ecc5
3 changed files with 9 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ package api
// Common constants for daemon and client.
const (
// DefaultVersion of the current REST API.
DefaultVersion = "1.50"
DefaultVersion = "1.51"
// MinSupportedAPIVersion is the minimum API version that can be supported
// by the API server, specified as "major.minor". Note that the daemon

View File

@@ -19,10 +19,10 @@ produces:
consumes:
- "application/json"
- "text/plain"
basePath: "/v1.50"
basePath: "/v1.51"
info:
title: "Docker Engine API"
version: "1.50"
version: "1.51"
x-logo:
url: "https://docs.docker.com/assets/images/logo-docker-main.png"
description: |
@@ -56,7 +56,7 @@ info:
is returned.
If you omit the version-prefix, the current version of the API (v1.50) is used.
For example, calling `/info` is the same as calling `/v1.50/info`. Using the
For example, calling `/info` is the same as calling `/v1.51/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,

View File

@@ -13,6 +13,11 @@ keywords: "API, Docker, rcli, REST, documentation"
will be rejected.
-->
## v1.51 API changes
[Docker Engine API v1.51](https://docs.docker.com/reference/api/engine/version/v1.51/) documentation
## v1.50 API changes
[Docker Engine API v1.50](https://docs.docker.com/reference/api/engine/version/v1.50/) documentation