summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 09c9aca1e22..b575af53850 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -503,7 +503,7 @@ module API
end
class Pipeline < Grape::Entity
- expose :status, :ref, :sha, :before_sha, :tag, :yaml_errors
+ expose :id, :status, :ref, :sha, :before_sha, :tag, :yaml_errors
expose :user, with: Entities::UserBasic
expose :created_at, :updated_at, :started_at, :finished_at, :committed_at