Skip to content

Commit f06f5f3

Browse files
authored
Merge pull request #1217 from php-api-clients/GitHub/from-1.1.4-97ae665c50dc0af2640cf572009dd76b-from-1.1.4-97ae665c50dc0af2640cf572009dd76b
2 parents dc7c95e + 9e7f752 commit f06f5f3

File tree

90 files changed

+4889
-90
lines changed

Some content is hidden

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

90 files changed

+4889
-90
lines changed

clients/GitHub/README.md

+108
Original file line numberDiff line numberDiff line change
@@ -3440,6 +3440,34 @@ $client->operations()->actions()->removeSelectedRepoFromOrgVariable( org:
34403440
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable).
34413441

34423442

3443+
### orgs/list-attestations
3444+
3445+
List attestations
3446+
3447+
Using the `call` method:
3448+
```php
3449+
$client->call('GET /orgs/{org}/attestations/{subject_digest}', [
3450+
'before' => 'generated',
3451+
'after' => 'generated',
3452+
'org' => 'generated',
3453+
'subject_digest' => 'generated',
3454+
'per_page' => 8,
3455+
]);
3456+
```
3457+
3458+
Operations method:
3459+
```php
3460+
$client->operations()->orgs()->listAttestations( before: 'generated',
3461+
after: 'generated',
3462+
org: 'generated',
3463+
subject_digest: 'generated',
3464+
per_page: 8,
3465+
);
3466+
```
3467+
3468+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/orgs/orgs#list-attestations).
3469+
3470+
34433471
### orgs/list-blocked-users
34443472

34453473
List users blocked by an organization
@@ -11509,6 +11537,58 @@ $client->operations()->issues()->checkUserCanBeAssigned( owner: 'generate
1150911537
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned).
1151011538

1151111539

11540+
### repos/create-attestation
11541+
11542+
Create an attestation
11543+
11544+
Using the `call` method:
11545+
```php
11546+
$client->call('POST /repos/{owner}/{repo}/attestations', [
11547+
'owner' => 'generated',
11548+
'repo' => 'generated',
11549+
]);
11550+
```
11551+
11552+
Operations method:
11553+
```php
11554+
$client->operations()->repos()->createAttestation( owner: 'generated',
11555+
repo: 'generated',
11556+
);
11557+
```
11558+
11559+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/repos/repos#create-an-attestation).
11560+
11561+
11562+
### repos/list-attestations
11563+
11564+
List attestations
11565+
11566+
Using the `call` method:
11567+
```php
11568+
$client->call('GET /repos/{owner}/{repo}/attestations/{subject_digest}', [
11569+
'owner' => 'generated',
11570+
'repo' => 'generated',
11571+
'before' => 'generated',
11572+
'after' => 'generated',
11573+
'subject_digest' => 'generated',
11574+
'per_page' => 8,
11575+
]);
11576+
```
11577+
11578+
Operations method:
11579+
```php
11580+
$client->operations()->repos()->listAttestations( owner: 'generated',
11581+
repo: 'generated',
11582+
before: 'generated',
11583+
after: 'generated',
11584+
subject_digest: 'generated',
11585+
per_page: 8,
11586+
);
11587+
```
11588+
11589+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/repos/repos#list-attestations).
11590+
11591+
1151211592
### repos/list-autolinks
1151311593

1151411594
Get all autolinks of a repository
@@ -26024,6 +26104,34 @@ $client->operations()->users()->getByUsername( username: 'generated',
2602426104
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/users/users#get-a-user).
2602526105

2602626106

26107+
### users/list-attestations
26108+
26109+
List attestations
26110+
26111+
Using the `call` method:
26112+
```php
26113+
$client->call('GET /users/{username}/attestations/{subject_digest}', [
26114+
'before' => 'generated',
26115+
'after' => 'generated',
26116+
'username' => 'generated',
26117+
'subject_digest' => 'generated',
26118+
'per_page' => 8,
26119+
]);
26120+
```
26121+
26122+
Operations method:
26123+
```php
26124+
$client->operations()->users()->listAttestations( before: 'generated',
26125+
after: 'generated',
26126+
username: 'generated',
26127+
subject_digest: 'generated',
26128+
per_page: 8,
26129+
);
26130+
```
26131+
26132+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/users/attestations#list-attestations).
26133+
26134+
2602726135
### packages/list-docker-migration-conflicting-packages-for-user
2602826136

2602926137
Get list of conflicting packages during Docker migration for user

0 commit comments

Comments
 (0)