You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/rest/metrics/statistics.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
---
2
-
title: Statistics
3
-
intro: 'The Repository Statistics API allows you to fetch the data that {% data variables.product.product_name %} uses for visualizing different types of repository activity.'
2
+
title: Repository statistics
3
+
shortTitle: Statistics
4
+
allowTitleToDifferFromFilename: true
5
+
intro: 'The Repository statistics API allows you to fetch the data that {% data variables.product.product_name %} uses for visualizing different types of repository activity.'
4
6
versions:
5
7
fpt: '*'
6
8
ghes: '*'
@@ -11,6 +13,10 @@ topics:
11
13
miniTocMaxHeadingLevel: 3
12
14
---
13
15
16
+
## About the Repository statistics API
17
+
18
+
The Repository statistics API allows you to fetch the data that {% data variables.product.product_name %} uses for visualizing different types of repository activity.
19
+
14
20
### A word about caching
15
21
16
22
Computing repository statistics is an expensive operation, so we try to return cached
intro: 'For repositories that you have push access to, the traffic API provides access to the information provided in your repository graph. '
2
+
title: Repository traffic
3
+
shortTitle: Traffic
4
+
allowTitleToDifferFromFilename: true
5
+
intro: 'The Repository traffic API provides access to the information provided in your repository graph.'
4
6
versions:
5
7
fpt: '*'
6
8
ghec: '*'
@@ -9,4 +11,7 @@ topics:
9
11
miniTocMaxHeadingLevel: 3
10
12
---
11
13
12
-
For more information, see "<ahref="/repositories/viewing-activity-and-data-for-your-repository/viewing-traffic-to-a-repository"class="dotcom-only">Viewing traffic to a repository</a>."
14
+
## About the Repository traffic API
15
+
16
+
For repositories that you have push access to, the Repository traffic API provides access to the information provided in your repository graph.
17
+
For more information, see "[Viewing traffic to a repository](/repositories/viewing-activity-and-data-for-your-repository/viewing-traffic-to-a-repository)."
0 commit comments