image/history: Support Platform parameter

Add `Platform` parameter that allows to select a specific platform to
show the history for.

This is a breaking change to the Go client as it changes the signature
of `ImageHistory`.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski
2024-08-08 17:56:27 +02:00
parent 59fe9e09bd
commit ab075ecd10
13 changed files with 64 additions and 16 deletions

View File

@@ -17,6 +17,10 @@ keywords: "API, Docker, rcli, REST, documentation"
[Docker Engine API v1.48](https://docs.docker.com/engine/api/v1.48/) documentation
* `GET /images/{name}/history` now supports a `platform` parameter (JSON
encoded OCI Platform type) that allows to specify a platform to show the
history of.
## v1.47 API changes
[Docker Engine API v1.47](https://docs.docker.com/engine/api/v1.47/) documentation