-
- Downloads
Add changes_count to the merge requests API
This returns the `real_size` of the MR's diff, which is a string indicating the number of changes. If the diff overflows after _n_ files, the string will be `$n+`.
Showing
- changelogs/unreleased/add-changes-count-to-merge-requests-api.yml 5 additions, 0 deletions...gs/unreleased/add-changes-count-to-merge-requests-api.yml
- doc/api/merge_requests.md 21 additions, 1 deletiondoc/api/merge_requests.md
- lib/api/entities.rb 4 additions, 0 deletionslib/api/entities.rb
- spec/fixtures/api/schemas/public_api/v4/merge_requests.json 1 addition, 0 deletionsspec/fixtures/api/schemas/public_api/v4/merge_requests.json
- spec/requests/api/merge_requests_spec.rb 22 additions, 12 deletionsspec/requests/api/merge_requests_spec.rb
Please register or sign in to comment