Skip to content

Commit ce9f1c1

Browse files
authored
Merge pull request #1419 from php-api-clients/GitHub/from-1.1.4-ffc57be6cdf0e66d7c933d6f52367abe-from-1.1.4-ffc57be6cdf0e66d7c933d6f52367abe
2 parents eecdfe7 + 5cefae3 commit ce9f1c1

File tree

83 files changed

+5066
-103
lines changed

Some content is hidden

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

83 files changed

+5066
-103
lines changed

clients/GitHub/README.md

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

77167716

7717+
### private-registries/list-org-private-registries
7718+
7719+
List private registries for an organization
7720+
7721+
Using the `call` method:
7722+
```php
7723+
$client->call('GET /orgs/{org}/private-registries', [
7724+
'org' => 'generated',
7725+
'per_page' => 8,
7726+
'page' => 1,
7727+
]);
7728+
```
7729+
7730+
Operations method:
7731+
```php
7732+
$client->operations()->privateRegistries()->listOrgPrivateRegistries( org: 'generated',
7733+
per_page: 8,
7734+
page: 1,
7735+
);
7736+
```
7737+
7738+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization).
7739+
7740+
7741+
### private-registries/create-org-private-registry
7742+
7743+
Create a private registry for an organization
7744+
7745+
Using the `call` method:
7746+
```php
7747+
$client->call('POST /orgs/{org}/private-registries', [
7748+
'org' => 'generated',
7749+
]);
7750+
```
7751+
7752+
Operations method:
7753+
```php
7754+
$client->operations()->privateRegistries()->createOrgPrivateRegistry( org: 'generated',
7755+
);
7756+
```
7757+
7758+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization).
7759+
7760+
7761+
### private-registries/get-org-public-key
7762+
7763+
Get private registries public key for an organization
7764+
7765+
Using the `call` method:
7766+
```php
7767+
$client->call('GET /orgs/{org}/private-registries/public-key', [
7768+
'org' => 'generated',
7769+
]);
7770+
```
7771+
7772+
Operations method:
7773+
```php
7774+
$client->operations()->privateRegistries()->getOrgPublicKey( org: 'generated',
7775+
);
7776+
```
7777+
7778+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization).
7779+
7780+
7781+
### private-registries/get-org-private-registry
7782+
7783+
Get a private registry for an organization
7784+
7785+
Using the `call` method:
7786+
```php
7787+
$client->call('GET /orgs/{org}/private-registries/{secret_name}', [
7788+
'org' => 'generated',
7789+
'secret_name' => 'generated',
7790+
]);
7791+
```
7792+
7793+
Operations method:
7794+
```php
7795+
$client->operations()->privateRegistries()->getOrgPrivateRegistry( org: 'generated',
7796+
secret_name: 'generated',
7797+
);
7798+
```
7799+
7800+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization).
7801+
7802+
7803+
### private-registries/delete-org-private-registry
7804+
7805+
Delete a private registry for an organization
7806+
7807+
Using the `call` method:
7808+
```php
7809+
$client->call('DELETE /orgs/{org}/private-registries/{secret_name}', [
7810+
'org' => 'generated',
7811+
'secret_name' => 'generated',
7812+
]);
7813+
```
7814+
7815+
Operations method:
7816+
```php
7817+
$client->operations()->privateRegistries()->deleteOrgPrivateRegistry( org: 'generated',
7818+
secret_name: 'generated',
7819+
);
7820+
```
7821+
7822+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization).
7823+
7824+
7825+
### private-registries/update-org-private-registry
7826+
7827+
Update a private registry for an organization
7828+
7829+
Using the `call` method:
7830+
```php
7831+
$client->call('PATCH /orgs/{org}/private-registries/{secret_name}', [
7832+
'org' => 'generated',
7833+
'secret_name' => 'generated',
7834+
]);
7835+
```
7836+
7837+
Operations method:
7838+
```php
7839+
$client->operations()->privateRegistries()->updateOrgPrivateRegistry( org: 'generated',
7840+
secret_name: 'generated',
7841+
);
7842+
```
7843+
7844+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization).
7845+
7846+
77177847
### projects/list-for-org
77187848

77197849
List organization projects

0 commit comments

Comments
 (0)