Change Version API to mirror Metadata API
What does this MR do and why?
This MR changes the Version API to mirror Metadata API #375649 (closed).
We can do this as the Metadata API is a complete superset of the Version API, and the change is additive and non-breaking.
How to set up and validate locally
These two curl
s should be identical.
curl --location --request GET '<HOST_NAME>/api/v4/version?private_token=<TOKEN>'
curl --location --request GET '<HOST_NAME>/api/v4/metadata?private_token=<TOKEN>'
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #375649 (closed)
Edited by Luke Duncalfe