Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/project_statistics.rb')
-rw-r--r--lib/api/entities/project_statistics.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/api/entities/project_statistics.rb b/lib/api/entities/project_statistics.rb
new file mode 100644
index 00000000000..e5f6165da31
--- /dev/null
+++ b/lib/api/entities/project_statistics.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+module API
+ module Entities
+ class ProjectStatistics < Grape::Entity
+ expose :commit_count
+ expose :storage_size
+ expose :repository_size
+ expose :wiki_size
+ expose :lfs_objects_size
+ expose :build_artifacts_size, as: :job_artifacts_size
+ end
+ end
+end