Skip to content

Commit 634cc61

Browse files
authored
Merge pull request #1388 from php-api-clients/GitHub/from-1.1.4-758801dbed7c532f009e5f428e0454a9-from-1.1.4-758801dbed7c532f009e5f428e0454a9
2 parents f3f55c5 + cde0204 commit 634cc61

File tree

106 files changed

+2012
-8429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+2012
-8429
lines changed

clients/GitHub/README.md

-256
Original file line numberDiff line numberDiff line change
@@ -830,142 +830,6 @@ $client->operations()->emojis()->get();
830830
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/emojis/emojis#get-emojis).
831831

832832

833-
### copilot/list-copilot-seats-for-enterprise
834-
835-
List all Copilot seat assignments for an enterprise
836-
837-
Using the `call` method:
838-
```php
839-
$client->call('GET /enterprises/{enterprise}/copilot/billing/seats', [
840-
'enterprise' => 'generated',
841-
'page' => 1,
842-
'per_page' => 8,
843-
]);
844-
```
845-
846-
Operations method:
847-
```php
848-
$client->operations()->copilot()->listCopilotSeatsForEnterprise( enterprise: 'generated',
849-
page: 1,
850-
per_page: 8,
851-
);
852-
```
853-
854-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise).
855-
856-
857-
### copilot/copilot-metrics-for-enterprise
858-
859-
Get Copilot metrics for an enterprise
860-
861-
Using the `call` method:
862-
```php
863-
$client->call('GET /enterprises/{enterprise}/copilot/metrics', [
864-
'enterprise' => 'generated',
865-
'since' => 'generated',
866-
'until' => 'generated',
867-
'page' => 1,
868-
'per_page' => 8,
869-
]);
870-
```
871-
872-
Operations method:
873-
```php
874-
$client->operations()->copilot()->copilotMetricsForEnterprise( enterprise: 'generated',
875-
since: 'generated',
876-
until: 'generated',
877-
page: 1,
878-
per_page: 8,
879-
);
880-
```
881-
882-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise).
883-
884-
885-
### copilot/copilot-metrics-for-enterprise
886-
887-
Get Copilot metrics for an enterprise
888-
889-
Using the `call` method:
890-
```php
891-
$client->call('LIST /enterprises/{enterprise}/copilot/metrics', [
892-
'enterprise' => 'generated',
893-
'since' => 'generated',
894-
'until' => 'generated',
895-
'page' => 1,
896-
'per_page' => 8,
897-
]);
898-
```
899-
900-
Operations method:
901-
```php
902-
$client->operations()->copilot()->copilotMetricsForEnterpriseListing( enterprise: 'generated',
903-
since: 'generated',
904-
until: 'generated',
905-
page: 1,
906-
per_page: 8,
907-
);
908-
```
909-
910-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise).
911-
912-
913-
### copilot/usage-metrics-for-enterprise
914-
915-
Get a summary of Copilot usage for enterprise members
916-
917-
Using the `call` method:
918-
```php
919-
$client->call('GET /enterprises/{enterprise}/copilot/usage', [
920-
'enterprise' => 'generated',
921-
'since' => 'generated',
922-
'until' => 'generated',
923-
'page' => 1,
924-
'per_page' => 8,
925-
]);
926-
```
927-
928-
Operations method:
929-
```php
930-
$client->operations()->copilot()->usageMetricsForEnterprise( enterprise: 'generated',
931-
since: 'generated',
932-
until: 'generated',
933-
page: 1,
934-
per_page: 8,
935-
);
936-
```
937-
938-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members).
939-
940-
941-
### copilot/usage-metrics-for-enterprise
942-
943-
Get a summary of Copilot usage for enterprise members
944-
945-
Using the `call` method:
946-
```php
947-
$client->call('LIST /enterprises/{enterprise}/copilot/usage', [
948-
'enterprise' => 'generated',
949-
'since' => 'generated',
950-
'until' => 'generated',
951-
'page' => 1,
952-
'per_page' => 8,
953-
]);
954-
```
955-
956-
Operations method:
957-
```php
958-
$client->operations()->copilot()->usageMetricsForEnterpriseListing( enterprise: 'generated',
959-
since: 'generated',
960-
until: 'generated',
961-
page: 1,
962-
per_page: 8,
963-
);
964-
```
965-
966-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members).
967-
968-
969833
### dependabot/list-alerts-for-enterprise
970834

