c8d/list: Return Descriptor

While the endpoint returns a detailed information about its children, it
doesn't actually expose the descriptor of the root OCI index/manifest
list.
This commits adds the target description to the returned JSON.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski
2024-11-13 13:53:20 +01:00
parent 5fa779e532
commit b15cd283d8
6 changed files with 82 additions and 25 deletions

View File

@@ -34,6 +34,12 @@ keywords: "API, Docker, rcli, REST, documentation"
and will be omitted in API v1.49.
* `Sysctls` in `HostConfig` (top level `--sysctl` settings) for `eth0` are
no longer migrated to `DriverOpts`, as described in the changes for v1.46.
* `GET /images/json` response now includes `Descriptor` field, which contains
an OCI descriptor of the image target.
The new field will only be populated if the daemon provides a multi-platform
image store.
WARNING: This is experimental and may change at any time without any backward
compatibility.
## v1.47 API changes