Commit graph

7 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
Robert Schilling
1d38230a4a Remove last merge_request endpoint 2017-02-23 14:15:06 +01:00
Robert Schilling
55f2425a67 API: Make subscription API more RESTfuL 2017-02-21 17:44:44 +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
Douglas Barbosa Alexandre
b34c063ec4 Pass project to Entities::Label to check if user is subscribed 2016-11-17 15:10:13 -02:00
Robert Schilling
f0b42c1079 Grapify subscription API 2016-11-14 11:05:06 +01:00
Ahmad Sherif
0c22698bd4 Add API endpoints for un/subscribing from/to a label
Closes #15638
2016-05-12 22:48:09 +02:00