971835
List Dependabot alerts for an enterprise
@@ -1052,126 +916,6 @@ $client->operations()->secretScanning()->listAlertsForEnterprise( enterpr
1052916
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise).
1053917

1054918

1055-
### copilot/copilot-metrics-for-enterprise-team
1056-
1057-
Get Copilot metrics for an enterprise team
1058-
1059-
Using the `call` method:
1060-
```php
1061-
$client->call('GET /enterprises/{enterprise}/team/{team_slug}/copilot/metrics', [
1062-
'enterprise' => 'generated',
1063-
'team_slug' => 'generated',
1064-
'since' => 'generated',
1065-
'until' => 'generated',
1066-
'page' => 1,
1067-
'per_page' => 8,
1068-
]);
1069-
```
1070-
1071-
Operations method:
1072-
```php
1073-
$client->operations()->copilot()->copilotMetricsForEnterpriseTeam( enterprise: 'generated',
1074-
team_slug: 'generated',
1075-
since: 'generated',
1076-
until: 'generated',
1077-
page: 1,
1078-
per_page: 8,
1079-
);
1080-
```
1081-
1082-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team).
1083-
1084-
1085-
### copilot/copilot-metrics-for-enterprise-team
1086-
1087-
Get Copilot metrics for an enterprise team
1088-
1089-
Using the `call` method:
1090-
```php
1091-
$client->call('LIST /enterprises/{enterprise}/team/{team_slug}/copilot/metrics', [
1092-
'enterprise' => 'generated',
1093-
'team_slug' => 'generated',
1094-
'since' => 'generated',
1095-
'until' => 'generated',
1096-
'page' => 1,
1097-
'per_page' => 8,
1098-
]);
1099-
```
1100-
1101-
Operations method:
1102-
```php
1103-
$client->operations()->copilot()->copilotMetricsForEnterpriseTeamListing( enterprise: 'generated',
1104-
team_slug: 'generated',
1105-
since: 'generated',
1106-
until: 'generated',
1107-
page: 1,
1108-
per_page: 8,
1109-
);
1110-
```
1111-
1112-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team).
1113-
1114-
1115-
### copilot/usage-metrics-for-enterprise-team
1116-
1117-
Get a summary of Copilot usage for an enterprise team
1118-
1119-
Using the `call` method:
1120-
```php
1121-
$client->call('GET /enterprises/{enterprise}/team/{team_slug}/copilot/usage', [
1122-
'enterprise' => 'generated',
1123-
'team_slug' => 'generated',
1124-
'since' => 'generated',
1125-
'until' => 'generated',
1126-
'page' => 1,
1127-
'per_page' => 8,
1128-
]);
1129-
```
1130-
1131-
Operations method:
1132-
```php
1133-
$client->operations()->copilot()->usageMetricsForEnterpriseTeam( enterprise: 'generated',
1134-
team_slug: 'generated',
1135-
since: 'generated',
1136-
until: 'generated',
1137-
page: 1,
1138-
per_page: 8,
1139-
);
1140-
```
1141-
1142-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team).
1143-
1144-
1145-
### copilot/usage-metrics-for-enterprise-team
1146-
1147-
Get a summary of Copilot usage for an enterprise team
1148-
1149-
Using the `call` method:
1150-
```php
1151-
$client->call('LIST /enterprises/{enterprise}/team/{team_slug}/copilot/usage', [
1152-
'enterprise' => 'generated',
1153-
'team_slug' => 'generated',
1154-
'since' => 'generated',
1155-
'until' => 'generated',
1156-
'page' => 1,
1157-
'per_page' => 8,
1158-
]);
1159-
```
1160-
1161-
Operations method:
1162-
```php
1163-
$client->operations()->copilot()->usageMetricsForEnterpriseTeamListing( enterprise: 'generated',
1164-
team_slug: 'generated',
1165-
since: 'generated',
1166-
until: 'generated',
1167-
page: 1,
1168-
per_page: 8,
1169-
);
1170-
```
1171-
1172-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team).
1173-
1174-
1175919
### activity/list-public-events
1176920

1177921
List public events

0 commit comments

Comments
 (0)