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/code-scanning/Client.swift
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -776,7 +776,7 @@ public struct Client: APIProtocol {
776
776
}
777
777
/// Get the status of an autofix for a code scanning alert
778
778
///
779
-
/// Gets the status and description of an autofix for a code scanning alert.
779
+
/// Gets the status and description of an autofix for a code scanning alert on the repository's default branch.
780
780
///
781
781
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
782
782
///
@@ -1116,7 +1116,7 @@ public struct Client: APIProtocol {
1116
1116
}
1117
1117
/// Commit an autofix for a code scanning alert
1118
1118
///
1119
-
/// Commits an autofix for a code scanning alert.
1119
+
/// Commits an autofix for a code scanning alert from the repository's default branch.
1120
1120
///
1121
1121
/// If an autofix is committed as a result of this request, then this endpoint will return a 201 Created response.
/// Get the status of an autofix for a code scanning alert
56
56
///
57
-
/// Gets the status and description of an autofix for a code scanning alert.
57
+
/// Gets the status and description of an autofix for a code scanning alert on the repository's default branch.
58
58
///
59
59
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
60
60
///
@@ -76,7 +76,7 @@ public protocol APIProtocol: Sendable {
/// Commits an autofix for a code scanning alert from the repository's default branch.
80
80
///
81
81
/// If an autofix is committed as a result of this request, then this endpoint will return a 201 Created response.
82
82
///
@@ -424,7 +424,7 @@ extension APIProtocol {
424
424
}
425
425
/// Get the status of an autofix for a code scanning alert
426
426
///
427
-
/// Gets the status and description of an autofix for a code scanning alert.
427
+
/// Gets the status and description of an autofix for a code scanning alert on the repository's default branch.
428
428
///
429
429
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
430
430
///
@@ -462,7 +462,7 @@ extension APIProtocol {
462
462
}
463
463
/// Commit an autofix for a code scanning alert
464
464
///
465
-
/// Commits an autofix for a code scanning alert.
465
+
/// Commits an autofix for a code scanning alert from the repository's default branch.
466
466
///
467
467
/// If an autofix is committed as a result of this request, then this endpoint will return a 201 Created response.
468
468
///
@@ -5360,7 +5360,7 @@ public enum Operations {
5360
5360
}
5361
5361
/// Get the status of an autofix for a code scanning alert
5362
5362
///
5363
-
/// Gets the status and description of an autofix for a code scanning alert.
5363
+
/// Gets the status and description of an autofix for a code scanning alert on the repository's default branch.
5364
5364
///
5365
5365
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
5366
5366
///
@@ -5934,7 +5934,7 @@ public enum Operations {
5934
5934
}
5935
5935
/// Commit an autofix for a code scanning alert
5936
5936
///
5937
-
/// Commits an autofix for a code scanning alert.
5937
+
/// Commits an autofix for a code scanning alert from the repository's default branch.
5938
5938
///
5939
5939
/// If an autofix is committed as a result of this request, then this endpoint will return a 201 Created response.
Copy file name to clipboardExpand all lines: Sources/copilot-spaces/Client.swift
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,8 @@ public struct Client: APIProtocol {
46
46
///
47
47
/// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.
48
48
///
49
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in a space; spaces with inaccessible resources are omitted from the response.
@@ -187,6 +189,8 @@ public struct Client: APIProtocol {
187
189
///
188
190
/// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.
189
191
///
192
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by the submitted resources.
@@ -330,6 +334,8 @@ public struct Client: APIProtocol {
330
334
///
331
335
/// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.
332
336
///
337
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space.
@@ -443,6 +449,8 @@ public struct Client: APIProtocol {
443
449
///
444
450
/// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.
445
451
///
452
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space, including any being added or updated.
@@ -589,6 +597,8 @@ public struct Client: APIProtocol {
589
597
///
590
598
/// OAuth app tokens and personal access tokens (classic) need both the `read:org` and `repo` scopes to use this endpoint.
591
599
///
600
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space.
@@ -684,6 +694,8 @@ public struct Client: APIProtocol {
684
694
///
685
695
/// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.
686
696
///
697
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space.
@@ -798,6 +810,8 @@ public struct Client: APIProtocol {
798
810
///
799
811
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
800
812
///
813
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space.
@@ -940,6 +954,8 @@ public struct Client: APIProtocol {
940
954
///
941
955
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
942
956
///
957
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space.
@@ -1086,6 +1102,8 @@ public struct Client: APIProtocol {
1086
1102
///
1087
1103
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
1088
1104
///
1105
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space.
@@ -1180,6 +1198,8 @@ public struct Client: APIProtocol {
1180
1198
///
1181
1199
/// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.
1182
1200
///
1201
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space.
@@ -1297,6 +1317,8 @@ public struct Client: APIProtocol {
1297
1317
///
1298
1318
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
1299
1319
///
1320
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space, including the resource being created.
@@ -1462,6 +1484,8 @@ public struct Client: APIProtocol {
1462
1484
///
1463
1485
/// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.
1464
1486
///
1487
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space.
@@ -1575,6 +1599,8 @@ public struct Client: APIProtocol {
1575
1599
///
1576
1600
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
1577
1601
///
1602
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space, including the resource being updated.
@@ -1719,6 +1745,8 @@ public struct Client: APIProtocol {
1719
1745
///
1720
1746
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
1721
1747
///
1748
+
/// Fine-grained tokens and GitHub App user access tokens must have been granted access to the organization that owns the space. They must also have been granted access to every repository referenced by resources in the space.
0 commit comments