You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/pulls/Client.swift
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1478,8 +1478,8 @@ public struct Client: APIProtocol {
1478
1478
///
1479
1479
/// Lists the files in a specified pull request.
1480
1480
///
1481
-
/// **Note:** Responses include a maximum of 3000 files. The paginated response
1482
-
/// returns 30 files per page by default.
1481
+
/// > [!NOTE]
1482
+
/// > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.
1483
1483
///
1484
1484
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
1485
1485
///
@@ -2246,7 +2246,8 @@ public struct Client: APIProtocol {
2246
2246
///
2247
2247
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
2248
2248
///
2249
-
/// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
2249
+
/// > [!NOTE]
2250
+
/// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
2250
2251
///
2251
2252
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
2252
2253
///
@@ -2815,9 +2816,8 @@ public struct Client: APIProtocol {
2815
2816
///
2816
2817
/// Dismisses a specified review on a pull request.
2817
2818
///
2818
-
/// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
2819
-
/// you must be a repository administrator or be included in the list of people or teams
2820
-
/// who can dismiss pull request reviews.
2819
+
/// > [!NOTE]
2820
+
/// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
2821
2821
///
2822
2822
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
Copy file name to clipboardExpand all lines: Sources/pulls/Types.swift
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -217,8 +217,8 @@ public protocol APIProtocol: Sendable {
217
217
///
218
218
/// Lists the files in a specified pull request.
219
219
///
220
-
/// **Note:** Responses include a maximum of 3000 files. The paginated response
221
-
/// returns 30 files per page by default.
220
+
/// > [!NOTE]
221
+
/// > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.
222
222
///
223
223
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
224
224
///
@@ -289,7 +289,8 @@ public protocol APIProtocol: Sendable {
289
289
///
290
290
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
291
291
///
292
-
/// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
292
+
/// > [!NOTE]
293
+
/// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
293
294
///
294
295
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
295
296
///
@@ -363,9 +364,8 @@ public protocol APIProtocol: Sendable {
363
364
///
364
365
/// Dismisses a specified review on a pull request.
365
366
///
366
-
/// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
367
-
/// you must be a repository administrator or be included in the list of people or teams
368
-
/// who can dismiss pull request reviews.
367
+
/// > [!NOTE]
368
+
/// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
369
369
///
370
370
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
371
371
///
@@ -722,8 +722,8 @@ extension APIProtocol {
722
722
///
723
723
/// Lists the files in a specified pull request.
724
724
///
725
-
/// **Note:** Responses include a maximum of 3000 files. The paginated response
726
-
/// returns 30 files per page by default.
725
+
/// > [!NOTE]
726
+
/// > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.
727
727
///
728
728
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
729
729
///
@@ -854,7 +854,8 @@ extension APIProtocol {
854
854
///
855
855
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
856
856
///
857
-
/// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
857
+
/// > [!NOTE]
858
+
/// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
858
859
///
859
860
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
860
861
///
@@ -974,9 +975,8 @@ extension APIProtocol {
974
975
///
975
976
/// Dismisses a specified review on a pull request.
976
977
///
977
-
/// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
978
-
/// you must be a repository administrator or be included in the list of people or teams
979
-
/// who can dismiss pull request reviews.
978
+
/// > [!NOTE]
979
+
/// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
980
980
///
981
981
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
982
982
///
@@ -9938,8 +9938,8 @@ public enum Operations {
9938
9938
///
9939
9939
/// Lists the files in a specified pull request.
9940
9940
///
9941
-
/// **Note:** Responses include a maximum of 3000 files. The paginated response
9942
-
/// returns 30 files per page by default.
9941
+
/// > [!NOTE]
9942
+
/// > Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.
9943
9943
///
9944
9944
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
9945
9945
///
@@ -11588,7 +11588,8 @@ public enum Operations {
11588
11588
///
11589
11589
/// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
11590
11590
///
11591
-
/// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
11591
+
/// > [!NOTE]
11592
+
/// > To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
11592
11593
///
11593
11594
/// The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
11594
11595
///
@@ -12751,9 +12752,8 @@ public enum Operations {
12751
12752
///
12752
12753
/// Dismisses a specified review on a pull request.
12753
12754
///
12754
-
/// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
12755
-
/// you must be a repository administrator or be included in the list of people or teams
12756
-
/// who can dismiss pull request reviews.
12755
+
/// > [!NOTE]
12756
+
/// > To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
12757
12757
///
12758
12758
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
0 commit comments