Commit f60bceb9 authored by Tomasz Maczukin's avatar Tomasz Maczukin

Add CI data to projcet entity

parent a31d2f2a
...@@ -71,6 +71,9 @@ module API ...@@ -71,6 +71,9 @@ module API
expose :avatar_url expose :avatar_url
expose :star_count, :forks_count expose :star_count, :forks_count
expose :open_issues_count, if: lambda { |project, options| project.issues_enabled? && project.default_issues_tracker? } expose :open_issues_count, if: lambda { |project, options| project.issues_enabled? && project.default_issues_tracker? }
expose :build_allow_git_fetch, :build_timeout, :build_coverage_regex
expose :runners_token
end end
class ProjectMember < UserBasic class ProjectMember < UserBasic
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment