-
- Downloads
There was a problem fetching the pipeline summary.
Merge branch 'entity-api-web-url' into 'master'
api: expose web_url for project entities ## What does this MR do? Adds a `web_url` field to project snippet, issues, and merge request API returned objects. ## Are there points in the code the reviewer needs to double check? Tests. Are they sufficient? (I'm working on getting them to pass.) ## Why was this MR needed? Creating the URL for an MR or issue from the MR is tedious in API libraries; it's easy for Gitlab to just provide it. ## What are the relevant issue numbers? N/A ## Screenshots (if relevant) N/A ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] API support added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5631
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- doc/api/issues.md 21 additions, 10 deletionsdoc/api/issues.md
- doc/api/merge_requests.md 15 additions, 7 deletionsdoc/api/merge_requests.md
- doc/api/project_snippets.md 2 additions, 1 deletiondoc/api/project_snippets.md
- lib/api/entities.rb 12 additions, 0 deletionslib/api/entities.rb
- lib/gitlab/url_builder.rb 2 additions, 0 deletionslib/gitlab/url_builder.rb
- spec/requests/api/issues_spec.rb 1 addition, 0 deletionsspec/requests/api/issues_spec.rb
- spec/requests/api/merge_requests_spec.rb 1 addition, 0 deletionsspec/requests/api/merge_requests_spec.rb
- spec/requests/api/project_snippets_spec.rb 1 addition, 0 deletionsspec/requests/api/project_snippets_spec.rb
Loading
Please register or sign in to comment