Skip to content

Proposal: make version mandatory in API URLs #21157

@thaJeztah

Description

@thaJeztah

Just a quick placeholder, following a discussion on Slack;

Currently we accept both /something ("latest" API version), and /vXX.YY/something (API version "XX.YY").

The "latest" API version can be troublesome, because software using the "latest" version (and not explicitly defining a version), can break after an upgrade of the daemon.

Instead, we can deprecated the "latest" URLs, and require consumers of the API to explicitly specify the API version they're using.

/cc @tiborvass @dgageot @nishanttotla

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiAPIkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions