Skip to content

Commit abfa9ed

Browse files
authored
Merge pull request #1218 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-081bef496d922a6ab0786c6f28cc06f0-from-1.1.4-081bef496d922a6ab0786c6f28cc06f0
2 parents 01adb35 + d4ee976 commit abfa9ed

File tree

70 files changed

+4820
-36
lines changed

Some content is hidden

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

70 files changed

+4820
-36
lines changed

clients/GitHubEnterpriseCloud/README.md

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5152,6 +5152,34 @@ $client->operations()->announcementBanners()->setAnnouncementBannerForOrg(
51525152
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#set-announcement-banner-for-organization).
51535153

51545154

5155+
### orgs/list-attestations
5156+
5157+
List attestations
5158+
5159+
Using the `call` method:
5160+
```php
5161+
$client->call('GET /orgs/{org}/attestations/{subject_digest}', [
5162+
'before' => 'generated',
5163+
'after' => 'generated',
5164+
'org' => 'generated',
5165+
'subject_digest' => 'generated',
5166+
'per_page' => 8,
5167+
]);
5168+
```
5169+
5170+
Operations method:
5171+
```php
5172+
$client->operations()->orgs()->listAttestations( before: 'generated',
5173+
after: 'generated',
5174+
org: 'generated',
5175+
subject_digest: 'generated',
5176+
per_page: 8,
5177+
);
5178+
```
5179+
5180+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations).
5181+
5182+
51555183
### orgs/get-audit-log
51565184

51575185
Get the audit log for an organization
@@ -13767,6 +13795,58 @@ $client->operations()->issues()->checkUserCanBeAssigned( owner: 'generate
1376713795
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned).
1376813796

1376913797

13798+
### repos/create-attestation
13799+
13800+
Create an attestation
13801+
13802+
Using the `call` method:
13803+
```php
13804+
$client->call('POST /repos/{owner}/{repo}/attestations', [
13805+
'owner' => 'generated',
13806+
'repo' => 'generated',
13807+
]);
13808+
```
13809+
13810+
Operations method:
13811+
```php
13812+
$client->operations()->repos()->createAttestation( owner: 'generated',
13813+
repo: 'generated',
13814+
);
13815+
```
13816+
13817+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation).
13818+
13819+
13820+
### repos/list-attestations
13821+
13822+
List attestations
13823+
13824+
Using the `call` method:
13825+
```php
13826+
$client->call('GET /repos/{owner}/{repo}/attestations/{subject_digest}', [
13827+
'owner' => 'generated',
13828+
'repo' => 'generated',
13829+
'before' => 'generated',
13830+
'after' => 'generated',
13831+
'subject_digest' => 'generated',
13832+
'per_page' => 8,
13833+
]);
13834+
```
13835+
13836+
Operations method:
13837+
```php
13838+
$client->operations()->repos()->listAttestations( owner: 'generated',
13839+
repo: 'generated',
13840+
before: 'generated',
13841+
after: 'generated',
13842+
subject_digest: 'generated',
13843+
per_page: 8,
13844+
);
13845+
```
13846+
13847+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations).
13848+
13849+
1377013850
### repos/list-autolinks
1377113851

1377213852
Get all autolinks of a repository
@@ -28772,6 +28852,34 @@ $client->operations()->users()->getByUsername( username: 'generated',
2877228852
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user).
2877328853

2877428854

28855+
### users/list-attestations
28856+
28857+
List attestations
28858+
28859+
Using the `call` method:
28860+
```php
28861+
$client->call('GET /users/{username}/attestations/{subject_digest}', [
28862+
'before' => 'generated',
28863+
'after' => 'generated',
28864+
'username' => 'generated',
28865+
'subject_digest' => 'generated',
28866+
'per_page' => 8,
28867+
]);
28868+
```
28869+
28870+
Operations method:
28871+
```php
28872+
$client->operations()->users()->listAttestations( before: 'generated',
28873+
after: 'generated',
28874+
username: 'generated',
28875+
subject_digest: 'generated',
28876+
per_page: 8,
28877+
);
28878+
```
28879+
28880+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations).
28881+
28882+
2877528883
### packages/list-docker-migration-conflicting-packages-for-user
2877628884

2877728885
Get list of conflicting packages during Docker migration for user

0 commit comments

Comments
 (0)