diff options
author | Rémy Coutable <remy@rymai.me> | 2016-04-12 09:21:00 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-04-12 09:21:00 +0000 |
commit | 8cb41f19891e4f39c64abd6b2a273625103c5f43 (patch) | |
tree | 158607d156288c6f151eedbdd49f4b7cb84530d6 /lib/api | |
parent | 0913204f9b1db46afca939c5f963e5dc12614641 (diff) | |
parent | 5083e5b616d2ba9b2812920c8d6cf3e0f95389e1 (diff) | |
download | gitlab-ce-8cb41f19891e4f39c64abd6b2a273625103c5f43.tar.gz |
Merge branch 'api-labels-info' into 'master'
API: Expose open_issues_count, closed_issues_count, open_merge_requests_count on labels
Partly fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/13238
See merge request !3569
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/entities.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index d76b46b8836..5ed9b7b1d9f 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -301,6 +301,7 @@ module API class Label < Grape::Entity expose :name, :color, :description + expose :open_issues_count, :closed_issues_count, :open_merge_requests_count end class Compare < Grape::Entity |