Skip to content

Commit d5ab360

Browse files
docs-botsubatoi
andauthored
Update OpenAPI Description (#62042)
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
1 parent c58756b commit d5ab360

35 files changed

Lines changed: 1531 additions & 107 deletions

File tree

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
{
2+
"enterprise_copilot_usage": {
3+
"title": "Copilot usage records",
4+
"displayTitle": "Enterprise permissions for \"Copilot usage records\"",
5+
"permissions": [
6+
{
7+
"category": "copilot",
8+
"slug": "get-copilot-usage-records-for-an-enterprise",
9+
"subcategory": "copilot-usage-metrics",
10+
"verb": "get",
11+
"requestPath": "/enterprises/{enterprise}/copilot/usage-records",
12+
"access": "read",
13+
"user-to-server": true,
14+
"server-to-server": true,
15+
"additional-permissions": true
16+
}
17+
]
18+
},
219
"enterprise_custom_enterprise_roles": {
320
"title": "Custom enterprise roles",
421
"displayTitle": "Enterprise permissions for \"Custom enterprise roles\"",

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,12 @@
24242424
"verb": "get",
24252425
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest"
24262426
},
2427+
{
2428+
"slug": "get-copilot-usage-records-for-an-enterprise",
2429+
"subcategory": "copilot-usage-metrics",
2430+
"verb": "get",
2431+
"requestPath": "/enterprises/{enterprise}/copilot/usage-records"
2432+
},
24272433
{
24282434
"slug": "get-copilot-seat-information-and-settings-for-an-organization",
24292435
"subcategory": "copilot-user-management",

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,6 +2672,12 @@
26722672
"verb": "get",
26732673
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest"
26742674
},
2675+
{
2676+
"slug": "get-copilot-usage-records-for-an-enterprise",
2677+
"subcategory": "copilot-usage-metrics",
2678+
"verb": "get",
2679+
"requestPath": "/enterprises/{enterprise}/copilot/usage-records"
2680+
},
26752681
{
26762682
"slug": "get-copilot-seat-information-and-settings-for-an-organization",
26772683
"subcategory": "copilot-user-management",

src/github-apps/data/ghec-2026-03-10/server-to-server-permissions.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
{
2+
"enterprise_copilot_usage": {
3+
"title": "Copilot usage records",
4+
"displayTitle": "Enterprise permissions for \"Copilot usage records\"",
5+
"permissions": [
6+
{
7+
"category": "copilot",
8+
"slug": "get-copilot-usage-records-for-an-enterprise",
9+
"subcategory": "copilot-usage-metrics",
10+
"verb": "get",
11+
"requestPath": "/enterprises/{enterprise}/copilot/usage-records",
12+
"access": "read",
13+
"user-to-server": true,
14+
"server-to-server": true,
15+
"additional-permissions": true
16+
}
17+
]
18+
},
219
"enterprise_custom_enterprise_roles": {
320
"title": "Custom enterprise roles",
421
"displayTitle": "Enterprise permissions for \"Custom enterprise roles\"",

src/github-apps/data/ghec-2026-03-10/server-to-server-rest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,12 @@
24242424
"verb": "get",
24252425
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest"
24262426
},
2427+
{
2428+
"slug": "get-copilot-usage-records-for-an-enterprise",
2429+
"subcategory": "copilot-usage-metrics",
2430+
"verb": "get",
2431+
"requestPath": "/enterprises/{enterprise}/copilot/usage-records"
2432+
},
24272433
{
24282434
"slug": "get-copilot-seat-information-and-settings-for-an-organization",
24292435
"subcategory": "copilot-user-management",

src/github-apps/data/ghec-2026-03-10/user-to-server-rest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,6 +2672,12 @@
26722672
"verb": "get",
26732673
"requestPath": "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest"
26742674
},
2675+
{
2676+
"slug": "get-copilot-usage-records-for-an-enterprise",
2677+
"subcategory": "copilot-usage-metrics",
2678+
"verb": "get",
2679+
"requestPath": "/enterprises/{enterprise}/copilot/usage-records"
2680+
},
26752681
{
26762682
"slug": "get-copilot-seat-information-and-settings-for-an-organization",
26772683
"subcategory": "copilot-user-management",

src/github-apps/data/shared/entries.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/github-apps/data/version-index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

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": "8d5eb57de9ea64dbcfeca8442934eaecb3817f12"
63+
"sha": "a70b6c5b86500ea35cb362ba0cbc940a7bb2155e"
6464
}

src/rest/data/fpt-2022-11-28/issues.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19366,6 +19366,11 @@
1936619366
null
1936719367
]
1936819368
},
19369+
{
19370+
"type": "integer",
19371+
"name": "duplicate_issue_id",
19372+
"description": "<p>The ID of the issue to mark as the canonical duplicate when <code>state_reason</code> is <code>duplicate</code>. The issue must exist and be accessible to the authenticated user. Ignored when <code>state_reason</code> is not <code>duplicate</code>.</p>"
19373+
},
1936919374
{
1937019375
"type": "null or string or integer",
1937119376
"name": "milestone",

0 commit comments

Comments
 (0)