Skip to content

Commit d6dfbfd

Browse files
authored
Merge pull request #1250 from php-api-clients/GitHub/from-1.1.4-9bdf0d87b61dcb75ec907d0344bd6b72-from-1.1.4-9bdf0d87b61dcb75ec907d0344bd6b72
2 parents 9fdf524 + fe75e0d commit d6dfbfd

File tree

69 files changed

+3321
-162
lines changed

Some content is hidden

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

69 files changed

+3321
-162
lines changed

clients/GitHub/README.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7782,6 +7782,66 @@ $client->operations()->billing()->getSharedStorageBillingOrg( org: 'gener
77827782
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization).
77837783

77847784

7785+
### copilot/usage-metrics-for-team
7786+
7787+
Get a summary of Copilot usage for a team
7788+
7789+
Using the `call` method:
7790+
```php
7791+
$client->call('GET /orgs/{org}/team/{team_slug}/copilot/usage', [
7792+
'org' => 'generated',
7793+
'team_slug' => 'generated',
7794+
'since' => 'generated',
7795+
'until' => 'generated',
7796+
'page' => 1,
7797+
'per_page' => 8,
7798+
]);
7799+
```
7800+
7801+
Operations method:
7802+
```php
7803+
$client->operations()->copilot()->usageMetricsForTeam( org: 'generated',
7804+
team_slug: 'generated',
7805+
since: 'generated',
7806+
until: 'generated',
7807+
page: 1,
7808+
per_page: 8,
7809+
);
7810+
```
7811+
7812+
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-a-team).
7813+
7814+
7815+
### copilot/usage-metrics-for-team
7816+
7817+
Get a summary of Copilot usage for a team
7818+
7819+
Using the `call` method:
7820+
```php
7821+
$client->call('LIST /orgs/{org}/team/{team_slug}/copilot/usage', [
7822+
'org' => 'generated',
7823+
'team_slug' => 'generated',
7824+
'since' => 'generated',
7825+
'until' => 'generated',
7826+
'page' => 1,
7827+
'per_page' => 8,
7828+
]);
7829+
```
7830+
7831+
Operations method:
7832+
```php
7833+
$client->operations()->copilot()->usageMetricsForTeamListing( org: 'generated',
7834+
team_slug: 'generated',
7835+
since: 'generated',
7836+
until: 'generated',
7837+
page: 1,
7838+
per_page: 8,
7839+
);
7840+
```
7841+
7842+
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-a-team).
7843+
7844+
77857845
### teams/list
77867846

77877847
List teams
@@ -21359,6 +21419,28 @@ $client->operations()->secretScanning()->listLocationsForAlertListing( ow
2135921419
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert).
2136021420

2136121421

21422+
### secret-scanning/create-push-protection-bypass
21423+
21424+
Create a push protection bypass
21425+
21426+
Using the `call` method:
21427+
```php
21428+
$client->call('POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses', [
21429+
'owner' => 'generated',
21430+
'repo' => 'generated',
21431+
]);
21432+
```
21433+
21434+
Operations method:
21435+
```php
21436+
$client->operations()->secretScanning()->createPushProtectionBypass( owner: 'generated',
21437+
repo: 'generated',
21438+
);
21439+
```
21440+
21441+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass).
21442+
21443+
2136221444
### security-advisories/list-repository-advisories
2136321445

2136421446
List repository security advisories

0 commit comments

Comments
 (0)