summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2017-01-30 12:11:58 +0100
committerToon Claes <toon@gitlab.com>2017-03-03 09:52:04 +0100
commit59e7d04bc78a69137b649dc8ac470a6c3eedbd3c (patch)
tree77898668f22ecbf7f5a9ae8979e958d1f4427a60 /lib/api/api.rb
parentb18646040c9b17c69ac66fb687b02450e161808c (diff)
downloadgitlab-ce-59e7d04bc78a69137b649dc8ac470a6c3eedbd3c.tar.gz
Expose pipelines as PipelineBasic `projects/:id/pipelines`26847-api-pipelines-use-basic
The `projects/:id/pipelines` exposed a lot of extra details that are superfluous and it was taking extra resources to fetch them. To get more details about a pipeline, use `projects/:id/pipelines/:pipeline_id`.
Diffstat (limited to 'lib/api/api.rb')
-rw-r--r--lib/api/api.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb
index 3e53ab693ab..89449ce8813 100644
--- a/lib/api/api.rb
+++ b/lib/api/api.rb
@@ -20,6 +20,7 @@ module API
mount ::API::V3::MergeRequestDiffs
mount ::API::V3::MergeRequests
mount ::API::V3::Notes
+ mount ::API::V3::Pipelines
mount ::API::V3::ProjectHooks
mount ::API::V3::Milestones
mount ::API::V3::Projects