@octokit/types 17.0.0 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/VERSION.d.ts +1 -1
- package/dist-types/generated/Endpoints.d.ts +622 -162
- package/package.json +4 -5
|
@@ -88,10 +88,18 @@ export interface Endpoints {
|
|
|
88
88
|
* @see https://docs.github.com/rest/apps/oauth-applications#delete-an-app-token
|
|
89
89
|
*/
|
|
90
90
|
"DELETE /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "delete">;
|
|
91
|
+
/**
|
|
92
|
+
* @see https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise
|
|
93
|
+
*/
|
|
94
|
+
"DELETE /enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}": Operation<"/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}", "delete">;
|
|
91
95
|
/**
|
|
92
96
|
* @see https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise
|
|
93
97
|
*/
|
|
94
98
|
"DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "delete">;
|
|
99
|
+
/**
|
|
100
|
+
* @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy
|
|
101
|
+
*/
|
|
102
|
+
"DELETE /enterprises/{enterprise}/copilot/policies/coding_agent/organizations": Operation<"/enterprises/{enterprise}/copilot/policies/coding_agent/organizations", "delete">;
|
|
95
103
|
/**
|
|
96
104
|
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership
|
|
97
105
|
*/
|
|
@@ -148,6 +156,10 @@ export interface Endpoints {
|
|
|
148
156
|
* @see https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization
|
|
149
157
|
*/
|
|
150
158
|
"DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}": Operation<"/orgs/{org}/actions/hosted-runners/{hosted_runner_id}", "delete">;
|
|
159
|
+
/**
|
|
160
|
+
* @see https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization
|
|
161
|
+
*/
|
|
162
|
+
"DELETE /orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}": Operation<"/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", "delete">;
|
|
151
163
|
/**
|
|
152
164
|
* @see https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization
|
|
153
165
|
*/
|
|
@@ -196,6 +208,22 @@ export interface Endpoints {
|
|
|
196
208
|
* @see https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable
|
|
197
209
|
*/
|
|
198
210
|
"DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", "delete">;
|
|
211
|
+
/**
|
|
212
|
+
* @see https://docs.github.com/rest/agents/secrets#delete-an-organization-secret
|
|
213
|
+
*/
|
|
214
|
+
"DELETE /orgs/{org}/agents/secrets/{secret_name}": Operation<"/orgs/{org}/agents/secrets/{secret_name}", "delete">;
|
|
215
|
+
/**
|
|
216
|
+
* @see https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret
|
|
217
|
+
*/
|
|
218
|
+
"DELETE /orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}", "delete">;
|
|
219
|
+
/**
|
|
220
|
+
* @see https://docs.github.com/rest/agents/variables#delete-an-organization-variable
|
|
221
|
+
*/
|
|
222
|
+
"DELETE /orgs/{org}/agents/variables/{name}": Operation<"/orgs/{org}/agents/variables/{name}", "delete">;
|
|
223
|
+
/**
|
|
224
|
+
* @see https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable
|
|
225
|
+
*/
|
|
226
|
+
"DELETE /orgs/{org}/agents/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/variables/{name}/repositories/{repository_id}", "delete">;
|
|
199
227
|
/**
|
|
200
228
|
* @see https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest
|
|
201
229
|
*/
|
|
@@ -232,6 +260,18 @@ export interface Endpoints {
|
|
|
232
260
|
* @see https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret
|
|
233
261
|
*/
|
|
234
262
|
"DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "delete">;
|
|
263
|
+
/**
|
|
264
|
+
* @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-an-organization-copilot-space
|
|
265
|
+
*/
|
|
266
|
+
"DELETE /orgs/{org}/copilot-spaces/{space_number}": Operation<"/orgs/{org}/copilot-spaces/{space_number}", "delete">;
|
|
267
|
+
/**
|
|
268
|
+
* @see https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-an-organization-copilot-space
|
|
269
|
+
*/
|
|
270
|
+
"DELETE /orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}": Operation<"/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}", "delete">;
|
|
271
|
+
/**
|
|
272
|
+
* @see https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-an-organization-copilot-space
|
|
273
|
+
*/
|
|
274
|
+
"DELETE /orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}", "delete">;
|
|
235
275
|
/**
|
|
236
276
|
* @see https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization
|
|
237
277
|
*/
|
|
@@ -240,6 +280,10 @@ export interface Endpoints {
|
|
|
240
280
|
* @see https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization
|
|
241
281
|
*/
|
|
242
282
|
"DELETE /orgs/{org}/copilot/billing/selected_users": Operation<"/orgs/{org}/copilot/billing/selected_users", "delete">;
|
|
283
|
+
/**
|
|
284
|
+
* @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization
|
|
285
|
+
*/
|
|
286
|
+
"DELETE /orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}", "delete">;
|
|
243
287
|
/**
|
|
244
288
|
* @see https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret
|
|
245
289
|
*/
|
|
@@ -260,6 +304,10 @@ export interface Endpoints {
|
|
|
260
304
|
* @see https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation
|
|
261
305
|
*/
|
|
262
306
|
"DELETE /orgs/{org}/invitations/{invitation_id}": Operation<"/orgs/{org}/invitations/{invitation_id}", "delete">;
|
|
307
|
+
/**
|
|
308
|
+
* @see https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization
|
|
309
|
+
*/
|
|
310
|
+
"DELETE /orgs/{org}/issue-fields/{issue_field_id}": Operation<"/orgs/{org}/issue-fields/{issue_field_id}", "delete">;
|
|
263
311
|
/**
|
|
264
312
|
* @see https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization
|
|
265
313
|
*/
|
|
@@ -332,6 +380,10 @@ export interface Endpoints {
|
|
|
332
380
|
* @see https://docs.github.com/rest/orgs/rules#delete-an-organization-repository-ruleset
|
|
333
381
|
*/
|
|
334
382
|
"DELETE /orgs/{org}/rulesets/{ruleset_id}": Operation<"/orgs/{org}/rulesets/{ruleset_id}", "delete">;
|
|
383
|
+
/**
|
|
384
|
+
* @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-delete-organization-custom-patterns
|
|
385
|
+
*/
|
|
386
|
+
"DELETE /orgs/{org}/secret-scanning/custom-patterns": Operation<"/orgs/{org}/secret-scanning/custom-patterns", "delete">;
|
|
335
387
|
/**
|
|
336
388
|
* @see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team
|
|
337
389
|
*/
|
|
@@ -348,22 +400,6 @@ export interface Endpoints {
|
|
|
348
400
|
* @see https://docs.github.com/rest/teams/teams#delete-a-team
|
|
349
401
|
*/
|
|
350
402
|
"DELETE /orgs/{org}/teams/{team_slug}": Operation<"/orgs/{org}/teams/{team_slug}", "delete">;
|
|
351
|
-
/**
|
|
352
|
-
* @see https://docs.github.com/rest/teams/discussions#delete-a-discussion
|
|
353
|
-
*/
|
|
354
|
-
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", "delete">;
|
|
355
|
-
/**
|
|
356
|
-
* @see https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment
|
|
357
|
-
*/
|
|
358
|
-
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", "delete">;
|
|
359
|
-
/**
|
|
360
|
-
* @see https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction
|
|
361
|
-
*/
|
|
362
|
-
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", "delete">;
|
|
363
|
-
/**
|
|
364
|
-
* @see https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction
|
|
365
|
-
*/
|
|
366
|
-
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", "delete">;
|
|
367
403
|
/**
|
|
368
404
|
* @see https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user
|
|
369
405
|
*/
|
|
@@ -416,6 +452,14 @@ export interface Endpoints {
|
|
|
416
452
|
* @see https://docs.github.com/rest/actions/variables#delete-a-repository-variable
|
|
417
453
|
*/
|
|
418
454
|
"DELETE /repos/{owner}/{repo}/actions/variables/{name}": Operation<"/repos/{owner}/{repo}/actions/variables/{name}", "delete">;
|
|
455
|
+
/**
|
|
456
|
+
* @see https://docs.github.com/rest/agents/secrets#delete-a-repository-secret
|
|
457
|
+
*/
|
|
458
|
+
"DELETE /repos/{owner}/{repo}/agents/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/agents/secrets/{secret_name}", "delete">;
|
|
459
|
+
/**
|
|
460
|
+
* @see https://docs.github.com/rest/agents/variables#delete-a-repository-variable
|
|
461
|
+
*/
|
|
462
|
+
"DELETE /repos/{owner}/{repo}/agents/variables/{name}": Operation<"/repos/{owner}/{repo}/agents/variables/{name}", "delete">;
|
|
419
463
|
/**
|
|
420
464
|
* @see https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository
|
|
421
465
|
*/
|
|
@@ -540,6 +584,10 @@ export interface Endpoints {
|
|
|
540
584
|
* @see https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository
|
|
541
585
|
*/
|
|
542
586
|
"DELETE /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "delete">;
|
|
587
|
+
/**
|
|
588
|
+
* @see https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository
|
|
589
|
+
*/
|
|
590
|
+
"DELETE /repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": Operation<"/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list", "delete">;
|
|
543
591
|
/**
|
|
544
592
|
* @see https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation
|
|
545
593
|
*/
|
|
@@ -548,6 +596,10 @@ export interface Endpoints {
|
|
|
548
596
|
* @see https://docs.github.com/rest/issues/comments#delete-an-issue-comment
|
|
549
597
|
*/
|
|
550
598
|
"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}", "delete">;
|
|
599
|
+
/**
|
|
600
|
+
* @see https://docs.github.com/rest/issues/comments#unpin-an-issue-comment
|
|
601
|
+
*/
|
|
602
|
+
"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/pin": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}/pin", "delete">;
|
|
551
603
|
/**
|
|
552
604
|
* @see https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction
|
|
553
605
|
*/
|
|
@@ -560,6 +612,10 @@ export interface Endpoints {
|
|
|
560
612
|
* @see https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by
|
|
561
613
|
*/
|
|
562
614
|
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}", "delete">;
|
|
615
|
+
/**
|
|
616
|
+
* @see https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue
|
|
617
|
+
*/
|
|
618
|
+
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}", "delete">;
|
|
563
619
|
/**
|
|
564
620
|
* @see https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue
|
|
565
621
|
*/
|
|
@@ -633,13 +689,13 @@ export interface Endpoints {
|
|
|
633
689
|
*/
|
|
634
690
|
"DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}": Operation<"/repos/{owner}/{repo}/rulesets/{ruleset_id}", "delete">;
|
|
635
691
|
/**
|
|
636
|
-
* @see https://docs.github.com/rest/
|
|
692
|
+
* @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-delete-repository-custom-patterns
|
|
637
693
|
*/
|
|
638
|
-
"DELETE /repos/{owner}/{repo}/
|
|
694
|
+
"DELETE /repos/{owner}/{repo}/secret-scanning/custom-patterns": Operation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns", "delete">;
|
|
639
695
|
/**
|
|
640
|
-
* @see https://docs.github.com/rest/
|
|
696
|
+
* @see https://docs.github.com/rest/activity/watching#delete-a-repository-subscription
|
|
641
697
|
*/
|
|
642
|
-
"DELETE /repos/{owner}/{repo}/
|
|
698
|
+
"DELETE /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "delete">;
|
|
643
699
|
/**
|
|
644
700
|
* @see https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts
|
|
645
701
|
*/
|
|
@@ -648,14 +704,6 @@ export interface Endpoints {
|
|
|
648
704
|
* @see https://docs.github.com/rest/teams/teams#delete-a-team-legacy
|
|
649
705
|
*/
|
|
650
706
|
"DELETE /teams/{team_id}": Operation<"/teams/{team_id}", "delete">;
|
|
651
|
-
/**
|
|
652
|
-
* @see https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy
|
|
653
|
-
*/
|
|
654
|
-
"DELETE /teams/{team_id}/discussions/{discussion_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}", "delete">;
|
|
655
|
-
/**
|
|
656
|
-
* @see https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy
|
|
657
|
-
*/
|
|
658
|
-
"DELETE /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "delete">;
|
|
659
707
|
/**
|
|
660
708
|
* @see https://docs.github.com/rest/teams/members#remove-team-member-legacy
|
|
661
709
|
*/
|
|
@@ -748,6 +796,18 @@ export interface Endpoints {
|
|
|
748
796
|
* @see https://docs.github.com/rest/users/attestations#delete-attestations-by-id
|
|
749
797
|
*/
|
|
750
798
|
"DELETE /users/{username}/attestations/{attestation_id}": Operation<"/users/{username}/attestations/{attestation_id}", "delete">;
|
|
799
|
+
/**
|
|
800
|
+
* @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-a-copilot-space-for-a-user
|
|
801
|
+
*/
|
|
802
|
+
"DELETE /users/{username}/copilot-spaces/{space_number}": Operation<"/users/{username}/copilot-spaces/{space_number}", "delete">;
|
|
803
|
+
/**
|
|
804
|
+
* @see https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-a-copilot-space-for-a-user
|
|
805
|
+
*/
|
|
806
|
+
"DELETE /users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}": Operation<"/users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}", "delete">;
|
|
807
|
+
/**
|
|
808
|
+
* @see https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-a-copilot-space-for-a-user
|
|
809
|
+
*/
|
|
810
|
+
"DELETE /users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}", "delete">;
|
|
751
811
|
/**
|
|
752
812
|
* @see https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user
|
|
753
813
|
*/
|
|
@@ -772,6 +832,22 @@ export interface Endpoints {
|
|
|
772
832
|
* @see https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory
|
|
773
833
|
*/
|
|
774
834
|
"GET /advisories/{ghsa_id}": ReadonlyOperation<"/advisories/{ghsa_id}", "get">;
|
|
835
|
+
/**
|
|
836
|
+
* @see https://docs.github.com/rest/agent-tasks/agent-tasks#list-tasks-for-repository
|
|
837
|
+
*/
|
|
838
|
+
"GET /agents/repos/{owner}/{repo}/tasks": ReadonlyOperation<"/agents/repos/{owner}/{repo}/tasks", "get">;
|
|
839
|
+
/**
|
|
840
|
+
* @see https://docs.github.com/rest/agent-tasks/agent-tasks#get-a-task-by-repo
|
|
841
|
+
*/
|
|
842
|
+
"GET /agents/repos/{owner}/{repo}/tasks/{task_id}": ReadonlyOperation<"/agents/repos/{owner}/{repo}/tasks/{task_id}", "get">;
|
|
843
|
+
/**
|
|
844
|
+
* @see https://docs.github.com/rest/agent-tasks/agent-tasks#list-tasks
|
|
845
|
+
*/
|
|
846
|
+
"GET /agents/tasks": ReadonlyOperation<"/agents/tasks", "get">;
|
|
847
|
+
/**
|
|
848
|
+
* @see https://docs.github.com/rest/agent-tasks/agent-tasks#get-a-task-by-id
|
|
849
|
+
*/
|
|
850
|
+
"GET /agents/tasks/{task_id}": ReadonlyOperation<"/agents/tasks/{task_id}", "get">;
|
|
775
851
|
/**
|
|
776
852
|
* @see https://docs.github.com/rest/apps/apps#get-the-authenticated-app
|
|
777
853
|
*/
|
|
@@ -805,27 +881,27 @@ export interface Endpoints {
|
|
|
805
881
|
*/
|
|
806
882
|
"GET /apps/{app_slug}": ReadonlyOperation<"/apps/{app_slug}", "get">;
|
|
807
883
|
/**
|
|
808
|
-
* @see https://docs.github.com/rest/classroom/classroom#get-an-assignment
|
|
884
|
+
* @see https://docs.github.com/rest/classroom/classroom#closing-down---get-an-assignment
|
|
809
885
|
*/
|
|
810
886
|
"GET /assignments/{assignment_id}": ReadonlyOperation<"/assignments/{assignment_id}", "get">;
|
|
811
887
|
/**
|
|
812
|
-
* @see https://docs.github.com/rest/classroom/classroom#list-accepted-assignments-for-an-assignment
|
|
888
|
+
* @see https://docs.github.com/rest/classroom/classroom#closing-down---list-accepted-assignments-for-an-assignment
|
|
813
889
|
*/
|
|
814
890
|
"GET /assignments/{assignment_id}/accepted_assignments": ReadonlyOperation<"/assignments/{assignment_id}/accepted_assignments", "get">;
|
|
815
891
|
/**
|
|
816
|
-
* @see https://docs.github.com/rest/classroom/classroom#get-assignment-grades
|
|
892
|
+
* @see https://docs.github.com/rest/classroom/classroom#closing-down---get-assignment-grades
|
|
817
893
|
*/
|
|
818
894
|
"GET /assignments/{assignment_id}/grades": ReadonlyOperation<"/assignments/{assignment_id}/grades", "get">;
|
|
819
895
|
/**
|
|
820
|
-
* @see https://docs.github.com/rest/classroom/classroom#list-classrooms
|
|
896
|
+
* @see https://docs.github.com/rest/classroom/classroom#closing-down---list-classrooms
|
|
821
897
|
*/
|
|
822
898
|
"GET /classrooms": ReadonlyOperation<"/classrooms", "get">;
|
|
823
899
|
/**
|
|
824
|
-
* @see https://docs.github.com/rest/classroom/classroom#get-a-classroom
|
|
900
|
+
* @see https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom
|
|
825
901
|
*/
|
|
826
902
|
"GET /classrooms/{classroom_id}": ReadonlyOperation<"/classrooms/{classroom_id}", "get">;
|
|
827
903
|
/**
|
|
828
|
-
* @see https://docs.github.com/rest/classroom/classroom#list-assignments-for-a-classroom
|
|
904
|
+
* @see https://docs.github.com/rest/classroom/classroom#closing-down---list-assignments-for-a-classroom
|
|
829
905
|
*/
|
|
830
906
|
"GET /classrooms/{classroom_id}/assignments": ReadonlyOperation<"/classrooms/{classroom_id}/assignments", "get">;
|
|
831
907
|
/**
|
|
@@ -848,6 +924,10 @@ export interface Endpoints {
|
|
|
848
924
|
* @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise
|
|
849
925
|
*/
|
|
850
926
|
"GET /enterprises/{enterprise}/actions/cache/storage-limit": ReadonlyOperation<"/enterprises/{enterprise}/actions/cache/storage-limit", "get">;
|
|
927
|
+
/**
|
|
928
|
+
* @see https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise
|
|
929
|
+
*/
|
|
930
|
+
"GET /enterprises/{enterprise}/actions/oidc/customization/properties/repo": ReadonlyOperation<"/enterprises/{enterprise}/actions/oidc/customization/properties/repo", "get">;
|
|
851
931
|
/**
|
|
852
932
|
* @see https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise
|
|
853
933
|
*/
|
|
@@ -864,10 +944,38 @@ export interface Endpoints {
|
|
|
864
944
|
* @see https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration
|
|
865
945
|
*/
|
|
866
946
|
"GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories": ReadonlyOperation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories", "get">;
|
|
947
|
+
/**
|
|
948
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day
|
|
949
|
+
*/
|
|
950
|
+
"GET /enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day", "get">;
|
|
951
|
+
/**
|
|
952
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics
|
|
953
|
+
*/
|
|
954
|
+
"GET /enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest", "get">;
|
|
955
|
+
/**
|
|
956
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day
|
|
957
|
+
*/
|
|
958
|
+
"GET /enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day", "get">;
|
|
959
|
+
/**
|
|
960
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day
|
|
961
|
+
*/
|
|
962
|
+
"GET /enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day", "get">;
|
|
963
|
+
/**
|
|
964
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day
|
|
965
|
+
*/
|
|
966
|
+
"GET /enterprises/{enterprise}/copilot/metrics/reports/users-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/users-1-day", "get">;
|
|
967
|
+
/**
|
|
968
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics
|
|
969
|
+
*/
|
|
970
|
+
"GET /enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest", "get">;
|
|
867
971
|
/**
|
|
868
972
|
* @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise
|
|
869
973
|
*/
|
|
870
974
|
"GET /enterprises/{enterprise}/dependabot/alerts": ReadonlyOperation<"/enterprises/{enterprise}/dependabot/alerts", "get">;
|
|
975
|
+
/**
|
|
976
|
+
* @see https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise
|
|
977
|
+
*/
|
|
978
|
+
"GET /enterprises/{enterprise}/dependabot/repository-access": ReadonlyOperation<"/enterprises/{enterprise}/dependabot/repository-access", "get">;
|
|
871
979
|
/**
|
|
872
980
|
* @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams
|
|
873
981
|
*/
|
|
@@ -1025,13 +1133,9 @@ export interface Endpoints {
|
|
|
1025
1133
|
*/
|
|
1026
1134
|
"GET /organizations/{org}/actions/cache/storage-limit": ReadonlyOperation<"/organizations/{org}/actions/cache/storage-limit", "get">;
|
|
1027
1135
|
/**
|
|
1028
|
-
* @see https://docs.github.com/rest/
|
|
1029
|
-
*/
|
|
1030
|
-
"GET /organizations/{org}/dependabot/repository-access": ReadonlyOperation<"/organizations/{org}/dependabot/repository-access", "get">;
|
|
1031
|
-
/**
|
|
1032
|
-
* @see https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization
|
|
1136
|
+
* @see https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-organization
|
|
1033
1137
|
*/
|
|
1034
|
-
"GET /organizations/{org}/
|
|
1138
|
+
"GET /organizations/{org}/settings/billing/ai_credit/usage": ReadonlyOperation<"/organizations/{org}/settings/billing/ai_credit/usage", "get">;
|
|
1035
1139
|
/**
|
|
1036
1140
|
* @see https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization
|
|
1037
1141
|
*/
|
|
@@ -1113,6 +1217,10 @@ export interface Endpoints {
|
|
|
1113
1217
|
* @see https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization
|
|
1114
1218
|
*/
|
|
1115
1219
|
"GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}": ReadonlyOperation<"/orgs/{org}/actions/hosted-runners/{hosted_runner_id}", "get">;
|
|
1220
|
+
/**
|
|
1221
|
+
* @see https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization
|
|
1222
|
+
*/
|
|
1223
|
+
"GET /orgs/{org}/actions/oidc/customization/properties/repo": ReadonlyOperation<"/orgs/{org}/actions/oidc/customization/properties/repo", "get">;
|
|
1116
1224
|
/**
|
|
1117
1225
|
* @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization
|
|
1118
1226
|
*/
|
|
@@ -1217,6 +1325,38 @@ export interface Endpoints {
|
|
|
1217
1325
|
* @see https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable
|
|
1218
1326
|
*/
|
|
1219
1327
|
"GET /orgs/{org}/actions/variables/{name}/repositories": ReadonlyOperation<"/orgs/{org}/actions/variables/{name}/repositories", "get">;
|
|
1328
|
+
/**
|
|
1329
|
+
* @see https://docs.github.com/rest/agents/secrets#list-organization-secrets
|
|
1330
|
+
*/
|
|
1331
|
+
"GET /orgs/{org}/agents/secrets": ReadonlyOperation<"/orgs/{org}/agents/secrets", "get">;
|
|
1332
|
+
/**
|
|
1333
|
+
* @see https://docs.github.com/rest/agents/secrets#get-an-organization-public-key
|
|
1334
|
+
*/
|
|
1335
|
+
"GET /orgs/{org}/agents/secrets/public-key": ReadonlyOperation<"/orgs/{org}/agents/secrets/public-key", "get">;
|
|
1336
|
+
/**
|
|
1337
|
+
* @see https://docs.github.com/rest/agents/secrets#get-an-organization-secret
|
|
1338
|
+
*/
|
|
1339
|
+
"GET /orgs/{org}/agents/secrets/{secret_name}": ReadonlyOperation<"/orgs/{org}/agents/secrets/{secret_name}", "get">;
|
|
1340
|
+
/**
|
|
1341
|
+
* @see https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret
|
|
1342
|
+
*/
|
|
1343
|
+
"GET /orgs/{org}/agents/secrets/{secret_name}/repositories": ReadonlyOperation<"/orgs/{org}/agents/secrets/{secret_name}/repositories", "get">;
|
|
1344
|
+
/**
|
|
1345
|
+
* @see https://docs.github.com/rest/agents/variables#list-organization-variables
|
|
1346
|
+
*/
|
|
1347
|
+
"GET /orgs/{org}/agents/variables": ReadonlyOperation<"/orgs/{org}/agents/variables", "get">;
|
|
1348
|
+
/**
|
|
1349
|
+
* @see https://docs.github.com/rest/agents/variables#get-an-organization-variable
|
|
1350
|
+
*/
|
|
1351
|
+
"GET /orgs/{org}/agents/variables/{name}": ReadonlyOperation<"/orgs/{org}/agents/variables/{name}", "get">;
|
|
1352
|
+
/**
|
|
1353
|
+
* @see https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable
|
|
1354
|
+
*/
|
|
1355
|
+
"GET /orgs/{org}/agents/variables/{name}/repositories": ReadonlyOperation<"/orgs/{org}/agents/variables/{name}/repositories", "get">;
|
|
1356
|
+
/**
|
|
1357
|
+
* @see https://docs.github.com/rest/orgs/artifact-metadata#get-cluster-deployment-records-job-status
|
|
1358
|
+
*/
|
|
1359
|
+
"GET /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs/{job_id}": ReadonlyOperation<"/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs/{job_id}", "get">;
|
|
1220
1360
|
/**
|
|
1221
1361
|
* @see https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records
|
|
1222
1362
|
*/
|
|
@@ -1289,6 +1429,26 @@ export interface Endpoints {
|
|
|
1289
1429
|
* @see https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret
|
|
1290
1430
|
*/
|
|
1291
1431
|
"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories": ReadonlyOperation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories", "get">;
|
|
1432
|
+
/**
|
|
1433
|
+
* @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-organization-copilot-spaces
|
|
1434
|
+
*/
|
|
1435
|
+
"GET /orgs/{org}/copilot-spaces": ReadonlyOperation<"/orgs/{org}/copilot-spaces", "get">;
|
|
1436
|
+
/**
|
|
1437
|
+
* @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-an-organization-copilot-space
|
|
1438
|
+
*/
|
|
1439
|
+
"GET /orgs/{org}/copilot-spaces/{space_number}": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}", "get">;
|
|
1440
|
+
/**
|
|
1441
|
+
* @see https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-an-organization-copilot-space
|
|
1442
|
+
*/
|
|
1443
|
+
"GET /orgs/{org}/copilot-spaces/{space_number}/collaborators": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}/collaborators", "get">;
|
|
1444
|
+
/**
|
|
1445
|
+
* @see https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-an-organization-copilot-space
|
|
1446
|
+
*/
|
|
1447
|
+
"GET /orgs/{org}/copilot-spaces/{space_number}/resources": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}/resources", "get">;
|
|
1448
|
+
/**
|
|
1449
|
+
* @see https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-an-organization-copilot-space
|
|
1450
|
+
*/
|
|
1451
|
+
"GET /orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}", "get">;
|
|
1292
1452
|
/**
|
|
1293
1453
|
* @see https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization
|
|
1294
1454
|
*/
|
|
@@ -1298,13 +1458,49 @@ export interface Endpoints {
|
|
|
1298
1458
|
*/
|
|
1299
1459
|
"GET /orgs/{org}/copilot/billing/seats": ReadonlyOperation<"/orgs/{org}/copilot/billing/seats", "get">;
|
|
1300
1460
|
/**
|
|
1301
|
-
* @see https://docs.github.com/rest/copilot/copilot-
|
|
1461
|
+
* @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-cloud-agent-permissions-for-an-organization
|
|
1462
|
+
*/
|
|
1463
|
+
"GET /orgs/{org}/copilot/coding-agent/permissions": ReadonlyOperation<"/orgs/{org}/copilot/coding-agent/permissions", "get">;
|
|
1464
|
+
/**
|
|
1465
|
+
* @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-cloud-agent-in-an-organization
|
|
1466
|
+
*/
|
|
1467
|
+
"GET /orgs/{org}/copilot/coding-agent/permissions/repositories": ReadonlyOperation<"/orgs/{org}/copilot/coding-agent/permissions/repositories", "get">;
|
|
1468
|
+
/**
|
|
1469
|
+
* @see https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization
|
|
1470
|
+
*/
|
|
1471
|
+
"GET /orgs/{org}/copilot/content_exclusion": ReadonlyOperation<"/orgs/{org}/copilot/content_exclusion", "get">;
|
|
1472
|
+
/**
|
|
1473
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day
|
|
1302
1474
|
*/
|
|
1303
|
-
"GET /orgs/{org}/copilot/metrics": ReadonlyOperation<"/orgs/{org}/copilot/metrics", "get">;
|
|
1475
|
+
"GET /orgs/{org}/copilot/metrics/reports/organization-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/organization-1-day", "get">;
|
|
1476
|
+
/**
|
|
1477
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics
|
|
1478
|
+
*/
|
|
1479
|
+
"GET /orgs/{org}/copilot/metrics/reports/organization-28-day/latest": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/organization-28-day/latest", "get">;
|
|
1480
|
+
/**
|
|
1481
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day
|
|
1482
|
+
*/
|
|
1483
|
+
"GET /orgs/{org}/copilot/metrics/reports/repos-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/repos-1-day", "get">;
|
|
1484
|
+
/**
|
|
1485
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-user-teams-report-for-a-specific-day
|
|
1486
|
+
*/
|
|
1487
|
+
"GET /orgs/{org}/copilot/metrics/reports/user-teams-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/user-teams-1-day", "get">;
|
|
1488
|
+
/**
|
|
1489
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day
|
|
1490
|
+
*/
|
|
1491
|
+
"GET /orgs/{org}/copilot/metrics/reports/users-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/users-1-day", "get">;
|
|
1492
|
+
/**
|
|
1493
|
+
* @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics
|
|
1494
|
+
*/
|
|
1495
|
+
"GET /orgs/{org}/copilot/metrics/reports/users-28-day/latest": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/users-28-day/latest", "get">;
|
|
1304
1496
|
/**
|
|
1305
1497
|
* @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization
|
|
1306
1498
|
*/
|
|
1307
1499
|
"GET /orgs/{org}/dependabot/alerts": ReadonlyOperation<"/orgs/{org}/dependabot/alerts", "get">;
|
|
1500
|
+
/**
|
|
1501
|
+
* @see https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization
|
|
1502
|
+
*/
|
|
1503
|
+
"GET /orgs/{org}/dependabot/repository-access": ReadonlyOperation<"/orgs/{org}/dependabot/repository-access", "get">;
|
|
1308
1504
|
/**
|
|
1309
1505
|
* @see https://docs.github.com/rest/dependabot/secrets#list-organization-secrets
|
|
1310
1506
|
*/
|
|
@@ -1401,6 +1597,10 @@ export interface Endpoints {
|
|
|
1401
1597
|
* @see https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization
|
|
1402
1598
|
*/
|
|
1403
1599
|
"GET /orgs/{org}/interaction-limits": ReadonlyOperation<"/orgs/{org}/interaction-limits", "get">;
|
|
1600
|
+
/**
|
|
1601
|
+
* @see https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org
|
|
1602
|
+
*/
|
|
1603
|
+
"GET /orgs/{org}/interaction-limits/pulls/creation-cap": ReadonlyOperation<"/orgs/{org}/interaction-limits/pulls/creation-cap", "get">;
|
|
1404
1604
|
/**
|
|
1405
1605
|
* @see https://docs.github.com/rest/orgs/members#list-pending-organization-invitations
|
|
1406
1606
|
*/
|
|
@@ -1409,6 +1609,10 @@ export interface Endpoints {
|
|
|
1409
1609
|
* @see https://docs.github.com/rest/orgs/members#list-organization-invitation-teams
|
|
1410
1610
|
*/
|
|
1411
1611
|
"GET /orgs/{org}/invitations/{invitation_id}/teams": ReadonlyOperation<"/orgs/{org}/invitations/{invitation_id}/teams", "get">;
|
|
1612
|
+
/**
|
|
1613
|
+
* @see https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization
|
|
1614
|
+
*/
|
|
1615
|
+
"GET /orgs/{org}/issue-fields": ReadonlyOperation<"/orgs/{org}/issue-fields", "get">;
|
|
1412
1616
|
/**
|
|
1413
1617
|
* @see https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization
|
|
1414
1618
|
*/
|
|
@@ -1545,6 +1749,10 @@ export interface Endpoints {
|
|
|
1545
1749
|
* @see https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project
|
|
1546
1750
|
*/
|
|
1547
1751
|
"GET /orgs/{org}/projectsV2/{project_number}/items/{item_id}": ReadonlyOperation<"/orgs/{org}/projectsV2/{project_number}/items/{item_id}", "get">;
|
|
1752
|
+
/**
|
|
1753
|
+
* @see https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view
|
|
1754
|
+
*/
|
|
1755
|
+
"GET /orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": ReadonlyOperation<"/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items", "get">;
|
|
1548
1756
|
/**
|
|
1549
1757
|
* @see https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization
|
|
1550
1758
|
*/
|
|
@@ -1597,6 +1805,10 @@ export interface Endpoints {
|
|
|
1597
1805
|
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization
|
|
1598
1806
|
*/
|
|
1599
1807
|
"GET /orgs/{org}/secret-scanning/alerts": ReadonlyOperation<"/orgs/{org}/secret-scanning/alerts", "get">;
|
|
1808
|
+
/**
|
|
1809
|
+
* @see https://docs.github.com/rest/secret-scanning/custom-patterns#list-organization-custom-patterns
|
|
1810
|
+
*/
|
|
1811
|
+
"GET /orgs/{org}/secret-scanning/custom-patterns": ReadonlyOperation<"/orgs/{org}/secret-scanning/custom-patterns", "get">;
|
|
1600
1812
|
/**
|
|
1601
1813
|
* @see https://docs.github.com/rest/secret-scanning/push-protection#list-organization-pattern-configurations
|
|
1602
1814
|
*/
|
|
@@ -1629,10 +1841,6 @@ export interface Endpoints {
|
|
|
1629
1841
|
* @see https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization
|
|
1630
1842
|
*/
|
|
1631
1843
|
"GET /orgs/{org}/settings/network-settings/{network_settings_id}": ReadonlyOperation<"/orgs/{org}/settings/network-settings/{network_settings_id}", "get">;
|
|
1632
|
-
/**
|
|
1633
|
-
* @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team
|
|
1634
|
-
*/
|
|
1635
|
-
"GET /orgs/{org}/team/{team_slug}/copilot/metrics": ReadonlyOperation<"/orgs/{org}/team/{team_slug}/copilot/metrics", "get">;
|
|
1636
1844
|
/**
|
|
1637
1845
|
* @see https://docs.github.com/rest/teams/teams#list-teams
|
|
1638
1846
|
*/
|
|
@@ -1641,30 +1849,6 @@ export interface Endpoints {
|
|
|
1641
1849
|
* @see https://docs.github.com/rest/teams/teams#get-a-team-by-name
|
|
1642
1850
|
*/
|
|
1643
1851
|
"GET /orgs/{org}/teams/{team_slug}": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}", "get">;
|
|
1644
|
-
/**
|
|
1645
|
-
* @see https://docs.github.com/rest/teams/discussions#list-discussions
|
|
1646
|
-
*/
|
|
1647
|
-
"GET /orgs/{org}/teams/{team_slug}/discussions": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions", "get">;
|
|
1648
|
-
/**
|
|
1649
|
-
* @see https://docs.github.com/rest/teams/discussions#get-a-discussion
|
|
1650
|
-
*/
|
|
1651
|
-
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", "get">;
|
|
1652
|
-
/**
|
|
1653
|
-
* @see https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments
|
|
1654
|
-
*/
|
|
1655
|
-
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "get">;
|
|
1656
|
-
/**
|
|
1657
|
-
* @see https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment
|
|
1658
|
-
*/
|
|
1659
|
-
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", "get">;
|
|
1660
|
-
/**
|
|
1661
|
-
* @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment
|
|
1662
|
-
*/
|
|
1663
|
-
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "get">;
|
|
1664
|
-
/**
|
|
1665
|
-
* @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion
|
|
1666
|
-
*/
|
|
1667
|
-
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "get">;
|
|
1668
1852
|
/**
|
|
1669
1853
|
* @see https://docs.github.com/rest/teams/members#list-pending-team-invitations
|
|
1670
1854
|
*/
|
|
@@ -1725,6 +1909,14 @@ export interface Endpoints {
|
|
|
1725
1909
|
* @see https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository
|
|
1726
1910
|
*/
|
|
1727
1911
|
"GET /repos/{owner}/{repo}/actions/caches": ReadonlyOperation<"/repos/{owner}/{repo}/actions/caches", "get">;
|
|
1912
|
+
/**
|
|
1913
|
+
* @see https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository
|
|
1914
|
+
*/
|
|
1915
|
+
"GET /repos/{owner}/{repo}/actions/concurrency_groups": ReadonlyOperation<"/repos/{owner}/{repo}/actions/concurrency_groups", "get">;
|
|
1916
|
+
/**
|
|
1917
|
+
* @see https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository
|
|
1918
|
+
*/
|
|
1919
|
+
"GET /repos/{owner}/{repo}/actions/concurrency_groups/{concurrency_group_name}": ReadonlyOperation<"/repos/{owner}/{repo}/actions/concurrency_groups/{concurrency_group_name}", "get">;
|
|
1728
1920
|
/**
|
|
1729
1921
|
* @see https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run
|
|
1730
1922
|
*/
|
|
@@ -1817,6 +2009,10 @@ export interface Endpoints {
|
|
|
1817
2009
|
* @see https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs
|
|
1818
2010
|
*/
|
|
1819
2011
|
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs": ReadonlyOperation<"/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs", "get">;
|
|
2012
|
+
/**
|
|
2013
|
+
* @see https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run
|
|
2014
|
+
*/
|
|
2015
|
+
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/concurrency_groups": ReadonlyOperation<"/repos/{owner}/{repo}/actions/runs/{run_id}/concurrency_groups", "get">;
|
|
1820
2016
|
/**
|
|
1821
2017
|
* @see https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run
|
|
1822
2018
|
*/
|
|
@@ -1873,6 +2069,34 @@ export interface Endpoints {
|
|
|
1873
2069
|
* @see https://docs.github.com/rest/repos/repos#list-repository-activities
|
|
1874
2070
|
*/
|
|
1875
2071
|
"GET /repos/{owner}/{repo}/activity": ReadonlyOperation<"/repos/{owner}/{repo}/activity", "get">;
|
|
2072
|
+
/**
|
|
2073
|
+
* @see https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets
|
|
2074
|
+
*/
|
|
2075
|
+
"GET /repos/{owner}/{repo}/agents/organization-secrets": ReadonlyOperation<"/repos/{owner}/{repo}/agents/organization-secrets", "get">;
|
|
2076
|
+
/**
|
|
2077
|
+
* @see https://docs.github.com/rest/agents/variables#list-repository-organization-variables
|
|
2078
|
+
*/
|
|
2079
|
+
"GET /repos/{owner}/{repo}/agents/organization-variables": ReadonlyOperation<"/repos/{owner}/{repo}/agents/organization-variables", "get">;
|
|
2080
|
+
/**
|
|
2081
|
+
* @see https://docs.github.com/rest/agents/secrets#list-repository-secrets
|
|
2082
|
+
*/
|
|
2083
|
+
"GET /repos/{owner}/{repo}/agents/secrets": ReadonlyOperation<"/repos/{owner}/{repo}/agents/secrets", "get">;
|
|
2084
|
+
/**
|
|
2085
|
+
* @see https://docs.github.com/rest/agents/secrets#get-a-repository-public-key
|
|
2086
|
+
*/
|
|
2087
|
+
"GET /repos/{owner}/{repo}/agents/secrets/public-key": ReadonlyOperation<"/repos/{owner}/{repo}/agents/secrets/public-key", "get">;
|
|
2088
|
+
/**
|
|
2089
|
+
* @see https://docs.github.com/rest/agents/secrets#get-a-repository-secret
|
|
2090
|
+
*/
|
|
2091
|
+
"GET /repos/{owner}/{repo}/agents/secrets/{secret_name}": ReadonlyOperation<"/repos/{owner}/{repo}/agents/secrets/{secret_name}", "get">;
|
|
2092
|
+
/**
|
|
2093
|
+
* @see https://docs.github.com/rest/agents/variables#list-repository-variables
|
|
2094
|
+
*/
|
|
2095
|
+
"GET /repos/{owner}/{repo}/agents/variables": ReadonlyOperation<"/repos/{owner}/{repo}/agents/variables", "get">;
|
|
2096
|
+
/**
|
|
2097
|
+
* @see https://docs.github.com/rest/agents/variables#get-a-repository-variable
|
|
2098
|
+
*/
|
|
2099
|
+
"GET /repos/{owner}/{repo}/agents/variables/{name}": ReadonlyOperation<"/repos/{owner}/{repo}/agents/variables/{name}", "get">;
|
|
1876
2100
|
/**
|
|
1877
2101
|
* @see https://docs.github.com/rest/issues/assignees#list-assignees
|
|
1878
2102
|
*/
|
|
@@ -1961,6 +2185,18 @@ export interface Endpoints {
|
|
|
1961
2185
|
* @see https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite
|
|
1962
2186
|
*/
|
|
1963
2187
|
"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": ReadonlyOperation<"/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", "get">;
|
|
2188
|
+
/**
|
|
2189
|
+
* @see https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository
|
|
2190
|
+
*/
|
|
2191
|
+
"GET /repos/{owner}/{repo}/code-quality/findings": ReadonlyOperation<"/repos/{owner}/{repo}/code-quality/findings", "get">;
|
|
2192
|
+
/**
|
|
2193
|
+
* @see https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding
|
|
2194
|
+
*/
|
|
2195
|
+
"GET /repos/{owner}/{repo}/code-quality/findings/{finding_number}": ReadonlyOperation<"/repos/{owner}/{repo}/code-quality/findings/{finding_number}", "get">;
|
|
2196
|
+
/**
|
|
2197
|
+
* @see https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration
|
|
2198
|
+
*/
|
|
2199
|
+
"GET /repos/{owner}/{repo}/code-quality/setup": ReadonlyOperation<"/repos/{owner}/{repo}/code-quality/setup", "get">;
|
|
1964
2200
|
/**
|
|
1965
2201
|
* @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository
|
|
1966
2202
|
*/
|
|
@@ -2134,6 +2370,10 @@ export interface Endpoints {
|
|
|
2134
2370
|
* @see https://docs.github.com/rest/repos/repos#list-repository-contributors
|
|
2135
2371
|
*/
|
|
2136
2372
|
"GET /repos/{owner}/{repo}/contributors": ReadonlyOperation<"/repos/{owner}/{repo}/contributors", "get">;
|
|
2373
|
+
/**
|
|
2374
|
+
* @see https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository
|
|
2375
|
+
*/
|
|
2376
|
+
"GET /repos/{owner}/{repo}/copilot/cloud-agent/configuration": ReadonlyOperation<"/repos/{owner}/{repo}/copilot/cloud-agent/configuration", "get">;
|
|
2137
2377
|
/**
|
|
2138
2378
|
* @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository
|
|
2139
2379
|
*/
|
|
@@ -2162,6 +2402,14 @@ export interface Endpoints {
|
|
|
2162
2402
|
* @see https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository
|
|
2163
2403
|
*/
|
|
2164
2404
|
"GET /repos/{owner}/{repo}/dependency-graph/sbom": ReadonlyOperation<"/repos/{owner}/{repo}/dependency-graph/sbom", "get">;
|
|
2405
|
+
/**
|
|
2406
|
+
* @see https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository
|
|
2407
|
+
*/
|
|
2408
|
+
"GET /repos/{owner}/{repo}/dependency-graph/sbom/fetch-report/{sbom_uuid}": ReadonlyOperation<"/repos/{owner}/{repo}/dependency-graph/sbom/fetch-report/{sbom_uuid}", "get">;
|
|
2409
|
+
/**
|
|
2410
|
+
* @see https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository
|
|
2411
|
+
*/
|
|
2412
|
+
"GET /repos/{owner}/{repo}/dependency-graph/sbom/generate-report": ReadonlyOperation<"/repos/{owner}/{repo}/dependency-graph/sbom/generate-report", "get">;
|
|
2165
2413
|
/**
|
|
2166
2414
|
* @see https://docs.github.com/rest/deployments/deployments#list-deployments
|
|
2167
2415
|
*/
|
|
@@ -2258,6 +2506,10 @@ export interface Endpoints {
|
|
|
2258
2506
|
* @see https://docs.github.com/rest/git/trees#get-a-tree
|
|
2259
2507
|
*/
|
|
2260
2508
|
"GET /repos/{owner}/{repo}/git/trees/{tree_sha}": ReadonlyOperation<"/repos/{owner}/{repo}/git/trees/{tree_sha}", "get">;
|
|
2509
|
+
/**
|
|
2510
|
+
* @see https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository
|
|
2511
|
+
*/
|
|
2512
|
+
"GET /repos/{owner}/{repo}/hash-algorithm": ReadonlyOperation<"/repos/{owner}/{repo}/hash-algorithm", "get">;
|
|
2261
2513
|
/**
|
|
2262
2514
|
* @see https://docs.github.com/rest/repos/webhooks#list-repository-webhooks
|
|
2263
2515
|
*/
|
|
@@ -2302,10 +2554,22 @@ export interface Endpoints {
|
|
|
2302
2554
|
* @see https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository
|
|
2303
2555
|
*/
|
|
2304
2556
|
"GET /repos/{owner}/{repo}/interaction-limits": ReadonlyOperation<"/repos/{owner}/{repo}/interaction-limits", "get">;
|
|
2557
|
+
/**
|
|
2558
|
+
* @see https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository
|
|
2559
|
+
*/
|
|
2560
|
+
"GET /repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": ReadonlyOperation<"/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list", "get">;
|
|
2561
|
+
/**
|
|
2562
|
+
* @see https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository
|
|
2563
|
+
*/
|
|
2564
|
+
"GET /repos/{owner}/{repo}/interaction-limits/pulls/creation-cap": ReadonlyOperation<"/repos/{owner}/{repo}/interaction-limits/pulls/creation-cap", "get">;
|
|
2305
2565
|
/**
|
|
2306
2566
|
* @see https://docs.github.com/rest/collaborators/invitations#list-repository-invitations
|
|
2307
2567
|
*/
|
|
2308
2568
|
"GET /repos/{owner}/{repo}/invitations": ReadonlyOperation<"/repos/{owner}/{repo}/invitations", "get">;
|
|
2569
|
+
/**
|
|
2570
|
+
* @see https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository
|
|
2571
|
+
*/
|
|
2572
|
+
"GET /repos/{owner}/{repo}/issue-types": ReadonlyOperation<"/repos/{owner}/{repo}/issue-types", "get">;
|
|
2309
2573
|
/**
|
|
2310
2574
|
* @see https://docs.github.com/rest/issues/issues#list-repository-issues
|
|
2311
2575
|
*/
|
|
@@ -2354,6 +2618,10 @@ export interface Endpoints {
|
|
|
2354
2618
|
* @see https://docs.github.com/rest/issues/events#list-issue-events
|
|
2355
2619
|
*/
|
|
2356
2620
|
"GET /repos/{owner}/{repo}/issues/{issue_number}/events": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/events", "get">;
|
|
2621
|
+
/**
|
|
2622
|
+
* @see https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue
|
|
2623
|
+
*/
|
|
2624
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values", "get">;
|
|
2357
2625
|
/**
|
|
2358
2626
|
* @see https://docs.github.com/rest/issues/labels#list-labels-for-an-issue
|
|
2359
2627
|
*/
|
|
@@ -2370,6 +2638,10 @@ export interface Endpoints {
|
|
|
2370
2638
|
* @see https://docs.github.com/rest/issues/sub-issues#list-sub-issues
|
|
2371
2639
|
*/
|
|
2372
2640
|
"GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "get">;
|
|
2641
|
+
/**
|
|
2642
|
+
* @see https://docs.github.com/rest/issues/issues#list-issue-suggestions
|
|
2643
|
+
*/
|
|
2644
|
+
"GET /repos/{owner}/{repo}/issues/{issue_number}/suggestions": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/suggestions", "get">;
|
|
2373
2645
|
/**
|
|
2374
2646
|
* @see https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue
|
|
2375
2647
|
*/
|
|
@@ -2482,6 +2754,10 @@ export interface Endpoints {
|
|
|
2482
2754
|
* @see https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged
|
|
2483
2755
|
*/
|
|
2484
2756
|
"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge": ReadonlyOperation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge", "get">;
|
|
2757
|
+
/**
|
|
2758
|
+
* @see https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge
|
|
2759
|
+
*/
|
|
2760
|
+
"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": ReadonlyOperation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}", "get">;
|
|
2485
2761
|
/**
|
|
2486
2762
|
* @see https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request
|
|
2487
2763
|
*/
|
|
@@ -2574,6 +2850,10 @@ export interface Endpoints {
|
|
|
2574
2850
|
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert
|
|
2575
2851
|
*/
|
|
2576
2852
|
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations": ReadonlyOperation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "get">;
|
|
2853
|
+
/**
|
|
2854
|
+
* @see https://docs.github.com/rest/secret-scanning/custom-patterns#list-repository-custom-patterns
|
|
2855
|
+
*/
|
|
2856
|
+
"GET /repos/{owner}/{repo}/secret-scanning/custom-patterns": ReadonlyOperation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns", "get">;
|
|
2577
2857
|
/**
|
|
2578
2858
|
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository
|
|
2579
2859
|
*/
|
|
@@ -2586,10 +2866,22 @@ export interface Endpoints {
|
|
|
2586
2866
|
* @see https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory
|
|
2587
2867
|
*/
|
|
2588
2868
|
"GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}": ReadonlyOperation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}", "get">;
|
|
2869
|
+
/**
|
|
2870
|
+
* @see https://docs.github.com/rest/pulls/stacks#list-pull-request-stacks
|
|
2871
|
+
*/
|
|
2872
|
+
"GET /repos/{owner}/{repo}/stacks": ReadonlyOperation<"/repos/{owner}/{repo}/stacks", "get">;
|
|
2873
|
+
/**
|
|
2874
|
+
* @see https://docs.github.com/rest/pulls/stacks#get-a-pull-request-stack
|
|
2875
|
+
*/
|
|
2876
|
+
"GET /repos/{owner}/{repo}/stacks/{stack_number}": ReadonlyOperation<"/repos/{owner}/{repo}/stacks/{stack_number}", "get">;
|
|
2589
2877
|
/**
|
|
2590
2878
|
* @see https://docs.github.com/rest/activity/starring#list-stargazers
|
|
2591
2879
|
*/
|
|
2592
2880
|
"GET /repos/{owner}/{repo}/stargazers": ReadonlyOperation<"/repos/{owner}/{repo}/stargazers", "get">;
|
|
2881
|
+
/**
|
|
2882
|
+
* @see https://docs.github.com/rest/activity/starring#get-stargazer-count
|
|
2883
|
+
*/
|
|
2884
|
+
"GET /repos/{owner}/{repo}/stargazers/count": ReadonlyOperation<"/repos/{owner}/{repo}/stargazers/count", "get">;
|
|
2593
2885
|
/**
|
|
2594
2886
|
* @see https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity
|
|
2595
2887
|
*/
|
|
@@ -2622,10 +2914,6 @@ export interface Endpoints {
|
|
|
2622
2914
|
* @see https://docs.github.com/rest/repos/repos#list-repository-tags
|
|
2623
2915
|
*/
|
|
2624
2916
|
"GET /repos/{owner}/{repo}/tags": ReadonlyOperation<"/repos/{owner}/{repo}/tags", "get">;
|
|
2625
|
-
/**
|
|
2626
|
-
* @see https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository
|
|
2627
|
-
*/
|
|
2628
|
-
"GET /repos/{owner}/{repo}/tags/protection": ReadonlyOperation<"/repos/{owner}/{repo}/tags/protection", "get">;
|
|
2629
2917
|
/**
|
|
2630
2918
|
* @see https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar
|
|
2631
2919
|
*/
|
|
@@ -2698,30 +2986,6 @@ export interface Endpoints {
|
|
|
2698
2986
|
* @see https://docs.github.com/rest/teams/teams#get-a-team-legacy
|
|
2699
2987
|
*/
|
|
2700
2988
|
"GET /teams/{team_id}": ReadonlyOperation<"/teams/{team_id}", "get">;
|
|
2701
|
-
/**
|
|
2702
|
-
* @see https://docs.github.com/rest/teams/discussions#list-discussions-legacy
|
|
2703
|
-
*/
|
|
2704
|
-
"GET /teams/{team_id}/discussions": ReadonlyOperation<"/teams/{team_id}/discussions", "get">;
|
|
2705
|
-
/**
|
|
2706
|
-
* @see https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy
|
|
2707
|
-
*/
|
|
2708
|
-
"GET /teams/{team_id}/discussions/{discussion_number}": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}", "get">;
|
|
2709
|
-
/**
|
|
2710
|
-
* @see https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy
|
|
2711
|
-
*/
|
|
2712
|
-
"GET /teams/{team_id}/discussions/{discussion_number}/comments": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/comments", "get">;
|
|
2713
|
-
/**
|
|
2714
|
-
* @see https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy
|
|
2715
|
-
*/
|
|
2716
|
-
"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "get">;
|
|
2717
|
-
/**
|
|
2718
|
-
* @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy
|
|
2719
|
-
*/
|
|
2720
|
-
"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "get">;
|
|
2721
|
-
/**
|
|
2722
|
-
* @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy
|
|
2723
|
-
*/
|
|
2724
|
-
"GET /teams/{team_id}/discussions/{discussion_number}/reactions": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/reactions", "get">;
|
|
2725
2989
|
/**
|
|
2726
2990
|
* @see https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy
|
|
2727
2991
|
*/
|
|
@@ -2954,6 +3218,26 @@ export interface Endpoints {
|
|
|
2954
3218
|
* @see https://docs.github.com/rest/users/attestations#list-attestations
|
|
2955
3219
|
*/
|
|
2956
3220
|
"GET /users/{username}/attestations/{subject_digest}": ReadonlyOperation<"/users/{username}/attestations/{subject_digest}", "get">;
|
|
3221
|
+
/**
|
|
3222
|
+
* @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-copilot-spaces-for-a-user
|
|
3223
|
+
*/
|
|
3224
|
+
"GET /users/{username}/copilot-spaces": ReadonlyOperation<"/users/{username}/copilot-spaces", "get">;
|
|
3225
|
+
/**
|
|
3226
|
+
* @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-a-copilot-space-for-a-user
|
|
3227
|
+
*/
|
|
3228
|
+
"GET /users/{username}/copilot-spaces/{space_number}": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}", "get">;
|
|
3229
|
+
/**
|
|
3230
|
+
* @see https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-a-copilot-space-for-a-user
|
|
3231
|
+
*/
|
|
3232
|
+
"GET /users/{username}/copilot-spaces/{space_number}/collaborators": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}/collaborators", "get">;
|
|
3233
|
+
/**
|
|
3234
|
+
* @see https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-a-copilot-space-for-a-user
|
|
3235
|
+
*/
|
|
3236
|
+
"GET /users/{username}/copilot-spaces/{space_number}/resources": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}/resources", "get">;
|
|
3237
|
+
/**
|
|
3238
|
+
* @see https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-a-copilot-space-for-a-user
|
|
3239
|
+
*/
|
|
3240
|
+
"GET /users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}", "get">;
|
|
2957
3241
|
/**
|
|
2958
3242
|
* @see https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user
|
|
2959
3243
|
*/
|
|
@@ -3046,6 +3330,10 @@ export interface Endpoints {
|
|
|
3046
3330
|
* @see https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project
|
|
3047
3331
|
*/
|
|
3048
3332
|
"GET /users/{username}/projectsV2/{project_number}/items/{item_id}": ReadonlyOperation<"/users/{username}/projectsV2/{project_number}/items/{item_id}", "get">;
|
|
3333
|
+
/**
|
|
3334
|
+
* @see https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view
|
|
3335
|
+
*/
|
|
3336
|
+
"GET /users/{username}/projectsV2/{project_number}/views/{view_number}/items": ReadonlyOperation<"/users/{username}/projectsV2/{project_number}/views/{view_number}/items", "get">;
|
|
3049
3337
|
/**
|
|
3050
3338
|
* @see https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user
|
|
3051
3339
|
*/
|
|
@@ -3058,6 +3346,10 @@ export interface Endpoints {
|
|
|
3058
3346
|
* @see https://docs.github.com/rest/repos/repos#list-repositories-for-a-user
|
|
3059
3347
|
*/
|
|
3060
3348
|
"GET /users/{username}/repos": ReadonlyOperation<"/users/{username}/repos", "get">;
|
|
3349
|
+
/**
|
|
3350
|
+
* @see https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-a-user
|
|
3351
|
+
*/
|
|
3352
|
+
"GET /users/{username}/settings/billing/ai_credit/usage": ReadonlyOperation<"/users/{username}/settings/billing/ai_credit/usage", "get">;
|
|
3061
3353
|
/**
|
|
3062
3354
|
* @see https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user
|
|
3063
3355
|
*/
|
|
@@ -3106,6 +3398,10 @@ export interface Endpoints {
|
|
|
3106
3398
|
* @see https://docs.github.com/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise
|
|
3107
3399
|
*/
|
|
3108
3400
|
"PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "patch">;
|
|
3401
|
+
/**
|
|
3402
|
+
* @see https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise
|
|
3403
|
+
*/
|
|
3404
|
+
"PATCH /enterprises/{enterprise}/dependabot/repository-access": Operation<"/enterprises/{enterprise}/dependabot/repository-access", "patch">;
|
|
3109
3405
|
/**
|
|
3110
3406
|
* @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team
|
|
3111
3407
|
*/
|
|
@@ -3122,14 +3418,6 @@ export interface Endpoints {
|
|
|
3122
3418
|
* @see https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read
|
|
3123
3419
|
*/
|
|
3124
3420
|
"PATCH /notifications/threads/{thread_id}": Operation<"/notifications/threads/{thread_id}", "patch">;
|
|
3125
|
-
/**
|
|
3126
|
-
* @see https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization
|
|
3127
|
-
*/
|
|
3128
|
-
"PATCH /organizations/{org}/dependabot/repository-access": Operation<"/organizations/{org}/dependabot/repository-access", "patch">;
|
|
3129
|
-
/**
|
|
3130
|
-
* @see https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization
|
|
3131
|
-
*/
|
|
3132
|
-
"PATCH /organizations/{org}/org-properties/values": Operation<"/organizations/{org}/org-properties/values", "patch">;
|
|
3133
3421
|
/**
|
|
3134
3422
|
* @see https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization
|
|
3135
3423
|
*/
|
|
@@ -3150,6 +3438,10 @@ export interface Endpoints {
|
|
|
3150
3438
|
* @see https://docs.github.com/rest/actions/variables#update-an-organization-variable
|
|
3151
3439
|
*/
|
|
3152
3440
|
"PATCH /orgs/{org}/actions/variables/{name}": Operation<"/orgs/{org}/actions/variables/{name}", "patch">;
|
|
3441
|
+
/**
|
|
3442
|
+
* @see https://docs.github.com/rest/agents/variables#update-an-organization-variable
|
|
3443
|
+
*/
|
|
3444
|
+
"PATCH /orgs/{org}/agents/variables/{name}": Operation<"/orgs/{org}/agents/variables/{name}", "patch">;
|
|
3153
3445
|
/**
|
|
3154
3446
|
* @see https://docs.github.com/rest/campaigns/campaigns#update-a-campaign
|
|
3155
3447
|
*/
|
|
@@ -3158,6 +3450,10 @@ export interface Endpoints {
|
|
|
3158
3450
|
* @see https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration
|
|
3159
3451
|
*/
|
|
3160
3452
|
"PATCH /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "patch">;
|
|
3453
|
+
/**
|
|
3454
|
+
* @see https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization
|
|
3455
|
+
*/
|
|
3456
|
+
"PATCH /orgs/{org}/dependabot/repository-access": Operation<"/orgs/{org}/dependabot/repository-access", "patch">;
|
|
3161
3457
|
/**
|
|
3162
3458
|
* @see https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook
|
|
3163
3459
|
*/
|
|
@@ -3166,6 +3462,14 @@ export interface Endpoints {
|
|
|
3166
3462
|
* @see https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization
|
|
3167
3463
|
*/
|
|
3168
3464
|
"PATCH /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "patch">;
|
|
3465
|
+
/**
|
|
3466
|
+
* @see https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org
|
|
3467
|
+
*/
|
|
3468
|
+
"PATCH /orgs/{org}/interaction-limits/pulls/creation-cap": Operation<"/orgs/{org}/interaction-limits/pulls/creation-cap", "patch">;
|
|
3469
|
+
/**
|
|
3470
|
+
* @see https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization
|
|
3471
|
+
*/
|
|
3472
|
+
"PATCH /orgs/{org}/issue-fields/{issue_field_id}": Operation<"/orgs/{org}/issue-fields/{issue_field_id}", "patch">;
|
|
3169
3473
|
/**
|
|
3170
3474
|
* @see https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization
|
|
3171
3475
|
*/
|
|
@@ -3182,6 +3486,10 @@ export interface Endpoints {
|
|
|
3182
3486
|
* @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories
|
|
3183
3487
|
*/
|
|
3184
3488
|
"PATCH /orgs/{org}/properties/values": Operation<"/orgs/{org}/properties/values", "patch">;
|
|
3489
|
+
/**
|
|
3490
|
+
* @see https://docs.github.com/rest/secret-scanning/custom-patterns#update-an-organization-custom-pattern
|
|
3491
|
+
*/
|
|
3492
|
+
"PATCH /orgs/{org}/secret-scanning/custom-patterns/{pattern_id}": Operation<"/orgs/{org}/secret-scanning/custom-patterns/{pattern_id}", "patch">;
|
|
3185
3493
|
/**
|
|
3186
3494
|
* @see https://docs.github.com/rest/secret-scanning/push-protection#update-organization-pattern-configurations
|
|
3187
3495
|
*/
|
|
@@ -3194,14 +3502,6 @@ export interface Endpoints {
|
|
|
3194
3502
|
* @see https://docs.github.com/rest/teams/teams#update-a-team
|
|
3195
3503
|
*/
|
|
3196
3504
|
"PATCH /orgs/{org}/teams/{team_slug}": Operation<"/orgs/{org}/teams/{team_slug}", "patch">;
|
|
3197
|
-
/**
|
|
3198
|
-
* @see https://docs.github.com/rest/teams/discussions#update-a-discussion
|
|
3199
|
-
*/
|
|
3200
|
-
"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", "patch">;
|
|
3201
|
-
/**
|
|
3202
|
-
* @see https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment
|
|
3203
|
-
*/
|
|
3204
|
-
"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", "patch">;
|
|
3205
3505
|
/**
|
|
3206
3506
|
* @see https://docs.github.com/rest/repos/repos#update-a-repository
|
|
3207
3507
|
*/
|
|
@@ -3210,6 +3510,10 @@ export interface Endpoints {
|
|
|
3210
3510
|
* @see https://docs.github.com/rest/actions/variables#update-a-repository-variable
|
|
3211
3511
|
*/
|
|
3212
3512
|
"PATCH /repos/{owner}/{repo}/actions/variables/{name}": Operation<"/repos/{owner}/{repo}/actions/variables/{name}", "patch">;
|
|
3513
|
+
/**
|
|
3514
|
+
* @see https://docs.github.com/rest/agents/variables#update-a-repository-variable
|
|
3515
|
+
*/
|
|
3516
|
+
"PATCH /repos/{owner}/{repo}/agents/variables/{name}": Operation<"/repos/{owner}/{repo}/agents/variables/{name}", "patch">;
|
|
3213
3517
|
/**
|
|
3214
3518
|
* @see https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection
|
|
3215
3519
|
*/
|
|
@@ -3226,6 +3530,10 @@ export interface Endpoints {
|
|
|
3226
3530
|
* @see https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites
|
|
3227
3531
|
*/
|
|
3228
3532
|
"PATCH /repos/{owner}/{repo}/check-suites/preferences": Operation<"/repos/{owner}/{repo}/check-suites/preferences", "patch">;
|
|
3533
|
+
/**
|
|
3534
|
+
* @see https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration
|
|
3535
|
+
*/
|
|
3536
|
+
"PATCH /repos/{owner}/{repo}/code-quality/setup": Operation<"/repos/{owner}/{repo}/code-quality/setup", "patch">;
|
|
3229
3537
|
/**
|
|
3230
3538
|
* @see https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert
|
|
3231
3539
|
*/
|
|
@@ -3270,6 +3578,10 @@ export interface Endpoints {
|
|
|
3270
3578
|
* @see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference
|
|
3271
3579
|
*/
|
|
3272
3580
|
"PATCH /repos/{owner}/{repo}/import/lfs": Operation<"/repos/{owner}/{repo}/import/lfs", "patch">;
|
|
3581
|
+
/**
|
|
3582
|
+
* @see https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository
|
|
3583
|
+
*/
|
|
3584
|
+
"PATCH /repos/{owner}/{repo}/interaction-limits/pulls/creation-cap": Operation<"/repos/{owner}/{repo}/interaction-limits/pulls/creation-cap", "patch">;
|
|
3273
3585
|
/**
|
|
3274
3586
|
* @see https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation
|
|
3275
3587
|
*/
|
|
@@ -3318,6 +3630,10 @@ export interface Endpoints {
|
|
|
3318
3630
|
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert
|
|
3319
3631
|
*/
|
|
3320
3632
|
"PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", "patch">;
|
|
3633
|
+
/**
|
|
3634
|
+
* @see https://docs.github.com/rest/secret-scanning/custom-patterns#update-a-repository-custom-pattern
|
|
3635
|
+
*/
|
|
3636
|
+
"PATCH /repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": Operation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}", "patch">;
|
|
3321
3637
|
/**
|
|
3322
3638
|
* @see https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory
|
|
3323
3639
|
*/
|
|
@@ -3326,14 +3642,6 @@ export interface Endpoints {
|
|
|
3326
3642
|
* @see https://docs.github.com/rest/teams/teams#update-a-team-legacy
|
|
3327
3643
|
*/
|
|
3328
3644
|
"PATCH /teams/{team_id}": Operation<"/teams/{team_id}", "patch">;
|
|
3329
|
-
/**
|
|
3330
|
-
* @see https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy
|
|
3331
|
-
*/
|
|
3332
|
-
"PATCH /teams/{team_id}/discussions/{discussion_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}", "patch">;
|
|
3333
|
-
/**
|
|
3334
|
-
* @see https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy
|
|
3335
|
-
*/
|
|
3336
|
-
"PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "patch">;
|
|
3337
3645
|
/**
|
|
3338
3646
|
* @see https://docs.github.com/rest/users/users#update-the-authenticated-user
|
|
3339
3647
|
*/
|
|
@@ -3358,6 +3666,10 @@ export interface Endpoints {
|
|
|
3358
3666
|
* @see https://docs.github.com/rest/projects/items#update-project-item-for-user
|
|
3359
3667
|
*/
|
|
3360
3668
|
"PATCH /users/{username}/projectsV2/{project_number}/items/{item_id}": Operation<"/users/{username}/projectsV2/{project_number}/items/{item_id}", "patch">;
|
|
3669
|
+
/**
|
|
3670
|
+
* @see https://docs.github.com/rest/agent-tasks/agent-tasks#start-a-task
|
|
3671
|
+
*/
|
|
3672
|
+
"POST /agents/repos/{owner}/{repo}/tasks": Operation<"/agents/repos/{owner}/{repo}/tasks", "post">;
|
|
3361
3673
|
/**
|
|
3362
3674
|
* @see https://docs.github.com/rest/apps/apps#create-a-github-app-from-a-manifest
|
|
3363
3675
|
*/
|
|
@@ -3382,6 +3694,10 @@ export interface Endpoints {
|
|
|
3382
3694
|
* @see https://docs.github.com/rest/credentials/revoke#revoke-a-list-of-credentials
|
|
3383
3695
|
*/
|
|
3384
3696
|
"POST /credentials/revoke": Operation<"/credentials/revoke", "post">;
|
|
3697
|
+
/**
|
|
3698
|
+
* @see https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise
|
|
3699
|
+
*/
|
|
3700
|
+
"POST /enterprises/{enterprise}/actions/oidc/customization/properties/repo": Operation<"/enterprises/{enterprise}/actions/oidc/customization/properties/repo", "post">;
|
|
3385
3701
|
/**
|
|
3386
3702
|
* @see https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise
|
|
3387
3703
|
*/
|
|
@@ -3390,6 +3706,10 @@ export interface Endpoints {
|
|
|
3390
3706
|
* @see https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories
|
|
3391
3707
|
*/
|
|
3392
3708
|
"POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach", "post">;
|
|
3709
|
+
/**
|
|
3710
|
+
* @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy
|
|
3711
|
+
*/
|
|
3712
|
+
"POST /enterprises/{enterprise}/copilot/policies/coding_agent/organizations": Operation<"/enterprises/{enterprise}/copilot/policies/coding_agent/organizations", "post">;
|
|
3393
3713
|
/**
|
|
3394
3714
|
* @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team
|
|
3395
3715
|
*/
|
|
@@ -3430,10 +3750,18 @@ export interface Endpoints {
|
|
|
3430
3750
|
* @see https://docs.github.com/rest/markdown/markdown#render-a-markdown-document-in-raw-mode
|
|
3431
3751
|
*/
|
|
3432
3752
|
"POST /markdown/raw": Operation<"/markdown/raw", "post">;
|
|
3753
|
+
/**
|
|
3754
|
+
* @see https://docs.github.com/rest/billing/budgets#create-a-budget-for-an-organization
|
|
3755
|
+
*/
|
|
3756
|
+
"POST /organizations/{org}/settings/billing/budgets": Operation<"/organizations/{org}/settings/billing/budgets", "post">;
|
|
3433
3757
|
/**
|
|
3434
3758
|
* @see https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization
|
|
3435
3759
|
*/
|
|
3436
3760
|
"POST /orgs/{org}/actions/hosted-runners": Operation<"/orgs/{org}/actions/hosted-runners", "post">;
|
|
3761
|
+
/**
|
|
3762
|
+
* @see https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization
|
|
3763
|
+
*/
|
|
3764
|
+
"POST /orgs/{org}/actions/oidc/customization/properties/repo": Operation<"/orgs/{org}/actions/oidc/customization/properties/repo", "post">;
|
|
3437
3765
|
/**
|
|
3438
3766
|
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization
|
|
3439
3767
|
*/
|
|
@@ -3458,6 +3786,10 @@ export interface Endpoints {
|
|
|
3458
3786
|
* @see https://docs.github.com/rest/actions/variables#create-an-organization-variable
|
|
3459
3787
|
*/
|
|
3460
3788
|
"POST /orgs/{org}/actions/variables": Operation<"/orgs/{org}/actions/variables", "post">;
|
|
3789
|
+
/**
|
|
3790
|
+
* @see https://docs.github.com/rest/agents/variables#create-an-organization-variable
|
|
3791
|
+
*/
|
|
3792
|
+
"POST /orgs/{org}/agents/variables": Operation<"/orgs/{org}/agents/variables", "post">;
|
|
3461
3793
|
/**
|
|
3462
3794
|
* @see https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record
|
|
3463
3795
|
*/
|
|
@@ -3466,6 +3798,10 @@ export interface Endpoints {
|
|
|
3466
3798
|
* @see https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records
|
|
3467
3799
|
*/
|
|
3468
3800
|
"POST /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": Operation<"/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}", "post">;
|
|
3801
|
+
/**
|
|
3802
|
+
* @see https://docs.github.com/rest/orgs/artifact-metadata#create-a-cluster-deployment-records-job
|
|
3803
|
+
*/
|
|
3804
|
+
"POST /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs": Operation<"/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs", "post">;
|
|
3469
3805
|
/**
|
|
3470
3806
|
* @see https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record
|
|
3471
3807
|
*/
|
|
@@ -3494,6 +3830,18 @@ export interface Endpoints {
|
|
|
3494
3830
|
* @see https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization
|
|
3495
3831
|
*/
|
|
3496
3832
|
"POST /orgs/{org}/codespaces/access/selected_users": Operation<"/orgs/{org}/codespaces/access/selected_users", "post">;
|
|
3833
|
+
/**
|
|
3834
|
+
* @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-an-organization-copilot-space
|
|
3835
|
+
*/
|
|
3836
|
+
"POST /orgs/{org}/copilot-spaces": Operation<"/orgs/{org}/copilot-spaces", "post">;
|
|
3837
|
+
/**
|
|
3838
|
+
* @see https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-an-organization-copilot-space
|
|
3839
|
+
*/
|
|
3840
|
+
"POST /orgs/{org}/copilot-spaces/{space_number}/collaborators": Operation<"/orgs/{org}/copilot-spaces/{space_number}/collaborators", "post">;
|
|
3841
|
+
/**
|
|
3842
|
+
* @see https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-an-organization-copilot-space
|
|
3843
|
+
*/
|
|
3844
|
+
"POST /orgs/{org}/copilot-spaces/{space_number}/resources": Operation<"/orgs/{org}/copilot-spaces/{space_number}/resources", "post">;
|
|
3497
3845
|
/**
|
|
3498
3846
|
* @see https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization
|
|
3499
3847
|
*/
|
|
@@ -3518,6 +3866,10 @@ export interface Endpoints {
|
|
|
3518
3866
|
* @see https://docs.github.com/rest/orgs/members#create-an-organization-invitation
|
|
3519
3867
|
*/
|
|
3520
3868
|
"POST /orgs/{org}/invitations": Operation<"/orgs/{org}/invitations", "post">;
|
|
3869
|
+
/**
|
|
3870
|
+
* @see https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization
|
|
3871
|
+
*/
|
|
3872
|
+
"POST /orgs/{org}/issue-fields": Operation<"/orgs/{org}/issue-fields", "post">;
|
|
3521
3873
|
/**
|
|
3522
3874
|
* @see https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization
|
|
3523
3875
|
*/
|
|
@@ -3570,6 +3922,10 @@ export interface Endpoints {
|
|
|
3570
3922
|
* @see https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project
|
|
3571
3923
|
*/
|
|
3572
3924
|
"POST /orgs/{org}/projectsV2/{project_number}/items": Operation<"/orgs/{org}/projectsV2/{project_number}/items", "post">;
|
|
3925
|
+
/**
|
|
3926
|
+
* @see https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project
|
|
3927
|
+
*/
|
|
3928
|
+
"POST /orgs/{org}/projectsV2/{project_number}/views": Operation<"/orgs/{org}/projectsV2/{project_number}/views", "post">;
|
|
3573
3929
|
/**
|
|
3574
3930
|
* @see https://docs.github.com/rest/repos/repos#create-an-organization-repository
|
|
3575
3931
|
*/
|
|
@@ -3578,6 +3934,10 @@ export interface Endpoints {
|
|
|
3578
3934
|
* @see https://docs.github.com/rest/orgs/rules#create-an-organization-repository-ruleset
|
|
3579
3935
|
*/
|
|
3580
3936
|
"POST /orgs/{org}/rulesets": Operation<"/orgs/{org}/rulesets", "post">;
|
|
3937
|
+
/**
|
|
3938
|
+
* @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-create-organization-custom-patterns
|
|
3939
|
+
*/
|
|
3940
|
+
"POST /orgs/{org}/secret-scanning/custom-patterns": Operation<"/orgs/{org}/secret-scanning/custom-patterns", "post">;
|
|
3581
3941
|
/**
|
|
3582
3942
|
* @see https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization
|
|
3583
3943
|
*/
|
|
@@ -3586,22 +3946,6 @@ export interface Endpoints {
|
|
|
3586
3946
|
* @see https://docs.github.com/rest/teams/teams#create-a-team
|
|
3587
3947
|
*/
|
|
3588
3948
|
"POST /orgs/{org}/teams": Operation<"/orgs/{org}/teams", "post">;
|
|
3589
|
-
/**
|
|
3590
|
-
* @see https://docs.github.com/rest/teams/discussions#create-a-discussion
|
|
3591
|
-
*/
|
|
3592
|
-
"POST /orgs/{org}/teams/{team_slug}/discussions": Operation<"/orgs/{org}/teams/{team_slug}/discussions", "post">;
|
|
3593
|
-
/**
|
|
3594
|
-
* @see https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment
|
|
3595
|
-
*/
|
|
3596
|
-
"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "post">;
|
|
3597
|
-
/**
|
|
3598
|
-
* @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment
|
|
3599
|
-
*/
|
|
3600
|
-
"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "post">;
|
|
3601
|
-
/**
|
|
3602
|
-
* @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion
|
|
3603
|
-
*/
|
|
3604
|
-
"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "post">;
|
|
3605
3949
|
/**
|
|
3606
3950
|
* @see https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization
|
|
3607
3951
|
*/
|
|
@@ -3662,6 +4006,10 @@ export interface Endpoints {
|
|
|
3662
4006
|
* @see https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event
|
|
3663
4007
|
*/
|
|
3664
4008
|
"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", "post">;
|
|
4009
|
+
/**
|
|
4010
|
+
* @see https://docs.github.com/rest/agents/variables#create-a-repository-variable
|
|
4011
|
+
*/
|
|
4012
|
+
"POST /repos/{owner}/{repo}/agents/variables": Operation<"/repos/{owner}/{repo}/agents/variables", "post">;
|
|
3665
4013
|
/**
|
|
3666
4014
|
* @see https://docs.github.com/rest/repos/attestations#create-an-attestation
|
|
3667
4015
|
*/
|
|
@@ -3830,6 +4178,10 @@ export interface Endpoints {
|
|
|
3830
4178
|
* @see https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by
|
|
3831
4179
|
*/
|
|
3832
4180
|
"POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by", "post">;
|
|
4181
|
+
/**
|
|
4182
|
+
* @see https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue
|
|
4183
|
+
*/
|
|
4184
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values", "post">;
|
|
3833
4185
|
/**
|
|
3834
4186
|
* @see https://docs.github.com/rest/issues/labels#add-labels-to-an-issue
|
|
3835
4187
|
*/
|
|
@@ -3842,6 +4194,14 @@ export interface Endpoints {
|
|
|
3842
4194
|
* @see https://docs.github.com/rest/issues/sub-issues#add-sub-issue
|
|
3843
4195
|
*/
|
|
3844
4196
|
"POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "post">;
|
|
4197
|
+
/**
|
|
4198
|
+
* @see https://docs.github.com/rest/issues/issues#approve-an-issue-suggestion
|
|
4199
|
+
*/
|
|
4200
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/approve": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/approve", "post">;
|
|
4201
|
+
/**
|
|
4202
|
+
* @see https://docs.github.com/rest/issues/issues#dismiss-an-issue-suggestion
|
|
4203
|
+
*/
|
|
4204
|
+
"POST /repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/dismiss": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/dismiss", "post">;
|
|
3845
4205
|
/**
|
|
3846
4206
|
* @see https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key
|
|
3847
4207
|
*/
|
|
@@ -3926,6 +4286,10 @@ export interface Endpoints {
|
|
|
3926
4286
|
* @see https://docs.github.com/rest/repos/rules#create-a-repository-ruleset
|
|
3927
4287
|
*/
|
|
3928
4288
|
"POST /repos/{owner}/{repo}/rulesets": Operation<"/repos/{owner}/{repo}/rulesets", "post">;
|
|
4289
|
+
/**
|
|
4290
|
+
* @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-create-repository-custom-patterns
|
|
4291
|
+
*/
|
|
4292
|
+
"POST /repos/{owner}/{repo}/secret-scanning/custom-patterns": Operation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns", "post">;
|
|
3929
4293
|
/**
|
|
3930
4294
|
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass
|
|
3931
4295
|
*/
|
|
@@ -3947,37 +4311,29 @@ export interface Endpoints {
|
|
|
3947
4311
|
*/
|
|
3948
4312
|
"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks": Operation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks", "post">;
|
|
3949
4313
|
/**
|
|
3950
|
-
* @see https://docs.github.com/rest/
|
|
4314
|
+
* @see https://docs.github.com/rest/pulls/stacks#create-a-pull-request-stack
|
|
3951
4315
|
*/
|
|
3952
|
-
"POST /repos/{owner}/{repo}/
|
|
4316
|
+
"POST /repos/{owner}/{repo}/stacks": Operation<"/repos/{owner}/{repo}/stacks", "post">;
|
|
3953
4317
|
/**
|
|
3954
|
-
* @see https://docs.github.com/rest/
|
|
4318
|
+
* @see https://docs.github.com/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack
|
|
3955
4319
|
*/
|
|
3956
|
-
"POST /repos/{owner}/{repo}/
|
|
4320
|
+
"POST /repos/{owner}/{repo}/stacks/{stack_number}/add": Operation<"/repos/{owner}/{repo}/stacks/{stack_number}/add", "post">;
|
|
3957
4321
|
/**
|
|
3958
|
-
* @see https://docs.github.com/rest/
|
|
3959
|
-
*/
|
|
3960
|
-
"POST /repos/{owner}/{repo}/transfer": Operation<"/repos/{owner}/{repo}/transfer", "post">;
|
|
3961
|
-
/**
|
|
3962
|
-
* @see https://docs.github.com/rest/repos/repos#create-a-repository-using-a-template
|
|
3963
|
-
*/
|
|
3964
|
-
"POST /repos/{template_owner}/{template_repo}/generate": Operation<"/repos/{template_owner}/{template_repo}/generate", "post">;
|
|
3965
|
-
/**
|
|
3966
|
-
* @see https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy
|
|
4322
|
+
* @see https://docs.github.com/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack
|
|
3967
4323
|
*/
|
|
3968
|
-
"POST /
|
|
4324
|
+
"POST /repos/{owner}/{repo}/stacks/{stack_number}/unstack": Operation<"/repos/{owner}/{repo}/stacks/{stack_number}/unstack", "post">;
|
|
3969
4325
|
/**
|
|
3970
|
-
* @see https://docs.github.com/rest/
|
|
4326
|
+
* @see https://docs.github.com/rest/commits/statuses#create-a-commit-status
|
|
3971
4327
|
*/
|
|
3972
|
-
"POST /
|
|
4328
|
+
"POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">;
|
|
3973
4329
|
/**
|
|
3974
|
-
* @see https://docs.github.com/rest/
|
|
4330
|
+
* @see https://docs.github.com/rest/repos/repos#transfer-a-repository
|
|
3975
4331
|
*/
|
|
3976
|
-
"POST /
|
|
4332
|
+
"POST /repos/{owner}/{repo}/transfer": Operation<"/repos/{owner}/{repo}/transfer", "post">;
|
|
3977
4333
|
/**
|
|
3978
|
-
* @see https://docs.github.com/rest/
|
|
4334
|
+
* @see https://docs.github.com/rest/repos/repos#create-a-repository-using-a-template
|
|
3979
4335
|
*/
|
|
3980
|
-
"POST /
|
|
4336
|
+
"POST /repos/{template_owner}/{template_repo}/generate": Operation<"/repos/{template_owner}/{template_repo}/generate", "post">;
|
|
3981
4337
|
/**
|
|
3982
4338
|
* @see https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-for-the-authenticated-user
|
|
3983
4339
|
*/
|
|
@@ -4038,6 +4394,10 @@ export interface Endpoints {
|
|
|
4038
4394
|
* @see https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project
|
|
4039
4395
|
*/
|
|
4040
4396
|
"POST /user/{user_id}/projectsV2/{project_number}/drafts": Operation<"/user/{user_id}/projectsV2/{project_number}/drafts", "post">;
|
|
4397
|
+
/**
|
|
4398
|
+
* @see https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project
|
|
4399
|
+
*/
|
|
4400
|
+
"POST /users/{user_id}/projectsV2/{project_number}/views": Operation<"/users/{user_id}/projectsV2/{project_number}/views", "post">;
|
|
4041
4401
|
/**
|
|
4042
4402
|
* @see https://docs.github.com/rest/users/attestations#list-attestations-by-bulk-subject-digests
|
|
4043
4403
|
*/
|
|
@@ -4046,6 +4406,18 @@ export interface Endpoints {
|
|
|
4046
4406
|
* @see https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk
|
|
4047
4407
|
*/
|
|
4048
4408
|
"POST /users/{username}/attestations/delete-request": Operation<"/users/{username}/attestations/delete-request", "post">;
|
|
4409
|
+
/**
|
|
4410
|
+
* @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-a-copilot-space-for-a-user
|
|
4411
|
+
*/
|
|
4412
|
+
"POST /users/{username}/copilot-spaces": Operation<"/users/{username}/copilot-spaces", "post">;
|
|
4413
|
+
/**
|
|
4414
|
+
* @see https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-a-copilot-space-for-a-user
|
|
4415
|
+
*/
|
|
4416
|
+
"POST /users/{username}/copilot-spaces/{space_number}/collaborators": Operation<"/users/{username}/copilot-spaces/{space_number}/collaborators", "post">;
|
|
4417
|
+
/**
|
|
4418
|
+
* @see https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-a-copilot-space-for-a-user
|
|
4419
|
+
*/
|
|
4420
|
+
"POST /users/{username}/copilot-spaces/{space_number}/resources": Operation<"/users/{username}/copilot-spaces/{space_number}/resources", "post">;
|
|
4049
4421
|
/**
|
|
4050
4422
|
* @see https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user
|
|
4051
4423
|
*/
|
|
@@ -4082,6 +4454,14 @@ export interface Endpoints {
|
|
|
4082
4454
|
* @see https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise
|
|
4083
4455
|
*/
|
|
4084
4456
|
"PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults", "put">;
|
|
4457
|
+
/**
|
|
4458
|
+
* @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise
|
|
4459
|
+
*/
|
|
4460
|
+
"PUT /enterprises/{enterprise}/copilot/policies/coding_agent": Operation<"/enterprises/{enterprise}/copilot/policies/coding_agent", "put">;
|
|
4461
|
+
/**
|
|
4462
|
+
* @see https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise
|
|
4463
|
+
*/
|
|
4464
|
+
"PUT /enterprises/{enterprise}/dependabot/repository-access/default-level": Operation<"/enterprises/{enterprise}/dependabot/repository-access/default-level", "put">;
|
|
4085
4465
|
/**
|
|
4086
4466
|
* @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member
|
|
4087
4467
|
*/
|
|
@@ -4110,10 +4490,6 @@ export interface Endpoints {
|
|
|
4110
4490
|
* @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization
|
|
4111
4491
|
*/
|
|
4112
4492
|
"PUT /organizations/{org}/actions/cache/storage-limit": Operation<"/organizations/{org}/actions/cache/storage-limit", "put">;
|
|
4113
|
-
/**
|
|
4114
|
-
* @see https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot
|
|
4115
|
-
*/
|
|
4116
|
-
"PUT /organizations/{org}/dependabot/repository-access/default-level": Operation<"/organizations/{org}/dependabot/repository-access/default-level", "put">;
|
|
4117
4493
|
/**
|
|
4118
4494
|
* @see https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization
|
|
4119
4495
|
*/
|
|
@@ -4202,6 +4578,26 @@ export interface Endpoints {
|
|
|
4202
4578
|
* @see https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable
|
|
4203
4579
|
*/
|
|
4204
4580
|
"PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", "put">;
|
|
4581
|
+
/**
|
|
4582
|
+
* @see https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret
|
|
4583
|
+
*/
|
|
4584
|
+
"PUT /orgs/{org}/agents/secrets/{secret_name}": Operation<"/orgs/{org}/agents/secrets/{secret_name}", "put">;
|
|
4585
|
+
/**
|
|
4586
|
+
* @see https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret
|
|
4587
|
+
*/
|
|
4588
|
+
"PUT /orgs/{org}/agents/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/agents/secrets/{secret_name}/repositories", "put">;
|
|
4589
|
+
/**
|
|
4590
|
+
* @see https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret
|
|
4591
|
+
*/
|
|
4592
|
+
"PUT /orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}", "put">;
|
|
4593
|
+
/**
|
|
4594
|
+
* @see https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable
|
|
4595
|
+
*/
|
|
4596
|
+
"PUT /orgs/{org}/agents/variables/{name}/repositories": Operation<"/orgs/{org}/agents/variables/{name}/repositories", "put">;
|
|
4597
|
+
/**
|
|
4598
|
+
* @see https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable
|
|
4599
|
+
*/
|
|
4600
|
+
"PUT /orgs/{org}/agents/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/variables/{name}/repositories/{repository_id}", "put">;
|
|
4205
4601
|
/**
|
|
4206
4602
|
* @see https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization
|
|
4207
4603
|
*/
|
|
@@ -4226,6 +4622,38 @@ export interface Endpoints {
|
|
|
4226
4622
|
* @see https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret
|
|
4227
4623
|
*/
|
|
4228
4624
|
"PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "put">;
|
|
4625
|
+
/**
|
|
4626
|
+
* @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-an-organization-copilot-space
|
|
4627
|
+
*/
|
|
4628
|
+
"PUT /orgs/{org}/copilot-spaces/{space_number}": Operation<"/orgs/{org}/copilot-spaces/{space_number}", "put">;
|
|
4629
|
+
/**
|
|
4630
|
+
* @see https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-an-organization-copilot-space
|
|
4631
|
+
*/
|
|
4632
|
+
"PUT /orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}": Operation<"/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}", "put">;
|
|
4633
|
+
/**
|
|
4634
|
+
* @see https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-an-organization-copilot-space
|
|
4635
|
+
*/
|
|
4636
|
+
"PUT /orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}", "put">;
|
|
4637
|
+
/**
|
|
4638
|
+
* @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-cloud-agent-permissions-for-an-organization
|
|
4639
|
+
*/
|
|
4640
|
+
"PUT /orgs/{org}/copilot/coding-agent/permissions": Operation<"/orgs/{org}/copilot/coding-agent/permissions", "put">;
|
|
4641
|
+
/**
|
|
4642
|
+
* @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-cloud-agent-in-an-organization
|
|
4643
|
+
*/
|
|
4644
|
+
"PUT /orgs/{org}/copilot/coding-agent/permissions/repositories": Operation<"/orgs/{org}/copilot/coding-agent/permissions/repositories", "put">;
|
|
4645
|
+
/**
|
|
4646
|
+
* @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization
|
|
4647
|
+
*/
|
|
4648
|
+
"PUT /orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}", "put">;
|
|
4649
|
+
/**
|
|
4650
|
+
* @see https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization
|
|
4651
|
+
*/
|
|
4652
|
+
"PUT /orgs/{org}/copilot/content_exclusion": Operation<"/orgs/{org}/copilot/content_exclusion", "put">;
|
|
4653
|
+
/**
|
|
4654
|
+
* @see https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot
|
|
4655
|
+
*/
|
|
4656
|
+
"PUT /orgs/{org}/dependabot/repository-access/default-level": Operation<"/orgs/{org}/dependabot/repository-access/default-level", "put">;
|
|
4229
4657
|
/**
|
|
4230
4658
|
* @see https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret
|
|
4231
4659
|
*/
|
|
@@ -4354,6 +4782,10 @@ export interface Endpoints {
|
|
|
4354
4782
|
* @see https://docs.github.com/rest/actions/workflows#enable-a-workflow
|
|
4355
4783
|
*/
|
|
4356
4784
|
"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", "put">;
|
|
4785
|
+
/**
|
|
4786
|
+
* @see https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret
|
|
4787
|
+
*/
|
|
4788
|
+
"PUT /repos/{owner}/{repo}/agents/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/agents/secrets/{secret_name}", "put">;
|
|
4357
4789
|
/**
|
|
4358
4790
|
* @see https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates
|
|
4359
4791
|
*/
|
|
@@ -4418,6 +4850,18 @@ export interface Endpoints {
|
|
|
4418
4850
|
* @see https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository
|
|
4419
4851
|
*/
|
|
4420
4852
|
"PUT /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "put">;
|
|
4853
|
+
/**
|
|
4854
|
+
* @see https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository
|
|
4855
|
+
*/
|
|
4856
|
+
"PUT /repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": Operation<"/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list", "put">;
|
|
4857
|
+
/**
|
|
4858
|
+
* @see https://docs.github.com/rest/issues/comments#pin-an-issue-comment
|
|
4859
|
+
*/
|
|
4860
|
+
"PUT /repos/{owner}/{repo}/issues/comments/{comment_id}/pin": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}/pin", "put">;
|
|
4861
|
+
/**
|
|
4862
|
+
* @see https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue
|
|
4863
|
+
*/
|
|
4864
|
+
"PUT /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values", "put">;
|
|
4421
4865
|
/**
|
|
4422
4866
|
* @see https://docs.github.com/rest/issues/labels#set-labels-for-an-issue
|
|
4423
4867
|
*/
|
|
@@ -4442,6 +4886,10 @@ export interface Endpoints {
|
|
|
4442
4886
|
* @see https://docs.github.com/rest/pulls/pulls#merge-a-pull-request
|
|
4443
4887
|
*/
|
|
4444
4888
|
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge", "put">;
|
|
4889
|
+
/**
|
|
4890
|
+
* @see https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously
|
|
4891
|
+
*/
|
|
4892
|
+
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge-async": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge-async", "put">;
|
|
4445
4893
|
/**
|
|
4446
4894
|
* @see https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request
|
|
4447
4895
|
*/
|
|
@@ -4514,6 +4962,18 @@ export interface Endpoints {
|
|
|
4514
4962
|
* @see https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user
|
|
4515
4963
|
*/
|
|
4516
4964
|
"PUT /user/starred/{owner}/{repo}": Operation<"/user/starred/{owner}/{repo}", "put">;
|
|
4965
|
+
/**
|
|
4966
|
+
* @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-a-copilot-space-for-a-user
|
|
4967
|
+
*/
|
|
4968
|
+
"PUT /users/{username}/copilot-spaces/{space_number}": Operation<"/users/{username}/copilot-spaces/{space_number}", "put">;
|
|
4969
|
+
/**
|
|
4970
|
+
* @see https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-a-copilot-space-for-a-user
|
|
4971
|
+
*/
|
|
4972
|
+
"PUT /users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}": Operation<"/users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}", "put">;
|
|
4973
|
+
/**
|
|
4974
|
+
* @see https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-a-copilot-space-for-a-user
|
|
4975
|
+
*/
|
|
4976
|
+
"PUT /users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}", "put">;
|
|
4517
4977
|
}
|
|
4518
4978
|
export type EndpointKeys = keyof Endpoints;
|
|
4519
4979
|
export {};
|