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/codespaces/Client.swift
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3217,6 +3217,8 @@ public struct Client: APIProtocol {
3217
3217
/// token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets`
3218
3218
/// repository permission to use this endpoint.
3219
3219
///
3220
+
/// This endpoint does not support fine-grained personal access tokens. For more information about personal access tokens, see "[Managing your personal access tokens](https://docs.github.com/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#personal-access-tokens-classic)."
@@ -3293,6 +3295,7 @@ public struct Client: APIProtocol {
3293
3295
/// Delete a repository secret
3294
3296
///
3295
3297
/// Deletes a development environment secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint.
3298
+
/// This endpoint does not support fine-grained personal access tokens. For more information about personal access tokens, see "[Managing your personal access tokens](https://docs.github.com/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#personal-access-tokens-classic)."
Copy file name to clipboardExpand all lines: Sources/codespaces/Types.swift
+38-1Lines changed: 38 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -266,12 +266,15 @@ public protocol APIProtocol: Sendable {
266
266
/// token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets`
267
267
/// repository permission to use this endpoint.
268
268
///
269
+
/// This endpoint does not support fine-grained personal access tokens. For more information about personal access tokens, see "[Managing your personal access tokens](https://docs.github.com/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#personal-access-tokens-classic)."
/// Deletes a development environment secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint.
277
+
/// This endpoint does not support fine-grained personal access tokens. For more information about personal access tokens, see "[Managing your personal access tokens](https://docs.github.com/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#personal-access-tokens-classic)."
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/codespaces/secrets/{secret_name}/delete(codespaces/delete-repo-secret)`.
@@ -1027,6 +1030,8 @@ extension APIProtocol {
1027
1030
/// token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets`
1028
1031
/// repository permission to use this endpoint.
1029
1032
///
1033
+
/// This endpoint does not support fine-grained personal access tokens. For more information about personal access tokens, see "[Managing your personal access tokens](https://docs.github.com/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#personal-access-tokens-classic)."
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/codespaces/secrets/{secret_name}/put(codespaces/create-or-update-repo-secret)`.
1032
1037
public func codespaces_sol_create_hyphen_or_hyphen_update_hyphen_repo_hyphen_secret(
@@ -1043,6 +1048,7 @@ extension APIProtocol {
1043
1048
/// Delete a repository secret
1044
1049
///
1045
1050
/// Deletes a development environment secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint.
1051
+
/// This endpoint does not support fine-grained personal access tokens. For more information about personal access tokens, see "[Managing your personal access tokens](https://docs.github.com/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#personal-access-tokens-classic)."
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/codespaces/secrets/{secret_name}/delete(codespaces/delete-repo-secret)`.
@@ -6773,6 +6779,30 @@ public enum Components {
6773
6779
public var code_of_conduct: Components.Schemas.code_hyphen_of_hyphen_conduct_hyphen_simple?
6774
6780
/// - Remark: Generated from `#/components/schemas/full-repository/security_and_analysis`.
6775
6781
public var security_and_analysis: Components.Schemas.security_hyphen_and_hyphen_analysis?
6782
+
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
6783
+
///
6784
+
/// - Remark: Generated from `#/components/schemas/full-repository/custom_properties`.
6785
+
public struct custom_propertiesPayload: Codable, Hashable, Sendable {
6786
+
/// A container of undocumented properties.
6787
+
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
6788
+
/// Creates a new `custom_propertiesPayload`.
6789
+
///
6790
+
/// - Parameters:
6791
+
/// - additionalProperties: A container of undocumented properties.
6792
+
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
6803
+
///
6804
+
/// - Remark: Generated from `#/components/schemas/full-repository/custom_properties`.
6805
+
public var custom_properties: Components.Schemas.full_hyphen_repository.custom_propertiesPayload?
6776
6806
/// Creates a new `full_hyphen_repository`.
6777
6807
///
6778
6808
/// - Parameters:
@@ -6878,6 +6908,7 @@ public enum Components {
6878
6908
/// - anonymous_access_enabled: Whether anonymous git access is allowed.
6879
6909
/// - code_of_conduct:
6880
6910
/// - security_and_analysis:
6911
+
/// - custom_properties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
/// A description of the machine powering a codespace.
@@ -14287,6 +14321,8 @@ public enum Operations {
14287
14321
/// token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets`
14288
14322
/// repository permission to use this endpoint.
14289
14323
///
14324
+
/// This endpoint does not support fine-grained personal access tokens. For more information about personal access tokens, see "[Managing your personal access tokens](https://docs.github.com/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#personal-access-tokens-classic)."
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/codespaces/secrets/{secret_name}/put(codespaces/create-or-update-repo-secret)`.
14292
14328
public enum codespaces_sol_create_hyphen_or_hyphen_update_hyphen_repo_hyphen_secret {
@@ -14497,6 +14533,7 @@ public enum Operations {
14497
14533
/// Delete a repository secret
14498
14534
///
14499
14535
/// Deletes a development environment secret in a repository using the secret name. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have write access to the `codespaces_secrets` repository permission to use this endpoint.
14536
+
/// This endpoint does not support fine-grained personal access tokens. For more information about personal access tokens, see "[Managing your personal access tokens](https://docs.github.com/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#personal-access-tokens-classic)."
Copy file name to clipboardExpand all lines: Sources/repos/Client.swift
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10033,7 +10033,7 @@ public struct Client: APIProtocol {
10033
10033
}
10034
10034
/// Get all deployment protection rules for an environment
10035
10035
///
10036
-
/// Gets all custom deployment protection rules that are enabled for an environment. Anyone with read access to the repository can use this endpoint. If the repository is private and you want to use a personal access token (classic), you must use an access token with the `repo` scope. GitHub Apps and fine-grained personal access tokens must have the `actions:read` permission to use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
10036
+
/// Gets all custom deployment protection rules that are enabled for an environment. Anyone with read access to the repository can use this endpoint. If the repository is private and you want to use a personal access token (classic), you must use an access token with the `repo` scope. GitHub Apps and fine-grained personal access tokens must have the `actions:read` permission to use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
10037
10037
///
10038
10038
/// For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/rest/apps/apps#get-an-app).
10039
10039
///
@@ -10182,7 +10182,7 @@ public struct Client: APIProtocol {
10182
10182
///
10183
10183
/// Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint. If the repository is private and you want to use a personal access token (classic), you must use an access token with the `repo` scope. GitHub Apps and fine-grained personal access tokens must have the `actions:read` permission to use this endpoint.
10184
10184
///
10185
-
/// For more information about environments, see "[Using environments for deployment](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
10185
+
/// For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
10186
10186
///
10187
10187
/// For more information about the app that is providing this custom deployment rule, see "[GET an app](https://docs.github.com/rest/apps/apps#get-an-app)".
10188
10188
///
@@ -10264,7 +10264,7 @@ public struct Client: APIProtocol {
10264
10264
}
10265
10265
/// Get a custom deployment protection rule
10266
10266
///
10267
-
/// Gets an enabled custom deployment protection rule for an environment. Anyone with read access to the repository can use this endpoint. If the repository is private and you want to use a personal access token (classic), you must use an access token with the `repo` scope. GitHub Apps and fine-grained personal access tokens must have the `actions:read` permission to use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
10267
+
/// Gets an enabled custom deployment protection rule for an environment. Anyone with read access to the repository can use this endpoint. If the repository is private and you want to use a personal access token (classic), you must use an access token with the `repo` scope. GitHub Apps and fine-grained personal access tokens must have the `actions:read` permission to use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
10268
10268
///
10269
10269
/// For more information about the app that is providing this custom deployment rule, see [`GET /apps/{app_slug}`](https://docs.github.com/rest/apps/apps#get-an-app).
0 commit comments