Skip to content

Add v2 to reserved top level routes

Dmytro Zaporozhets (DZ) requested to merge dz-reserve-v2-root-path into master

What does this MR do?

This will add v2 as reserved root level path. The reason why we need this is because we want commands like docker pull work with Rails app. No matter what URL you provide to docker cli it will always add v2 prefix.

For example:

docker pull example.com/foo/bar => GET example.com/v2/foo/bar/manifest

EE version of this MR

https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10422

What are the relevant issue numbers?

Its necessary for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9750

Questions:

Do I need a changelog for this?

Does this MR meet the acceptance criteria?

Edited by Dmytro Zaporozhets (DZ)

Merge request reports