diff options
author | Petheo Bence <b.petheo@mito.hu> | 2015-09-03 15:38:54 +0200 |
---|---|---|
committer | Petheo Bence <b.petheo@mito.hu> | 2015-09-10 18:22:57 +0200 |
commit | 9bda4b8d88fc93b8938d8c4d001d6660d112ae1c (patch) | |
tree | 9702bacad0ffd6ebc3671233660381faacadd051 /lib/api/services.rb | |
parent | 1c3c3ba512a85cdf0c09ac4750bcd7955009d6d4 (diff) | |
download | gitlab-ce-9bda4b8d88fc93b8938d8c4d001d6660d112ae1c.tar.gz |
Added service API endpoint to retrieve service parameters
Diffstat (limited to 'lib/api/services.rb')
-rw-r--r-- | lib/api/services.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/api/services.rb b/lib/api/services.rb index 73645cedea4..d170b3067ed 100644 --- a/lib/api/services.rb +++ b/lib/api/services.rb @@ -49,6 +49,16 @@ module API end end end + + # Get <service_slug> service settings for project + # + # Example Request: + # + # GET /project/:id/services/gitlab-ci + # + get ':id/services/:service_slug' do + present project_service + end end end end |