summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-11 16:32:11 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-11 16:32:11 +0200
commite3c30bf2e84462810bd8eff941681682a7ce6dc7 (patch)
treeb7755ec091db0a66292a19dc2a909bcfad4f67e9 /lib/api
parentcd606e17907071af5ddf1d844deec0365c254604 (diff)
parent4f461fd45f65dbd6900088149b48649b27a7c2ce (diff)
downloadgitlab-ce-e3c30bf2e84462810bd8eff941681682a7ce6dc7.tar.gz
Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/services.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/api/services.rb b/lib/api/services.rb
index 6d2322bb464..6727e80ac1e 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