Commit graph

16 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
c280acb00b Backport API to V3 2017-02-28 08:32:39 +01:00
Robert Schilling
86c58687b2 Return 204 for delete endpoints 2017-02-28 08:32:38 +01:00
Robert Schilling
9dfbfbb2d1 Don't convert data which already is the target type 2016-11-24 13:35:26 +01:00
Semyon Pupkov
77cf855bb9 Define common helper for describe pagination params in api 2016-11-22 09:19:26 +05:00
Z.J. van de Weg
3d6f18cec5 GrapeDSL for variables 2016-10-13 09:55:50 +02:00
Kamil Trzcinski
055afab5c7 Make the CI permission model simpler
This MR simplifies CI permission model:
- read_build: allows to read a list of builds, artifacts and trace
- update_build: allows to cancel and retry builds
- create_build: allows to create builds from gitlab-ci.yml (not yet implemented)
- admin_build: allows to manage triggers, runners and variables
- read_commit_status: allows to read a list of commit statuses (including the overall of builds)
- create_commit_status: allows to create a new commit status using API

Remove all extra methods to manage permission.
Made all controllers to use explicitly the new permissions.
2016-02-02 09:18:08 +01:00
Tomasz Maczukin
9e701ccd48 Fix some typos 2016-01-13 18:47:39 +01:00
Tomasz Maczukin
df54828580 Add some fixes after review 2016-01-13 12:47:11 +01:00
Tomasz Maczukin
b60c146267 Change :variable_id to :key as resource ID in API 2016-01-07 13:49:38 +01:00
Tomasz Maczukin
16bd4df083 Fix a typo in method description 2015-12-31 22:59:06 +01:00
Tomasz Maczukin
937567b767 Add create feature to variables API 2015-12-31 22:30:07 +01:00
Tomasz Maczukin
c5177dd5e2 Add missing 'not_found' checks in variables API 2015-12-31 17:03:11 +01:00
Tomasz Maczukin
0d014feb1d Add delete feature to variables API 2015-12-31 16:56:03 +01:00
Tomasz Maczukin
a692ce1c07 Add update feature for variables API 2015-12-31 16:26:55 +01:00
Tomasz Maczukin
ea4777ff50 Add features for list and show details of variables in API 2015-12-31 16:26:54 +01:00