Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
03940075
Commit
03940075
authored
Sep 27, 2021
by
Amy Qualls
Committed by
Marcel Amirault
Sep 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Crosslink to project traffic API page, explain
parent
cf60e782
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
doc/api/project_statistics.md
doc/api/project_statistics.md
+4
-4
doc/user/permissions.md
doc/user/permissions.md
+1
-1
No files found.
doc/api/project_statistics.md
View file @
03940075
...
...
@@ -8,12 +8,12 @@ type: reference, api
# Project statistics API **(FREE)**
Every API call to
[
project
](
../user/project/index.md
)
statistics must be authenticated.
Retrieving these statistics requires write access to the repository.
## Get the statistics of the last 30 days
This API retrieves the number of times the project is either cloned or pulled
with the HTTP method. SSH fetches are not included.
Retrieving the statistics requires write access to the repository.
Currently only HTTP fetches statistics are returned.
Fetches statistics includes both clones and pulls count and are HTTP only, SSH fetches are not included.
## Get the statistics of the last 30 days
```
plaintext
GET /projects/:id/statistics
...
...
doc/user/permissions.md
View file @
03940075
...
...
@@ -119,7 +119,7 @@ The following table lists project permissions available for each role:
|
[
Projects
](
project/index.md
)
:
<br>
View
[
wiki
](
project/wiki/index.md
)
pages | ✓ | ✓ | ✓ | ✓ | ✓ |
|
[
Projects
](
project/index.md
)
:
<br>
Create
[
snippets
](
snippets.md
)
| | ✓ | ✓ | ✓ | ✓ |
|
[
Projects
](
project/index.md
)
:
<br>
Manage labels | | ✓ | ✓ | ✓ | ✓ |
|
[
Projects
](
project/index.md
)
:
<br>
View
project statistics
| | ✓ | ✓ | ✓ | ✓ |
|
[
Projects
](
project/index.md
)
:
<br>
View
[
project traffic statistics
](
../api/project_statistics.md
)
| | ✓ | ✓ | ✓ | ✓ |
|
[
Projects
](
project/index.md
)
:
<br>
Create, edit, delete
[
milestones
](
project/milestones/index.md
)
. | | | ✓ | ✓ | ✓ |
|
[
Projects
](
project/index.md
)
:
<br>
Create, edit, delete
[
releases
](
project/releases/index.md
)
| | | ✓ (
*13*
) | ✓ (
*13*
) | ✓ (
*13*
) |
|
[
Projects
](
project/index.md
)
:
<br>
Create, edit
[
wiki
](
project/wiki/index.md
)
pages | | | ✓ | ✓ | ✓ |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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