-
- Downloads
There was a problem fetching the pipeline summary.
Merge branch '17541-move-licenses-api-endpoint-to-templates-licenses' into 'master'
Resolve "Move `/licenses` api endpoint to `/templates/licenses`" ## What does this MR do? It moves the `/licenses`, `/gitignores` and `/gitlab_ci_ymls` API endpoints under the `/templates` namespace ## 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 so it may make sense to add a /templates namespace. Then, move the /license templates endpoint to be underneath, along with .gitignore endpoints. Closes #17541 See merge request !5717
No related branches found
No related tags found
Pipeline #
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/assets/javascripts/api.js 3 additions, 4 deletionsapp/assets/javascripts/api.js
- doc/api/README.md 3 additions, 1 deletiondoc/api/README.md
- doc/api/templates/gitignores.md 579 additions, 0 deletionsdoc/api/templates/gitignores.md
- doc/api/templates/gitlab_ci_ymls.md 120 additions, 0 deletionsdoc/api/templates/gitlab_ci_ymls.md
- doc/api/templates/licenses.md 4 additions, 4 deletionsdoc/api/templates/licenses.md
- lib/api/api.rb 0 additions, 1 deletionlib/api/api.rb
- lib/api/license_templates.rb 0 additions, 58 deletionslib/api/license_templates.rb
- lib/api/templates.rb 100 additions, 24 deletionslib/api/templates.rb
- spec/requests/api/license_templates_spec.rb 0 additions, 136 deletionsspec/requests/api/license_templates_spec.rb
- spec/requests/api/templates_spec.rb 176 additions, 28 deletionsspec/requests/api/templates_spec.rb
Loading
Please register or sign in to comment