diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-02-14 09:58:31 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-02-14 09:58:31 +0000 |
commit | 7da1a3d7a30976090d437d7a0fcefe7ac2548ab3 (patch) | |
tree | 4c818fadad756e0811b1a5b02e1d1cfadd3e4fb1 /lib/api/entities.rb | |
parent | c203c622c5134ea53e7bf9624c9c99b2386869e5 (diff) | |
parent | a724f7e35f9f8ed9692b0f3f4d6c8a62632cdec4 (diff) | |
download | gitlab-ce-7da1a3d7a30976090d437d7a0fcefe7ac2548ab3.tar.gz |
Merge branch 'api-refs-for-commit' into 'master'
API: Get refs for a particular commit
Closes #18014
See merge request gitlab-org/gitlab-ce!15026
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 7838de13c56..c8cda85b170 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -276,6 +276,10 @@ module API expose :last_pipeline, using: 'API::Entities::PipelineBasic' end + class BasicRef < Grape::Entity + expose :type, :name + end + class Branch < Grape::Entity expose :name |