Resolve "Move `/licenses` api endpoint to `/templates/licenses`"
requested to merge tbalthazar/gitlab-ce:17541-move-licenses-api-endpoint-to-templates-licenses into master
What does this MR do?
It moves the /licenses
, /gitignores
and /gitlab_ci_ymls
API endpoints under the /templates
namespace
Are there points in the code the reviewer needs to double check?
N/A
Why was this MR needed?
In EE we now have somewhat ambiguous API endpoints. /license
refers to the EE license while /licenses
(plural) refers to license templates. @DouweM mentioned that we're adding .gitignore templates in #14106 (closed) so it may make sense to add a /templates namespace. Then, move the /license templates endpoint to be underneath, along with .gitignore endpoints.
What are the relevant issue numbers?
Screenshots (if relevant)
N/A
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together Closes #17541 (closed)