Skip to content

Commit 41d7efe

Browse files
obviousseanCopilot
andcommitted
Move Copilot review REST stub to guide
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 234043b commit 41d7efe

8 files changed

Lines changed: 10 additions & 14 deletions

File tree

content/rest/guides/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ children:
1515
- /delivering-deployments
1616
- /rendering-data-as-graphs
1717
- /working-with-comments
18+
- /requesting-copilot-code-review-with-the-rest-api
1819
- /building-a-ci-server
1920
- /using-the-rest-api-to-interact-with-your-git-database
2021
- /using-the-rest-api-to-interact-with-checks

content/rest/pulls/copilot-review.md renamed to content/rest/guides/requesting-copilot-code-review-with-the-rest-api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: REST API endpoints for the Copilot code review on a pull request
3-
shortTitle: Copilot review
2+
title: Requesting Copilot code review with the REST API
3+
shortTitle: Request Copilot code review
44
allowTitleToDifferFromFilename: true
5-
intro: 'Use the REST API to request a {% data variables.copilot.copilot_code-review_short %} on a pull request and to manage per-PR review preferences.'
6-
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
5+
intro: 'Use the REST API to request a {% data variables.copilot.copilot_code-review_short %} on a pull request and manage per-PR review preferences.'
6+
versions:
77
fpt: '*'
88
ghec: '*'
99
category:

content/rest/pulls/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ versions:
1313
children:
1414
- /pulls
1515
- /comments
16-
- /copilot-review
1716
- /review-requests
1817
- /reviews
1918
autogenerated: rest

content/rest/pulls/review-requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ category:
1616

1717
Pull request authors and repository owners and collaborators can request a pull request review from anyone with write access to the repository. Each requested reviewer will receive a notification asking them to review the pull request.
1818

19-
To request a review specifically from {% data variables.product.prodname_copilot_short %}and to set per-PR preferences such as the review effort level or whether to re-review on each new pushuse the dedicated [Copilot review endpoints](/rest/pulls/copilot-review) instead of adding the Copilot bot to this endpoint.
19+
To request a review specifically from {% data variables.product.prodname_copilot_short %}and to set per-PR preferences such as the review effort level or whether to re-review on each new pushuse the dedicated {% data variables.product.prodname_copilot_short %} review endpoint instead of adding the {% data variables.product.prodname_copilot_short %} bot to this endpoint. For more information, see [AUTOTITLE](/rest/guides/requesting-copilot-code-review-with-the-rest-api).
2020

2121
<!-- Content after this section is automatically generated -->

src/rest/data/fpt-2022-11-28/pulls.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15895,7 +15895,6 @@
1589515895
}
1589615896
}
1589715897
],
15898-
"copilot-review": [],
1589915898
"comments": [
1590015899
{
1590115900
"serverUrl": "https://api.github.com",
@@ -30115,4 +30114,4 @@
3011530114
}
3011630115
}
3011730116
]
30118-
}
30117+
}

src/rest/data/fpt-2026-03-10/pulls.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15200,7 +15200,6 @@
1520015200
}
1520115201
}
1520215202
],
15203-
"copilot-review": [],
1520415203
"comments": [
1520515204
{
1520615205
"serverUrl": "https://api.github.com",
@@ -29083,4 +29082,4 @@
2908329082
}
2908429083
}
2908529084
]
29086-
}
29085+
}

src/rest/data/ghec-2022-11-28/pulls.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15895,7 +15895,6 @@
1589515895
}
1589615896
}
1589715897
],
15898-
"copilot-review": [],
1589915898
"comments": [
1590015899
{
1590115900
"serverUrl": "https://api.github.com",
@@ -30115,4 +30114,4 @@
3011530114
}
3011630115
}
3011730116
]
30118-
}
30117+
}

src/rest/data/ghec-2026-03-10/pulls.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15200,7 +15200,6 @@
1520015200
}
1520115201
}
1520215202
],
15203-
"copilot-review": [],
1520415203
"comments": [
1520515204
{
1520615205
"serverUrl": "https://api.github.com",
@@ -29083,4 +29082,4 @@
2908329082
}
2908429083
}
2908529084
]
29086-
}
29085+
}

0 commit comments

Comments
 (0)