Skip to content

Commit 9fdf524

Browse files
authored
Merge pull request #1249 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-19cf932411c2a086023a2daee7e3425d-from-1.1.4-19cf932411c2a086023a2daee7e3425d
2 parents 2c58d83 + 241471e commit 9fdf524

File tree

86 files changed

+3382
-236
lines changed

Some content is hidden

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

86 files changed

+3382
-236
lines changed

clients/GitHubEnterpriseCloud/README.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10014,6 +10014,66 @@ $client->operations()->teams()->listIdpGroupsForOrg( org: 'generated',
1001410014
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization).
1001510015

1001610016

10017+
### copilot/usage-metrics-for-team
10018+
10019+
Get a summary of Copilot usage for a team
10020+
10021+
Using the `call` method:
10022+
```php
10023+
$client->call('GET /orgs/{org}/team/{team_slug}/copilot/usage', [
10024+
'org' => 'generated',
10025+
'team_slug' => 'generated',
10026+
'since' => 'generated',
10027+
'until' => 'generated',
10028+
'page' => 1,
10029+
'per_page' => 8,
10030+
]);
10031+
```
10032+
10033+
Operations method:
10034+
```php
10035+
$client->operations()->copilot()->usageMetricsForTeam( org: 'generated',
10036+
team_slug: 'generated',
10037+
since: 'generated',
10038+
until: 'generated',
10039+
page: 1,
10040+
per_page: 8,
10041+
);
10042+
```
10043+
10044+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team).
10045+
10046+
10047+
### copilot/usage-metrics-for-team
10048+
10049+
Get a summary of Copilot usage for a team
10050+
10051+
Using the `call` method:
10052+
```php
10053+
$client->call('LIST /orgs/{org}/team/{team_slug}/copilot/usage', [
10054+
'org' => 'generated',
10055+
'team_slug' => 'generated',
10056+
'since' => 'generated',
10057+
'until' => 'generated',
10058+
'page' => 1,
10059+
'per_page' => 8,
10060+
]);
10061+
```
10062+
10063+
Operations method:
10064+
```php
10065+
$client->operations()->copilot()->usageMetricsForTeamListing( org: 'generated',
10066+
team_slug: 'generated',
10067+
since: 'generated',
10068+
until: 'generated',
10069+
page: 1,
10070+
per_page: 8,
10071+
);
10072+
```
10073+
10074+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team).
10075+
10076+
1001710077
### teams/list
1001810078

1001910079
List teams
@@ -23745,6 +23805,28 @@ $client->operations()->secretScanning()->listLocationsForAlertListing( ow
2374523805
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert).
2374623806

2374723807

23808+
### secret-scanning/create-push-protection-bypass
23809+
23810+
Create a push protection bypass
23811+
23812+
Using the `call` method:
23813+
```php
23814+
$client->call('POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses', [
23815+
'owner' => 'generated',
23816+
'repo' => 'generated',
23817+
]);
23818+
```
23819+
23820+
Operations method:
23821+
```php
23822+
$client->operations()->secretScanning()->createPushProtectionBypass( owner: 'generated',
23823+
repo: 'generated',
23824+
);
23825+
```
23826+
23827+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass).
23828+
23829+
2374823830
### security-advisories/list-repository-advisories
2374923831

2375023832
List repository security advisories

0 commit comments

Comments
 (0)