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/billing/Client.swift
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ public struct Client: APIProtocol {
44
44
///
45
45
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
46
46
///
47
-
/// Access tokens must have the `repo` or `admin:org` scope.
47
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/actions/get(billing/get-github-actions-billing-org)`.
@@ -112,7 +112,7 @@ public struct Client: APIProtocol {
112
112
///
113
113
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
114
114
///
115
-
/// Access tokens must have the `repo` or `admin:org` scope.
115
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/packages/get(billing/get-github-packages-billing-org)`.
@@ -180,7 +180,7 @@ public struct Client: APIProtocol {
180
180
///
181
181
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
182
182
///
183
-
/// Access tokens must have the `repo` or `admin:org` scope.
183
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-org)`.
@@ -248,7 +248,7 @@ public struct Client: APIProtocol {
248
248
///
249
249
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
250
250
///
251
-
/// Access tokens must have the `user` scope.
251
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/actions/get(billing/get-github-actions-billing-user)`.
@@ -316,7 +316,7 @@ public struct Client: APIProtocol {
316
316
///
317
317
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
318
318
///
319
-
/// Access tokens must have the `user` scope.
319
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/packages/get(billing/get-github-packages-billing-user)`.
@@ -384,7 +384,7 @@ public struct Client: APIProtocol {
384
384
///
385
385
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
386
386
///
387
-
/// Access tokens must have the `user` scope.
387
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
Copy file name to clipboardExpand all lines: Sources/billing/Types.swift
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ public protocol APIProtocol: Sendable {
17
17
///
18
18
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
19
19
///
20
-
/// Access tokens must have the `repo` or `admin:org` scope.
20
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/actions/get(billing/get-github-actions-billing-org)`.
@@ -28,7 +28,7 @@ public protocol APIProtocol: Sendable {
28
28
///
29
29
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
30
30
///
31
-
/// Access tokens must have the `repo` or `admin:org` scope.
31
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/packages/get(billing/get-github-packages-billing-org)`.
@@ -39,7 +39,7 @@ public protocol APIProtocol: Sendable {
39
39
///
40
40
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
41
41
///
42
-
/// Access tokens must have the `repo` or `admin:org` scope.
42
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-org)`.
@@ -50,7 +50,7 @@ public protocol APIProtocol: Sendable {
50
50
///
51
51
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
52
52
///
53
-
/// Access tokens must have the `user` scope.
53
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/actions/get(billing/get-github-actions-billing-user)`.
@@ -61,7 +61,7 @@ public protocol APIProtocol: Sendable {
61
61
///
62
62
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
63
63
///
64
-
/// Access tokens must have the `user` scope.
64
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/packages/get(billing/get-github-packages-billing-user)`.
@@ -72,7 +72,7 @@ public protocol APIProtocol: Sendable {
72
72
///
73
73
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
74
74
///
75
-
/// Access tokens must have the `user` scope.
75
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-user)`.
@@ -87,7 +87,7 @@ extension APIProtocol {
87
87
///
88
88
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
89
89
///
90
-
/// Access tokens must have the `repo` or `admin:org` scope.
90
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/actions/get(billing/get-github-actions-billing-org)`.
@@ -106,7 +106,7 @@ extension APIProtocol {
106
106
///
107
107
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
108
108
///
109
-
/// Access tokens must have the `repo` or `admin:org` scope.
109
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/packages/get(billing/get-github-packages-billing-org)`.
@@ -125,7 +125,7 @@ extension APIProtocol {
125
125
///
126
126
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
127
127
///
128
-
/// Access tokens must have the `repo` or `admin:org` scope.
128
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-org)`.
@@ -144,7 +144,7 @@ extension APIProtocol {
144
144
///
145
145
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
146
146
///
147
-
/// Access tokens must have the `user` scope.
147
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/actions/get(billing/get-github-actions-billing-user)`.
@@ -163,7 +163,7 @@ extension APIProtocol {
163
163
///
164
164
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
165
165
///
166
-
/// Access tokens must have the `user` scope.
166
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/packages/get(billing/get-github-packages-billing-user)`.
@@ -182,7 +182,7 @@ extension APIProtocol {
182
182
///
183
183
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
184
184
///
185
-
/// Access tokens must have the `user` scope.
185
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-user)`.
@@ -481,7 +481,7 @@ public enum Operations {
481
481
///
482
482
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
483
483
///
484
-
/// Access tokens must have the `repo` or `admin:org` scope.
484
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/actions/get(billing/get-github-actions-billing-org)`.
@@ -617,7 +617,7 @@ public enum Operations {
617
617
///
618
618
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
619
619
///
620
-
/// Access tokens must have the `repo` or `admin:org` scope.
620
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/packages/get(billing/get-github-packages-billing-org)`.
@@ -753,7 +753,7 @@ public enum Operations {
753
753
///
754
754
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
755
755
///
756
-
/// Access tokens must have the `repo` or `admin:org` scope.
756
+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-org)`.
@@ -889,7 +889,7 @@ public enum Operations {
889
889
///
890
890
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
891
891
///
892
-
/// Access tokens must have the `user` scope.
892
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/actions/get(billing/get-github-actions-billing-user)`.
@@ -1025,7 +1025,7 @@ public enum Operations {
1025
1025
///
1026
1026
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
1027
1027
///
1028
-
/// Access tokens must have the `user` scope.
1028
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/packages/get(billing/get-github-packages-billing-user)`.
@@ -1161,7 +1161,7 @@ public enum Operations {
1161
1161
///
1162
1162
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
1163
1163
///
1164
-
/// Access tokens must have the `user` scope.
1164
+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
0 commit comments