Skip to content

Commit 973dfa3

Browse files
docs-botinpreman
andauthored
Update OpenAPI Description (#58488)
Co-authored-by: Indrajith Premanath <[email protected]>
1 parent da74251 commit 973dfa3

File tree

24 files changed

+24518
-13860
lines changed

24 files changed

+24518
-13860
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: REST API endpoints for Copilot usage metrics
3+
shortTitle: Copilot usage metrics
4+
intro: Use the REST API to view {% data variables.product.prodname_copilot_short %} usage metrics.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
ghec: '*'
7+
topics:
8+
- API
9+
autogenerated: rest
10+
allowTitleToDifferFromFilename: true
11+
---
12+
13+
<!-- Content after this section is automatically generated -->

content/rest/copilot/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
title: REST API endpoints for Copilot
33
shortTitle: Copilot
44
intro: >-
5-
Use the REST API to monitor and manage {% data variables.product.prodname_copilot %}.
5+
Use the REST API to monitor and manage {% data
6+
variables.product.prodname_copilot %}.
67
topics:
78
- API
89
autogenerated: rest
910
allowTitleToDifferFromFilename: true
1011
children:
1112
- /copilot-metrics
13+
- /copilot-usage-metrics
1214
- /copilot-user-management
1315
versions:
1416
fpt: '*'

src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"category": "copilot",
88
"slug": "get-copilot-enterprise-usage-metrics-for-a-specific-day",
9-
"subcategory": "copilot-metrics",
9+
"subcategory": "copilot-usage-metrics",
1010
"verb": "get",
1111
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day",
1212
"additional-permissions": false,
@@ -15,7 +15,7 @@
1515
{
1616
"category": "copilot",
1717
"slug": "get-copilot-enterprise-usage-metrics",
18-
"subcategory": "copilot-metrics",
18+
"subcategory": "copilot-usage-metrics",
1919
"verb": "get",
2020
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest",
2121
"additional-permissions": false,
@@ -24,7 +24,7 @@
2424
{
2525
"category": "copilot",
2626
"slug": "get-copilot-users-usage-metrics-for-a-specific-day",
27-
"subcategory": "copilot-metrics",
27+
"subcategory": "copilot-usage-metrics",
2828
"verb": "get",
2929
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day",
3030
"additional-permissions": false,
@@ -33,7 +33,7 @@
3333
{
3434
"category": "copilot",
3535
"slug": "get-copilot-users-usage-metrics",
36-
"subcategory": "copilot-metrics",
36+
"subcategory": "copilot-usage-metrics",
3737
"verb": "get",
3838
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest",
3939
"additional-permissions": false,

src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2154,25 +2154,25 @@
21542154
"copilot": [
21552155
{
21562156
"slug": "get-copilot-enterprise-usage-metrics-for-a-specific-day",
2157-
"subcategory": "copilot-metrics",
2157+
"subcategory": "copilot-usage-metrics",
21582158
"verb": "get",
21592159
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day"
21602160
},
21612161
{
21622162
"slug": "get-copilot-enterprise-usage-metrics",
2163-
"subcategory": "copilot-metrics",
2163+
"subcategory": "copilot-usage-metrics",
21642164
"verb": "get",
21652165
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest"
21662166
},
21672167
{
21682168
"slug": "get-copilot-users-usage-metrics-for-a-specific-day",
2169-
"subcategory": "copilot-metrics",
2169+
"subcategory": "copilot-usage-metrics",
21702170
"verb": "get",
21712171
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day"
21722172
},
21732173
{
21742174
"slug": "get-copilot-users-usage-metrics",
2175-
"subcategory": "copilot-metrics",
2175+
"subcategory": "copilot-usage-metrics",
21762176
"verb": "get",
21772177
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest"
21782178
},

src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
{
195195
"category": "copilot",
196196
"slug": "get-copilot-enterprise-usage-metrics-for-a-specific-day",
197-
"subcategory": "copilot-metrics",
197+
"subcategory": "copilot-usage-metrics",
198198
"verb": "get",
199199
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day",
200200
"access": "read",
@@ -205,7 +205,7 @@
205205
{
206206
"category": "copilot",
207207
"slug": "get-copilot-enterprise-usage-metrics",
208-
"subcategory": "copilot-metrics",
208+
"subcategory": "copilot-usage-metrics",
209209
"verb": "get",
210210
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest",
211211
"access": "read",
@@ -216,7 +216,7 @@
216216
{
217217
"category": "copilot",
218218
"slug": "get-copilot-users-usage-metrics-for-a-specific-day",
219-
"subcategory": "copilot-metrics",
219+
"subcategory": "copilot-usage-metrics",
220220
"verb": "get",
221221
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day",
222222
"access": "read",
@@ -227,7 +227,7 @@
227227
{
228228
"category": "copilot",
229229
"slug": "get-copilot-users-usage-metrics",
230-
"subcategory": "copilot-metrics",
230+
"subcategory": "copilot-usage-metrics",
231231
"verb": "get",
232232
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest",
233233
"access": "read",

src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2094,25 +2094,25 @@
20942094
"copilot": [
20952095
{
20962096
"slug": "get-copilot-enterprise-usage-metrics-for-a-specific-day",
2097-
"subcategory": "copilot-metrics",
2097+
"subcategory": "copilot-usage-metrics",
20982098
"verb": "get",
20992099
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day"
21002100
},
21012101
{
21022102
"slug": "get-copilot-enterprise-usage-metrics",
2103-
"subcategory": "copilot-metrics",
2103+
"subcategory": "copilot-usage-metrics",
21042104
"verb": "get",
21052105
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest"
21062106
},
21072107
{
21082108
"slug": "get-copilot-users-usage-metrics-for-a-specific-day",
2109-
"subcategory": "copilot-metrics",
2109+
"subcategory": "copilot-usage-metrics",
21102110
"verb": "get",
21112111
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day"
21122112
},
21132113
{
21142114
"slug": "get-copilot-users-usage-metrics",
2115-
"subcategory": "copilot-metrics",
2115+
"subcategory": "copilot-usage-metrics",
21162116
"verb": "get",
21172117
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest"
21182118
},

src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2378,25 +2378,25 @@
23782378
"copilot": [
23792379
{
23802380
"slug": "get-copilot-enterprise-usage-metrics-for-a-specific-day",
2381-
"subcategory": "copilot-metrics",
2381+
"subcategory": "copilot-usage-metrics",
23822382
"verb": "get",
23832383
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day"
23842384
},
23852385
{
23862386
"slug": "get-copilot-enterprise-usage-metrics",
2387-
"subcategory": "copilot-metrics",
2387+
"subcategory": "copilot-usage-metrics",
23882388
"verb": "get",
23892389
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest"
23902390
},
23912391
{
23922392
"slug": "get-copilot-users-usage-metrics-for-a-specific-day",
2393-
"subcategory": "copilot-metrics",
2393+
"subcategory": "copilot-usage-metrics",
23942394
"verb": "get",
23952395
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day"
23962396
},
23972397
{
23982398
"slug": "get-copilot-users-usage-metrics",
2399-
"subcategory": "copilot-metrics",
2399+
"subcategory": "copilot-usage-metrics",
24002400
"verb": "get",
24012401
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest"
24022402
},

src/github-apps/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@
6060
"2022-11-28"
6161
]
6262
},
63-
"sha": "0fb9cbe3fd548654115fbe4d8beb758228826ae6"
63+
"sha": "567046173a5469ed9d537d9d3ac397f51f1c6c77"
6464
}

0 commit comments

Comments
 (0)