Skip to content

Commit 383d017

Browse files
authored
Merge pull request #1366 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-6031e990fa8be80fce1e724bbabe2ab5-from-1.1.4-6031e990fa8be80fce1e724bbabe2ab5
2 parents e780607 + 4802e98 commit 383d017

File tree

130 files changed

+19980
-144
lines changed

Some content is hidden

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

130 files changed

+19980
-144
lines changed

clients/GitHubEnterpriseCloud/README.md

+128
Original file line numberDiff line numberDiff line change
@@ -21317,6 +21317,134 @@ $client->operations()->reactions()->deleteForIssue( owner: 'generated',
2131721317
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction).
2131821318

2131921319

21320+
### issues/remove-sub-issue
21321+
21322+
Remove sub-issue
21323+
21324+
Using the `call` method:
21325+
```php
21326+
$client->call('DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue', [
21327+
'owner' => 'generated',
21328+
'repo' => 'generated',
21329+
'issue_number' => 12,
21330+
]);
21331+
```
21332+
21333+
Operations method:
21334+
```php
21335+
$client->operations()->issues()->removeSubIssue( owner: 'generated',
21336+
repo: 'generated',
21337+
issue_number: 12,
21338+
);
21339+
```
21340+
21341+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue).
21342+
21343+
21344+
### issues/list-sub-issues
21345+
21346+
List sub-issues
21347+
21348+
Using the `call` method:
21349+
```php
21350+
$client->call('GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues', [
21351+
'owner' => 'generated',
21352+
'repo' => 'generated',
21353+
'issue_number' => 12,
21354+
'per_page' => 8,
21355+
'page' => 1,
21356+
]);
21357+
```
21358+
21359+
Operations method:
21360+
```php
21361+
$client->operations()->issues()->listSubIssues( owner: 'generated',
21362+
repo: 'generated',
21363+
issue_number: 12,
21364+
per_page: 8,
21365+
page: 1,
21366+
);
21367+
```
21368+
21369+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues).
21370+
21371+
21372+
### issues/list-sub-issues
21373+
21374+
List sub-issues
21375+
21376+
Using the `call` method:
21377+
```php
21378+
$client->call('LIST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues', [
21379+
'owner' => 'generated',
21380+
'repo' => 'generated',
21381+
'issue_number' => 12,
21382+
'per_page' => 8,
21383+
'page' => 1,
21384+
]);
21385+
```
21386+
21387+
Operations method:
21388+
```php
21389+
$client->operations()->issues()->listSubIssuesListing( owner: 'generated',
21390+
repo: 'generated',
21391+
issue_number: 12,
21392+
per_page: 8,
21393+
page: 1,
21394+
);
21395+
```
21396+
21397+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues).
21398+
21399+
21400+
### issues/add-sub-issue
21401+
21402+
Add sub-issue
21403+
21404+
Using the `call` method:
21405+
```php
21406+
$client->call('POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues', [
21407+
'owner' => 'generated',
21408+
'repo' => 'generated',
21409+
'issue_number' => 12,
21410+
]);
21411+
```
21412+
21413+
Operations method:
21414+
```php
21415+
$client->operations()->issues()->addSubIssue( owner: 'generated',
21416+
repo: 'generated',
21417+
issue_number: 12,
21418+
);
21419+
```
21420+
21421+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue).
21422+
21423+
21424+
### issues/reprioritize-sub-issue
21425+
21426+
Reprioritize sub-issue
21427+
21428+
Using the `call` method:
21429+
```php
21430+
$client->call('PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority', [
21431+
'owner' => 'generated',
21432+
'repo' => 'generated',
21433+
'issue_number' => 12,
21434+
]);
21435+
```
21436+
21437+
Operations method:
21438+
```php
21439+
$client->operations()->issues()->reprioritizeSubIssue( owner: 'generated',
21440+
repo: 'generated',
21441+
issue_number: 12,
21442+
);
21443+
```
21444+
21445+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue).
21446+
21447+
2132021448
### issues/list-events-for-timeline
2132121449

2132221450
List timeline events for an issue

0 commit comments

Comments
 (0)