mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
api: deprecation of "error" and "progress" fields in streaming responses
- error (ErrorMessage) was deprecated in3043c26419which was part of docker v0.6.0 / API v1.4 - progress (ProgressMessage) was deprecated in597e0e69b4which was part of docker v0.7.1 / API v1.8 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -17,6 +17,13 @@ keywords: "API, Docker, rcli, REST, documentation"
|
||||
|
||||
[Docker Engine API v1.48](https://docs.docker.com/reference/api/engine/version/v1.48/) documentation
|
||||
|
||||
* Deprecated: The "error" and "progress" fields in streaming responses for
|
||||
endpoints that return a JSON progress response, such as `POST /images/create`,
|
||||
`POST /images/{name}/push`, and `POST /build` are deprecated. These fields
|
||||
were marked deprecated in API v1.4 (docker v0.6.0) and API v1.8 (docker v0.7.1)
|
||||
respectively, but still returned. These fields will be left empty or will
|
||||
be omitted in a future API version. Users should use the information in the
|
||||
`errorDetail` and `progressDetail` fields instead.
|
||||
* Deprecated: The "allow-nondistributable-artifacts" daemon configuration is
|
||||
deprecated and enabled by default. The `AllowNondistributableArtifactsCIDRs`
|
||||
and `AllowNondistributableArtifactsHostnames` fields in the `RegistryConfig`
|
||||
|
||||
Reference in New Issue
Block a user