Skip to content

Commit 8955889

Browse files
authored
Merge pull request #1420 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-0a21287c3d06b0da0958bbe0996dae3e-from-1.1.4-0a21287c3d06b0da0958bbe0996dae3e
2 parents ce9f1c1 + 4f4003e commit 8955889

File tree

96 files changed

+5105
-139
lines changed

Some content is hidden

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

96 files changed

+5105
-139
lines changed

clients/GitHubEnterpriseCloud/README.md

+130
Original file line numberDiff line numberDiff line change
@@ -10218,6 +10218,136 @@ $client->operations()->orgs()->listPatGrantRepositoriesListing( org: 'gen
1021810218
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to).
1021910219

1022010220

10221+
### private-registries/list-org-private-registries
10222+
10223+
List private registries for an organization
10224+
10225+
Using the `call` method:
10226+
```php
10227+
$client->call('GET /orgs/{org}/private-registries', [
10228+
'org' => 'generated',
10229+
'per_page' => 8,
10230+
'page' => 1,
10231+
]);
10232+
```
10233+
10234+
Operations method:
10235+
```php
10236+
$client->operations()->privateRegistries()->listOrgPrivateRegistries( org: 'generated',
10237+
per_page: 8,
10238+
page: 1,
10239+
);
10240+
```
10241+
10242+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization).
10243+
10244+
10245+
### private-registries/create-org-private-registry
10246+
10247+
Create a private registry for an organization
10248+
10249+
Using the `call` method:
10250+
```php
10251+
$client->call('POST /orgs/{org}/private-registries', [
10252+
'org' => 'generated',
10253+
]);
10254+
```
10255+
10256+
Operations method:
10257+
```php
10258+
$client->operations()->privateRegistries()->createOrgPrivateRegistry( org: 'generated',
10259+
);
10260+
```
10261+
10262+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization).
10263+
10264+
10265+
### private-registries/get-org-public-key
10266+
10267+
Get private registries public key for an organization
10268+
10269+
Using the `call` method:
10270+
```php
10271+
$client->call('GET /orgs/{org}/private-registries/public-key', [
10272+
'org' => 'generated',
10273+
]);
10274+
```
10275+
10276+
Operations method:
10277+
```php
10278+
$client->operations()->privateRegistries()->getOrgPublicKey( org: 'generated',
10279+
);
10280+
```
10281+
10282+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization).
10283+
10284+
10285+
### private-registries/get-org-private-registry
10286+
10287+
Get a private registry for an organization
10288+
10289+
Using the `call` method:
10290+
```php
10291+
$client->call('GET /orgs/{org}/private-registries/{secret_name}', [
10292+
'org' => 'generated',
10293+
'secret_name' => 'generated',
10294+
]);
10295+
```
10296+
10297+
Operations method:
10298+
```php
10299+
$client->operations()->privateRegistries()->getOrgPrivateRegistry( org: 'generated',
10300+
secret_name: 'generated',
10301+
);
10302+
```
10303+
10304+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization).
10305+
10306+
10307+
### private-registries/delete-org-private-registry
10308+
10309+
Delete a private registry for an organization
10310+
10311+
Using the `call` method:
10312+
```php
10313+
$client->call('DELETE /orgs/{org}/private-registries/{secret_name}', [
10314+
'org' => 'generated',
10315+
'secret_name' => 'generated',
10316+
]);
10317+
```
10318+
10319+
Operations method:
10320+
```php
10321+
$client->operations()->privateRegistries()->deleteOrgPrivateRegistry( org: 'generated',
10322+
secret_name: 'generated',
10323+
);
10324+
```
10325+
10326+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization).
10327+
10328+
10329+
### private-registries/update-org-private-registry
10330+
10331+
Update a private registry for an organization
10332+
10333+
Using the `call` method:
10334+
```php
10335+
$client->call('PATCH /orgs/{org}/private-registries/{secret_name}', [
10336+
'org' => 'generated',
10337+
'secret_name' => 'generated',
10338+
]);
10339+
```
10340+
10341+
Operations method:
10342+
```php
10343+
$client->operations()->privateRegistries()->updateOrgPrivateRegistry( org: 'generated',
10344+
secret_name: 'generated',
10345+
);
10346+
```
10347+
10348+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization).
10349+
10350+
1022110351
### projects/list-for-org
1022210352

1022310353
List organization projects

0 commit comments

Comments
 (0)