Skip to content

API docs incorrectly suggest the api version header is not canonicalised: API-Version #49046

@maggie44

Description

@maggie44

Description

The ping endpoint docs suggest the api version response header is:

API-Version

It is in fact canonical:

curl --unix-socket /var/run/docker.sock -i http://localhost/_ping
HTTP/1.1 200 OK
Api-Version: 1.44

Api-Version is the correct canonical format that headers should use and the docs could be updated to reflect this.

https://docs.docker.com/reference/api/engine/version/v1.44/#tag/System/operation/SystemVersion

Reproduce

Check the docs

Expected behavior

No response

docker version

1.44

docker info

N/a

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiAPIarea/docsexp/beginnerkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions