summaryrefslogtreecommitdiff
path: root/lib/api/entities/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/project.rb')
-rw-r--r--lib/api/entities/project.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/entities/project.rb b/lib/api/entities/project.rb
index 78ee5f07868..06e636d0301 100644
--- a/lib/api/entities/project.rb
+++ b/lib/api/entities/project.rb
@@ -103,6 +103,8 @@ module API
project.import_state&.last_error
end
expose :open_issues_count, documentation: { type: 'integer', example: 1 }, if: lambda { |project, options| project.feature_available?(:issues, options[:current_user]) }
+ expose :description_html, documentation: { type: 'string' }
+ expose :updated_at, documentation: { type: 'dateTime', example: '2020-05-07T04:27:17.016Z' }
with_options if: ->(_, _) { Ability.allowed?(options[:current_user], :admin_project, project) } do
# CI/CD Settings