Skip to content

API: Version information

Robert Schilling requested to merge api-version into master

What does this MR do?

Adds a new endpoint to retrieve the version information.

Are there points in the code the reviewer needs to double check?

Since I don't use an entity but only provide a hash, I cannot specify the return entity in the grape documentation. Is there a different way to do that?

I added this to 8.14 since I think it won't get merged into 8.13. If yes, I'm happy to change that. Edit: Added to 8.13.

Why was this MR needed?

Clients can now use this information to enable/disable certain API features depending on the version.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #22608 (closed), https://gitlab.com/gitlab-org/gitlab-ce/issues/23148

Merge request reports