Commit graph

8 commits

Author SHA1 Message Date
Rémy Coutable
63360adeae
Add requirements: { id: %r{[^/]+} } for all projects and groups namespaced API routes
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-16 18:00:24 +01:00
Timothy Andrew
402e0a2dd7
Migrate the MergeRequestDiffs API to use merge_request_iid
- Instead of `merge_request_id`
- Duplicate the original `MergeRequestDiffs` API (and spec) for use with the V3
  API, since this is a breaking change.
2017-03-07 13:55:59 +05:30
Robert Schilling
01ea65e0e9 Paginate all endpoints that return an array 2017-02-16 15:32:01 +01:00
Robert Speicher
3a5df1d8fc Merge branch 'fix-api-mr-permissions' into 'security'
Ensure that only privileged users can access merge requests in the API

See merge request !2053
2017-01-23 13:54:35 -05:00
Dmitriy Zaporozhets
ac072132b8
Add single merge request diff API endpoint
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-08-12 14:44:49 +03:00
Dmitriy Zaporozhets
08f5f89788
Fix project id param for merge request version API
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-08-03 12:35:20 +03:00
Dmitriy Zaporozhets
69096ad9da
Update merge request versions API to match styleguide
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-08-03 11:58:09 +03:00
Dmitriy Zaporozhets
9a5f40878c
Add API to list merge request diff versions
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-08-03 11:32:29 +03:00