@@ -58,11 +58,19 @@ export interface PaginatingEndpoints {
58
58
} ;
59
59
60
60
/**
61
- * @see https://docs.github.com/rest/copilot/copilot-usage #get-a-summary-of-copilot-usage- for-enterprise-members
61
+ * @see https://docs.github.com/rest/code-security/configurations #get-code-security-configurations- for-an-enterprise
62
62
*/
63
- "GET /enterprises/{enterprise}/copilot/usage" : {
64
- parameters : Endpoints [ "GET /enterprises/{enterprise}/copilot/usage" ] [ "parameters" ] ;
65
- response : Endpoints [ "GET /enterprises/{enterprise}/copilot/usage" ] [ "response" ] ;
63
+ "GET /enterprises/{enterprise}/code-security/configurations" : {
64
+ parameters : Endpoints [ "GET /enterprises/{enterprise}/code-security/configurations" ] [ "parameters" ] ;
65
+ response : Endpoints [ "GET /enterprises/{enterprise}/code-security/configurations" ] [ "response" ] ;
66
+ } ;
67
+
68
+ /**
69
+ * @see https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration
70
+ */
71
+ "GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories" : {
72
+ parameters : Endpoints [ "GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories" ] [ "parameters" ] ;
73
+ response : Endpoints [ "GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories" ] [ "response" ] ;
66
74
} ;
67
75
68
76
/**
@@ -239,6 +247,36 @@ export interface PaginatingEndpoints {
239
247
} ;
240
248
} ;
241
249
250
+ /**
251
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization
252
+ */
253
+ "GET /orgs/{org}/actions/runner-groups" : {
254
+ parameters : Endpoints [ "GET /orgs/{org}/actions/runner-groups" ] [ "parameters" ] ;
255
+ response : Endpoints [ "GET /orgs/{org}/actions/runner-groups" ] [ "response" ] & {
256
+ data : Endpoints [ "GET /orgs/{org}/actions/runner-groups" ] [ "response" ] [ "data" ] [ "runner_groups" ] ;
257
+ } ;
258
+ } ;
259
+
260
+ /**
261
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization
262
+ */
263
+ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories" : {
264
+ parameters : Endpoints [ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories" ] [ "parameters" ] ;
265
+ response : Endpoints [ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories" ] [ "response" ] & {
266
+ data : Endpoints [ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories" ] [ "response" ] [ "data" ] [ "repositories" ] ;
267
+ } ;
268
+ } ;
269
+
270
+ /**
271
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization
272
+ */
273
+ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners" : {
274
+ parameters : Endpoints [ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners" ] [ "parameters" ] ;
275
+ response : Endpoints [ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners" ] [ "response" ] & {
276
+ data : Endpoints [ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners" ] [ "response" ] [ "data" ] [ "runners" ] ;
277
+ } ;
278
+ } ;
279
+
242
280
/**
243
281
* @see https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization
244
282
*/
@@ -289,6 +327,16 @@ export interface PaginatingEndpoints {
289
327
} ;
290
328
} ;
291
329
330
+ /**
331
+ * @see https://docs.github.com/rest/orgs/orgs#list-attestations
332
+ */
333
+ "GET /orgs/{org}/attestations/{subject_digest}" : {
334
+ parameters : Endpoints [ "GET /orgs/{org}/attestations/{subject_digest}" ] [ "parameters" ] ;
335
+ response : Endpoints [ "GET /orgs/{org}/attestations/{subject_digest}" ] [ "response" ] & {
336
+ data : Endpoints [ "GET /orgs/{org}/attestations/{subject_digest}" ] [ "response" ] [ "data" ] [ "attestations" ] ;
337
+ } ;
338
+ } ;
339
+
292
340
/**
293
341
* @see https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization
294
342
*/
@@ -305,6 +353,22 @@ export interface PaginatingEndpoints {
305
353
response : Endpoints [ "GET /orgs/{org}/code-scanning/alerts" ] [ "response" ] ;
306
354
} ;
307
355
356
+ /**
357
+ * @see https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization
358
+ */
359
+ "GET /orgs/{org}/code-security/configurations" : {
360
+ parameters : Endpoints [ "GET /orgs/{org}/code-security/configurations" ] [ "parameters" ] ;
361
+ response : Endpoints [ "GET /orgs/{org}/code-security/configurations" ] [ "response" ] ;
362
+ } ;
363
+
364
+ /**
365
+ * @see https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration
366
+ */
367
+ "GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories" : {
368
+ parameters : Endpoints [ "GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories" ] [ "parameters" ] ;
369
+ response : Endpoints [ "GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories" ] [ "response" ] ;
370
+ } ;
371
+
308
372
/**
309
373
* @see https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-the-organization
310
374
*/
@@ -345,6 +409,14 @@ export interface PaginatingEndpoints {
345
409
} ;
346
410
} ;
347
411
412
+ /**
413
+ * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization
414
+ */
415
+ "GET /orgs/{org}/copilot/metrics" : {
416
+ parameters : Endpoints [ "GET /orgs/{org}/copilot/metrics" ] [ "parameters" ] ;
417
+ response : Endpoints [ "GET /orgs/{org}/copilot/metrics" ] [ "response" ] ;
418
+ } ;
419
+
348
420
/**
349
421
* @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members
350
422
*/
@@ -413,6 +485,30 @@ export interface PaginatingEndpoints {
413
485
response : Endpoints [ "GET /orgs/{org}/hooks/{hook_id}/deliveries" ] [ "response" ] ;
414
486
} ;
415
487
488
+ /**
489
+ * @see https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor
490
+ */
491
+ "GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}" : {
492
+ parameters : Endpoints [ "GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}" ] [ "parameters" ] ;
493
+ response : Endpoints [ "GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}" ] [ "response" ] ;
494
+ } ;
495
+
496
+ /**
497
+ * @see https://docs.github.com/rest/orgs/api-insights#get-subject-stats
498
+ */
499
+ "GET /orgs/{org}/insights/api/subject-stats" : {
500
+ parameters : Endpoints [ "GET /orgs/{org}/insights/api/subject-stats" ] [ "parameters" ] ;
501
+ response : Endpoints [ "GET /orgs/{org}/insights/api/subject-stats" ] [ "response" ] ;
502
+ } ;
503
+
504
+ /**
505
+ * @see https://docs.github.com/rest/orgs/api-insights#get-user-stats
506
+ */
507
+ "GET /orgs/{org}/insights/api/user-stats/{user_id}" : {
508
+ parameters : Endpoints [ "GET /orgs/{org}/insights/api/user-stats/{user_id}" ] [ "parameters" ] ;
509
+ response : Endpoints [ "GET /orgs/{org}/insights/api/user-stats/{user_id}" ] [ "response" ] ;
510
+ } ;
511
+
416
512
/**
417
513
* @see https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization
418
514
*/
@@ -553,6 +649,16 @@ export interface PaginatingEndpoints {
553
649
response : Endpoints [ "GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories" ] [ "response" ] ;
554
650
} ;
555
651
652
+ /**
653
+ * @see https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization
654
+ */
655
+ "GET /orgs/{org}/private-registries" : {
656
+ parameters : Endpoints [ "GET /orgs/{org}/private-registries" ] [ "parameters" ] ;
657
+ response : Endpoints [ "GET /orgs/{org}/private-registries" ] [ "response" ] & {
658
+ data : Endpoints [ "GET /orgs/{org}/private-registries" ] [ "response" ] [ "data" ] [ "configurations" ] ;
659
+ } ;
660
+ } ;
661
+
556
662
/**
557
663
* @see https://docs.github.com/rest/projects/projects#list-organization-projects
558
664
*/
@@ -617,6 +723,14 @@ export interface PaginatingEndpoints {
617
723
response : Endpoints [ "GET /orgs/{org}/security-advisories" ] [ "response" ] ;
618
724
} ;
619
725
726
+ /**
727
+ * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team
728
+ */
729
+ "GET /orgs/{org}/team/{team_slug}/copilot/metrics" : {
730
+ parameters : Endpoints [ "GET /orgs/{org}/team/{team_slug}/copilot/metrics" ] [ "parameters" ] ;
731
+ response : Endpoints [ "GET /orgs/{org}/team/{team_slug}/copilot/metrics" ] [ "response" ] ;
732
+ } ;
733
+
620
734
/**
621
735
* @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team
622
736
*/
@@ -875,6 +989,16 @@ export interface PaginatingEndpoints {
875
989
response : Endpoints [ "GET /repos/{owner}/{repo}/assignees" ] [ "response" ] ;
876
990
} ;
877
991
992
+ /**
993
+ * @see https://docs.github.com/rest/repos/repos#list-attestations
994
+ */
995
+ "GET /repos/{owner}/{repo}/attestations/{subject_digest}" : {
996
+ parameters : Endpoints [ "GET /repos/{owner}/{repo}/attestations/{subject_digest}" ] [ "parameters" ] ;
997
+ response : Endpoints [ "GET /repos/{owner}/{repo}/attestations/{subject_digest}" ] [ "response" ] & {
998
+ data : Endpoints [ "GET /repos/{owner}/{repo}/attestations/{subject_digest}" ] [ "response" ] [ "data" ] [ "attestations" ] ;
999
+ } ;
1000
+ } ;
1001
+
878
1002
/**
879
1003
* @see https://docs.github.com/rest/branches/branches#list-branches
880
1004
*/
@@ -1237,6 +1361,14 @@ export interface PaginatingEndpoints {
1237
1361
response : Endpoints [ "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions" ] [ "response" ] ;
1238
1362
} ;
1239
1363
1364
+ /**
1365
+ * @see https://docs.github.com/rest/issues/sub-issues#list-sub-issues
1366
+ */
1367
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues" : {
1368
+ parameters : Endpoints [ "GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues" ] [ "parameters" ] ;
1369
+ response : Endpoints [ "GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues" ] [ "response" ] ;
1370
+ } ;
1371
+
1240
1372
/**
1241
1373
* @see https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue
1242
1374
*/
@@ -1861,6 +1993,16 @@ export interface PaginatingEndpoints {
1861
1993
response : Endpoints [ "GET /users" ] [ "response" ] ;
1862
1994
} ;
1863
1995
1996
+ /**
1997
+ * @see https://docs.github.com/rest/users/attestations#list-attestations
1998
+ */
1999
+ "GET /users/{username}/attestations/{subject_digest}" : {
2000
+ parameters : Endpoints [ "GET /users/{username}/attestations/{subject_digest}" ] [ "parameters" ] ;
2001
+ response : Endpoints [ "GET /users/{username}/attestations/{subject_digest}" ] [ "response" ] & {
2002
+ data : Endpoints [ "GET /users/{username}/attestations/{subject_digest}" ] [ "response" ] [ "data" ] [ "attestations" ] ;
2003
+ } ;
2004
+ } ;
2005
+
1864
2006
/**
1865
2007
* @see https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user
1866
2008
*/
@@ -2014,7 +2156,8 @@ export const paginatingEndpoints: (keyof PaginatingEndpoints)[] = [
2014
2156
"GET /assignments/{assignment_id}/accepted_assignments" ,
2015
2157
"GET /classrooms" ,
2016
2158
"GET /classrooms/{classroom_id}/assignments" ,
2017
- "GET /enterprises/{enterprise}/copilot/usage" ,
2159
+ "GET /enterprises/{enterprise}/code-security/configurations" ,
2160
+ "GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories" ,
2018
2161
"GET /enterprises/{enterprise}/dependabot/alerts" ,
2019
2162
"GET /enterprises/{enterprise}/secret-scanning/alerts" ,
2020
2163
"GET /events" ,
@@ -2036,17 +2179,24 @@ export const paginatingEndpoints: (keyof PaginatingEndpoints)[] = [
2036
2179
"GET /organizations" ,
2037
2180
"GET /orgs/{org}/actions/cache/usage-by-repository" ,
2038
2181
"GET /orgs/{org}/actions/permissions/repositories" ,
2182
+ "GET /orgs/{org}/actions/runner-groups" ,
2183
+ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories" ,
2184
+ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners" ,
2039
2185
"GET /orgs/{org}/actions/runners" ,
2040
2186
"GET /orgs/{org}/actions/secrets" ,
2041
2187
"GET /orgs/{org}/actions/secrets/{secret_name}/repositories" ,
2042
2188
"GET /orgs/{org}/actions/variables" ,
2043
2189
"GET /orgs/{org}/actions/variables/{name}/repositories" ,
2190
+ "GET /orgs/{org}/attestations/{subject_digest}" ,
2044
2191
"GET /orgs/{org}/blocks" ,
2045
2192
"GET /orgs/{org}/code-scanning/alerts" ,
2193
+ "GET /orgs/{org}/code-security/configurations" ,
2194
+ "GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories" ,
2046
2195
"GET /orgs/{org}/codespaces" ,
2047
2196
"GET /orgs/{org}/codespaces/secrets" ,
2048
2197
"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories" ,
2049
2198
"GET /orgs/{org}/copilot/billing/seats" ,
2199
+ "GET /orgs/{org}/copilot/metrics" ,
2050
2200
"GET /orgs/{org}/copilot/usage" ,
2051
2201
"GET /orgs/{org}/dependabot/alerts" ,
2052
2202
"GET /orgs/{org}/dependabot/secrets" ,
@@ -2055,6 +2205,9 @@ export const paginatingEndpoints: (keyof PaginatingEndpoints)[] = [
2055
2205
"GET /orgs/{org}/failed_invitations" ,
2056
2206
"GET /orgs/{org}/hooks" ,
2057
2207
"GET /orgs/{org}/hooks/{hook_id}/deliveries" ,
2208
+ "GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}" ,
2209
+ "GET /orgs/{org}/insights/api/subject-stats" ,
2210
+ "GET /orgs/{org}/insights/api/user-stats/{user_id}" ,
2058
2211
"GET /orgs/{org}/installations" ,
2059
2212
"GET /orgs/{org}/invitations" ,
2060
2213
"GET /orgs/{org}/invitations/{invitation_id}/teams" ,
@@ -2072,6 +2225,7 @@ export const paginatingEndpoints: (keyof PaginatingEndpoints)[] = [
2072
2225
"GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories" ,
2073
2226
"GET /orgs/{org}/personal-access-tokens" ,
2074
2227
"GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories" ,
2228
+ "GET /orgs/{org}/private-registries" ,
2075
2229
"GET /orgs/{org}/projects" ,
2076
2230
"GET /orgs/{org}/properties/values" ,
2077
2231
"GET /orgs/{org}/public_members" ,
@@ -2080,6 +2234,7 @@ export const paginatingEndpoints: (keyof PaginatingEndpoints)[] = [
2080
2234
"GET /orgs/{org}/rulesets/rule-suites" ,
2081
2235
"GET /orgs/{org}/secret-scanning/alerts" ,
2082
2236
"GET /orgs/{org}/security-advisories" ,
2237
+ "GET /orgs/{org}/team/{team_slug}/copilot/metrics" ,
2083
2238
"GET /orgs/{org}/team/{team_slug}/copilot/usage" ,
2084
2239
"GET /orgs/{org}/teams" ,
2085
2240
"GET /orgs/{org}/teams/{team_slug}/discussions" ,
@@ -2109,6 +2264,7 @@ export const paginatingEndpoints: (keyof PaginatingEndpoints)[] = [
2109
2264
"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs" ,
2110
2265
"GET /repos/{owner}/{repo}/activity" ,
2111
2266
"GET /repos/{owner}/{repo}/assignees" ,
2267
+ "GET /repos/{owner}/{repo}/attestations/{subject_digest}" ,
2112
2268
"GET /repos/{owner}/{repo}/branches" ,
2113
2269
"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations" ,
2114
2270
"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs" ,
@@ -2151,6 +2307,7 @@ export const paginatingEndpoints: (keyof PaginatingEndpoints)[] = [
2151
2307
"GET /repos/{owner}/{repo}/issues/{issue_number}/events" ,
2152
2308
"GET /repos/{owner}/{repo}/issues/{issue_number}/labels" ,
2153
2309
"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions" ,
2310
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues" ,
2154
2311
"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline" ,
2155
2312
"GET /repos/{owner}/{repo}/keys" ,
2156
2313
"GET /repos/{owner}/{repo}/labels" ,
@@ -2226,6 +2383,7 @@ export const paginatingEndpoints: (keyof PaginatingEndpoints)[] = [
2226
2383
"GET /user/subscriptions" ,
2227
2384
"GET /user/teams" ,
2228
2385
"GET /users" ,
2386
+ "GET /users/{username}/attestations/{subject_digest}" ,
2229
2387
"GET /users/{username}/events" ,
2230
2388
"GET /users/{username}/events/orgs/{org}" ,
2231
2389
"GET /users/{username}/events/public" ,
0 commit comments