Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
074244f8
Commit
074244f8
authored
6 years ago
by
Greg Messner
Browse files
Options
Download
Email Patches
Plain Diff
Fixed javadoc error.
parent
77cb7079
main
5.0.x
5.0.x.jdk17
6.x
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/gitlab4j/api/models/ProjectStatistics.java
+3
-14
src/main/java/org/gitlab4j/api/models/ProjectStatistics.java
with
3 additions
and
14 deletions
+3
-14
src/main/java/org/gitlab4j/api/models/ProjectStatistics.java
+
3
-
14
View file @
074244f8
...
...
@@ -5,20 +5,9 @@ import javax.xml.bind.annotation.XmlAccessType;
import
javax.xml.bind.annotation.XmlAccessorType
;
/**
* contains sizing information from the project.
* To get this information, the project api has to be called with parameter statistics=true
* which is only allowed for gitlab admins.
*
* Example json from projects api response:
* https://<gitlab>/api/v4//projects?statistics=true
*
* "statistics": {
* "commit_count": 37,
* "storage_size": 1038090,
* "repository_size": 1038090,
* "lfs_objects_size": 0,
* "job_artifacts_size": 0
* }
* This class contains the sizing information from the project. To get this information,
* ProjectApi.getProject() has to be called with parameter statistics=true
* which is only allowed for GitLab admins.
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
ProjectStatistics
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets