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/orgs/Client.swift
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7201,6 +7201,9 @@ public struct Client: APIProtocol {
7201
7201
///
7202
7202
/// For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response.
7203
7203
///
7204
+
/// > [!NOTE]
7205
+
/// > Requests using a fine-grained access token will receive a `200 Success` response with an empty list.
7206
+
///
7204
7207
/// - Remark: HTTP `GET /user/orgs`.
7205
7208
/// - Remark: Generated from `#/paths//user/orgs/get(orgs/list-for-authenticated-user)`.
Copy file name to clipboardExpand all lines: Sources/orgs/Types.swift
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -733,6 +733,9 @@ public protocol APIProtocol: Sendable {
733
733
///
734
734
/// For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response.
735
735
///
736
+
/// > [!NOTE]
737
+
/// > Requests using a fine-grained access token will receive a `200 Success` response with an empty list.
738
+
///
736
739
/// - Remark: HTTP `GET /user/orgs`.
737
740
/// - Remark: Generated from `#/paths//user/orgs/get(orgs/list-for-authenticated-user)`.
/// For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response.
2035
2038
///
2039
+
/// > [!NOTE]
2040
+
/// > Requests using a fine-grained access token will receive a `200 Success` response with an empty list.
2041
+
///
2036
2042
/// - Remark: HTTP `GET /user/orgs`.
2037
2043
/// - Remark: Generated from `#/paths//user/orgs/get(orgs/list-for-authenticated-user)`.
2038
2044
public func orgs_sol_list_hyphen_for_hyphen_authenticated_hyphen_user(
@@ -5287,6 +5293,12 @@ public enum Components {
5287
5293
public var private_gists: Swift.Int?
5288
5294
/// - Remark: Generated from `#/components/schemas/organization-full/disk_usage`.
5289
5295
public var disk_usage: Swift.Int?
5296
+
/// The number of collaborators on private repositories.
5297
+
///
5298
+
/// This field may be null if the number of private repositories is over 50,000.
5299
+
///
5300
+
/// - Remark: Generated from `#/components/schemas/organization-full/collaborators`.
5301
+
public var collaborators: Swift.Int?
5290
5302
/// - Remark: Generated from `#/components/schemas/organization-full/billing_email`.
5291
5303
public var billing_email: Swift.String?
5292
5304
/// - Remark: Generated from `#/components/schemas/organization-full/plan`.
@@ -5458,6 +5470,7 @@ public enum Components {
5458
5470
/// - owned_private_repos:
5459
5471
/// - private_gists:
5460
5472
/// - disk_usage:
5473
+
/// - collaborators: The number of collaborators on private repositories.
/// For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response.
21267
21283
///
21284
+
/// > [!NOTE]
21285
+
/// > Requests using a fine-grained access token will receive a `200 Success` response with an empty list.
21286
+
///
21268
21287
/// - Remark: HTTP `GET /user/orgs`.
21269
21288
/// - Remark: Generated from `#/paths//user/orgs/get(orgs/list-for-authenticated-user)`.
21270
21289
public enum orgs_sol_list_hyphen_for_hyphen_authenticated_hyphen_user {
0 commit comments