Skip to content

Commit 9317e7b

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHub] Update to 1.1.4-4d0175f50c5e15e911018fc5f4b5fee8 from 1.1.4-3eab7bc09a6d3be61aedace0f4ddc61d
Detected Schema changes: starting work. Building original model for commit 3e215b SPEC: extracted 2 commits from history ``` ├─┬Paths │ ├──[➖] path (22381:3)❌ │ ├──[➖] path (22551:3)❌ │ ├──[➖] path (22509:3)❌ │ └──[➕] path (12505:3) ├─┬Tags │ └──[➖] enterprise-teams (90:3)❌ └─┬Components ├──[➖] examples (206216:7)❌ ├──[➖] examples (206366:7)❌ ├──[➖] schemas (77709:7)❌ ├──[➖] schemas (77728:7)❌ ├──[➖] schemas (77646:7)❌ ├──[➖] schemas (77848:7)❌ ├──[➖] schemas (77699:7)❌ └──[➖] schemas (77658:7)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 4 | 3 | | tags | 1 | 1 | | components | 8 | 8 | Date: 05/10/24 | Commit: New: etc/specs/GitHub/previous.spec.yaml, Original: etc/specs/GitHub/current.spec.yaml - ❌ **BREAKING Changes**: _13_ - **Removals**: _12_ - **Additions**: _1_ - **Breaking Removals**: _12_ ERROR: breaking changes discovered
1 parent 221d44a commit 9317e7b

File tree

47 files changed

+11054
-1968
lines changed

Some content is hidden

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

47 files changed

+11054
-1968
lines changed

clients/GitHub/README.md

Lines changed: 74 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -7522,66 +7522,6 @@ $client->operations()->billing()->getSharedStorageBillingOrg( org: 'gener
75227522
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).
75237523

75247524

7525-
### copilot/usage-metrics-for-team
7526-
7527-
Get a summary of Copilot usage for a team
7528-
7529-
Using the `call` method:
7530-
```php
7531-
$client->call('GET /orgs/{org}/team/{team_slug}/copilot/usage', [
7532-
'org' => 'generated',
7533-
'team_slug' => 'generated',
7534-
'since' => 'generated',
7535-
'until' => 'generated',
7536-
'page' => 1,
7537-
'per_page' => 8,
7538-
]);
7539-
```
7540-
7541-
Operations method:
7542-
```php
7543-
$client->operations()->copilot()->usageMetricsForTeam( org: 'generated',
7544-
team_slug: 'generated',
7545-
since: 'generated',
7546-
until: 'generated',
7547-
page: 1,
7548-
per_page: 8,
7549-
);
7550-
```
7551-
7552-
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).
7553-
7554-
7555-
### copilot/usage-metrics-for-team
7556-
7557-
Get a summary of Copilot usage for a team
7558-
7559-
Using the `call` method:
7560-
```php
7561-
$client->call('LIST /orgs/{org}/team/{team_slug}/copilot/usage', [
7562-
'org' => 'generated',
7563-
'team_slug' => 'generated',
7564-
'since' => 'generated',
7565-
'until' => 'generated',
7566-
'page' => 1,
7567-
'per_page' => 8,
7568-
]);
7569-
```
7570-
7571-
Operations method:
7572-
```php
7573-
$client->operations()->copilot()->usageMetricsForTeamListing( org: 'generated',
7574-
team_slug: 'generated',
7575-
since: 'generated',
7576-
until: 'generated',
7577-
page: 1,
7578-
per_page: 8,
7579-
);
7580-
```
7581-
7582-
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).
7583-
7584-
75857525
### teams/list
75867526

75877527
List teams
@@ -13027,6 +12967,80 @@ $client->operations()->codeScanning()->getCodeqlDatabase( owner: 'generat
1302712967
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository).
1302812968

1302912969

12970+
### code-scanning/create-variant-analysis
12971+
12972+
Create a CodeQL variant analysis
12973+
12974+
Using the `call` method:
12975+
```php
12976+
$client->call('POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses', [
12977+
'owner' => 'generated',
12978+
'repo' => 'generated',
12979+
]);
12980+
```
12981+
12982+
Operations method:
12983+
```php
12984+
$client->operations()->codeScanning()->createVariantAnalysis( owner: 'generated',
12985+
repo: 'generated',
12986+
);
12987+
```
12988+
12989+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis).
12990+
12991+
12992+
### code-scanning/get-variant-analysis
12993+
12994+
Get the summary of a CodeQL variant analysis
12995+
12996+
Using the `call` method:
12997+
```php
12998+
$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}', [
12999+
'owner' => 'generated',
13000+
'repo' => 'generated',
13001+
'codeql_variant_analysis_id' => 26,
13002+
]);
13003+
```
13004+
13005+
Operations method:
13006+
```php
13007+
$client->operations()->codeScanning()->getVariantAnalysis( owner: 'generated',
13008+
repo: 'generated',
13009+
codeql_variant_analysis_id: 26,
13010+
);
13011+
```
13012+
13013+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis).
13014+
13015+
13016+
### code-scanning/get-variant-analysis-repo-task
13017+
13018+
Get the analysis status of a repository in a CodeQL variant analysis
13019+
13020+
Using the `call` method:
13021+
```php
13022+
$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}', [
13023+
'owner' => 'generated',
13024+
'repo' => 'generated',
13025+
'codeql_variant_analysis_id' => 26,
13026+
'repo_owner' => 'generated',
13027+
'repo_name' => 'generated',
13028+
]);
13029+
```
13030+
13031+
Operations method:
13032+
```php
13033+
$client->operations()->codeScanning()->getVariantAnalysisRepoTask( owner: 'generated',
13034+
repo: 'generated',
13035+
codeql_variant_analysis_id: 26,
13036+
repo_owner: 'generated',
13037+
repo_name: 'generated',
13038+
);
13039+
```
13040+
13041+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis).
13042+
13043+
1303013044
### code-scanning/get-default-setup
1303113045

1303213046
Get a code scanning default setup configuration

0 commit comments

Comments
 (0)