Skip to content

Commit

Permalink
Update OpenAPI Description (#53407)
Browse files Browse the repository at this point in the history
Co-authored-by: vgrl <[email protected]>
  • Loading branch information
docs-bot and vgrl authored Dec 2, 2024
1 parent 288cd5f commit e9ce411
Show file tree
Hide file tree
Showing 31 changed files with 31,648 additions and 27 deletions.
7 changes: 5 additions & 2 deletions content/rest/issues/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
title: REST API endpoints for issues
shortTitle: Issues
allowTitleToDifferFromFilename: true
intro: 'Use the REST API to view and manage issues, including issue assignees, comments, labels, and milestones.'
intro: >-
Use the REST API to view and manage issues, including issue assignees,
comments, labels, and milestones.
redirect_from:
- /v3/issues
- /rest/reference/issues
Expand All @@ -13,12 +15,13 @@ versions:
topics:
- API
children:
- /issues
- /assignees
- /comments
- /events
- /issues
- /labels
- /milestones
- /sub-issues
- /timeline
autogenerated: rest
---
Expand Down
16 changes: 16 additions & 0 deletions content/rest/issues/sub-issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: REST API endpoints for sub-issues
shortTitle: Sub-issues
intro: Use the REST API to view, add, remove, and reprioritize sub-issues.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
topics:
- API
autogenerated: rest
allowTitleToDifferFromFilename: true
---

{% data reusables.issues.release-stage %}

<!-- Content after this section is automatically generated -->
Original file line number Diff line number Diff line change
Expand Up @@ -5466,6 +5466,42 @@
"additional-permissions": false,
"access": "write"
},
{
"category": "issues",
"slug": "remove-sub-issue",
"subcategory": "sub-issues",
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue",
"additional-permissions": false,
"access": "write"
},
{
"category": "issues",
"slug": "list-sub-issues",
"subcategory": "sub-issues",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues",
"additional-permissions": false,
"access": "read"
},
{
"category": "issues",
"slug": "add-sub-issue",
"subcategory": "sub-issues",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues",
"additional-permissions": false,
"access": "write"
},
{
"category": "issues",
"slug": "reprioritize-sub-issue",
"subcategory": "sub-issues",
"verb": "patch",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority",
"additional-permissions": false,
"access": "write"
},
{
"category": "issues",
"slug": "list-timeline-events-for-an-issue",
Expand Down
24 changes: 24 additions & 0 deletions src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json
Original file line number Diff line number Diff line change
Expand Up @@ -2800,6 +2800,30 @@
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock"
},
{
"slug": "remove-sub-issue",
"subcategory": "sub-issues",
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue"
},
{
"slug": "list-sub-issues",
"subcategory": "sub-issues",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
},
{
"slug": "add-sub-issue",
"subcategory": "sub-issues",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
},
{
"slug": "reprioritize-sub-issue",
"subcategory": "sub-issues",
"verb": "patch",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"
},
{
"slug": "list-timeline-events-for-an-issue",
"subcategory": "timeline",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6704,6 +6704,50 @@
"server-to-server": true,
"additional-permissions": false
},
{
"category": "issues",
"slug": "remove-sub-issue",
"subcategory": "sub-issues",
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "issues",
"slug": "list-sub-issues",
"subcategory": "sub-issues",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues",
"access": "read",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "issues",
"slug": "add-sub-issue",
"subcategory": "sub-issues",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "issues",
"slug": "reprioritize-sub-issue",
"subcategory": "sub-issues",
"verb": "patch",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "issues",
"slug": "list-timeline-events-for-an-issue",
Expand Down
24 changes: 24 additions & 0 deletions src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2376,6 +2376,30 @@
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock"
},
{
"slug": "remove-sub-issue",
"subcategory": "sub-issues",
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue"
},
{
"slug": "list-sub-issues",
"subcategory": "sub-issues",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
},
{
"slug": "add-sub-issue",
"subcategory": "sub-issues",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
},
{
"slug": "reprioritize-sub-issue",
"subcategory": "sub-issues",
"verb": "patch",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"
},
{
"slug": "list-timeline-events-for-an-issue",
"subcategory": "timeline",
Expand Down
24 changes: 24 additions & 0 deletions src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2800,6 +2800,30 @@
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock"
},
{
"slug": "remove-sub-issue",
"subcategory": "sub-issues",
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue"
},
{
"slug": "list-sub-issues",
"subcategory": "sub-issues",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
},
{
"slug": "add-sub-issue",
"subcategory": "sub-issues",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
},
{
"slug": "reprioritize-sub-issue",
"subcategory": "sub-issues",
"verb": "patch",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"
},
{
"slug": "list-timeline-events-for-an-issue",
"subcategory": "timeline",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6060,6 +6060,42 @@
"additional-permissions": false,
"access": "write"
},
{
"category": "issues",
"slug": "remove-sub-issue",
"subcategory": "sub-issues",
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue",
"additional-permissions": false,
"access": "write"
},
{
"category": "issues",
"slug": "list-sub-issues",
"subcategory": "sub-issues",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues",
"additional-permissions": false,
"access": "read"
},
{
"category": "issues",
"slug": "add-sub-issue",
"subcategory": "sub-issues",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues",
"additional-permissions": false,
"access": "write"
},
{
"category": "issues",
"slug": "reprioritize-sub-issue",
"subcategory": "sub-issues",
"verb": "patch",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority",
"additional-permissions": false,
"access": "write"
},
{
"category": "issues",
"slug": "list-timeline-events-for-an-issue",
Expand Down
24 changes: 24 additions & 0 deletions src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json
Original file line number Diff line number Diff line change
Expand Up @@ -2960,6 +2960,30 @@
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock"
},
{
"slug": "remove-sub-issue",
"subcategory": "sub-issues",
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue"
},
{
"slug": "list-sub-issues",
"subcategory": "sub-issues",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
},
{
"slug": "add-sub-issue",
"subcategory": "sub-issues",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
},
{
"slug": "reprioritize-sub-issue",
"subcategory": "sub-issues",
"verb": "patch",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"
},
{
"slug": "list-timeline-events-for-an-issue",
"subcategory": "timeline",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7464,6 +7464,50 @@
"server-to-server": true,
"additional-permissions": false
},
{
"category": "issues",
"slug": "remove-sub-issue",
"subcategory": "sub-issues",
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "issues",
"slug": "list-sub-issues",
"subcategory": "sub-issues",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues",
"access": "read",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "issues",
"slug": "add-sub-issue",
"subcategory": "sub-issues",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "issues",
"slug": "reprioritize-sub-issue",
"subcategory": "sub-issues",
"verb": "patch",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "issues",
"slug": "list-timeline-events-for-an-issue",
Expand Down
24 changes: 24 additions & 0 deletions src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2536,6 +2536,30 @@
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/lock"
},
{
"slug": "remove-sub-issue",
"subcategory": "sub-issues",
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue"
},
{
"slug": "list-sub-issues",
"subcategory": "sub-issues",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
},
{
"slug": "add-sub-issue",
"subcategory": "sub-issues",
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues"
},
{
"slug": "reprioritize-sub-issue",
"subcategory": "sub-issues",
"verb": "patch",
"requestPath": "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"
},
{
"slug": "list-timeline-events-for-an-issue",
"subcategory": "timeline",
Expand Down
Loading

0 comments on commit e9ce411

Please sign in to comment.