diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 0f64b158a..c8da89a43 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -1061,7 +1061,7 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nWhen using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -95566,6 +95566,20 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "resolution_comment": { "type": "string", "description": "The comment that was optionally added when this alert was closed", @@ -101425,6 +101439,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -101460,6 +101496,16 @@ "description": "The Relationship a Team has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the team has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, "id": { "type": "integer" }, @@ -101634,6 +101680,23 @@ "description": "The Relationship a User has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the user has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, + "inherited_from": { + "description": "Team the user has gotten the role through", + "type": "array", + "items": { + "$ref": "#/components/schemas/team-simple" + } + }, "name": { "nullable": true, "type": "string" @@ -102159,6 +102222,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -119407,6 +119479,20 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -135780,6 +135866,20 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -265248,6 +265348,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, @@ -265336,6 +265458,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -270835,6 +270960,7 @@ { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -270848,11 +270974,13 @@ { "property_name": "service", "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", "value_type": "string" }, { "property_name": "team", "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", "value_type": "string", "description": "Team owning the repository" } @@ -270862,6 +270990,7 @@ "value": { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -285689,6 +285818,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "inactive", "publicly_leaked": false, @@ -285710,6 +285861,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -285734,6 +285888,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -285776,6 +285933,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": "Example comment", "validity": "unknown", "publicly_leaked": false, diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 203a43624..05a7216e8 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -730,8 +730,6 @@ paths: Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. - When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: - apps @@ -69546,6 +69544,17 @@ components: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true resolution_comment: type: string description: The comment that was optionally added when this alert was closed @@ -74147,6 +74156,24 @@ components: it grants. type: string nullable: true + base_role: + type: string + nullable: true + description: The system role from which this role inherits permissions. + enum: + - read + - triage + - write + - maintain + - admin + source: + type: string + nullable: true + description: Source answers the question, "where did this role come from?" + enum: + - Organization + - Enterprise + - Predefined permissions: description: A list of permissions included in this role. type: array @@ -74174,6 +74201,15 @@ components: description: The Relationship a Team has with a role. type: object properties: + assignment: + type: string + description: Determines if the team has a direct, indirect, or mixed relationship + to a role + enum: + - direct + - indirect + - mixed + example: direct id: type: integer node_id: @@ -74309,6 +74345,20 @@ components: description: The Relationship a User has with a role. type: object properties: + assignment: + type: string + description: Determines if the user has a direct, indirect, or mixed relationship + to a role + enum: + - direct + - indirect + - mixed + example: direct + inherited_from: + description: Team the user has gotten the role through + type: array + items: + "$ref": "#/components/schemas/team-simple" name: nullable: true type: string @@ -74739,6 +74789,13 @@ components: format: uri description: The URL that can be used to fetch, update, or delete info about this property via the API. + source_type: + type: string + description: The source type of the property + enum: + - organization + - enterprise + example: organization value_type: type: string example: single_select @@ -87954,6 +88011,17 @@ components: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true validity: type: string description: The token status as of the latest validity check. @@ -100500,6 +100568,17 @@ components: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true publicly_leaked: type: boolean description: Whether the detected secret was publicly leaked. @@ -198627,6 +198706,27 @@ components: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: active publicly_leaked: false @@ -198711,6 +198811,9 @@ components: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -203475,6 +203578,7 @@ components: value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -203485,15 +203589,18 @@ components: values_editable_by: org_actors - property_name: service url: https://api.github.com/orgs/github/properties/schema/service + source_type: organization value_type: string - property_name: team url: https://api.github.com/orgs/github/properties/schema/team + source_type: organization value_type: string description: Team owning the repository custom-property: value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -216230,6 +216337,27 @@ components: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: inactive publicly_leaked: false @@ -216249,6 +216377,9 @@ components: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -216270,6 +216401,9 @@ components: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -216309,6 +216443,9 @@ components: push_protection_bypassed: false push_protection_bypassed_by: push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: Example comment validity: unknown publicly_leaked: false diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 0f64b158a..c8da89a43 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -1061,7 +1061,7 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nWhen using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -95566,6 +95566,20 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "resolution_comment": { "type": "string", "description": "The comment that was optionally added when this alert was closed", @@ -101425,6 +101439,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -101460,6 +101496,16 @@ "description": "The Relationship a Team has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the team has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, "id": { "type": "integer" }, @@ -101634,6 +101680,23 @@ "description": "The Relationship a User has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the user has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, + "inherited_from": { + "description": "Team the user has gotten the role through", + "type": "array", + "items": { + "$ref": "#/components/schemas/team-simple" + } + }, "name": { "nullable": true, "type": "string" @@ -102159,6 +102222,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -119407,6 +119479,20 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -135780,6 +135866,20 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -265248,6 +265348,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, @@ -265336,6 +265458,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -270835,6 +270960,7 @@ { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -270848,11 +270974,13 @@ { "property_name": "service", "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", "value_type": "string" }, { "property_name": "team", "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", "value_type": "string", "description": "Team owning the repository" } @@ -270862,6 +270990,7 @@ "value": { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -285689,6 +285818,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "inactive", "publicly_leaked": false, @@ -285710,6 +285861,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -285734,6 +285888,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -285776,6 +285933,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": "Example comment", "validity": "unknown", "publicly_leaked": false, diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 203a43624..05a7216e8 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -730,8 +730,6 @@ paths: Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. - When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: - apps @@ -69546,6 +69544,17 @@ components: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true resolution_comment: type: string description: The comment that was optionally added when this alert was closed @@ -74147,6 +74156,24 @@ components: it grants. type: string nullable: true + base_role: + type: string + nullable: true + description: The system role from which this role inherits permissions. + enum: + - read + - triage + - write + - maintain + - admin + source: + type: string + nullable: true + description: Source answers the question, "where did this role come from?" + enum: + - Organization + - Enterprise + - Predefined permissions: description: A list of permissions included in this role. type: array @@ -74174,6 +74201,15 @@ components: description: The Relationship a Team has with a role. type: object properties: + assignment: + type: string + description: Determines if the team has a direct, indirect, or mixed relationship + to a role + enum: + - direct + - indirect + - mixed + example: direct id: type: integer node_id: @@ -74309,6 +74345,20 @@ components: description: The Relationship a User has with a role. type: object properties: + assignment: + type: string + description: Determines if the user has a direct, indirect, or mixed relationship + to a role + enum: + - direct + - indirect + - mixed + example: direct + inherited_from: + description: Team the user has gotten the role through + type: array + items: + "$ref": "#/components/schemas/team-simple" name: nullable: true type: string @@ -74739,6 +74789,13 @@ components: format: uri description: The URL that can be used to fetch, update, or delete info about this property via the API. + source_type: + type: string + description: The source type of the property + enum: + - organization + - enterprise + example: organization value_type: type: string example: single_select @@ -87954,6 +88011,17 @@ components: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true validity: type: string description: The token status as of the latest validity check. @@ -100500,6 +100568,17 @@ components: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true publicly_leaked: type: boolean description: Whether the detected secret was publicly leaked. @@ -198627,6 +198706,27 @@ components: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: active publicly_leaked: false @@ -198711,6 +198811,9 @@ components: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -203475,6 +203578,7 @@ components: value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -203485,15 +203589,18 @@ components: values_editable_by: org_actors - property_name: service url: https://api.github.com/orgs/github/properties/schema/service + source_type: organization value_type: string - property_name: team url: https://api.github.com/orgs/github/properties/schema/team + source_type: organization value_type: string description: Team owning the repository custom-property: value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -216230,6 +216337,27 @@ components: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: inactive publicly_leaked: false @@ -216249,6 +216377,9 @@ components: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -216270,6 +216401,9 @@ components: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -216309,6 +216443,9 @@ components: push_protection_bypassed: false push_protection_bypassed_by: push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: Example comment validity: unknown publicly_leaked: false diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 1545fde51..c82374454 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -6228,7 +6228,7 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nWhen using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -20274,6 +20274,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "resolution_comment": { "type": "string", "description": "The comment that was optionally added when this alert was closed", @@ -20425,6 +20561,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, @@ -20513,6 +20671,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -99499,6 +99660,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -100203,6 +100386,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -100556,6 +100761,16 @@ "description": "The Relationship a Team has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the team has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, "id": { "type": "integer" }, @@ -100834,6 +101049,103 @@ "description": "The Relationship a User has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the user has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, + "inherited_from": { + "description": "Team the user has gotten the role through", + "type": "array", + "items": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + }, "name": { "nullable": true, "type": "string" @@ -109376,6 +109688,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -109444,6 +109765,7 @@ { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -109457,11 +109779,13 @@ { "property_name": "service", "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", "value_type": "string" }, { "property_name": "team", "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", "value_type": "string", "description": "Team owning the repository" } @@ -109577,6 +109901,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -109699,6 +110032,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -109767,6 +110109,7 @@ { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -109780,11 +110123,13 @@ { "property_name": "service", "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", "value_type": "string" }, { "property_name": "team", "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", "value_type": "string", "description": "Team owning the repository" } @@ -109906,6 +110251,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -109972,6 +110326,7 @@ "value": { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -110170,6 +110525,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -110236,6 +110600,7 @@ "value": { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -125463,6 +125828,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "resolution_comment": { "type": "string", "description": "The comment that was optionally added when this alert was closed", @@ -125614,6 +126115,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, @@ -125702,6 +126225,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -388800,6 +389326,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -388879,6 +389541,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "inactive", "publicly_leaked": false, @@ -388900,6 +389584,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -389333,6 +390020,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -389372,6 +390195,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -389852,6 +390678,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -389910,6 +390872,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": "Example comment", "validity": "unknown", "publicly_leaked": false, @@ -558162,6 +559127,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -559031,6 +560005,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -1030551,6 +1031534,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1032513,6 +1033632,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1034891,6 +1036146,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1036853,6 +1038244,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1038815,6 +1040342,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1040777,6 +1042440,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 8024b3816..03a820a94 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -2765,8 +2765,6 @@ paths: Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. - When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: - apps @@ -8197,7 +8195,7 @@ paths: enum: - development - runtime - security_advisory: &400 + security_advisory: &401 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8458,7 +8456,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &401 + auto_dismissed_at: &402 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9264,6 +9262,23 @@ paths: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true resolution_comment: type: string description: The comment that was optionally added when this @@ -9404,6 +9419,27 @@ paths: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: active publicly_leaked: false @@ -9488,6 +9524,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -9812,7 +9851,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &449 + properties: &450 id: type: integer format: int64 @@ -9923,7 +9962,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &385 + properties: &386 url: type: string format: uri @@ -9993,7 +10032,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &386 + required: &387 - closed_issues - creator - description @@ -10134,7 +10173,7 @@ paths: - hooray - eyes - rocket - required: &450 + required: &451 - assignee - closed_at - comments @@ -10156,7 +10195,7 @@ paths: - author_association - created_at - updated_at - comment: &447 + comment: &448 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14006,14 +14045,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &253 + - &254 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &254 + - &255 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14084,7 +14123,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &265 + '301': &266 description: Moved permanently content: application/json: @@ -14106,7 +14145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &478 + - &479 name: all description: If `true`, show notifications marked as read. in: query @@ -14114,7 +14153,7 @@ paths: schema: type: boolean default: false - - &479 + - &480 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14124,7 +14163,7 @@ paths: type: boolean default: false - *65 - - &480 + - &481 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -14580,7 +14619,7 @@ paths: - url - subscription_url examples: - default: &481 + default: &482 value: - id: '1' repository: @@ -15910,7 +15949,7 @@ paths: type: integer repository_cache_usages: type: array - items: &270 + items: &271 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16080,7 +16119,7 @@ paths: - all - local_only - selected - selected_actions_url: &276 + selected_actions_url: &277 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -16498,7 +16537,7 @@ paths: description: Response content: application/json: - schema: &280 + schema: &281 type: object properties: default_workflow_permissions: &107 @@ -16549,7 +16588,7 @@ paths: required: false content: application/json: - schema: &281 + schema: &282 type: object properties: default_workflow_permissions: *107 @@ -17622,7 +17661,7 @@ paths: application/json: schema: type: array - items: &282 + items: &283 title: Runner Application description: Runner Application type: object @@ -17647,7 +17686,7 @@ paths: - download_url - filename examples: - default: &283 + default: &284 value: - os: osx architecture: x64 @@ -17733,7 +17772,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &284 + '201': &285 description: Response content: application/json: @@ -17843,7 +17882,7 @@ paths: - token - expires_at examples: - default: &285 + default: &286 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -17882,7 +17921,7 @@ paths: application/json: schema: *117 examples: - default: &286 + default: &287 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -17916,7 +17955,7 @@ paths: application/json: schema: *115 examples: - default: &287 + default: &288 value: id: 23 name: MBP @@ -18140,7 +18179,7 @@ paths: - *94 - *114 responses: - '200': &288 + '200': &289 description: Response content: application/json: @@ -18197,7 +18236,7 @@ paths: parameters: - *94 - *114 - - &289 + - &290 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18327,7 +18366,7 @@ paths: description: Response content: application/json: - schema: &301 + schema: &302 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -18356,7 +18395,7 @@ paths: - key_id - key examples: - default: &302 + default: &303 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -18767,7 +18806,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &275 + - &276 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -19292,7 +19331,7 @@ paths: repository_id: type: integer examples: - default: &315 + default: &316 value: attestations: - bundle: @@ -19529,7 +19568,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &341 + - &342 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -19539,7 +19578,7 @@ paths: schema: &130 type: string description: The name of the tool used to generate the code scanning analysis. - - &342 + - &343 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -19562,7 +19601,7 @@ paths: be returned. in: query required: false - schema: &344 + schema: &345 type: string description: State of a code scanning alert. enum: @@ -19585,7 +19624,7 @@ paths: be returned. in: query required: false - schema: &345 + schema: &346 type: string description: Severity of a code scanning alert. enum: @@ -19611,7 +19650,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: &346 + instances_url: &347 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -19634,7 +19673,7 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: &347 + dismissed_reason: &348 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -19643,13 +19682,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &348 + dismissed_comment: &349 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &349 + rule: &350 type: object properties: id: @@ -19702,7 +19741,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &350 + tool: &351 type: object properties: name: *130 @@ -19712,15 +19751,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *131 - most_recent_instance: &351 + most_recent_instance: &352 type: object properties: - ref: &343 + ref: &344 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &357 + analysis_key: &358 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -19731,7 +19770,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &358 + category: &359 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21284,7 +21323,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &371 + properties: &372 name: type: string description: The name of the machine. @@ -21326,7 +21365,7 @@ paths: - ready - in_progress nullable: true - required: &372 + required: &373 - name - display_name - operating_system @@ -22194,7 +22233,7 @@ paths: - updated_at - visibility examples: - default: &373 + default: &374 value: total_count: 2 secrets: @@ -22232,7 +22271,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &375 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22261,7 +22300,7 @@ paths: - key_id - key examples: - default: &375 + default: &376 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22293,7 +22332,7 @@ paths: application/json: schema: *138 examples: - default: &377 + default: &378 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23398,7 +23437,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &405 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -23415,7 +23454,7 @@ paths: - key_id - key examples: - default: &405 + default: &406 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25180,7 +25219,7 @@ paths: application/json: schema: *22 examples: - default: &443 + default: &444 value: id: 1 account: @@ -25405,7 +25444,7 @@ paths: required: true content: application/json: - schema: &444 + schema: &445 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -26016,7 +26055,7 @@ paths: application/json: schema: *184 examples: - default: &370 + default: &371 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -27452,6 +27491,26 @@ paths: for or what permissions it grants. type: string nullable: true + base_role: + type: string + nullable: true + description: The system role from which this role inherits + permissions. + enum: + - read + - triage + - write + - maintain + - admin + source: + type: string + nullable: true + description: Source answers the question, "where did this + role come from?" + enum: + - Organization + - Enterprise + - Predefined permissions: description: A list of permissions included in this role. type: array @@ -27814,6 +27873,15 @@ paths: description: The Relationship a Team has with a role. type: object properties: + assignment: + type: string + description: Determines if the team has a direct, indirect, + or mixed relationship to a role + enum: + - direct + - indirect + - mixed + example: direct id: type: integer node_id: @@ -27929,6 +27997,25 @@ paths: description: The Relationship a User has with a role. type: object properties: + assignment: + type: string + description: Determines if the user has a direct, indirect, + or mixed relationship to a role + enum: + - direct + - indirect + - mixed + example: direct + inherited_from: + description: Team the user has gotten the role through + type: array + items: &238 + title: Team Simple + description: Groups of organization members that gives permissions + on specified repositories. + type: object + properties: *195 + required: *196 name: nullable: true type: string @@ -29618,7 +29705,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &262 + '410': &263 description: Gone content: application/json: @@ -29663,6 +29750,13 @@ paths: format: uri description: The URL that can be used to fetch, update, or delete info about this property via the API. + source_type: + type: string + description: The source type of the property + enum: + - organization + - enterprise + example: organization value_type: type: string example: single_select @@ -29713,6 +29807,7 @@ paths: value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -29723,9 +29818,11 @@ paths: values_editable_by: org_actors - property_name: service url: https://api.github.com/orgs/github/properties/schema/service + source_type: organization value_type: string - property_name: team url: https://api.github.com/orgs/github/properties/schema/team + source_type: organization value_type: string description: Team owning the repository '403': *29 @@ -29833,6 +29930,7 @@ paths: value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -30490,7 +30588,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &265 title: Full Repository description: Full Repository type: object @@ -30883,7 +30981,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &392 + properties: &393 url: type: string format: uri @@ -30899,7 +30997,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &393 + required: &394 - url - key - name @@ -30988,7 +31086,7 @@ paths: - network_count - subscribers_count examples: - default: &266 + default: &267 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33895,13 +33993,7 @@ paths: application/json: schema: type: array - items: &489 - title: Team Simple - description: Groups of organization members that gives permissions - on specified repositories. - type: object - properties: *195 - required: *196 + items: *238 examples: default: *197 x-github: @@ -34429,7 +34521,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &239 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -34739,7 +34831,7 @@ paths: - repos_count - organization examples: - default: &239 + default: &240 value: id: 1 node_id: MDQ6VGVhbTE= @@ -34816,9 +34908,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '404': *7 x-github: githubCloudOnly: false @@ -34902,16 +34994,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '201': description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '404': *7 '422': *16 '403': *29 @@ -34981,7 +35073,7 @@ paths: application/json: schema: type: array - items: &240 + items: &241 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -35189,9 +35281,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: &241 + default: &242 value: author: login: octocat @@ -35265,7 +35357,7 @@ paths: parameters: - *94 - *192 - - &242 + - &243 name: discussion_number description: The number that identifies the discussion. in: path @@ -35277,9 +35369,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35303,7 +35395,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 requestBody: required: false content: @@ -35326,7 +35418,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: default: &562 value: @@ -35400,7 +35492,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 responses: '204': description: Response @@ -35428,7 +35520,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 - *42 - *18 - *20 @@ -35439,7 +35531,7 @@ paths: application/json: schema: type: array - items: &243 + items: &244 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -35581,7 +35673,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 requestBody: required: true content: @@ -35603,9 +35695,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *244 examples: - default: &244 + default: &245 value: author: login: octocat @@ -35673,8 +35765,8 @@ paths: parameters: - *94 - *192 - - *242 - - &245 + - *243 + - &246 name: comment_number description: The number that identifies the comment. in: path @@ -35686,9 +35778,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *244 examples: - default: *244 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35712,8 +35804,8 @@ paths: parameters: - *94 - *192 - - *242 - - *245 + - *243 + - *246 requestBody: required: true content: @@ -35735,7 +35827,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *244 examples: default: &564 value: @@ -35803,8 +35895,8 @@ paths: parameters: - *94 - *192 - - *242 - - *245 + - *243 + - *246 responses: '204': description: Response @@ -35832,8 +35924,8 @@ paths: parameters: - *94 - *192 - - *242 - - *245 + - *243 + - *246 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -35859,7 +35951,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -35902,7 +35994,7 @@ paths: - content - created_at examples: - default: &248 + default: &249 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -35954,8 +36046,8 @@ paths: parameters: - *94 - *192 - - *242 - - *245 + - *243 + - *246 requestBody: required: true content: @@ -35988,9 +36080,9 @@ paths: team discussion comment content: application/json: - schema: *246 + schema: *247 examples: - default: &247 + default: &248 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -36019,9 +36111,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36046,9 +36138,9 @@ paths: parameters: - *94 - *192 - - *242 - - *245 - - &249 + - *243 + - *246 + - &250 name: reaction_id description: The unique identifier of the reaction. in: path @@ -36082,7 +36174,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -36108,9 +36200,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 x-github: @@ -36138,7 +36230,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 requestBody: required: true content: @@ -36170,16 +36262,16 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36204,8 +36296,8 @@ paths: parameters: - *94 - *192 - - *242 - - *249 + - *243 + - *250 responses: '204': description: Response @@ -36326,7 +36418,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &251 title: Team Membership description: Team Membership type: object @@ -36416,7 +36508,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: response-if-users-membership-with-team-is-now-pending: &566 summary: Response if user's membership with team is now pending @@ -36492,7 +36584,7 @@ paths: application/json: schema: type: array - items: &251 + items: &252 title: Team Project description: A team's access to a project. type: object @@ -36623,7 +36715,7 @@ paths: parameters: - *94 - *192 - - &252 + - &253 name: project_id description: The unique identifier of the project. in: path @@ -36635,7 +36727,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *252 examples: default: &568 value: @@ -36699,7 +36791,7 @@ paths: parameters: - *94 - *192 - - *252 + - *253 requestBody: required: false content: @@ -36765,7 +36857,7 @@ paths: parameters: - *94 - *192 - - *252 + - *253 responses: '204': description: Response @@ -36833,8 +36925,8 @@ paths: parameters: - *94 - *192 - - *253 - *254 + - *255 responses: '200': description: Alternative response with repository permissions @@ -37411,8 +37503,8 @@ paths: parameters: - *94 - *192 - - *253 - *254 + - *255 requestBody: required: false content: @@ -37459,8 +37551,8 @@ paths: parameters: - *94 - *192 - - *253 - *254 + - *255 responses: '204': description: Response @@ -37621,7 +37713,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &255 + - &256 name: card_id description: The unique identifier of the card. in: path @@ -37633,7 +37725,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &257 title: Project Card description: Project cards represent a scope of work. type: object @@ -37700,7 +37792,7 @@ paths: - created_at - updated_at examples: - default: &257 + default: &258 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -37750,7 +37842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *255 + - *256 requestBody: required: false content: @@ -37777,9 +37869,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 '304': *37 '403': *29 '401': *25 @@ -37800,7 +37892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *255 + - *256 responses: '204': description: Response @@ -37838,7 +37930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *255 + - *256 requestBody: required: true content: @@ -37943,7 +38035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &258 + - &259 name: column_id description: The unique identifier of the column. in: path @@ -37955,7 +38047,7 @@ paths: description: Response content: application/json: - schema: &259 + schema: &260 title: Project Column description: Project columns contain cards of work. type: object @@ -38001,7 +38093,7 @@ paths: - created_at - updated_at examples: - default: &260 + default: &261 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -38030,7 +38122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *258 + - *259 requestBody: required: true content: @@ -38054,9 +38146,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *260 + default: *261 '304': *37 '403': *29 '401': *25 @@ -38075,7 +38167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *258 + - *259 responses: '204': description: Response @@ -38098,7 +38190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *258 + - *259 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -38119,7 +38211,7 @@ paths: application/json: schema: type: array - items: *256 + items: *257 examples: default: value: @@ -38172,7 +38264,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *258 + - *259 requestBody: required: true content: @@ -38212,9 +38304,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 '304': *37 '403': *29 '401': *25 @@ -38264,7 +38356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *258 + - *259 requestBody: required: true content: @@ -38320,7 +38412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *252 + - *253 responses: '200': description: Response @@ -38328,7 +38420,7 @@ paths: application/json: schema: *211 examples: - default: &261 + default: &262 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -38381,7 +38473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *252 + - *253 requestBody: required: false content: @@ -38429,7 +38521,7 @@ paths: application/json: schema: *211 examples: - default: *261 + default: *262 '404': description: Not Found if the authenticated user does not have access to the project @@ -38450,7 +38542,7 @@ paths: items: type: string '401': *25 - '410': *262 + '410': *263 '422': *8 x-github: githubCloudOnly: false @@ -38468,7 +38560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *252 + - *253 responses: '204': description: Delete Success @@ -38489,7 +38581,7 @@ paths: items: type: string '401': *25 - '410': *262 + '410': *263 '404': *7 x-github: githubCloudOnly: false @@ -38512,7 +38604,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *252 + - *253 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -38564,7 +38656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *252 + - *253 - *126 requestBody: required: false @@ -38612,7 +38704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *252 + - *253 - *126 responses: '204': @@ -38641,7 +38733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *252 + - *253 - *126 responses: '200': @@ -38709,7 +38801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *252 + - *253 - *18 - *20 responses: @@ -38719,7 +38811,7 @@ paths: application/json: schema: type: array - items: *259 + items: *260 examples: default: value: @@ -38751,7 +38843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *252 + - *253 requestBody: required: true content: @@ -38774,7 +38866,7 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: default: value: @@ -38835,7 +38927,7 @@ paths: resources: type: object properties: - core: &263 + core: &264 title: Rate Limit type: object properties: @@ -38852,19 +38944,19 @@ paths: - remaining - reset - used - graphql: *263 - search: *263 - code_search: *263 - source_import: *263 - integration_manifest: *263 - code_scanning_upload: *263 - actions_runner_registration: *263 - scim: *263 - dependency_snapshots: *263 + graphql: *264 + search: *264 + code_search: *264 + source_import: *264 + integration_manifest: *264 + code_scanning_upload: *264 + actions_runner_registration: *264 + scim: *264 + dependency_snapshots: *264 required: - core - search - rate: *263 + rate: *264 required: - rate - resources @@ -38963,14 +39055,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *264 + schema: *265 examples: default-response: summary: Default response @@ -39471,7 +39563,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *265 + '301': *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39489,8 +39581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -39726,10 +39818,10 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: - default: *266 - '307': &267 + default: *267 + '307': &268 description: Temporary Redirect content: application/json: @@ -39758,8 +39850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -39781,7 +39873,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *267 + '307': *268 '404': *7 x-github: githubCloudOnly: false @@ -39804,11 +39896,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *253 - *254 + - *255 - *18 - *20 - - &293 + - &294 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -39831,7 +39923,7 @@ paths: type: integer artifacts: type: array - items: &268 + items: &269 title: Artifact description: An artifact type: object @@ -39902,7 +39994,7 @@ paths: - expires_at - updated_at examples: - default: &294 + default: &295 value: total_count: 2 artifacts: @@ -39961,9 +40053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *253 - *254 - - &269 + - *255 + - &270 name: artifact_id description: The unique identifier of the artifact. in: path @@ -39975,7 +40067,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -40012,9 +40104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *253 - *254 - - *269 + - *255 + - *270 responses: '204': description: Response @@ -40038,9 +40130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *253 - *254 - - *269 + - *255 + - *270 - name: archive_format in: path required: true @@ -40054,7 +40146,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40077,14 +40169,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *270 + schema: *271 examples: default: value: @@ -40110,11 +40202,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *253 - *254 + - *255 - *18 - *20 - - &271 + - &272 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -40148,7 +40240,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &273 title: Repository actions caches description: Repository actions caches type: object @@ -40190,7 +40282,7 @@ paths: - total_count - actions_caches examples: - default: &273 + default: &274 value: total_count: 1 actions_caches: @@ -40222,23 +40314,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *253 - *254 + - *255 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40258,8 +40350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *253 - *254 + - *255 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -40290,9 +40382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *253 - *254 - - &274 + - *255 + - &275 name: job_id description: The unique identifier of the job. in: path @@ -40304,7 +40396,7 @@ paths: description: Response content: application/json: - schema: &297 + schema: &298 title: Job description: Information of a job execution in a workflow run type: object @@ -40611,9 +40703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *253 - *254 - - *274 + - *255 + - *275 responses: '302': description: Response @@ -40641,9 +40733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *253 - *254 - - *274 + - *255 + - *275 requestBody: required: false content: @@ -40688,8 +40780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Status response @@ -40739,8 +40831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -40803,8 +40895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -40822,7 +40914,7 @@ paths: type: integer secrets: type: array - items: &299 + items: &300 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -40842,7 +40934,7 @@ paths: - created_at - updated_at examples: - default: &300 + default: &301 value: total_count: 2 secrets: @@ -40875,9 +40967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *253 - *254 - - *275 + - *255 + - *276 - *20 responses: '200': @@ -40894,7 +40986,7 @@ paths: type: integer variables: type: array - items: &303 + items: &304 title: Actions Variable type: object properties: @@ -40924,7 +41016,7 @@ paths: - created_at - updated_at examples: - default: &304 + default: &305 value: total_count: 2 variables: @@ -40957,8 +41049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -40967,11 +41059,11 @@ paths: schema: type: object properties: - enabled: &277 + enabled: &278 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *103 - selected_actions_url: *276 + selected_actions_url: *277 required: - enabled examples: @@ -40998,8 +41090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -41010,7 +41102,7 @@ paths: schema: type: object properties: - enabled: *277 + enabled: *278 allowed_actions: *103 required: - enabled @@ -41040,14 +41132,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: &278 + schema: &279 type: object properties: access_level: @@ -41064,7 +41156,7 @@ paths: required: - access_level examples: - default: &279 + default: &280 value: access_level: organization x-github: @@ -41088,15 +41180,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: application/json: - schema: *278 + schema: *279 examples: - default: *279 + default: *280 responses: '204': description: Response @@ -41120,8 +41212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -41148,8 +41240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -41181,14 +41273,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *280 + schema: *281 examples: default: *109 x-github: @@ -41211,8 +41303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Success response @@ -41223,7 +41315,7 @@ paths: required: true content: application/json: - schema: *281 + schema: *282 examples: default: *109 x-github: @@ -41252,8 +41344,8 @@ paths: in: query schema: type: string - - *253 - *254 + - *255 - *18 - *20 responses: @@ -41297,8 +41389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -41306,9 +41398,9 @@ paths: application/json: schema: type: array - items: *282 + items: *283 examples: - default: *283 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41330,8 +41422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -41374,7 +41466,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *284 + '201': *285 '404': *7 '422': *8 x-github: @@ -41404,8 +41496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *253 - *254 + - *255 responses: '201': description: Response @@ -41413,7 +41505,7 @@ paths: application/json: schema: *117 examples: - default: *285 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41441,8 +41533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *253 - *254 + - *255 responses: '201': description: Response @@ -41450,7 +41542,7 @@ paths: application/json: schema: *117 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41472,8 +41564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 responses: '200': @@ -41482,7 +41574,7 @@ paths: application/json: schema: *115 examples: - default: *287 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41503,8 +41595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *253 - *254 + - *255 - *114 responses: '204': @@ -41530,8 +41622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 responses: '200': *119 @@ -41556,8 +41648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 requestBody: required: true @@ -41606,8 +41698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 requestBody: required: true @@ -41657,11 +41749,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 responses: - '200': *288 + '200': *289 '404': *7 x-github: githubCloudOnly: false @@ -41688,10 +41780,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 - - *289 + - *290 responses: '200': *119 '404': *7 @@ -41719,9 +41811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *253 - *254 - - &307 + - *255 + - &308 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -41729,7 +41821,7 @@ paths: required: false schema: type: string - - &308 + - &309 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -41737,7 +41829,7 @@ paths: required: false schema: type: string - - &309 + - &310 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -41746,7 +41838,7 @@ paths: required: false schema: type: string - - &310 + - &311 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -41773,7 +41865,7 @@ paths: - pending - *18 - *20 - - &311 + - &312 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -41782,7 +41874,7 @@ paths: schema: type: string format: date-time - - &290 + - &291 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -41791,13 +41883,13 @@ paths: schema: type: boolean default: false - - &312 + - &313 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &313 + - &314 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -41820,7 +41912,7 @@ paths: type: integer workflow_runs: type: array - items: &291 + items: &292 title: Workflow Run description: An invocation of a workflow type: object @@ -41915,7 +42007,7 @@ paths: that triggered the run. type: array nullable: true - items: &332 + items: &333 title: Pull Request Minimal type: object properties: @@ -42034,7 +42126,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &336 + properties: &337 id: type: string description: SHA for the commit @@ -42085,7 +42177,7 @@ paths: - name - email nullable: true - required: &337 + required: &338 - id - tree_id - message @@ -42132,7 +42224,7 @@ paths: - workflow_url - pull_requests examples: - default: &314 + default: &315 value: total_count: 1 workflow_runs: @@ -42368,24 +42460,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *253 - *254 - - &292 + - *255 + - &293 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *290 + - *291 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: &295 + default: &296 value: id: 30433642 name: Build @@ -42626,9 +42718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '204': description: Response @@ -42651,9 +42743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '200': description: Response @@ -42772,9 +42864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '201': description: Response @@ -42807,12 +42899,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *253 - *254 - - *292 + - *255 + - *293 - *18 - *20 - - *293 + - *294 responses: '200': description: Response @@ -42828,9 +42920,9 @@ paths: type: integer artifacts: type: array - items: *268 + items: *269 examples: - default: *294 + default: *295 headers: Link: *39 x-github: @@ -42854,25 +42946,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *253 - *254 - - *292 - - &296 + - *255 + - *293 + - &297 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *290 + - *291 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *295 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42895,10 +42987,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *253 - *254 - - *292 - - *296 + - *255 + - *293 + - *297 - *18 - *20 responses: @@ -42916,9 +43008,9 @@ paths: type: integer jobs: type: array - items: *297 + items: *298 examples: - default: &298 + default: &299 value: total_count: 1 jobs: @@ -43031,10 +43123,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *253 - *254 - - *292 - - *296 + - *255 + - *293 + - *297 responses: '302': description: Response @@ -43062,9 +43154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '202': description: Response @@ -43097,9 +43189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 requestBody: required: true content: @@ -43166,9 +43258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '202': description: Response @@ -43201,9 +43293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -43233,9 +43325,9 @@ paths: type: integer jobs: type: array - items: *297 + items: *298 examples: - default: *298 + default: *299 headers: Link: *39 x-github: @@ -43260,9 +43352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '302': description: Response @@ -43289,9 +43381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '204': description: Response @@ -43318,9 +43410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '200': description: Response @@ -43380,7 +43472,7 @@ paths: items: type: object properties: - type: &413 + type: &414 type: string description: The type of reviewer. enum: @@ -43465,9 +43557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 requestBody: required: true content: @@ -43514,7 +43606,7 @@ paths: application/json: schema: type: array - items: &408 + items: &409 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -43620,7 +43712,7 @@ paths: - created_at - updated_at examples: - default: &409 + default: &410 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -43676,9 +43768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *253 - *254 - - *292 + - *255 + - *293 requestBody: required: false content: @@ -43722,9 +43814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 requestBody: required: false content: @@ -43770,9 +43862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '200': description: Response @@ -43909,8 +44001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -43928,9 +44020,9 @@ paths: type: integer secrets: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 headers: Link: *39 x-github: @@ -43955,16 +44047,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43986,17 +44078,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '200': description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: &426 + default: &427 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44022,8 +44114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 requestBody: required: true @@ -44078,8 +44170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '204': @@ -44105,9 +44197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *253 - *254 - - *275 + - *255 + - *276 - *20 responses: '200': @@ -44124,9 +44216,9 @@ paths: type: integer variables: type: array - items: *303 + items: *304 examples: - default: *304 + default: *305 headers: Link: *39 x-github: @@ -44149,8 +44241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -44202,17 +44294,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *253 - *254 + - *255 - *124 responses: '200': description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: &427 + default: &428 value: name: USERNAME value: octocat @@ -44238,8 +44330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *253 - *254 + - *255 - *124 requestBody: required: true @@ -44282,8 +44374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *253 - *254 + - *255 - *124 responses: '204': @@ -44309,8 +44401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -44328,7 +44420,7 @@ paths: type: integer workflows: type: array - items: &305 + items: &306 title: Workflow description: A GitHub Actions workflow type: object @@ -44435,9 +44527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *253 - *254 - - &306 + - *255 + - &307 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -44452,7 +44544,7 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: default: value: @@ -44485,9 +44577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *253 - *254 - - *306 + - *255 + - *307 responses: '204': description: Response @@ -44512,9 +44604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *253 - *254 - - *306 + - *255 + - *307 responses: '204': description: Response @@ -44565,9 +44657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *253 - *254 - - *306 + - *255 + - *307 responses: '204': description: Response @@ -44592,19 +44684,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *253 - *254 - - *306 + - *255 - *307 - *308 - *309 - *310 + - *311 - *18 - *20 - - *311 - - *290 - *312 + - *291 - *313 + - *314 responses: '200': description: Response @@ -44620,9 +44712,9 @@ paths: type: integer workflow_runs: type: array - items: *291 + items: *292 examples: - default: *314 + default: *315 headers: Link: *39 x-github: @@ -44648,9 +44740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *253 - *254 - - *306 + - *255 + - *307 responses: '200': description: Response @@ -44711,8 +44803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *253 - *254 + - *255 - *42 - *18 - *43 @@ -44876,8 +44968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -44914,8 +45006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *253 - *254 + - *255 - name: assignee in: path required: true @@ -44951,8 +45043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -45064,8 +45156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *253 - *254 + - *255 - *18 - *43 - *44 @@ -45109,7 +45201,7 @@ paths: repository_id: type: integer examples: - default: *315 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45129,8 +45221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -45138,7 +45230,7 @@ paths: application/json: schema: type: array - items: &316 + items: &317 title: Autolink reference description: An autolink reference. type: object @@ -45188,8 +45280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -45228,9 +45320,9 @@ paths: description: response content: application/json: - schema: *316 + schema: *317 examples: - default: &317 + default: &318 value: id: 1 key_prefix: TICKET- @@ -45261,9 +45353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *253 - *254 - - &318 + - *255 + - &319 name: autolink_id description: The unique identifier of the autolink. in: path @@ -45275,9 +45367,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '404': *7 x-github: githubCloudOnly: false @@ -45297,9 +45389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *253 - *254 - - *318 + - *255 + - *319 responses: '204': description: Response @@ -45323,8 +45415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response if Dependabot is enabled @@ -45372,8 +45464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -45394,8 +45486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -45415,8 +45507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *253 - *254 + - *255 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -45454,7 +45546,7 @@ paths: - url protected: type: boolean - protection: &320 + protection: &321 title: Branch Protection description: Branch Protection type: object @@ -45496,7 +45588,7 @@ paths: required: - contexts - checks - enforce_admins: &323 + enforce_admins: &324 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -45511,7 +45603,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &325 + required_pull_request_reviews: &326 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -45587,7 +45679,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &322 + restrictions: &323 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -45894,9 +45986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *253 - *254 - - &321 + - *255 + - &322 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -45910,14 +46002,14 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &381 + commit: &382 title: Commit description: Commit type: object @@ -45951,7 +46043,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &319 + properties: &320 name: type: string example: '"Chris Wanstrath"' @@ -45966,7 +46058,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *319 + properties: *320 nullable: true message: type: string @@ -45987,7 +46079,7 @@ paths: required: - sha - url - verification: &433 + verification: &434 title: Verification type: object properties: @@ -46053,7 +46145,7 @@ paths: type: integer files: type: array - items: &396 + items: &397 title: Diff Entry description: Diff Entry type: object @@ -46136,7 +46228,7 @@ paths: - self protected: type: boolean - protection: *320 + protection: *321 protection_url: type: string format: uri @@ -46242,7 +46334,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *265 + '301': *266 '404': *7 x-github: githubCloudOnly: false @@ -46264,15 +46356,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *320 + schema: *321 examples: default: value: @@ -46466,9 +46558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -46723,7 +46815,7 @@ paths: url: type: string format: uri - required_status_checks: &328 + required_status_checks: &329 title: Status Check Policy description: Status Check Policy type: object @@ -46875,7 +46967,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *322 + restrictions: *323 required_conversation_resolution: type: object properties: @@ -46987,9 +47079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47014,17 +47106,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &324 + default: &325 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -47046,17 +47138,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47075,9 +47167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47102,17 +47194,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: &326 + default: &327 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -47208,9 +47300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -47308,9 +47400,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 '422': *16 x-github: githubCloudOnly: false @@ -47331,9 +47423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47360,17 +47452,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &327 + default: &328 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -47393,17 +47485,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *327 + default: *328 '404': *7 x-github: githubCloudOnly: false @@ -47423,9 +47515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47450,17 +47542,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *328 + schema: *329 examples: - default: &329 + default: &330 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -47486,9 +47578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -47540,9 +47632,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *329 examples: - default: *329 + default: *330 '404': *7 '422': *16 x-github: @@ -47564,9 +47656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47590,9 +47682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response @@ -47626,9 +47718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -47695,9 +47787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -47761,9 +47853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: content: application/json: @@ -47829,15 +47921,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *322 + schema: *323 examples: default: value: @@ -47928,9 +48020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47953,9 +48045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response @@ -47965,7 +48057,7 @@ paths: type: array items: *6 examples: - default: &330 + default: &331 value: - id: 1 slug: octoapp @@ -48022,9 +48114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48058,7 +48150,7 @@ paths: type: array items: *6 examples: - default: *330 + default: *331 '422': *16 x-github: githubCloudOnly: false @@ -48079,9 +48171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48115,7 +48207,7 @@ paths: type: array items: *6 examples: - default: *330 + default: *331 '422': *16 x-github: githubCloudOnly: false @@ -48136,9 +48228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48172,7 +48264,7 @@ paths: type: array items: *6 examples: - default: *330 + default: *331 '422': *16 x-github: githubCloudOnly: false @@ -48194,9 +48286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response @@ -48226,9 +48318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -48287,9 +48379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -48348,9 +48440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: content: application/json: @@ -48409,9 +48501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response @@ -48445,9 +48537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48505,9 +48597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48565,9 +48657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48627,9 +48719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48651,7 +48743,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: default: value: @@ -48766,8 +48858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -49046,7 +49138,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &334 title: CheckRun description: A check performed on the code of a given code change type: object @@ -49165,7 +49257,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *332 + items: *333 deployment: &620 title: Deployment description: A deployment created as the result of an Actions @@ -49446,9 +49538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *253 - *254 - - &334 + - *255 + - &335 name: check_run_id description: The unique identifier of the check run. in: path @@ -49460,9 +49552,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *334 examples: - default: &335 + default: &336 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -49562,9 +49654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *253 - *254 - - *334 + - *255 + - *335 requestBody: required: true content: @@ -49804,9 +49896,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *334 examples: - default: *335 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49826,9 +49918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *253 - *254 - - *334 + - *255 + - *335 - *18 - *20 responses: @@ -49925,9 +50017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *253 - *254 - - *334 + - *255 + - *335 responses: '201': description: Response @@ -49971,8 +50063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -49994,7 +50086,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &338 + schema: &339 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -50058,7 +50150,7 @@ paths: nullable: true pull_requests: type: array - items: *332 + items: *333 nullable: true app: title: GitHub app @@ -50084,8 +50176,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *336 - required: *337 + properties: *337 + required: *338 latest_check_runs_count: type: integer check_runs_url: @@ -50113,7 +50205,7 @@ paths: - check_runs_url - pull_requests examples: - default: &339 + default: &340 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -50404,9 +50496,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *338 + schema: *339 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50425,8 +50517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -50735,9 +50827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *253 - *254 - - &340 + - *255 + - &341 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -50749,9 +50841,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50774,17 +50866,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *253 - *254 - - *340 - - &389 + - *255 + - *341 + - &390 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &390 + - &391 name: status description: Returns check runs with the specified `status`. in: query @@ -50823,9 +50915,9 @@ paths: type: integer check_runs: type: array - items: *333 + items: *334 examples: - default: &391 + default: &392 value: total_count: 1 check_runs: @@ -50927,9 +51019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *253 - *254 - - *340 + - *255 + - *341 responses: '201': description: Response @@ -50962,21 +51054,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *253 - *254 - - *341 + - *255 - *342 + - *343 - *20 - *18 - - &355 + - &356 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *343 - - &356 + schema: *344 + - &357 name: pr description: The number of the pull request for the results you want to list. in: query @@ -51001,13 +51093,13 @@ paths: be returned. in: query required: false - schema: *344 + schema: *345 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *345 + schema: *346 responses: '200': description: Response @@ -51023,7 +51115,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *346 + instances_url: *347 state: *132 fixed_at: *128 dismissed_by: @@ -51034,11 +51126,11 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *347 - dismissed_comment: *348 - rule: *349 - tool: *350 - most_recent_instance: *351 + dismissed_reason: *348 + dismissed_comment: *349 + rule: *350 + tool: *351 + most_recent_instance: *352 required: - number - created_at @@ -51154,7 +51246,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &352 + '403': &353 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -51181,9 +51273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *253 - *254 - - &353 + - *255 + - &354 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -51197,7 +51289,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &355 type: object properties: number: *48 @@ -51205,7 +51297,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *346 + instances_url: *347 state: *132 fixed_at: *128 dismissed_by: @@ -51216,8 +51308,8 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *347 - dismissed_comment: *348 + dismissed_reason: *348 + dismissed_comment: *349 rule: type: object properties: @@ -51271,8 +51363,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *350 - most_recent_instance: *351 + tool: *351 + most_recent_instance: *352 required: - number - created_at @@ -51361,7 +51453,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -51381,9 +51473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *253 - *254 - - *353 + - *255 + - *354 requestBody: required: true content: @@ -51398,8 +51490,8 @@ paths: enum: - open - dismissed - dismissed_reason: *347 - dismissed_comment: *348 + dismissed_reason: *348 + dismissed_comment: *349 required: - state examples: @@ -51414,7 +51506,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *355 examples: default: value: @@ -51489,7 +51581,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &361 + '403': &362 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -51516,13 +51608,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *253 - *254 - - *353 + - *255 + - *354 - *20 - *18 - - *355 - *356 + - *357 responses: '200': description: Response @@ -51530,7 +51622,7 @@ paths: application/json: schema: type: array - items: *351 + items: *352 examples: default: value: @@ -51569,7 +51661,7 @@ paths: end_column: 50 classifications: - source - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -51603,25 +51695,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *253 - *254 - - *341 + - *255 - *342 + - *343 - *20 - *18 - - *356 + - *357 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *343 + schema: *344 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &359 + schema: &360 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -51642,23 +51734,23 @@ paths: application/json: schema: type: array - items: &360 + items: &361 type: object properties: - ref: *343 - commit_sha: &369 + ref: *344 + commit_sha: &370 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *357 + analysis_key: *358 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *358 + category: *359 error: type: string example: error reading field xyz @@ -51682,8 +51774,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *359 - tool: *350 + sarif_id: *360 + tool: *351 deletable: type: boolean warning: @@ -51744,7 +51836,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -51780,8 +51872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *253 - *254 + - *255 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -51794,7 +51886,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *361 examples: response: summary: application/json response @@ -51848,7 +51940,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -51930,8 +52022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *253 - *254 + - *255 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -51984,7 +52076,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *15 - '403': *361 + '403': *362 '404': *7 '503': *63 x-github: @@ -52006,8 +52098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -52015,7 +52107,7 @@ paths: application/json: schema: type: array - items: &362 + items: &363 title: CodeQL Database description: A CodeQL database. type: object @@ -52126,7 +52218,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -52155,8 +52247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *253 - *254 + - *255 - name: language in: path description: The language of the CodeQL database. @@ -52168,7 +52260,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: default: value: @@ -52200,9 +52292,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &398 + '302': &399 description: Found - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -52224,8 +52316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *253 - *254 + - *255 - name: language in: path description: The language of the CodeQL database. @@ -52235,7 +52327,7 @@ paths: responses: '204': description: Response - '403': *361 + '403': *362 '404': *7 '503': *63 x-github: @@ -52263,8 +52355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -52273,7 +52365,7 @@ paths: type: object additionalProperties: false properties: - language: &363 + language: &364 type: string description: The language targeted by the CodeQL query enum: @@ -52351,7 +52443,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &367 + schema: &368 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -52361,7 +52453,7 @@ paths: description: The ID of the variant analysis. controller_repo: *52 actor: *19 - query_language: *363 + query_language: *364 query_pack_url: type: string description: The download url for the query pack. @@ -52408,7 +52500,7 @@ paths: items: type: object properties: - repository: &364 + repository: &365 title: Repository Identifier description: Repository Identifier type: object @@ -52444,7 +52536,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &368 + analysis_status: &369 type: string description: The new status of the CodeQL variant analysis repository task. @@ -52476,7 +52568,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &365 + access_mismatch_repos: &366 type: object properties: repository_count: @@ -52490,7 +52582,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *364 + items: *365 required: - repository_count - repositories @@ -52512,8 +52604,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *365 - over_limit_repos: *365 + no_codeql_db_repos: *366 + over_limit_repos: *366 required: - access_mismatch_repos - not_found_repos @@ -52529,7 +52621,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &366 + value: &367 summary: Default response value: id: 1 @@ -52681,10 +52773,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *366 + value: *367 repository_lists: summary: Response for a successful variant analysis submission - value: *366 + value: *367 '404': *7 '422': description: Unable to process variant analysis submission @@ -52712,8 +52804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *253 - *254 + - *255 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -52725,9 +52817,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *366 + default: *367 '404': *7 '503': *63 x-github: @@ -52750,7 +52842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *253 + - *254 - name: repo in: path description: The name of the controller repository. @@ -52785,7 +52877,7 @@ paths: type: object properties: repository: *52 - analysis_status: *368 + analysis_status: *369 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -52910,8 +53002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -52972,7 +53064,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -52993,8 +53085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -53064,7 +53156,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *361 + '403': *362 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -53129,8 +53221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -53138,7 +53230,7 @@ paths: schema: type: object properties: - commit_sha: *369 + commit_sha: *370 ref: type: string description: |- @@ -53196,7 +53288,7 @@ paths: schema: type: object properties: - id: *359 + id: *360 url: type: string description: The REST API URL for checking the status of the upload. @@ -53210,7 +53302,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *361 + '403': *362 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -53233,8 +53325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *253 - *254 + - *255 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -53280,7 +53372,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *352 + '403': *353 '404': description: Not Found if the sarif id does not match any upload '503': *63 @@ -53305,8 +53397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -53384,8 +53476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *253 - *254 + - *255 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -53505,8 +53597,8 @@ paths: parameters: - *18 - *20 - - *253 - *254 + - *255 responses: '200': description: Response @@ -53820,8 +53912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -53886,7 +53978,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -53894,7 +53986,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '400': *15 '401': *25 '403': *29 @@ -53923,8 +54015,8 @@ paths: parameters: - *18 - *20 - - *253 - *254 + - *255 responses: '200': description: Response @@ -53988,8 +54080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *253 - *254 + - *255 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -54028,8 +54120,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *371 - required: *372 + properties: *372 + required: *373 examples: default: &578 value: @@ -54071,8 +54163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *253 - *254 + - *255 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -54156,8 +54248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *253 - *254 + - *255 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -54223,8 +54315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -54242,7 +54334,7 @@ paths: type: integer secrets: type: array - items: &376 + items: &377 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -54262,7 +54354,7 @@ paths: - created_at - updated_at examples: - default: *373 + default: *374 headers: Link: *39 x-github: @@ -54285,16 +54377,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: *375 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54314,17 +54406,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '200': description: Response content: application/json: - schema: *376 + schema: *377 examples: - default: *377 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54344,8 +54436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 requestBody: required: true @@ -54398,8 +54490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '204': @@ -54428,8 +54520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *253 - *254 + - *255 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -54471,7 +54563,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &378 + properties: &379 login: type: string example: octocat @@ -54564,7 +54656,7 @@ paths: user_view_type: type: string example: public - required: &379 + required: &380 - avatar_url - events_url - followers_url @@ -54638,8 +54730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *253 - *254 + - *255 - *126 responses: '204': @@ -54682,8 +54774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *253 - *254 + - *255 - *126 requestBody: required: false @@ -54710,7 +54802,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &446 + schema: &447 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -54932,8 +55024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *253 - *254 + - *255 - *126 responses: '204': @@ -54963,8 +55055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *253 - *254 + - *255 - *126 responses: '200': @@ -54985,8 +55077,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *378 - required: *379 + properties: *379 + required: *380 nullable: true required: - permission @@ -55041,8 +55133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -55052,7 +55144,7 @@ paths: application/json: schema: type: array - items: &380 + items: &381 title: Commit Comment description: Commit Comment type: object @@ -55110,7 +55202,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &384 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55169,17 +55261,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *253 - *254 + - *255 - *74 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: &384 + default: &385 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55236,8 +55328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -55260,7 +55352,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -55311,8 +55403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *253 - *254 + - *255 - *74 responses: '204': @@ -55334,8 +55426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *253 - *254 + - *255 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -55362,9 +55454,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 '404': *7 @@ -55385,8 +55477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -55419,16 +55511,16 @@ paths: description: Reaction exists content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Reaction created content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '422': *16 x-github: githubCloudOnly: false @@ -55450,10 +55542,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *253 - *254 + - *255 - *74 - - *249 + - *250 responses: '204': description: Response @@ -55501,8 +55593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *253 - *254 + - *255 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -55558,7 +55650,7 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: default: &497 value: @@ -55653,9 +55745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *253 - *254 - - &382 + - *255 + - &383 name: commit_sha description: The SHA of the commit. in: path @@ -55727,9 +55819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *253 - *254 - - *382 + - *255 + - *383 - *18 - *20 responses: @@ -55739,9 +55831,9 @@ paths: application/json: schema: type: array - items: *380 + items: *381 examples: - default: *383 + default: *384 headers: Link: *39 x-github: @@ -55769,9 +55861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *253 - *254 - - *382 + - *255 + - *383 requestBody: required: true content: @@ -55806,9 +55898,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *384 + default: *385 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55836,9 +55928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *253 - *254 - - *382 + - *255 + - *383 - *18 - *20 responses: @@ -55848,7 +55940,7 @@ paths: application/json: schema: type: array - items: &487 + items: &488 title: Pull Request Simple description: Pull Request Simple type: object @@ -55954,8 +56046,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *385 - required: *386 + properties: *386 + required: *387 nullable: true active_lock_reason: type: string @@ -56051,7 +56143,7 @@ paths: _links: type: object properties: - comments: &387 + comments: &388 title: Link description: Hypermedia Link type: object @@ -56060,13 +56152,13 @@ paths: type: string required: - href - commits: *387 - statuses: *387 - html: *387 - issue: *387 - review_comments: *387 - review_comment: *387 - self: *387 + commits: *388 + statuses: *388 + html: *388 + issue: *388 + review_comments: *388 + review_comment: *388 + self: *388 required: - comments - commits @@ -56140,7 +56232,7 @@ paths: - author_association - auto_merge examples: - default: &488 + default: &489 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -56676,11 +56768,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *253 - *254 + - *255 - *20 - *18 - - &388 + - &389 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -56695,9 +56787,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: &474 + default: &475 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -56809,11 +56901,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *253 - *254 - - *388 + - *255 - *389 - *390 + - *391 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -56847,9 +56939,9 @@ paths: type: integer check_runs: type: array - items: *333 + items: *334 examples: - default: *391 + default: *392 headers: Link: *39 x-github: @@ -56874,9 +56966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *253 - *254 - - *388 + - *255 + - *389 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -56884,7 +56976,7 @@ paths: schema: type: integer example: 1 - - *389 + - *390 - *18 - *20 responses: @@ -56902,7 +56994,7 @@ paths: type: integer check_suites: type: array - items: *338 + items: *339 examples: default: value: @@ -57102,9 +57194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *253 - *254 - - *388 + - *255 + - *389 - *18 - *20 responses: @@ -57302,9 +57394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *253 - *254 - - *388 + - *255 + - *389 - *18 - *20 responses: @@ -57395,7 +57487,7 @@ paths: site_admin: false headers: Link: *39 - '301': *265 + '301': *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57423,8 +57515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -57453,20 +57545,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *392 - required: *393 + properties: *393 + required: *394 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &394 + properties: &395 url: type: string format: uri html_url: type: string format: uri - required: &395 + required: &396 - url - html_url nullable: true @@ -57480,26 +57572,26 @@ paths: contributing: title: Community Health File type: object - properties: *394 - required: *395 + properties: *395 + required: *396 nullable: true readme: title: Community Health File type: object - properties: *394 - required: *395 + properties: *395 + required: *396 nullable: true issue_template: title: Community Health File type: object - properties: *394 - required: *395 + properties: *395 + required: *396 nullable: true pull_request_template: title: Community Health File type: object - properties: *394 - required: *395 + properties: *395 + required: *396 nullable: true required: - code_of_conduct @@ -57625,8 +57717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *253 - *254 + - *255 - *20 - *18 - name: basehead @@ -57669,8 +57761,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *381 - merge_base_commit: *381 + base_commit: *382 + merge_base_commit: *382 status: type: string enum: @@ -57690,10 +57782,10 @@ paths: example: 6 commits: type: array - items: *381 + items: *382 files: type: array - items: *396 + items: *397 required: - url - html_url @@ -57976,8 +58068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *253 - *254 + - *255 - name: path description: path parameter in: path @@ -58118,7 +58210,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &397 + response-if-content-is-a-file: &398 summary: Response if content is a file value: type: file @@ -58451,7 +58543,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *397 + response-if-content-is-a-file: *398 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -58520,7 +58612,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *398 + '302': *399 '304': *37 x-github: githubCloudOnly: false @@ -58543,8 +58635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *253 - *254 + - *255 - name: path description: path parameter in: path @@ -58637,7 +58729,7 @@ paths: description: Response content: application/json: - schema: &399 + schema: &400 title: File Commit description: File Commit type: object @@ -58785,7 +58877,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *400 examples: example-for-creating-a-file: value: @@ -58838,7 +58930,7 @@ paths: schema: oneOf: - *3 - - &428 + - &429 description: Repository rule violation was detected type: object properties: @@ -58891,8 +58983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *253 - *254 + - *255 - name: path description: path parameter in: path @@ -58953,7 +59045,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *400 examples: default: value: @@ -59007,8 +59099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *253 - *254 + - *255 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -59131,8 +59223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *253 - *254 + - *255 - *142 - *143 - *144 @@ -59173,7 +59265,7 @@ paths: application/json: schema: type: array - items: &402 + items: &403 type: object description: A Dependabot alert. properties: @@ -59206,7 +59298,7 @@ paths: enum: - development - runtime - security_advisory: *400 + security_advisory: *401 security_vulnerability: *47 url: *50 html_url: *51 @@ -59237,7 +59329,7 @@ paths: nullable: true maxLength: 280 fixed_at: *128 - auto_dismissed_at: *401 + auto_dismissed_at: *402 required: - number - state @@ -59464,9 +59556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *253 - *254 - - &403 + - *255 + - &404 name: alert_number in: path description: |- @@ -59481,7 +59573,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: default: value: @@ -59591,9 +59683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *253 - *254 - - *403 + - *255 + - *404 requestBody: required: true content: @@ -59638,7 +59730,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: default: value: @@ -59767,8 +59859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -59786,7 +59878,7 @@ paths: type: integer secrets: type: array - items: &406 + items: &407 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -59839,16 +59931,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *405 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59868,15 +59960,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '200': description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -59902,8 +59994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 requestBody: required: true @@ -59956,8 +60048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '204': @@ -59980,8 +60072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *253 - *254 + - *255 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -60141,8 +60233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -60381,8 +60473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -60457,7 +60549,7 @@ paths: - version - url additionalProperties: false - metadata: &407 + metadata: &408 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -60490,7 +60582,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *407 + metadata: *408 resolved: type: object description: A collection of resolved package dependencies. @@ -60503,7 +60595,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *407 + metadata: *408 relationship: type: string description: A notation of whether a dependency is requested @@ -60632,8 +60724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *253 - *254 + - *255 - name: sha description: The SHA recorded at creation time. in: query @@ -60673,9 +60765,9 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 + default: *410 headers: Link: *39 x-github: @@ -60741,8 +60833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -60823,7 +60915,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: simple-example: summary: Simple example @@ -60896,9 +60988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *253 - *254 - - &410 + - *255 + - &411 name: deployment_id description: deployment_id parameter in: path @@ -60910,7 +61002,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: default: value: @@ -60975,9 +61067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *253 - *254 - - *410 + - *255 + - *411 responses: '204': description: Response @@ -60999,9 +61091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *253 - *254 - - *410 + - *255 + - *411 - *18 - *20 responses: @@ -61011,7 +61103,7 @@ paths: application/json: schema: type: array - items: &411 + items: &412 title: Deployment Status description: The status of a deployment. type: object @@ -61172,9 +61264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *253 - *254 - - *410 + - *255 + - *411 requestBody: required: true content: @@ -61249,9 +61341,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *412 examples: - default: &412 + default: &413 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -61307,9 +61399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *253 - *254 - - *410 + - *255 + - *411 - name: status_id in: path required: true @@ -61320,9 +61412,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *412 examples: - default: *412 + default: *413 '404': *7 x-github: githubCloudOnly: false @@ -61347,8 +61439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -61405,8 +61497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -61423,7 +61515,7 @@ paths: type: integer environments: type: array - items: &414 + items: &415 title: Environment description: Details of a deployment environment type: object @@ -61475,7 +61567,7 @@ paths: type: type: string example: wait_timer - wait_timer: &416 + wait_timer: &417 type: integer example: 30 description: The amount of time to delay a job after @@ -61512,7 +61604,7 @@ paths: items: type: object properties: - type: *413 + type: *414 reviewer: anyOf: - *19 @@ -61536,7 +61628,7 @@ paths: - id - node_id - type - deployment_branch_policy: &417 + deployment_branch_policy: &418 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -61652,9 +61744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *253 - *254 - - &415 + - *255 + - &416 name: environment_name in: path required: true @@ -61667,9 +61759,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *415 examples: - default: &418 + default: &419 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -61753,9 +61845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *253 - *254 - - *415 + - *255 + - *416 requestBody: required: false content: @@ -61764,7 +61856,7 @@ paths: type: object nullable: true properties: - wait_timer: *416 + wait_timer: *417 prevent_self_review: type: boolean example: false @@ -61781,13 +61873,13 @@ paths: items: type: object properties: - type: *413 + type: *414 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *417 + deployment_branch_policy: *418 additionalProperties: false examples: default: @@ -61807,9 +61899,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *415 examples: - default: *418 + default: *419 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -61833,9 +61925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *253 - *254 - - *415 + - *255 + - *416 responses: '204': description: Default response @@ -61860,9 +61952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *18 - *20 responses: @@ -61880,7 +61972,7 @@ paths: example: 2 branch_policies: type: array - items: &419 + items: &420 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -61937,9 +62029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *253 - *254 - - *415 + - *255 + - *416 requestBody: required: true content: @@ -61985,9 +62077,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: - example-wildcard: &420 + example-wildcard: &421 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -62029,10 +62121,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *253 - *254 - - *415 - - &421 + - *255 + - *416 + - &422 name: branch_policy_id in: path required: true @@ -62044,9 +62136,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: *420 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62065,10 +62157,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *253 - *254 - - *415 - - *421 + - *255 + - *416 + - *422 requestBody: required: true content: @@ -62096,9 +62188,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: *420 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62117,10 +62209,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *253 - *254 - - *415 - - *421 + - *255 + - *416 + - *422 responses: '204': description: Response @@ -62145,9 +62237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *415 + - *416 + - *255 - *254 - - *253 responses: '200': description: List of deployment protection rules @@ -62163,7 +62255,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &422 + items: &423 title: Deployment protection rule description: Deployment protection rule type: object @@ -62182,7 +62274,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &423 + app: &424 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -62281,9 +62373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *415 + - *416 + - *255 - *254 - - *253 requestBody: content: application/json: @@ -62304,9 +62396,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *422 + schema: *423 examples: - default: &424 + default: &425 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -62341,9 +62433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *415 + - *416 + - *255 - *254 - - *253 - *20 - *18 responses: @@ -62362,7 +62454,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *423 + items: *424 examples: default: value: @@ -62397,10 +62489,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *253 - *254 - - *415 - - &425 + - *255 + - *416 + - &426 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -62412,9 +62504,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: - default: *424 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62435,10 +62527,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *415 + - *416 + - *255 - *254 - - *253 - - *425 + - *426 responses: '204': description: Response @@ -62464,9 +62556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *18 - *20 responses: @@ -62484,9 +62576,9 @@ paths: type: integer secrets: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 headers: Link: *39 x-github: @@ -62511,17 +62603,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *253 - *254 - - *415 + - *255 + - *416 responses: '200': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62543,18 +62635,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *121 responses: '200': description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *426 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62576,9 +62668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *121 requestBody: required: true @@ -62636,9 +62728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *121 responses: '204': @@ -62664,10 +62756,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *253 - *254 - - *415 - - *275 + - *255 + - *416 + - *276 - *20 responses: '200': @@ -62684,9 +62776,9 @@ paths: type: integer variables: type: array - items: *303 + items: *304 examples: - default: *304 + default: *305 headers: Link: *39 x-github: @@ -62709,9 +62801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *253 - *254 - - *415 + - *255 + - *416 requestBody: required: true content: @@ -62763,18 +62855,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *124 responses: '200': description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *427 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62795,10 +62887,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *253 - *254 + - *255 - *124 - - *415 + - *416 requestBody: required: true content: @@ -62840,10 +62932,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *253 - *254 + - *255 - *124 - - *415 + - *416 responses: '204': description: Response @@ -62865,8 +62957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -62943,8 +63035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *253 - *254 + - *255 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -63103,8 +63195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -63136,9 +63228,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: - default: *266 + default: *267 '400': *15 '422': *16 '403': *29 @@ -63159,8 +63251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -63220,7 +63312,7 @@ paths: schema: oneOf: - *97 - - *428 + - *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63245,8 +63337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *253 - *254 + - *255 - name: file_sha in: path required: true @@ -63344,8 +63436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -63454,7 +63546,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &430 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -63662,15 +63754,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *253 - *254 - - *382 + - *255 + - *383 responses: '200': description: Response content: application/json: - schema: *429 + schema: *430 examples: default: value: @@ -63725,9 +63817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *253 - *254 - - &430 + - *255 + - &431 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -63744,7 +63836,7 @@ paths: application/json: schema: type: array - items: &431 + items: &432 title: Git Reference description: Git references within a repository type: object @@ -63819,17 +63911,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *253 - *254 - - *430 + - *255 + - *431 responses: '200': description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: &432 + default: &433 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -63858,8 +63950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -63888,9 +63980,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -63916,9 +64008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *253 - *254 - - *430 + - *255 + - *431 requestBody: required: true content: @@ -63947,9 +64039,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '422': *16 '409': *134 x-github: @@ -63967,9 +64059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *253 - *254 - - *430 + - *255 + - *431 responses: '204': description: Response @@ -64021,8 +64113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -64089,7 +64181,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &435 title: Git Tag description: Metadata for a Git tag type: object @@ -64140,7 +64232,7 @@ paths: - sha - type - url - verification: *433 + verification: *434 required: - sha - url @@ -64150,7 +64242,7 @@ paths: - tag - message examples: - default: &435 + default: &436 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -64221,8 +64313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *253 - *254 + - *255 - name: tag_sha in: path required: true @@ -64233,9 +64325,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *435 + default: *436 '404': *7 '409': *134 x-github: @@ -64259,8 +64351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -64333,7 +64425,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &437 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -64445,8 +64537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *253 - *254 + - *255 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -64469,7 +64561,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: default-response: summary: Default response @@ -64528,8 +64620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -64539,7 +64631,7 @@ paths: application/json: schema: type: array - items: &437 + items: &438 title: Webhook description: Webhooks for repositories. type: object @@ -64667,8 +64759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -64720,9 +64812,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: &438 + default: &439 value: type: Repository id: 12345678 @@ -64770,17 +64862,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 responses: '200': description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '404': *7 x-github: githubCloudOnly: false @@ -64800,8 +64892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 requestBody: required: true @@ -64847,9 +64939,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *16 '404': *7 x-github: @@ -64867,8 +64959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 responses: '204': @@ -64893,8 +64985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *253 - *254 + - *255 - *157 responses: '200': @@ -64922,8 +65014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *253 - *254 + - *255 - *157 requestBody: required: false @@ -64968,8 +65060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 - *18 - *158 @@ -65001,8 +65093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 - *17 responses: @@ -65031,8 +65123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 - *17 responses: @@ -65056,8 +65148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 responses: '204': @@ -65083,8 +65175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *253 - *254 + - *255 - *157 responses: '204': @@ -65143,14 +65235,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: &439 + schema: &440 title: Import description: A repository import from an external source. type: object @@ -65249,7 +65341,7 @@ paths: - html_url - authors_url examples: - default: &442 + default: &443 value: vcs: subversion use_lfs: true @@ -65265,7 +65357,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &440 + '503': &441 description: Unavailable due to service under maintenance. content: application/json: @@ -65294,8 +65386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -65343,7 +65435,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: default: value: @@ -65368,7 +65460,7 @@ paths: type: string '422': *16 '404': *7 - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65396,8 +65488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -65446,7 +65538,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: example-1: summary: Example 1 @@ -65494,7 +65586,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65517,12 +65609,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *253 - *254 + - *255 responses: '204': description: Response - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65548,8 +65640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *253 - *254 + - *255 - &601 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -65564,7 +65656,7 @@ paths: application/json: schema: type: array - items: &441 + items: &442 title: Porter Author description: Porter Author type: object @@ -65618,7 +65710,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65643,8 +65735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *253 - *254 + - *255 - name: author_id in: path required: true @@ -65674,7 +65766,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: default: value: @@ -65687,7 +65779,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65711,8 +65803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -65753,7 +65845,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65781,8 +65873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -65809,11 +65901,11 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: - default: *442 + default: *443 '422': *16 - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65836,8 +65928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -65845,8 +65937,8 @@ paths: application/json: schema: *22 examples: - default: *443 - '301': *265 + default: *444 + '301': *266 '404': *7 x-github: githubCloudOnly: false @@ -65866,8 +65958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -65880,7 +65972,7 @@ paths: properties: {} additionalProperties: false examples: - default: &445 + default: &446 value: limit: collaborators_only origin: repository @@ -65905,13 +65997,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: application/json: - schema: *444 + schema: *445 examples: default: summary: Example request body @@ -65925,7 +66017,7 @@ paths: application/json: schema: *175 examples: - default: *445 + default: *446 '409': description: Response x-github: @@ -65947,8 +66039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -65971,8 +66063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -65982,7 +66074,7 @@ paths: application/json: schema: type: array - items: *446 + items: *447 examples: default: &594 value: @@ -66115,8 +66207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *253 - *254 + - *255 - *179 requestBody: required: false @@ -66146,7 +66238,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *447 examples: default: value: @@ -66277,8 +66369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *253 - *254 + - *255 - *179 responses: '204': @@ -66310,8 +66402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *253 - *254 + - *255 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -66524,7 +66616,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *265 + '301': *266 '422': *16 '404': *7 x-github: @@ -66553,8 +66645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -66631,7 +66723,7 @@ paths: application/json: schema: *75 examples: - default: &452 + default: &453 value: id: 1 node_id: MDU6SXNzdWUx @@ -66787,7 +66879,7 @@ paths: '422': *16 '503': *63 '404': *7 - '410': *262 + '410': *263 x-github: triggersNotification: true githubCloudOnly: false @@ -66815,8 +66907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *253 - *254 + - *255 - *85 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -66837,9 +66929,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: &454 + default: &455 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -66897,17 +66989,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *253 - *254 + - *255 - *74 responses: '200': description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: &448 + default: &449 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -66961,8 +67053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -66985,9 +67077,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *16 x-github: githubCloudOnly: false @@ -67005,8 +67097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *253 - *254 + - *255 - *74 responses: '204': @@ -67027,8 +67119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *253 - *254 + - *255 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -67055,9 +67147,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 '404': *7 @@ -67078,8 +67170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -67112,16 +67204,16 @@ paths: description: Reaction exists content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Reaction created content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '422': *16 x-github: githubCloudOnly: false @@ -67143,10 +67235,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *253 - *254 + - *255 - *74 - - *249 + - *250 responses: '204': description: Response @@ -67166,8 +67258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -67177,7 +67269,7 @@ paths: application/json: schema: type: array - items: &451 + items: &452 title: Issue Event description: Issue Event type: object @@ -67220,8 +67312,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *449 - required: *450 + properties: *450 + required: *451 nullable: true label: title: Issue Event Label @@ -67528,8 +67620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *253 - *254 + - *255 - name: event_id in: path required: true @@ -67540,7 +67632,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: default: value: @@ -67733,7 +67825,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *262 + '410': *263 '403': *29 x-github: githubCloudOnly: false @@ -67767,9 +67859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *253 - *254 - - &453 + - *255 + - &454 name: issue_number description: The number that identifies the issue. in: path @@ -67783,10 +67875,10 @@ paths: application/json: schema: *75 examples: - default: *452 - '301': *265 + default: *453 + '301': *266 '404': *7 - '410': *262 + '410': *263 '304': *37 x-github: githubCloudOnly: false @@ -67811,9 +67903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: false content: @@ -67910,13 +68002,13 @@ paths: application/json: schema: *75 examples: - default: *452 + default: *453 '422': *16 '503': *63 '403': *29 - '301': *265 + '301': *266 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67934,9 +68026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: false content: @@ -67964,7 +68056,7 @@ paths: application/json: schema: *75 examples: - default: *452 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67980,9 +68072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: content: application/json: @@ -68009,7 +68101,7 @@ paths: application/json: schema: *75 examples: - default: *452 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68031,9 +68123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 - name: assignee in: path required: true @@ -68073,9 +68165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *253 - *254 - - *453 + - *255 + - *454 - *65 - *18 - *20 @@ -68086,13 +68178,13 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *454 + default: *455 headers: Link: *39 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68121,9 +68213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: true content: @@ -68145,16 +68237,16 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *262 + '410': *263 '422': *16 '404': *7 x-github: @@ -68174,9 +68266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *253 - *254 - - *453 + - *255 + - *454 - *18 - *20 responses: @@ -68190,7 +68282,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &457 + - &458 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -68244,7 +68336,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &458 + - &459 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -68380,7 +68472,7 @@ paths: - performed_via_github_app - assignee - assigner - - &459 + - &460 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -68431,7 +68523,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &460 + - &461 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -68482,7 +68574,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &461 + - &462 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -68536,7 +68628,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &462 + - &463 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -68583,7 +68675,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &463 + - &464 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -68630,7 +68722,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &464 + - &465 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -68690,7 +68782,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &465 + - &466 title: Locked Issue Event description: Locked Issue Event type: object @@ -68738,7 +68830,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &467 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -68804,7 +68896,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &468 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -68870,7 +68962,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &469 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -68936,7 +69028,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &470 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -69027,7 +69119,7 @@ paths: color: red headers: Link: *39 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69044,9 +69136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 - *18 - *20 responses: @@ -69056,7 +69148,7 @@ paths: application/json: schema: type: array - items: &455 + items: &456 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -69103,7 +69195,7 @@ paths: - color - default examples: - default: &456 + default: &457 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -69121,9 +69213,9 @@ paths: default: false headers: Link: *39 - '301': *265 + '301': *266 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69140,9 +69232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: false content: @@ -69201,12 +69293,12 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *456 - '301': *265 + default: *457 + '301': *266 '404': *7 - '410': *262 + '410': *263 '422': *16 x-github: githubCloudOnly: false @@ -69223,9 +69315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: false content: @@ -69285,12 +69377,12 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *456 - '301': *265 + default: *457 + '301': *266 '404': *7 - '410': *262 + '410': *263 '422': *16 x-github: githubCloudOnly: false @@ -69307,15 +69399,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 responses: '204': description: Response - '301': *265 + '301': *266 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69334,9 +69426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 - name: name in: path required: true @@ -69349,7 +69441,7 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: default: value: @@ -69360,9 +69452,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *265 + '301': *266 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69382,9 +69474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: false content: @@ -69412,7 +69504,7 @@ paths: '204': description: Response '403': *29 - '410': *262 + '410': *263 '404': *7 '422': *16 x-github: @@ -69430,9 +69522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 responses: '204': description: Response @@ -69454,9 +69546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -69482,13 +69574,13 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69506,9 +69598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: true content: @@ -69540,16 +69632,16 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '422': *16 x-github: githubCloudOnly: false @@ -69571,10 +69663,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *253 - *254 - - *453 - - *249 + - *255 + - *454 + - *250 responses: '204': description: Response @@ -69594,9 +69686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 - *18 - *20 responses: @@ -69611,7 +69703,6 @@ paths: description: Timeline Event type: object anyOf: - - *457 - *458 - *459 - *460 @@ -69624,6 +69715,7 @@ paths: - *467 - *468 - *469 + - *470 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -70133,7 +70225,7 @@ paths: type: string comments: type: array - items: *380 + items: *381 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -70422,7 +70514,7 @@ paths: headers: Link: *39 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70439,8 +70531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -70450,7 +70542,7 @@ paths: application/json: schema: type: array - items: &470 + items: &471 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -70515,8 +70607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -70552,9 +70644,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &471 + default: &472 value: id: 1 key: ssh-rsa AAA... @@ -70588,9 +70680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *253 - *254 - - &472 + - *255 + - &473 name: key_id description: The unique identifier of the key. in: path @@ -70602,9 +70694,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 '404': *7 x-github: githubCloudOnly: false @@ -70622,9 +70714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *253 - *254 - - *472 + - *255 + - *473 responses: '204': description: Response @@ -70644,8 +70736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -70655,9 +70747,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *456 + default: *457 headers: Link: *39 '404': *7 @@ -70678,8 +70770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -70715,9 +70807,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &473 + default: &474 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -70749,8 +70841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *253 - *254 + - *255 - name: name in: path required: true @@ -70761,9 +70853,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *473 + default: *474 '404': *7 x-github: githubCloudOnly: false @@ -70780,8 +70872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *253 - *254 + - *255 - name: name in: path required: true @@ -70820,7 +70912,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -70846,8 +70938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *253 - *254 + - *255 - name: name in: path required: true @@ -70873,8 +70965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -70913,9 +71005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *253 - *254 - - *355 + - *255 + - *356 responses: '200': description: Response @@ -71060,8 +71152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -71126,8 +71218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -71161,9 +71253,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *381 + schema: *382 examples: - default: *474 + default: *475 '204': description: Response when already merged '404': @@ -71188,8 +71280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *253 - *254 + - *255 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -71230,12 +71322,12 @@ paths: application/json: schema: type: array - items: &475 + items: &476 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *385 - required: *386 + properties: *386 + required: *387 examples: default: value: @@ -71291,8 +71383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -71332,9 +71424,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: &476 + default: &477 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -71393,9 +71485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *253 - *254 - - &477 + - *255 + - &478 name: milestone_number description: The number that identifies the milestone. in: path @@ -71407,9 +71499,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 '404': *7 x-github: githubCloudOnly: false @@ -71426,9 +71518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *253 - *254 - - *477 + - *255 + - *478 requestBody: required: false content: @@ -71466,9 +71558,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71484,9 +71576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *253 - *254 - - *477 + - *255 + - *478 responses: '204': description: Response @@ -71507,9 +71599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *253 - *254 - - *477 + - *255 + - *478 - *18 - *20 responses: @@ -71519,9 +71611,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *456 + default: *457 headers: Link: *39 x-github: @@ -71540,12 +71632,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *253 - *254 - - *478 + - *255 - *479 - - *65 - *480 + - *65 + - *481 - *18 - *20 responses: @@ -71557,7 +71649,7 @@ paths: type: array items: *88 examples: - default: *481 + default: *482 headers: Link: *39 x-github: @@ -71581,8 +71673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -71640,14 +71732,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: &482 + schema: &483 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -71772,7 +71864,7 @@ paths: - custom_404 - public examples: - default: &483 + default: &484 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -71813,8 +71905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -71868,9 +71960,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: *483 + default: *484 '422': *16 '409': *134 x-github: @@ -71893,8 +71985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -71993,8 +72085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -72020,8 +72112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -72031,7 +72123,7 @@ paths: application/json: schema: type: array - items: &484 + items: &485 title: Page Build description: Page Build type: object @@ -72125,8 +72217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *253 - *254 + - *255 responses: '201': description: Response @@ -72171,16 +72263,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: &485 + default: &486 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -72228,8 +72320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *253 - *254 + - *255 - name: build_id in: path required: true @@ -72240,9 +72332,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72262,8 +72354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -72369,9 +72461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *253 - *254 - - &486 + - *255 + - &487 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -72429,9 +72521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *253 - *254 - - *486 + - *255 + - *487 responses: '204': *137 '404': *7 @@ -72458,8 +72550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -72717,8 +72809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Private vulnerability reporting status @@ -72755,8 +72847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': *137 '422': *15 @@ -72777,8 +72869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': *137 '422': *15 @@ -72801,8 +72893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *253 - *254 + - *255 - name: state description: Indicates the state of the projects to return. in: query @@ -72863,7 +72955,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *262 + '410': *263 '422': *8 x-github: githubCloudOnly: false @@ -72883,8 +72975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -72912,11 +73004,11 @@ paths: application/json: schema: *211 examples: - default: *261 + default: *262 '401': *25 '403': *29 '404': *7 - '410': *262 + '410': *263 '422': *8 x-github: githubCloudOnly: false @@ -72936,8 +73028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -72976,8 +73068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -73039,8 +73131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *253 - *254 + - *255 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -73100,9 +73192,9 @@ paths: application/json: schema: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *39 '304': *37 @@ -73134,8 +73226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -73311,8 +73403,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *385 - required: *386 + properties: *386 + required: *387 nullable: true active_lock_reason: type: string @@ -73357,7 +73449,7 @@ paths: nullable: true requested_teams: type: array - items: *489 + items: *238 nullable: true head: type: object @@ -73396,14 +73488,14 @@ paths: _links: type: object properties: - comments: *387 - commits: *387 - statuses: *387 - html: *387 - issue: *387 - review_comments: *387 - review_comment: *387 - self: *387 + comments: *388 + commits: *388 + statuses: *388 + html: *388 + issue: *388 + review_comments: *388 + review_comment: *388 + self: *388 required: - comments - commits @@ -74033,8 +74125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *253 - *254 + - *255 - name: sort in: query required: false @@ -74142,8 +74234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *253 - *254 + - *255 - *74 responses: '200': @@ -74227,8 +74319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -74269,8 +74361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *253 - *254 + - *255 - *74 responses: '204': @@ -74292,8 +74384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *253 - *254 + - *255 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -74320,9 +74412,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 '404': *7 @@ -74343,8 +74435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -74377,16 +74469,16 @@ paths: description: Reaction exists content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Reaction created content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '422': *16 x-github: githubCloudOnly: false @@ -74408,10 +74500,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *253 - *254 + - *255 - *74 - - *249 + - *250 responses: '204': description: Response @@ -74454,8 +74546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *253 - *254 + - *255 - &495 name: pull_number description: The number that identifies the pull request. @@ -74506,8 +74598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: false @@ -74574,8 +74666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: true @@ -74638,7 +74730,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -74646,7 +74738,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '401': *25 '403': *29 '404': *7 @@ -74676,8 +74768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *85 - name: direction @@ -74734,8 +74826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: true @@ -74929,8 +75021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *253 - *254 + - *255 - *495 - *74 requestBody: @@ -75040,8 +75132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *18 - *20 @@ -75052,7 +75144,7 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: default: *497 headers: @@ -75084,8 +75176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *253 - *254 + - *255 - *495 - *18 - *20 @@ -75096,7 +75188,7 @@ paths: application/json: schema: type: array - items: *396 + items: *397 examples: default: value: @@ -75134,8 +75226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *253 - *254 + - *255 - *495 responses: '204': @@ -75159,8 +75251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: false @@ -75272,8 +75364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 responses: '200': @@ -75349,8 +75441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: false @@ -75388,7 +75480,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -75924,8 +76016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: true @@ -75960,7 +76052,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -76465,8 +76557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *18 - *20 @@ -76628,8 +76720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: false @@ -76781,8 +76873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - &499 name: review_id @@ -76857,8 +76949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *499 requestBody: @@ -76945,8 +77037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *499 responses: @@ -76983,8 +77075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *253 - *254 + - *255 - *495 - *499 - *18 @@ -77069,9 +77161,9 @@ paths: _links: type: object properties: - self: *387 - html: *387 - pull_request: *387 + self: *388 + html: *388 + pull_request: *388 required: - self - html @@ -77214,8 +77306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *499 requestBody: @@ -77308,8 +77400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *499 requestBody: @@ -77370,8 +77462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *253 - *254 + - *255 - *495 requestBody: required: false @@ -77435,8 +77527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *253 - *254 + - *255 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -77493,8 +77585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *253 - *254 + - *255 - name: dir description: The alternate path to look for a README file in: path @@ -77538,8 +77630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -77793,8 +77885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -77973,8 +78065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *253 - *254 + - *255 - &506 name: asset_id description: The unique identifier of the asset. @@ -78023,7 +78115,7 @@ paths: type: User site_admin: false '404': *7 - '302': *398 + '302': *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78039,8 +78131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *253 - *254 + - *255 - *506 requestBody: required: false @@ -78087,8 +78179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *253 - *254 + - *255 - *506 responses: '204': @@ -78113,8 +78205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -78199,8 +78291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -78225,8 +78317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *253 - *254 + - *255 - name: tag description: tag parameter in: path @@ -78263,8 +78355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *253 - *254 + - *255 - &509 name: release_id description: The unique identifier of the release. @@ -78299,8 +78391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *253 - *254 + - *255 - *509 requestBody: required: false @@ -78388,8 +78480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *253 - *254 + - *255 - *509 responses: '204': @@ -78410,8 +78502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *253 - *254 + - *255 - *509 - *18 - *20 @@ -78502,8 +78594,8 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *253 - *254 + - *255 - *509 - name: name in: query @@ -78584,8 +78676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *253 - *254 + - *255 - *509 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78610,9 +78702,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 '404': *7 @@ -78633,8 +78725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *253 - *254 + - *255 - *509 requestBody: required: true @@ -78665,16 +78757,16 @@ paths: description: Reaction exists content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Reaction created content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '422': *16 x-github: githubCloudOnly: false @@ -78696,10 +78788,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *253 - *254 + - *255 - *509 - - *249 + - *250 responses: '204': description: Response @@ -78723,9 +78815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *253 - *254 - - *321 + - *255 + - *322 - *18 - *20 responses: @@ -78847,8 +78939,8 @@ paths: category: repos subcategory: rules parameters: - - *253 - *254 + - *255 - *18 - *20 - name: includes_parents @@ -78914,8 +79006,8 @@ paths: category: repos subcategory: rules parameters: - - *253 - *254 + - *255 requestBody: description: Request body required: true @@ -79024,8 +79116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *253 - *254 + - *255 - *529 - *530 - *531 @@ -79060,8 +79152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *253 - *254 + - *255 - *535 responses: '200': @@ -79098,8 +79190,8 @@ paths: category: repos subcategory: rules parameters: - - *253 - *254 + - *255 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79139,8 +79231,8 @@ paths: category: repos subcategory: rules parameters: - - *253 - *254 + - *255 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79222,8 +79314,8 @@ paths: category: repos subcategory: rules parameters: - - *253 - *254 + - *255 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79251,8 +79343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *253 - *254 + - *255 - *228 - *229 - *230 @@ -79339,6 +79431,23 @@ paths: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true validity: type: string description: The token status as of the latest validity check. @@ -79409,6 +79518,27 @@ paths: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: inactive publicly_leaked: false @@ -79428,6 +79558,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -79457,9 +79590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *253 - *254 - - *353 + - *255 + - *354 responses: '200': description: Response @@ -79484,6 +79617,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -79513,9 +79649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *253 - *254 - - *353 + - *255 + - *354 requestBody: required: true content: @@ -79579,6 +79715,9 @@ paths: push_protection_bypassed: false push_protection_bypassed_by: push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: Example comment validity: unknown publicly_leaked: false @@ -79613,9 +79752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *253 - *254 - - *353 + - *255 + - *354 - *20 - *18 responses: @@ -79985,8 +80124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -80063,8 +80202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *253 - *254 + - *255 - *42 - name: sort description: The property to sort the results by. @@ -80133,8 +80272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -80529,8 +80668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -80781,8 +80920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *253 - *254 + - *255 - *548 responses: '200': @@ -80815,8 +80954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *253 - *254 + - *255 - *548 requestBody: required: true @@ -81017,8 +81156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *253 - *254 + - *255 - *548 responses: '202': *99 @@ -81046,17 +81185,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *253 - *254 + - *255 - *548 responses: '202': description: Response content: application/json: - schema: *264 + schema: *265 examples: - default: *266 + default: *267 '400': *15 '422': *16 '403': *29 @@ -81082,8 +81221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -81182,8 +81321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *253 - *254 + - *255 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -81225,8 +81364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -81302,8 +81441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -81399,8 +81538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *253 - *254 + - *255 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -81554,8 +81693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *253 - *254 + - *255 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -81598,8 +81737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *253 - *254 + - *255 - name: sha in: path required: true @@ -81707,8 +81846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -81740,8 +81879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *253 - *254 + - *255 responses: '200': description: if you subscribe to the repository @@ -81815,8 +81954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -81869,8 +82008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -81890,8 +82029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -81970,8 +82109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -82031,8 +82170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -82086,8 +82225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *253 - *254 + - *255 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -82124,8 +82263,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *253 - *254 + - *255 - name: ref in: path required: true @@ -82161,8 +82300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -82194,8 +82333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *253 - *254 + - *255 - *20 - *18 responses: @@ -82238,8 +82377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -82293,8 +82432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *253 - *254 + - *255 - &556 name: per description: The time frame to display results for. @@ -82411,8 +82550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -82502,8 +82641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -82563,8 +82702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *253 - *254 + - *255 - *556 responses: '200': @@ -82661,8 +82800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -82936,8 +83075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -82960,8 +83099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -82983,8 +83122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -83010,8 +83149,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *253 - *254 + - *255 - name: ref in: path required: true @@ -83103,9 +83242,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: - default: *266 + default: *267 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -83586,7 +83725,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *319 + properties: *320 nullable: true comment_count: type: integer @@ -83606,7 +83745,7 @@ paths: url: type: string format: uri - verification: *433 + verification: *434 required: - author - committer @@ -83625,7 +83764,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *319 + properties: *320 nullable: true parents: type: array @@ -83940,8 +84079,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *385 - required: *386 + properties: *386 + required: *387 nullable: true comments: type: integer @@ -85233,9 +85372,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '404': *7 x-github: githubCloudOnly: false @@ -85325,16 +85464,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '201': description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '404': *7 '422': *16 '403': *29 @@ -85404,7 +85543,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: *561 headers: @@ -85469,9 +85608,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: triggersNotification: true githubCloudOnly: false @@ -85499,15 +85638,15 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - *560 - - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85533,7 +85672,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - *560 - - *242 + - *243 requestBody: required: false content: @@ -85556,7 +85695,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: default: *562 x-github: @@ -85584,7 +85723,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - *560 - - *242 + - *243 responses: '204': description: Response @@ -85614,7 +85753,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *560 - - *242 + - *243 - *42 - *18 - *20 @@ -85625,7 +85764,7 @@ paths: application/json: schema: type: array - items: *243 + items: *244 examples: default: *563 headers: @@ -85657,7 +85796,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *560 - - *242 + - *243 requestBody: required: true content: @@ -85679,9 +85818,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *244 examples: - default: *244 + default: *245 x-github: triggersNotification: true githubCloudOnly: false @@ -85709,16 +85848,16 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *560 - - *242 - - *245 + - *243 + - *246 responses: '200': description: Response content: application/json: - schema: *243 + schema: *244 examples: - default: *244 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85744,8 +85883,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *560 - - *242 - - *245 + - *243 + - *246 requestBody: required: true content: @@ -85767,7 +85906,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *244 examples: default: *564 x-github: @@ -85795,8 +85934,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *560 - - *242 - - *245 + - *243 + - *246 responses: '204': description: Response @@ -85826,8 +85965,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *560 - - *242 - - *245 + - *243 + - *246 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -85853,9 +85992,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 x-github: @@ -85885,8 +86024,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *560 - - *242 - - *245 + - *243 + - *246 requestBody: required: true content: @@ -85918,9 +86057,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85947,7 +86086,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *560 - - *242 + - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -85973,9 +86112,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 x-github: @@ -86005,7 +86144,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *560 - - *242 + - *243 requestBody: required: true content: @@ -86037,9 +86176,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86273,7 +86412,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: response-if-user-is-a-team-maintainer: *565 '404': *7 @@ -86334,7 +86473,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: response-if-users-membership-with-team-is-now-pending: *566 '403': @@ -86410,7 +86549,7 @@ paths: application/json: schema: type: array - items: *251 + items: *252 examples: default: *567 headers: @@ -86440,13 +86579,13 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *560 - - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *251 + schema: *252 examples: default: *568 '404': @@ -86474,7 +86613,7 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *560 - - *252 + - *253 requestBody: required: false content: @@ -86543,7 +86682,7 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *560 - - *252 + - *253 responses: '204': description: Response @@ -86613,8 +86752,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *560 - - *253 - *254 + - *255 responses: '200': description: Alternative response with extra repository information @@ -86772,8 +86911,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *560 - - *253 - *254 + - *255 requestBody: required: false content: @@ -86824,8 +86963,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *560 - - *253 - *254 + - *255 responses: '204': description: Response @@ -87597,7 +87736,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -87605,7 +87744,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '401': *25 '403': *29 '404': *7 @@ -87689,7 +87828,7 @@ paths: - visibility - selected_repositories_url examples: - default: *373 + default: *374 headers: Link: *39 x-github: @@ -88063,7 +88202,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '304': *37 '500': *41 '401': *25 @@ -88121,7 +88260,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '401': *25 '403': *29 '404': *7 @@ -88384,13 +88523,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *264 + repository: *265 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *371 - required: *372 + properties: *372 + required: *373 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -89172,7 +89311,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '304': *37 '500': *41 '400': *15 @@ -89212,7 +89351,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '500': *41 '401': *25 '403': *29 @@ -90360,7 +90499,7 @@ paths: required: true content: application/json: - schema: *444 + schema: *445 examples: default: value: @@ -90642,7 +90781,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *472 + - *473 responses: '200': description: Response @@ -90673,7 +90812,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *472 + - *473 responses: '204': description: Response @@ -92857,9 +92996,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: - default: *266 + default: *267 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92897,7 +93036,7 @@ paths: application/json: schema: type: array - items: *446 + items: *447 examples: default: *594 headers: @@ -93514,8 +93653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *253 - *254 + - *255 responses: '204': description: Response if this repository is starred by you @@ -93543,8 +93682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -93568,8 +93707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -93641,7 +93780,7 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: default: value: @@ -94546,7 +94685,7 @@ paths: application/json: schema: *22 examples: - default: *443 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97247,7 +97386,7 @@ x-webhooks: type: string pull_requests: type: array - items: *332 + items: *333 repository: *113 status: example: completed @@ -97335,7 +97474,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *332 + items: *333 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -101626,7 +101765,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *348 + dismissed_comment: *349 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -103486,7 +103625,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -103574,7 +103713,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -103662,7 +103801,7 @@ x-webhooks: type: string enum: - created - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -103748,7 +103887,7 @@ x-webhooks: type: string enum: - dismissed - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -103834,7 +103973,7 @@ x-webhooks: type: string enum: - fixed - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -103921,7 +104060,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -104007,7 +104146,7 @@ x-webhooks: type: string enum: - reopened - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -105500,7 +105639,7 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *408 + deployment: *409 pull_requests: type: array items: *493 @@ -110182,7 +110321,7 @@ x-webhooks: - id labels: type: array - items: *455 + items: *456 required: - repository_url - category @@ -149665,7 +149804,7 @@ x-webhooks: enum: - demilestoned enterprise: *615 - milestone: *475 + milestone: *476 number: *664 organization: *617 pull_request: &666 @@ -161587,7 +161726,7 @@ x-webhooks: enum: - milestoned enterprise: *615 - milestone: *475 + milestone: *476 number: *664 organization: *617 pull_request: *666 @@ -205886,6 +206025,23 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true publicly_leaked: type: boolean description: Whether the detected secret was publicly leaked. @@ -207002,7 +207158,7 @@ x-webhooks: enterprise: *615 installation: *616 organization: *617 - repository: *264 + repository: *265 sender: *19 required: - changes @@ -212188,7 +212344,7 @@ x-webhooks: type: string required: - conclusion - deployment: *408 + deployment: *409 required: - action - repository @@ -212530,7 +212686,7 @@ x-webhooks: required: - status - steps - deployment: *408 + deployment: *409 required: - action - repository @@ -212747,7 +212903,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *408 + deployment: *409 required: - action - repository @@ -212965,7 +213121,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *408 + deployment: *409 required: - action - repository diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 1545fde51..c82374454 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -6228,7 +6228,7 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nWhen using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -20274,6 +20274,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "resolution_comment": { "type": "string", "description": "The comment that was optionally added when this alert was closed", @@ -20425,6 +20561,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, @@ -20513,6 +20671,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -99499,6 +99660,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -100203,6 +100386,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -100556,6 +100761,16 @@ "description": "The Relationship a Team has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the team has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, "id": { "type": "integer" }, @@ -100834,6 +101049,103 @@ "description": "The Relationship a User has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the user has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, + "inherited_from": { + "description": "Team the user has gotten the role through", + "type": "array", + "items": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + }, "name": { "nullable": true, "type": "string" @@ -109376,6 +109688,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -109444,6 +109765,7 @@ { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -109457,11 +109779,13 @@ { "property_name": "service", "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", "value_type": "string" }, { "property_name": "team", "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", "value_type": "string", "description": "Team owning the repository" } @@ -109577,6 +109901,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -109699,6 +110032,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -109767,6 +110109,7 @@ { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -109780,11 +110123,13 @@ { "property_name": "service", "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", "value_type": "string" }, { "property_name": "team", "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", "value_type": "string", "description": "Team owning the repository" } @@ -109906,6 +110251,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -109972,6 +110326,7 @@ "value": { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -110170,6 +110525,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -110236,6 +110600,7 @@ "value": { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -125463,6 +125828,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "resolution_comment": { "type": "string", "description": "The comment that was optionally added when this alert was closed", @@ -125614,6 +126115,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, @@ -125702,6 +126225,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -388800,6 +389326,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -388879,6 +389541,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "inactive", "publicly_leaked": false, @@ -388900,6 +389584,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -389333,6 +390020,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -389372,6 +390195,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -389852,6 +390678,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -389910,6 +390872,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": "Example comment", "validity": "unknown", "publicly_leaked": false, @@ -558162,6 +559127,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -559031,6 +560005,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -1030551,6 +1031534,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1032513,6 +1033632,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1034891,6 +1036146,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1036853,6 +1038244,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1038815,6 +1040342,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1040777,6 +1042440,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 8024b3816..03a820a94 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -2765,8 +2765,6 @@ paths: Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. - When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: - apps @@ -8197,7 +8195,7 @@ paths: enum: - development - runtime - security_advisory: &400 + security_advisory: &401 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8458,7 +8456,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &401 + auto_dismissed_at: &402 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9264,6 +9262,23 @@ paths: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true resolution_comment: type: string description: The comment that was optionally added when this @@ -9404,6 +9419,27 @@ paths: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: active publicly_leaked: false @@ -9488,6 +9524,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -9812,7 +9851,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &449 + properties: &450 id: type: integer format: int64 @@ -9923,7 +9962,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &385 + properties: &386 url: type: string format: uri @@ -9993,7 +10032,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &386 + required: &387 - closed_issues - creator - description @@ -10134,7 +10173,7 @@ paths: - hooray - eyes - rocket - required: &450 + required: &451 - assignee - closed_at - comments @@ -10156,7 +10195,7 @@ paths: - author_association - created_at - updated_at - comment: &447 + comment: &448 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14006,14 +14045,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &253 + - &254 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &254 + - &255 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14084,7 +14123,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &265 + '301': &266 description: Moved permanently content: application/json: @@ -14106,7 +14145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &478 + - &479 name: all description: If `true`, show notifications marked as read. in: query @@ -14114,7 +14153,7 @@ paths: schema: type: boolean default: false - - &479 + - &480 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14124,7 +14163,7 @@ paths: type: boolean default: false - *65 - - &480 + - &481 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -14580,7 +14619,7 @@ paths: - url - subscription_url examples: - default: &481 + default: &482 value: - id: '1' repository: @@ -15910,7 +15949,7 @@ paths: type: integer repository_cache_usages: type: array - items: &270 + items: &271 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16080,7 +16119,7 @@ paths: - all - local_only - selected - selected_actions_url: &276 + selected_actions_url: &277 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -16498,7 +16537,7 @@ paths: description: Response content: application/json: - schema: &280 + schema: &281 type: object properties: default_workflow_permissions: &107 @@ -16549,7 +16588,7 @@ paths: required: false content: application/json: - schema: &281 + schema: &282 type: object properties: default_workflow_permissions: *107 @@ -17622,7 +17661,7 @@ paths: application/json: schema: type: array - items: &282 + items: &283 title: Runner Application description: Runner Application type: object @@ -17647,7 +17686,7 @@ paths: - download_url - filename examples: - default: &283 + default: &284 value: - os: osx architecture: x64 @@ -17733,7 +17772,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &284 + '201': &285 description: Response content: application/json: @@ -17843,7 +17882,7 @@ paths: - token - expires_at examples: - default: &285 + default: &286 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -17882,7 +17921,7 @@ paths: application/json: schema: *117 examples: - default: &286 + default: &287 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -17916,7 +17955,7 @@ paths: application/json: schema: *115 examples: - default: &287 + default: &288 value: id: 23 name: MBP @@ -18140,7 +18179,7 @@ paths: - *94 - *114 responses: - '200': &288 + '200': &289 description: Response content: application/json: @@ -18197,7 +18236,7 @@ paths: parameters: - *94 - *114 - - &289 + - &290 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18327,7 +18366,7 @@ paths: description: Response content: application/json: - schema: &301 + schema: &302 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -18356,7 +18395,7 @@ paths: - key_id - key examples: - default: &302 + default: &303 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -18767,7 +18806,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &275 + - &276 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -19292,7 +19331,7 @@ paths: repository_id: type: integer examples: - default: &315 + default: &316 value: attestations: - bundle: @@ -19529,7 +19568,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &341 + - &342 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -19539,7 +19578,7 @@ paths: schema: &130 type: string description: The name of the tool used to generate the code scanning analysis. - - &342 + - &343 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -19562,7 +19601,7 @@ paths: be returned. in: query required: false - schema: &344 + schema: &345 type: string description: State of a code scanning alert. enum: @@ -19585,7 +19624,7 @@ paths: be returned. in: query required: false - schema: &345 + schema: &346 type: string description: Severity of a code scanning alert. enum: @@ -19611,7 +19650,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: &346 + instances_url: &347 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -19634,7 +19673,7 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: &347 + dismissed_reason: &348 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -19643,13 +19682,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &348 + dismissed_comment: &349 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &349 + rule: &350 type: object properties: id: @@ -19702,7 +19741,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &350 + tool: &351 type: object properties: name: *130 @@ -19712,15 +19751,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *131 - most_recent_instance: &351 + most_recent_instance: &352 type: object properties: - ref: &343 + ref: &344 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &357 + analysis_key: &358 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -19731,7 +19770,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &358 + category: &359 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21284,7 +21323,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &371 + properties: &372 name: type: string description: The name of the machine. @@ -21326,7 +21365,7 @@ paths: - ready - in_progress nullable: true - required: &372 + required: &373 - name - display_name - operating_system @@ -22194,7 +22233,7 @@ paths: - updated_at - visibility examples: - default: &373 + default: &374 value: total_count: 2 secrets: @@ -22232,7 +22271,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &375 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22261,7 +22300,7 @@ paths: - key_id - key examples: - default: &375 + default: &376 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22293,7 +22332,7 @@ paths: application/json: schema: *138 examples: - default: &377 + default: &378 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23398,7 +23437,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &405 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -23415,7 +23454,7 @@ paths: - key_id - key examples: - default: &405 + default: &406 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25180,7 +25219,7 @@ paths: application/json: schema: *22 examples: - default: &443 + default: &444 value: id: 1 account: @@ -25405,7 +25444,7 @@ paths: required: true content: application/json: - schema: &444 + schema: &445 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -26016,7 +26055,7 @@ paths: application/json: schema: *184 examples: - default: &370 + default: &371 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -27452,6 +27491,26 @@ paths: for or what permissions it grants. type: string nullable: true + base_role: + type: string + nullable: true + description: The system role from which this role inherits + permissions. + enum: + - read + - triage + - write + - maintain + - admin + source: + type: string + nullable: true + description: Source answers the question, "where did this + role come from?" + enum: + - Organization + - Enterprise + - Predefined permissions: description: A list of permissions included in this role. type: array @@ -27814,6 +27873,15 @@ paths: description: The Relationship a Team has with a role. type: object properties: + assignment: + type: string + description: Determines if the team has a direct, indirect, + or mixed relationship to a role + enum: + - direct + - indirect + - mixed + example: direct id: type: integer node_id: @@ -27929,6 +27997,25 @@ paths: description: The Relationship a User has with a role. type: object properties: + assignment: + type: string + description: Determines if the user has a direct, indirect, + or mixed relationship to a role + enum: + - direct + - indirect + - mixed + example: direct + inherited_from: + description: Team the user has gotten the role through + type: array + items: &238 + title: Team Simple + description: Groups of organization members that gives permissions + on specified repositories. + type: object + properties: *195 + required: *196 name: nullable: true type: string @@ -29618,7 +29705,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &262 + '410': &263 description: Gone content: application/json: @@ -29663,6 +29750,13 @@ paths: format: uri description: The URL that can be used to fetch, update, or delete info about this property via the API. + source_type: + type: string + description: The source type of the property + enum: + - organization + - enterprise + example: organization value_type: type: string example: single_select @@ -29713,6 +29807,7 @@ paths: value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -29723,9 +29818,11 @@ paths: values_editable_by: org_actors - property_name: service url: https://api.github.com/orgs/github/properties/schema/service + source_type: organization value_type: string - property_name: team url: https://api.github.com/orgs/github/properties/schema/team + source_type: organization value_type: string description: Team owning the repository '403': *29 @@ -29833,6 +29930,7 @@ paths: value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -30490,7 +30588,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &265 title: Full Repository description: Full Repository type: object @@ -30883,7 +30981,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &392 + properties: &393 url: type: string format: uri @@ -30899,7 +30997,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &393 + required: &394 - url - key - name @@ -30988,7 +31086,7 @@ paths: - network_count - subscribers_count examples: - default: &266 + default: &267 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33895,13 +33993,7 @@ paths: application/json: schema: type: array - items: &489 - title: Team Simple - description: Groups of organization members that gives permissions - on specified repositories. - type: object - properties: *195 - required: *196 + items: *238 examples: default: *197 x-github: @@ -34429,7 +34521,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &239 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -34739,7 +34831,7 @@ paths: - repos_count - organization examples: - default: &239 + default: &240 value: id: 1 node_id: MDQ6VGVhbTE= @@ -34816,9 +34908,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '404': *7 x-github: githubCloudOnly: false @@ -34902,16 +34994,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '201': description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '404': *7 '422': *16 '403': *29 @@ -34981,7 +35073,7 @@ paths: application/json: schema: type: array - items: &240 + items: &241 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -35189,9 +35281,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: &241 + default: &242 value: author: login: octocat @@ -35265,7 +35357,7 @@ paths: parameters: - *94 - *192 - - &242 + - &243 name: discussion_number description: The number that identifies the discussion. in: path @@ -35277,9 +35369,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35303,7 +35395,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 requestBody: required: false content: @@ -35326,7 +35418,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: default: &562 value: @@ -35400,7 +35492,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 responses: '204': description: Response @@ -35428,7 +35520,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 - *42 - *18 - *20 @@ -35439,7 +35531,7 @@ paths: application/json: schema: type: array - items: &243 + items: &244 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -35581,7 +35673,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 requestBody: required: true content: @@ -35603,9 +35695,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *244 examples: - default: &244 + default: &245 value: author: login: octocat @@ -35673,8 +35765,8 @@ paths: parameters: - *94 - *192 - - *242 - - &245 + - *243 + - &246 name: comment_number description: The number that identifies the comment. in: path @@ -35686,9 +35778,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *244 examples: - default: *244 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35712,8 +35804,8 @@ paths: parameters: - *94 - *192 - - *242 - - *245 + - *243 + - *246 requestBody: required: true content: @@ -35735,7 +35827,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *244 examples: default: &564 value: @@ -35803,8 +35895,8 @@ paths: parameters: - *94 - *192 - - *242 - - *245 + - *243 + - *246 responses: '204': description: Response @@ -35832,8 +35924,8 @@ paths: parameters: - *94 - *192 - - *242 - - *245 + - *243 + - *246 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -35859,7 +35951,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -35902,7 +35994,7 @@ paths: - content - created_at examples: - default: &248 + default: &249 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -35954,8 +36046,8 @@ paths: parameters: - *94 - *192 - - *242 - - *245 + - *243 + - *246 requestBody: required: true content: @@ -35988,9 +36080,9 @@ paths: team discussion comment content: application/json: - schema: *246 + schema: *247 examples: - default: &247 + default: &248 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -36019,9 +36111,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36046,9 +36138,9 @@ paths: parameters: - *94 - *192 - - *242 - - *245 - - &249 + - *243 + - *246 + - &250 name: reaction_id description: The unique identifier of the reaction. in: path @@ -36082,7 +36174,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -36108,9 +36200,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 x-github: @@ -36138,7 +36230,7 @@ paths: parameters: - *94 - *192 - - *242 + - *243 requestBody: required: true content: @@ -36170,16 +36262,16 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36204,8 +36296,8 @@ paths: parameters: - *94 - *192 - - *242 - - *249 + - *243 + - *250 responses: '204': description: Response @@ -36326,7 +36418,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &251 title: Team Membership description: Team Membership type: object @@ -36416,7 +36508,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: response-if-users-membership-with-team-is-now-pending: &566 summary: Response if user's membership with team is now pending @@ -36492,7 +36584,7 @@ paths: application/json: schema: type: array - items: &251 + items: &252 title: Team Project description: A team's access to a project. type: object @@ -36623,7 +36715,7 @@ paths: parameters: - *94 - *192 - - &252 + - &253 name: project_id description: The unique identifier of the project. in: path @@ -36635,7 +36727,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *252 examples: default: &568 value: @@ -36699,7 +36791,7 @@ paths: parameters: - *94 - *192 - - *252 + - *253 requestBody: required: false content: @@ -36765,7 +36857,7 @@ paths: parameters: - *94 - *192 - - *252 + - *253 responses: '204': description: Response @@ -36833,8 +36925,8 @@ paths: parameters: - *94 - *192 - - *253 - *254 + - *255 responses: '200': description: Alternative response with repository permissions @@ -37411,8 +37503,8 @@ paths: parameters: - *94 - *192 - - *253 - *254 + - *255 requestBody: required: false content: @@ -37459,8 +37551,8 @@ paths: parameters: - *94 - *192 - - *253 - *254 + - *255 responses: '204': description: Response @@ -37621,7 +37713,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &255 + - &256 name: card_id description: The unique identifier of the card. in: path @@ -37633,7 +37725,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &257 title: Project Card description: Project cards represent a scope of work. type: object @@ -37700,7 +37792,7 @@ paths: - created_at - updated_at examples: - default: &257 + default: &258 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -37750,7 +37842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *255 + - *256 requestBody: required: false content: @@ -37777,9 +37869,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 '304': *37 '403': *29 '401': *25 @@ -37800,7 +37892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *255 + - *256 responses: '204': description: Response @@ -37838,7 +37930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *255 + - *256 requestBody: required: true content: @@ -37943,7 +38035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &258 + - &259 name: column_id description: The unique identifier of the column. in: path @@ -37955,7 +38047,7 @@ paths: description: Response content: application/json: - schema: &259 + schema: &260 title: Project Column description: Project columns contain cards of work. type: object @@ -38001,7 +38093,7 @@ paths: - created_at - updated_at examples: - default: &260 + default: &261 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -38030,7 +38122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *258 + - *259 requestBody: required: true content: @@ -38054,9 +38146,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *260 + default: *261 '304': *37 '403': *29 '401': *25 @@ -38075,7 +38167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *258 + - *259 responses: '204': description: Response @@ -38098,7 +38190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *258 + - *259 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -38119,7 +38211,7 @@ paths: application/json: schema: type: array - items: *256 + items: *257 examples: default: value: @@ -38172,7 +38264,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *258 + - *259 requestBody: required: true content: @@ -38212,9 +38304,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: - default: *257 + default: *258 '304': *37 '403': *29 '401': *25 @@ -38264,7 +38356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *258 + - *259 requestBody: required: true content: @@ -38320,7 +38412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *252 + - *253 responses: '200': description: Response @@ -38328,7 +38420,7 @@ paths: application/json: schema: *211 examples: - default: &261 + default: &262 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -38381,7 +38473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *252 + - *253 requestBody: required: false content: @@ -38429,7 +38521,7 @@ paths: application/json: schema: *211 examples: - default: *261 + default: *262 '404': description: Not Found if the authenticated user does not have access to the project @@ -38450,7 +38542,7 @@ paths: items: type: string '401': *25 - '410': *262 + '410': *263 '422': *8 x-github: githubCloudOnly: false @@ -38468,7 +38560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *252 + - *253 responses: '204': description: Delete Success @@ -38489,7 +38581,7 @@ paths: items: type: string '401': *25 - '410': *262 + '410': *263 '404': *7 x-github: githubCloudOnly: false @@ -38512,7 +38604,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *252 + - *253 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -38564,7 +38656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *252 + - *253 - *126 requestBody: required: false @@ -38612,7 +38704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *252 + - *253 - *126 responses: '204': @@ -38641,7 +38733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *252 + - *253 - *126 responses: '200': @@ -38709,7 +38801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *252 + - *253 - *18 - *20 responses: @@ -38719,7 +38811,7 @@ paths: application/json: schema: type: array - items: *259 + items: *260 examples: default: value: @@ -38751,7 +38843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *252 + - *253 requestBody: required: true content: @@ -38774,7 +38866,7 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: default: value: @@ -38835,7 +38927,7 @@ paths: resources: type: object properties: - core: &263 + core: &264 title: Rate Limit type: object properties: @@ -38852,19 +38944,19 @@ paths: - remaining - reset - used - graphql: *263 - search: *263 - code_search: *263 - source_import: *263 - integration_manifest: *263 - code_scanning_upload: *263 - actions_runner_registration: *263 - scim: *263 - dependency_snapshots: *263 + graphql: *264 + search: *264 + code_search: *264 + source_import: *264 + integration_manifest: *264 + code_scanning_upload: *264 + actions_runner_registration: *264 + scim: *264 + dependency_snapshots: *264 required: - core - search - rate: *263 + rate: *264 required: - rate - resources @@ -38963,14 +39055,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *264 + schema: *265 examples: default-response: summary: Default response @@ -39471,7 +39563,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *265 + '301': *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39489,8 +39581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -39726,10 +39818,10 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: - default: *266 - '307': &267 + default: *267 + '307': &268 description: Temporary Redirect content: application/json: @@ -39758,8 +39850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -39781,7 +39873,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *267 + '307': *268 '404': *7 x-github: githubCloudOnly: false @@ -39804,11 +39896,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *253 - *254 + - *255 - *18 - *20 - - &293 + - &294 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -39831,7 +39923,7 @@ paths: type: integer artifacts: type: array - items: &268 + items: &269 title: Artifact description: An artifact type: object @@ -39902,7 +39994,7 @@ paths: - expires_at - updated_at examples: - default: &294 + default: &295 value: total_count: 2 artifacts: @@ -39961,9 +40053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *253 - *254 - - &269 + - *255 + - &270 name: artifact_id description: The unique identifier of the artifact. in: path @@ -39975,7 +40067,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: default: value: @@ -40012,9 +40104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *253 - *254 - - *269 + - *255 + - *270 responses: '204': description: Response @@ -40038,9 +40130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *253 - *254 - - *269 + - *255 + - *270 - name: archive_format in: path required: true @@ -40054,7 +40146,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40077,14 +40169,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *270 + schema: *271 examples: default: value: @@ -40110,11 +40202,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *253 - *254 + - *255 - *18 - *20 - - &271 + - &272 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -40148,7 +40240,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &273 title: Repository actions caches description: Repository actions caches type: object @@ -40190,7 +40282,7 @@ paths: - total_count - actions_caches examples: - default: &273 + default: &274 value: total_count: 1 actions_caches: @@ -40222,23 +40314,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *253 - *254 + - *255 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40258,8 +40350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *253 - *254 + - *255 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -40290,9 +40382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *253 - *254 - - &274 + - *255 + - &275 name: job_id description: The unique identifier of the job. in: path @@ -40304,7 +40396,7 @@ paths: description: Response content: application/json: - schema: &297 + schema: &298 title: Job description: Information of a job execution in a workflow run type: object @@ -40611,9 +40703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *253 - *254 - - *274 + - *255 + - *275 responses: '302': description: Response @@ -40641,9 +40733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *253 - *254 - - *274 + - *255 + - *275 requestBody: required: false content: @@ -40688,8 +40780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Status response @@ -40739,8 +40831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -40803,8 +40895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -40822,7 +40914,7 @@ paths: type: integer secrets: type: array - items: &299 + items: &300 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -40842,7 +40934,7 @@ paths: - created_at - updated_at examples: - default: &300 + default: &301 value: total_count: 2 secrets: @@ -40875,9 +40967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *253 - *254 - - *275 + - *255 + - *276 - *20 responses: '200': @@ -40894,7 +40986,7 @@ paths: type: integer variables: type: array - items: &303 + items: &304 title: Actions Variable type: object properties: @@ -40924,7 +41016,7 @@ paths: - created_at - updated_at examples: - default: &304 + default: &305 value: total_count: 2 variables: @@ -40957,8 +41049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -40967,11 +41059,11 @@ paths: schema: type: object properties: - enabled: &277 + enabled: &278 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *103 - selected_actions_url: *276 + selected_actions_url: *277 required: - enabled examples: @@ -40998,8 +41090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -41010,7 +41102,7 @@ paths: schema: type: object properties: - enabled: *277 + enabled: *278 allowed_actions: *103 required: - enabled @@ -41040,14 +41132,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: &278 + schema: &279 type: object properties: access_level: @@ -41064,7 +41156,7 @@ paths: required: - access_level examples: - default: &279 + default: &280 value: access_level: organization x-github: @@ -41088,15 +41180,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: application/json: - schema: *278 + schema: *279 examples: - default: *279 + default: *280 responses: '204': description: Response @@ -41120,8 +41212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -41148,8 +41240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -41181,14 +41273,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *280 + schema: *281 examples: default: *109 x-github: @@ -41211,8 +41303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Success response @@ -41223,7 +41315,7 @@ paths: required: true content: application/json: - schema: *281 + schema: *282 examples: default: *109 x-github: @@ -41252,8 +41344,8 @@ paths: in: query schema: type: string - - *253 - *254 + - *255 - *18 - *20 responses: @@ -41297,8 +41389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -41306,9 +41398,9 @@ paths: application/json: schema: type: array - items: *282 + items: *283 examples: - default: *283 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41330,8 +41422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -41374,7 +41466,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *284 + '201': *285 '404': *7 '422': *8 x-github: @@ -41404,8 +41496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *253 - *254 + - *255 responses: '201': description: Response @@ -41413,7 +41505,7 @@ paths: application/json: schema: *117 examples: - default: *285 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41441,8 +41533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *253 - *254 + - *255 responses: '201': description: Response @@ -41450,7 +41542,7 @@ paths: application/json: schema: *117 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41472,8 +41564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 responses: '200': @@ -41482,7 +41574,7 @@ paths: application/json: schema: *115 examples: - default: *287 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41503,8 +41595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *253 - *254 + - *255 - *114 responses: '204': @@ -41530,8 +41622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 responses: '200': *119 @@ -41556,8 +41648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 requestBody: required: true @@ -41606,8 +41698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 requestBody: required: true @@ -41657,11 +41749,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 responses: - '200': *288 + '200': *289 '404': *7 x-github: githubCloudOnly: false @@ -41688,10 +41780,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *253 - *254 + - *255 - *114 - - *289 + - *290 responses: '200': *119 '404': *7 @@ -41719,9 +41811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *253 - *254 - - &307 + - *255 + - &308 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -41729,7 +41821,7 @@ paths: required: false schema: type: string - - &308 + - &309 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -41737,7 +41829,7 @@ paths: required: false schema: type: string - - &309 + - &310 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -41746,7 +41838,7 @@ paths: required: false schema: type: string - - &310 + - &311 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -41773,7 +41865,7 @@ paths: - pending - *18 - *20 - - &311 + - &312 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -41782,7 +41874,7 @@ paths: schema: type: string format: date-time - - &290 + - &291 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -41791,13 +41883,13 @@ paths: schema: type: boolean default: false - - &312 + - &313 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &313 + - &314 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -41820,7 +41912,7 @@ paths: type: integer workflow_runs: type: array - items: &291 + items: &292 title: Workflow Run description: An invocation of a workflow type: object @@ -41915,7 +42007,7 @@ paths: that triggered the run. type: array nullable: true - items: &332 + items: &333 title: Pull Request Minimal type: object properties: @@ -42034,7 +42126,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &336 + properties: &337 id: type: string description: SHA for the commit @@ -42085,7 +42177,7 @@ paths: - name - email nullable: true - required: &337 + required: &338 - id - tree_id - message @@ -42132,7 +42224,7 @@ paths: - workflow_url - pull_requests examples: - default: &314 + default: &315 value: total_count: 1 workflow_runs: @@ -42368,24 +42460,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *253 - *254 - - &292 + - *255 + - &293 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *290 + - *291 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: &295 + default: &296 value: id: 30433642 name: Build @@ -42626,9 +42718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '204': description: Response @@ -42651,9 +42743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '200': description: Response @@ -42772,9 +42864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '201': description: Response @@ -42807,12 +42899,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *253 - *254 - - *292 + - *255 + - *293 - *18 - *20 - - *293 + - *294 responses: '200': description: Response @@ -42828,9 +42920,9 @@ paths: type: integer artifacts: type: array - items: *268 + items: *269 examples: - default: *294 + default: *295 headers: Link: *39 x-github: @@ -42854,25 +42946,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *253 - *254 - - *292 - - &296 + - *255 + - *293 + - &297 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *290 + - *291 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *295 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42895,10 +42987,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *253 - *254 - - *292 - - *296 + - *255 + - *293 + - *297 - *18 - *20 responses: @@ -42916,9 +43008,9 @@ paths: type: integer jobs: type: array - items: *297 + items: *298 examples: - default: &298 + default: &299 value: total_count: 1 jobs: @@ -43031,10 +43123,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *253 - *254 - - *292 - - *296 + - *255 + - *293 + - *297 responses: '302': description: Response @@ -43062,9 +43154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '202': description: Response @@ -43097,9 +43189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 requestBody: required: true content: @@ -43166,9 +43258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '202': description: Response @@ -43201,9 +43293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -43233,9 +43325,9 @@ paths: type: integer jobs: type: array - items: *297 + items: *298 examples: - default: *298 + default: *299 headers: Link: *39 x-github: @@ -43260,9 +43352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '302': description: Response @@ -43289,9 +43381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '204': description: Response @@ -43318,9 +43410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '200': description: Response @@ -43380,7 +43472,7 @@ paths: items: type: object properties: - type: &413 + type: &414 type: string description: The type of reviewer. enum: @@ -43465,9 +43557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 requestBody: required: true content: @@ -43514,7 +43606,7 @@ paths: application/json: schema: type: array - items: &408 + items: &409 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -43620,7 +43712,7 @@ paths: - created_at - updated_at examples: - default: &409 + default: &410 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -43676,9 +43768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *253 - *254 - - *292 + - *255 + - *293 requestBody: required: false content: @@ -43722,9 +43814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *253 - *254 - - *292 + - *255 + - *293 requestBody: required: false content: @@ -43770,9 +43862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *253 - *254 - - *292 + - *255 + - *293 responses: '200': description: Response @@ -43909,8 +44001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -43928,9 +44020,9 @@ paths: type: integer secrets: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 headers: Link: *39 x-github: @@ -43955,16 +44047,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43986,17 +44078,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '200': description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: &426 + default: &427 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44022,8 +44114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 requestBody: required: true @@ -44078,8 +44170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '204': @@ -44105,9 +44197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *253 - *254 - - *275 + - *255 + - *276 - *20 responses: '200': @@ -44124,9 +44216,9 @@ paths: type: integer variables: type: array - items: *303 + items: *304 examples: - default: *304 + default: *305 headers: Link: *39 x-github: @@ -44149,8 +44241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -44202,17 +44294,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *253 - *254 + - *255 - *124 responses: '200': description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: &427 + default: &428 value: name: USERNAME value: octocat @@ -44238,8 +44330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *253 - *254 + - *255 - *124 requestBody: required: true @@ -44282,8 +44374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *253 - *254 + - *255 - *124 responses: '204': @@ -44309,8 +44401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -44328,7 +44420,7 @@ paths: type: integer workflows: type: array - items: &305 + items: &306 title: Workflow description: A GitHub Actions workflow type: object @@ -44435,9 +44527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *253 - *254 - - &306 + - *255 + - &307 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -44452,7 +44544,7 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: default: value: @@ -44485,9 +44577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *253 - *254 - - *306 + - *255 + - *307 responses: '204': description: Response @@ -44512,9 +44604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *253 - *254 - - *306 + - *255 + - *307 responses: '204': description: Response @@ -44565,9 +44657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *253 - *254 - - *306 + - *255 + - *307 responses: '204': description: Response @@ -44592,19 +44684,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *253 - *254 - - *306 + - *255 - *307 - *308 - *309 - *310 + - *311 - *18 - *20 - - *311 - - *290 - *312 + - *291 - *313 + - *314 responses: '200': description: Response @@ -44620,9 +44712,9 @@ paths: type: integer workflow_runs: type: array - items: *291 + items: *292 examples: - default: *314 + default: *315 headers: Link: *39 x-github: @@ -44648,9 +44740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *253 - *254 - - *306 + - *255 + - *307 responses: '200': description: Response @@ -44711,8 +44803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *253 - *254 + - *255 - *42 - *18 - *43 @@ -44876,8 +44968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -44914,8 +45006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *253 - *254 + - *255 - name: assignee in: path required: true @@ -44951,8 +45043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -45064,8 +45156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *253 - *254 + - *255 - *18 - *43 - *44 @@ -45109,7 +45201,7 @@ paths: repository_id: type: integer examples: - default: *315 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45129,8 +45221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -45138,7 +45230,7 @@ paths: application/json: schema: type: array - items: &316 + items: &317 title: Autolink reference description: An autolink reference. type: object @@ -45188,8 +45280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -45228,9 +45320,9 @@ paths: description: response content: application/json: - schema: *316 + schema: *317 examples: - default: &317 + default: &318 value: id: 1 key_prefix: TICKET- @@ -45261,9 +45353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *253 - *254 - - &318 + - *255 + - &319 name: autolink_id description: The unique identifier of the autolink. in: path @@ -45275,9 +45367,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '404': *7 x-github: githubCloudOnly: false @@ -45297,9 +45389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *253 - *254 - - *318 + - *255 + - *319 responses: '204': description: Response @@ -45323,8 +45415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response if Dependabot is enabled @@ -45372,8 +45464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -45394,8 +45486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -45415,8 +45507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *253 - *254 + - *255 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -45454,7 +45546,7 @@ paths: - url protected: type: boolean - protection: &320 + protection: &321 title: Branch Protection description: Branch Protection type: object @@ -45496,7 +45588,7 @@ paths: required: - contexts - checks - enforce_admins: &323 + enforce_admins: &324 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -45511,7 +45603,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &325 + required_pull_request_reviews: &326 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -45587,7 +45679,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &322 + restrictions: &323 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -45894,9 +45986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *253 - *254 - - &321 + - *255 + - &322 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -45910,14 +46002,14 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &381 + commit: &382 title: Commit description: Commit type: object @@ -45951,7 +46043,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &319 + properties: &320 name: type: string example: '"Chris Wanstrath"' @@ -45966,7 +46058,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *319 + properties: *320 nullable: true message: type: string @@ -45987,7 +46079,7 @@ paths: required: - sha - url - verification: &433 + verification: &434 title: Verification type: object properties: @@ -46053,7 +46145,7 @@ paths: type: integer files: type: array - items: &396 + items: &397 title: Diff Entry description: Diff Entry type: object @@ -46136,7 +46228,7 @@ paths: - self protected: type: boolean - protection: *320 + protection: *321 protection_url: type: string format: uri @@ -46242,7 +46334,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *265 + '301': *266 '404': *7 x-github: githubCloudOnly: false @@ -46264,15 +46356,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *320 + schema: *321 examples: default: value: @@ -46466,9 +46558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -46723,7 +46815,7 @@ paths: url: type: string format: uri - required_status_checks: &328 + required_status_checks: &329 title: Status Check Policy description: Status Check Policy type: object @@ -46875,7 +46967,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *322 + restrictions: *323 required_conversation_resolution: type: object properties: @@ -46987,9 +47079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47014,17 +47106,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &324 + default: &325 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -47046,17 +47138,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47075,9 +47167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47102,17 +47194,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: &326 + default: &327 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -47208,9 +47300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -47308,9 +47400,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 '422': *16 x-github: githubCloudOnly: false @@ -47331,9 +47423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47360,17 +47452,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &327 + default: &328 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -47393,17 +47485,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *327 + default: *328 '404': *7 x-github: githubCloudOnly: false @@ -47423,9 +47515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47450,17 +47542,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *328 + schema: *329 examples: - default: &329 + default: &330 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -47486,9 +47578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -47540,9 +47632,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *329 examples: - default: *329 + default: *330 '404': *7 '422': *16 x-github: @@ -47564,9 +47656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47590,9 +47682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response @@ -47626,9 +47718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -47695,9 +47787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -47761,9 +47853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: content: application/json: @@ -47829,15 +47921,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response content: application/json: - schema: *322 + schema: *323 examples: default: value: @@ -47928,9 +48020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '204': description: Response @@ -47953,9 +48045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response @@ -47965,7 +48057,7 @@ paths: type: array items: *6 examples: - default: &330 + default: &331 value: - id: 1 slug: octoapp @@ -48022,9 +48114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48058,7 +48150,7 @@ paths: type: array items: *6 examples: - default: *330 + default: *331 '422': *16 x-github: githubCloudOnly: false @@ -48079,9 +48171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48115,7 +48207,7 @@ paths: type: array items: *6 examples: - default: *330 + default: *331 '422': *16 x-github: githubCloudOnly: false @@ -48136,9 +48228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48172,7 +48264,7 @@ paths: type: array items: *6 examples: - default: *330 + default: *331 '422': *16 x-github: githubCloudOnly: false @@ -48194,9 +48286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response @@ -48226,9 +48318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -48287,9 +48379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: false content: @@ -48348,9 +48440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: content: application/json: @@ -48409,9 +48501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *253 - *254 - - *321 + - *255 + - *322 responses: '200': description: Response @@ -48445,9 +48537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48505,9 +48597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48565,9 +48657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48627,9 +48719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *253 - *254 - - *321 + - *255 + - *322 requestBody: required: true content: @@ -48651,7 +48743,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: default: value: @@ -48766,8 +48858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -49046,7 +49138,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &334 title: CheckRun description: A check performed on the code of a given code change type: object @@ -49165,7 +49257,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *332 + items: *333 deployment: &620 title: Deployment description: A deployment created as the result of an Actions @@ -49446,9 +49538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *253 - *254 - - &334 + - *255 + - &335 name: check_run_id description: The unique identifier of the check run. in: path @@ -49460,9 +49552,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *334 examples: - default: &335 + default: &336 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -49562,9 +49654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *253 - *254 - - *334 + - *255 + - *335 requestBody: required: true content: @@ -49804,9 +49896,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *334 examples: - default: *335 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49826,9 +49918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *253 - *254 - - *334 + - *255 + - *335 - *18 - *20 responses: @@ -49925,9 +50017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *253 - *254 - - *334 + - *255 + - *335 responses: '201': description: Response @@ -49971,8 +50063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -49994,7 +50086,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &338 + schema: &339 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -50058,7 +50150,7 @@ paths: nullable: true pull_requests: type: array - items: *332 + items: *333 nullable: true app: title: GitHub app @@ -50084,8 +50176,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *336 - required: *337 + properties: *337 + required: *338 latest_check_runs_count: type: integer check_runs_url: @@ -50113,7 +50205,7 @@ paths: - check_runs_url - pull_requests examples: - default: &339 + default: &340 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -50404,9 +50496,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *338 + schema: *339 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50425,8 +50517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -50735,9 +50827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *253 - *254 - - &340 + - *255 + - &341 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -50749,9 +50841,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50774,17 +50866,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *253 - *254 - - *340 - - &389 + - *255 + - *341 + - &390 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &390 + - &391 name: status description: Returns check runs with the specified `status`. in: query @@ -50823,9 +50915,9 @@ paths: type: integer check_runs: type: array - items: *333 + items: *334 examples: - default: &391 + default: &392 value: total_count: 1 check_runs: @@ -50927,9 +51019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *253 - *254 - - *340 + - *255 + - *341 responses: '201': description: Response @@ -50962,21 +51054,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *253 - *254 - - *341 + - *255 - *342 + - *343 - *20 - *18 - - &355 + - &356 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *343 - - &356 + schema: *344 + - &357 name: pr description: The number of the pull request for the results you want to list. in: query @@ -51001,13 +51093,13 @@ paths: be returned. in: query required: false - schema: *344 + schema: *345 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *345 + schema: *346 responses: '200': description: Response @@ -51023,7 +51115,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *346 + instances_url: *347 state: *132 fixed_at: *128 dismissed_by: @@ -51034,11 +51126,11 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *347 - dismissed_comment: *348 - rule: *349 - tool: *350 - most_recent_instance: *351 + dismissed_reason: *348 + dismissed_comment: *349 + rule: *350 + tool: *351 + most_recent_instance: *352 required: - number - created_at @@ -51154,7 +51246,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &352 + '403': &353 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -51181,9 +51273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *253 - *254 - - &353 + - *255 + - &354 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -51197,7 +51289,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &355 type: object properties: number: *48 @@ -51205,7 +51297,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *346 + instances_url: *347 state: *132 fixed_at: *128 dismissed_by: @@ -51216,8 +51308,8 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *347 - dismissed_comment: *348 + dismissed_reason: *348 + dismissed_comment: *349 rule: type: object properties: @@ -51271,8 +51363,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *350 - most_recent_instance: *351 + tool: *351 + most_recent_instance: *352 required: - number - created_at @@ -51361,7 +51453,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -51381,9 +51473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *253 - *254 - - *353 + - *255 + - *354 requestBody: required: true content: @@ -51398,8 +51490,8 @@ paths: enum: - open - dismissed - dismissed_reason: *347 - dismissed_comment: *348 + dismissed_reason: *348 + dismissed_comment: *349 required: - state examples: @@ -51414,7 +51506,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *355 examples: default: value: @@ -51489,7 +51581,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &361 + '403': &362 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -51516,13 +51608,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *253 - *254 - - *353 + - *255 + - *354 - *20 - *18 - - *355 - *356 + - *357 responses: '200': description: Response @@ -51530,7 +51622,7 @@ paths: application/json: schema: type: array - items: *351 + items: *352 examples: default: value: @@ -51569,7 +51661,7 @@ paths: end_column: 50 classifications: - source - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -51603,25 +51695,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *253 - *254 - - *341 + - *255 - *342 + - *343 - *20 - *18 - - *356 + - *357 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *343 + schema: *344 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &359 + schema: &360 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -51642,23 +51734,23 @@ paths: application/json: schema: type: array - items: &360 + items: &361 type: object properties: - ref: *343 - commit_sha: &369 + ref: *344 + commit_sha: &370 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *357 + analysis_key: *358 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *358 + category: *359 error: type: string example: error reading field xyz @@ -51682,8 +51774,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *359 - tool: *350 + sarif_id: *360 + tool: *351 deletable: type: boolean warning: @@ -51744,7 +51836,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -51780,8 +51872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *253 - *254 + - *255 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -51794,7 +51886,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *361 examples: response: summary: application/json response @@ -51848,7 +51940,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -51930,8 +52022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *253 - *254 + - *255 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -51984,7 +52076,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *15 - '403': *361 + '403': *362 '404': *7 '503': *63 x-github: @@ -52006,8 +52098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -52015,7 +52107,7 @@ paths: application/json: schema: type: array - items: &362 + items: &363 title: CodeQL Database description: A CodeQL database. type: object @@ -52126,7 +52218,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -52155,8 +52247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *253 - *254 + - *255 - name: language in: path description: The language of the CodeQL database. @@ -52168,7 +52260,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: default: value: @@ -52200,9 +52292,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &398 + '302': &399 description: Found - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -52224,8 +52316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *253 - *254 + - *255 - name: language in: path description: The language of the CodeQL database. @@ -52235,7 +52327,7 @@ paths: responses: '204': description: Response - '403': *361 + '403': *362 '404': *7 '503': *63 x-github: @@ -52263,8 +52355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -52273,7 +52365,7 @@ paths: type: object additionalProperties: false properties: - language: &363 + language: &364 type: string description: The language targeted by the CodeQL query enum: @@ -52351,7 +52443,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &367 + schema: &368 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -52361,7 +52453,7 @@ paths: description: The ID of the variant analysis. controller_repo: *52 actor: *19 - query_language: *363 + query_language: *364 query_pack_url: type: string description: The download url for the query pack. @@ -52408,7 +52500,7 @@ paths: items: type: object properties: - repository: &364 + repository: &365 title: Repository Identifier description: Repository Identifier type: object @@ -52444,7 +52536,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &368 + analysis_status: &369 type: string description: The new status of the CodeQL variant analysis repository task. @@ -52476,7 +52568,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &365 + access_mismatch_repos: &366 type: object properties: repository_count: @@ -52490,7 +52582,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *364 + items: *365 required: - repository_count - repositories @@ -52512,8 +52604,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *365 - over_limit_repos: *365 + no_codeql_db_repos: *366 + over_limit_repos: *366 required: - access_mismatch_repos - not_found_repos @@ -52529,7 +52621,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &366 + value: &367 summary: Default response value: id: 1 @@ -52681,10 +52773,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *366 + value: *367 repository_lists: summary: Response for a successful variant analysis submission - value: *366 + value: *367 '404': *7 '422': description: Unable to process variant analysis submission @@ -52712,8 +52804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *253 - *254 + - *255 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -52725,9 +52817,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *366 + default: *367 '404': *7 '503': *63 x-github: @@ -52750,7 +52842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *253 + - *254 - name: repo in: path description: The name of the controller repository. @@ -52785,7 +52877,7 @@ paths: type: object properties: repository: *52 - analysis_status: *368 + analysis_status: *369 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -52910,8 +53002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -52972,7 +53064,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *352 + '403': *353 '404': *7 '503': *63 x-github: @@ -52993,8 +53085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -53064,7 +53156,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *361 + '403': *362 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -53129,8 +53221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -53138,7 +53230,7 @@ paths: schema: type: object properties: - commit_sha: *369 + commit_sha: *370 ref: type: string description: |- @@ -53196,7 +53288,7 @@ paths: schema: type: object properties: - id: *359 + id: *360 url: type: string description: The REST API URL for checking the status of the upload. @@ -53210,7 +53302,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *361 + '403': *362 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -53233,8 +53325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *253 - *254 + - *255 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -53280,7 +53372,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *352 + '403': *353 '404': description: Not Found if the sarif id does not match any upload '503': *63 @@ -53305,8 +53397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -53384,8 +53476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *253 - *254 + - *255 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -53505,8 +53597,8 @@ paths: parameters: - *18 - *20 - - *253 - *254 + - *255 responses: '200': description: Response @@ -53820,8 +53912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -53886,7 +53978,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -53894,7 +53986,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '400': *15 '401': *25 '403': *29 @@ -53923,8 +54015,8 @@ paths: parameters: - *18 - *20 - - *253 - *254 + - *255 responses: '200': description: Response @@ -53988,8 +54080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *253 - *254 + - *255 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -54028,8 +54120,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *371 - required: *372 + properties: *372 + required: *373 examples: default: &578 value: @@ -54071,8 +54163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *253 - *254 + - *255 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -54156,8 +54248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *253 - *254 + - *255 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -54223,8 +54315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -54242,7 +54334,7 @@ paths: type: integer secrets: type: array - items: &376 + items: &377 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -54262,7 +54354,7 @@ paths: - created_at - updated_at examples: - default: *373 + default: *374 headers: Link: *39 x-github: @@ -54285,16 +54377,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: *375 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54314,17 +54406,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '200': description: Response content: application/json: - schema: *376 + schema: *377 examples: - default: *377 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54344,8 +54436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 requestBody: required: true @@ -54398,8 +54490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '204': @@ -54428,8 +54520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *253 - *254 + - *255 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -54471,7 +54563,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &378 + properties: &379 login: type: string example: octocat @@ -54564,7 +54656,7 @@ paths: user_view_type: type: string example: public - required: &379 + required: &380 - avatar_url - events_url - followers_url @@ -54638,8 +54730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *253 - *254 + - *255 - *126 responses: '204': @@ -54682,8 +54774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *253 - *254 + - *255 - *126 requestBody: required: false @@ -54710,7 +54802,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &446 + schema: &447 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -54932,8 +55024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *253 - *254 + - *255 - *126 responses: '204': @@ -54963,8 +55055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *253 - *254 + - *255 - *126 responses: '200': @@ -54985,8 +55077,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *378 - required: *379 + properties: *379 + required: *380 nullable: true required: - permission @@ -55041,8 +55133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -55052,7 +55144,7 @@ paths: application/json: schema: type: array - items: &380 + items: &381 title: Commit Comment description: Commit Comment type: object @@ -55110,7 +55202,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &384 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55169,17 +55261,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *253 - *254 + - *255 - *74 responses: '200': description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: &384 + default: &385 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55236,8 +55328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -55260,7 +55352,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -55311,8 +55403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *253 - *254 + - *255 - *74 responses: '204': @@ -55334,8 +55426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *253 - *254 + - *255 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -55362,9 +55454,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 '404': *7 @@ -55385,8 +55477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -55419,16 +55511,16 @@ paths: description: Reaction exists content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Reaction created content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '422': *16 x-github: githubCloudOnly: false @@ -55450,10 +55542,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *253 - *254 + - *255 - *74 - - *249 + - *250 responses: '204': description: Response @@ -55501,8 +55593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *253 - *254 + - *255 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -55558,7 +55650,7 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: default: &497 value: @@ -55653,9 +55745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *253 - *254 - - &382 + - *255 + - &383 name: commit_sha description: The SHA of the commit. in: path @@ -55727,9 +55819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *253 - *254 - - *382 + - *255 + - *383 - *18 - *20 responses: @@ -55739,9 +55831,9 @@ paths: application/json: schema: type: array - items: *380 + items: *381 examples: - default: *383 + default: *384 headers: Link: *39 x-github: @@ -55769,9 +55861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *253 - *254 - - *382 + - *255 + - *383 requestBody: required: true content: @@ -55806,9 +55898,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: - default: *384 + default: *385 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55836,9 +55928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *253 - *254 - - *382 + - *255 + - *383 - *18 - *20 responses: @@ -55848,7 +55940,7 @@ paths: application/json: schema: type: array - items: &487 + items: &488 title: Pull Request Simple description: Pull Request Simple type: object @@ -55954,8 +56046,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *385 - required: *386 + properties: *386 + required: *387 nullable: true active_lock_reason: type: string @@ -56051,7 +56143,7 @@ paths: _links: type: object properties: - comments: &387 + comments: &388 title: Link description: Hypermedia Link type: object @@ -56060,13 +56152,13 @@ paths: type: string required: - href - commits: *387 - statuses: *387 - html: *387 - issue: *387 - review_comments: *387 - review_comment: *387 - self: *387 + commits: *388 + statuses: *388 + html: *388 + issue: *388 + review_comments: *388 + review_comment: *388 + self: *388 required: - comments - commits @@ -56140,7 +56232,7 @@ paths: - author_association - auto_merge examples: - default: &488 + default: &489 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -56676,11 +56768,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *253 - *254 + - *255 - *20 - *18 - - &388 + - &389 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -56695,9 +56787,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: &474 + default: &475 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -56809,11 +56901,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *253 - *254 - - *388 + - *255 - *389 - *390 + - *391 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -56847,9 +56939,9 @@ paths: type: integer check_runs: type: array - items: *333 + items: *334 examples: - default: *391 + default: *392 headers: Link: *39 x-github: @@ -56874,9 +56966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *253 - *254 - - *388 + - *255 + - *389 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -56884,7 +56976,7 @@ paths: schema: type: integer example: 1 - - *389 + - *390 - *18 - *20 responses: @@ -56902,7 +56994,7 @@ paths: type: integer check_suites: type: array - items: *338 + items: *339 examples: default: value: @@ -57102,9 +57194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *253 - *254 - - *388 + - *255 + - *389 - *18 - *20 responses: @@ -57302,9 +57394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *253 - *254 - - *388 + - *255 + - *389 - *18 - *20 responses: @@ -57395,7 +57487,7 @@ paths: site_admin: false headers: Link: *39 - '301': *265 + '301': *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57423,8 +57515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -57453,20 +57545,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *392 - required: *393 + properties: *393 + required: *394 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &394 + properties: &395 url: type: string format: uri html_url: type: string format: uri - required: &395 + required: &396 - url - html_url nullable: true @@ -57480,26 +57572,26 @@ paths: contributing: title: Community Health File type: object - properties: *394 - required: *395 + properties: *395 + required: *396 nullable: true readme: title: Community Health File type: object - properties: *394 - required: *395 + properties: *395 + required: *396 nullable: true issue_template: title: Community Health File type: object - properties: *394 - required: *395 + properties: *395 + required: *396 nullable: true pull_request_template: title: Community Health File type: object - properties: *394 - required: *395 + properties: *395 + required: *396 nullable: true required: - code_of_conduct @@ -57625,8 +57717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *253 - *254 + - *255 - *20 - *18 - name: basehead @@ -57669,8 +57761,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *381 - merge_base_commit: *381 + base_commit: *382 + merge_base_commit: *382 status: type: string enum: @@ -57690,10 +57782,10 @@ paths: example: 6 commits: type: array - items: *381 + items: *382 files: type: array - items: *396 + items: *397 required: - url - html_url @@ -57976,8 +58068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *253 - *254 + - *255 - name: path description: path parameter in: path @@ -58118,7 +58210,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &397 + response-if-content-is-a-file: &398 summary: Response if content is a file value: type: file @@ -58451,7 +58543,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *397 + response-if-content-is-a-file: *398 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -58520,7 +58612,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *398 + '302': *399 '304': *37 x-github: githubCloudOnly: false @@ -58543,8 +58635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *253 - *254 + - *255 - name: path description: path parameter in: path @@ -58637,7 +58729,7 @@ paths: description: Response content: application/json: - schema: &399 + schema: &400 title: File Commit description: File Commit type: object @@ -58785,7 +58877,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *400 examples: example-for-creating-a-file: value: @@ -58838,7 +58930,7 @@ paths: schema: oneOf: - *3 - - &428 + - &429 description: Repository rule violation was detected type: object properties: @@ -58891,8 +58983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *253 - *254 + - *255 - name: path description: path parameter in: path @@ -58953,7 +59045,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *400 examples: default: value: @@ -59007,8 +59099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *253 - *254 + - *255 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -59131,8 +59223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *253 - *254 + - *255 - *142 - *143 - *144 @@ -59173,7 +59265,7 @@ paths: application/json: schema: type: array - items: &402 + items: &403 type: object description: A Dependabot alert. properties: @@ -59206,7 +59298,7 @@ paths: enum: - development - runtime - security_advisory: *400 + security_advisory: *401 security_vulnerability: *47 url: *50 html_url: *51 @@ -59237,7 +59329,7 @@ paths: nullable: true maxLength: 280 fixed_at: *128 - auto_dismissed_at: *401 + auto_dismissed_at: *402 required: - number - state @@ -59464,9 +59556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *253 - *254 - - &403 + - *255 + - &404 name: alert_number in: path description: |- @@ -59481,7 +59573,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: default: value: @@ -59591,9 +59683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *253 - *254 - - *403 + - *255 + - *404 requestBody: required: true content: @@ -59638,7 +59730,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: default: value: @@ -59767,8 +59859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -59786,7 +59878,7 @@ paths: type: integer secrets: type: array - items: &406 + items: &407 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -59839,16 +59931,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *405 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59868,15 +59960,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '200': description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -59902,8 +59994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 requestBody: required: true @@ -59956,8 +60048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *253 - *254 + - *255 - *121 responses: '204': @@ -59980,8 +60072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *253 - *254 + - *255 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -60141,8 +60233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -60381,8 +60473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -60457,7 +60549,7 @@ paths: - version - url additionalProperties: false - metadata: &407 + metadata: &408 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -60490,7 +60582,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *407 + metadata: *408 resolved: type: object description: A collection of resolved package dependencies. @@ -60503,7 +60595,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *407 + metadata: *408 relationship: type: string description: A notation of whether a dependency is requested @@ -60632,8 +60724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *253 - *254 + - *255 - name: sha description: The SHA recorded at creation time. in: query @@ -60673,9 +60765,9 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 + default: *410 headers: Link: *39 x-github: @@ -60741,8 +60833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -60823,7 +60915,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: simple-example: summary: Simple example @@ -60896,9 +60988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *253 - *254 - - &410 + - *255 + - &411 name: deployment_id description: deployment_id parameter in: path @@ -60910,7 +61002,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: default: value: @@ -60975,9 +61067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *253 - *254 - - *410 + - *255 + - *411 responses: '204': description: Response @@ -60999,9 +61091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *253 - *254 - - *410 + - *255 + - *411 - *18 - *20 responses: @@ -61011,7 +61103,7 @@ paths: application/json: schema: type: array - items: &411 + items: &412 title: Deployment Status description: The status of a deployment. type: object @@ -61172,9 +61264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *253 - *254 - - *410 + - *255 + - *411 requestBody: required: true content: @@ -61249,9 +61341,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *412 examples: - default: &412 + default: &413 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -61307,9 +61399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *253 - *254 - - *410 + - *255 + - *411 - name: status_id in: path required: true @@ -61320,9 +61412,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *412 examples: - default: *412 + default: *413 '404': *7 x-github: githubCloudOnly: false @@ -61347,8 +61439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -61405,8 +61497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -61423,7 +61515,7 @@ paths: type: integer environments: type: array - items: &414 + items: &415 title: Environment description: Details of a deployment environment type: object @@ -61475,7 +61567,7 @@ paths: type: type: string example: wait_timer - wait_timer: &416 + wait_timer: &417 type: integer example: 30 description: The amount of time to delay a job after @@ -61512,7 +61604,7 @@ paths: items: type: object properties: - type: *413 + type: *414 reviewer: anyOf: - *19 @@ -61536,7 +61628,7 @@ paths: - id - node_id - type - deployment_branch_policy: &417 + deployment_branch_policy: &418 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -61652,9 +61744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *253 - *254 - - &415 + - *255 + - &416 name: environment_name in: path required: true @@ -61667,9 +61759,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *415 examples: - default: &418 + default: &419 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -61753,9 +61845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *253 - *254 - - *415 + - *255 + - *416 requestBody: required: false content: @@ -61764,7 +61856,7 @@ paths: type: object nullable: true properties: - wait_timer: *416 + wait_timer: *417 prevent_self_review: type: boolean example: false @@ -61781,13 +61873,13 @@ paths: items: type: object properties: - type: *413 + type: *414 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *417 + deployment_branch_policy: *418 additionalProperties: false examples: default: @@ -61807,9 +61899,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *415 examples: - default: *418 + default: *419 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -61833,9 +61925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *253 - *254 - - *415 + - *255 + - *416 responses: '204': description: Default response @@ -61860,9 +61952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *18 - *20 responses: @@ -61880,7 +61972,7 @@ paths: example: 2 branch_policies: type: array - items: &419 + items: &420 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -61937,9 +62029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *253 - *254 - - *415 + - *255 + - *416 requestBody: required: true content: @@ -61985,9 +62077,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: - example-wildcard: &420 + example-wildcard: &421 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -62029,10 +62121,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *253 - *254 - - *415 - - &421 + - *255 + - *416 + - &422 name: branch_policy_id in: path required: true @@ -62044,9 +62136,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: *420 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62065,10 +62157,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *253 - *254 - - *415 - - *421 + - *255 + - *416 + - *422 requestBody: required: true content: @@ -62096,9 +62188,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: *420 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62117,10 +62209,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *253 - *254 - - *415 - - *421 + - *255 + - *416 + - *422 responses: '204': description: Response @@ -62145,9 +62237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *415 + - *416 + - *255 - *254 - - *253 responses: '200': description: List of deployment protection rules @@ -62163,7 +62255,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &422 + items: &423 title: Deployment protection rule description: Deployment protection rule type: object @@ -62182,7 +62274,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &423 + app: &424 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -62281,9 +62373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *415 + - *416 + - *255 - *254 - - *253 requestBody: content: application/json: @@ -62304,9 +62396,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *422 + schema: *423 examples: - default: &424 + default: &425 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -62341,9 +62433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *415 + - *416 + - *255 - *254 - - *253 - *20 - *18 responses: @@ -62362,7 +62454,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *423 + items: *424 examples: default: value: @@ -62397,10 +62489,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *253 - *254 - - *415 - - &425 + - *255 + - *416 + - &426 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -62412,9 +62504,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: - default: *424 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62435,10 +62527,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *415 + - *416 + - *255 - *254 - - *253 - - *425 + - *426 responses: '204': description: Response @@ -62464,9 +62556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *18 - *20 responses: @@ -62484,9 +62576,9 @@ paths: type: integer secrets: type: array - items: *299 + items: *300 examples: - default: *300 + default: *301 headers: Link: *39 x-github: @@ -62511,17 +62603,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *253 - *254 - - *415 + - *255 + - *416 responses: '200': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62543,18 +62635,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *121 responses: '200': description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *426 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62576,9 +62668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *121 requestBody: required: true @@ -62636,9 +62728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *121 responses: '204': @@ -62664,10 +62756,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *253 - *254 - - *415 - - *275 + - *255 + - *416 + - *276 - *20 responses: '200': @@ -62684,9 +62776,9 @@ paths: type: integer variables: type: array - items: *303 + items: *304 examples: - default: *304 + default: *305 headers: Link: *39 x-github: @@ -62709,9 +62801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *253 - *254 - - *415 + - *255 + - *416 requestBody: required: true content: @@ -62763,18 +62855,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *253 - *254 - - *415 + - *255 + - *416 - *124 responses: '200': description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *427 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62795,10 +62887,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *253 - *254 + - *255 - *124 - - *415 + - *416 requestBody: required: true content: @@ -62840,10 +62932,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *253 - *254 + - *255 - *124 - - *415 + - *416 responses: '204': description: Response @@ -62865,8 +62957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -62943,8 +63035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *253 - *254 + - *255 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -63103,8 +63195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -63136,9 +63228,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: - default: *266 + default: *267 '400': *15 '422': *16 '403': *29 @@ -63159,8 +63251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -63220,7 +63312,7 @@ paths: schema: oneOf: - *97 - - *428 + - *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63245,8 +63337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *253 - *254 + - *255 - name: file_sha in: path required: true @@ -63344,8 +63436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -63454,7 +63546,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &430 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -63662,15 +63754,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *253 - *254 - - *382 + - *255 + - *383 responses: '200': description: Response content: application/json: - schema: *429 + schema: *430 examples: default: value: @@ -63725,9 +63817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *253 - *254 - - &430 + - *255 + - &431 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -63744,7 +63836,7 @@ paths: application/json: schema: type: array - items: &431 + items: &432 title: Git Reference description: Git references within a repository type: object @@ -63819,17 +63911,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *253 - *254 - - *430 + - *255 + - *431 responses: '200': description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: &432 + default: &433 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -63858,8 +63950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -63888,9 +63980,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -63916,9 +64008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *253 - *254 - - *430 + - *255 + - *431 requestBody: required: true content: @@ -63947,9 +64039,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '422': *16 '409': *134 x-github: @@ -63967,9 +64059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *253 - *254 - - *430 + - *255 + - *431 responses: '204': description: Response @@ -64021,8 +64113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -64089,7 +64181,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &435 title: Git Tag description: Metadata for a Git tag type: object @@ -64140,7 +64232,7 @@ paths: - sha - type - url - verification: *433 + verification: *434 required: - sha - url @@ -64150,7 +64242,7 @@ paths: - tag - message examples: - default: &435 + default: &436 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -64221,8 +64313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *253 - *254 + - *255 - name: tag_sha in: path required: true @@ -64233,9 +64325,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *435 + default: *436 '404': *7 '409': *134 x-github: @@ -64259,8 +64351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -64333,7 +64425,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &437 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -64445,8 +64537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *253 - *254 + - *255 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -64469,7 +64561,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: default-response: summary: Default response @@ -64528,8 +64620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -64539,7 +64631,7 @@ paths: application/json: schema: type: array - items: &437 + items: &438 title: Webhook description: Webhooks for repositories. type: object @@ -64667,8 +64759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -64720,9 +64812,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: &438 + default: &439 value: type: Repository id: 12345678 @@ -64770,17 +64862,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 responses: '200': description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '404': *7 x-github: githubCloudOnly: false @@ -64800,8 +64892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 requestBody: required: true @@ -64847,9 +64939,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *16 '404': *7 x-github: @@ -64867,8 +64959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 responses: '204': @@ -64893,8 +64985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *253 - *254 + - *255 - *157 responses: '200': @@ -64922,8 +65014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *253 - *254 + - *255 - *157 requestBody: required: false @@ -64968,8 +65060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 - *18 - *158 @@ -65001,8 +65093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 - *17 responses: @@ -65031,8 +65123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 - *17 responses: @@ -65056,8 +65148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *253 - *254 + - *255 - *157 responses: '204': @@ -65083,8 +65175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *253 - *254 + - *255 - *157 responses: '204': @@ -65143,14 +65235,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: &439 + schema: &440 title: Import description: A repository import from an external source. type: object @@ -65249,7 +65341,7 @@ paths: - html_url - authors_url examples: - default: &442 + default: &443 value: vcs: subversion use_lfs: true @@ -65265,7 +65357,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &440 + '503': &441 description: Unavailable due to service under maintenance. content: application/json: @@ -65294,8 +65386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -65343,7 +65435,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: default: value: @@ -65368,7 +65460,7 @@ paths: type: string '422': *16 '404': *7 - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65396,8 +65488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -65446,7 +65538,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: example-1: summary: Example 1 @@ -65494,7 +65586,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65517,12 +65609,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *253 - *254 + - *255 responses: '204': description: Response - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65548,8 +65640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *253 - *254 + - *255 - &601 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -65564,7 +65656,7 @@ paths: application/json: schema: type: array - items: &441 + items: &442 title: Porter Author description: Porter Author type: object @@ -65618,7 +65710,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65643,8 +65735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *253 - *254 + - *255 - name: author_id in: path required: true @@ -65674,7 +65766,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: default: value: @@ -65687,7 +65779,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65711,8 +65803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -65753,7 +65845,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65781,8 +65873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -65809,11 +65901,11 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: - default: *442 + default: *443 '422': *16 - '503': *440 + '503': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65836,8 +65928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -65845,8 +65937,8 @@ paths: application/json: schema: *22 examples: - default: *443 - '301': *265 + default: *444 + '301': *266 '404': *7 x-github: githubCloudOnly: false @@ -65866,8 +65958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -65880,7 +65972,7 @@ paths: properties: {} additionalProperties: false examples: - default: &445 + default: &446 value: limit: collaborators_only origin: repository @@ -65905,13 +65997,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: application/json: - schema: *444 + schema: *445 examples: default: summary: Example request body @@ -65925,7 +66017,7 @@ paths: application/json: schema: *175 examples: - default: *445 + default: *446 '409': description: Response x-github: @@ -65947,8 +66039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -65971,8 +66063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -65982,7 +66074,7 @@ paths: application/json: schema: type: array - items: *446 + items: *447 examples: default: &594 value: @@ -66115,8 +66207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *253 - *254 + - *255 - *179 requestBody: required: false @@ -66146,7 +66238,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *447 examples: default: value: @@ -66277,8 +66369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *253 - *254 + - *255 - *179 responses: '204': @@ -66310,8 +66402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *253 - *254 + - *255 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -66524,7 +66616,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *265 + '301': *266 '422': *16 '404': *7 x-github: @@ -66553,8 +66645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -66631,7 +66723,7 @@ paths: application/json: schema: *75 examples: - default: &452 + default: &453 value: id: 1 node_id: MDU6SXNzdWUx @@ -66787,7 +66879,7 @@ paths: '422': *16 '503': *63 '404': *7 - '410': *262 + '410': *263 x-github: triggersNotification: true githubCloudOnly: false @@ -66815,8 +66907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *253 - *254 + - *255 - *85 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -66837,9 +66929,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: &454 + default: &455 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -66897,17 +66989,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *253 - *254 + - *255 - *74 responses: '200': description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: &448 + default: &449 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -66961,8 +67053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -66985,9 +67077,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 '422': *16 x-github: githubCloudOnly: false @@ -67005,8 +67097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *253 - *254 + - *255 - *74 responses: '204': @@ -67027,8 +67119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *253 - *254 + - *255 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -67055,9 +67147,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 '404': *7 @@ -67078,8 +67170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -67112,16 +67204,16 @@ paths: description: Reaction exists content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Reaction created content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '422': *16 x-github: githubCloudOnly: false @@ -67143,10 +67235,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *253 - *254 + - *255 - *74 - - *249 + - *250 responses: '204': description: Response @@ -67166,8 +67258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -67177,7 +67269,7 @@ paths: application/json: schema: type: array - items: &451 + items: &452 title: Issue Event description: Issue Event type: object @@ -67220,8 +67312,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *449 - required: *450 + properties: *450 + required: *451 nullable: true label: title: Issue Event Label @@ -67528,8 +67620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *253 - *254 + - *255 - name: event_id in: path required: true @@ -67540,7 +67632,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: default: value: @@ -67733,7 +67825,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *262 + '410': *263 '403': *29 x-github: githubCloudOnly: false @@ -67767,9 +67859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *253 - *254 - - &453 + - *255 + - &454 name: issue_number description: The number that identifies the issue. in: path @@ -67783,10 +67875,10 @@ paths: application/json: schema: *75 examples: - default: *452 - '301': *265 + default: *453 + '301': *266 '404': *7 - '410': *262 + '410': *263 '304': *37 x-github: githubCloudOnly: false @@ -67811,9 +67903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: false content: @@ -67910,13 +68002,13 @@ paths: application/json: schema: *75 examples: - default: *452 + default: *453 '422': *16 '503': *63 '403': *29 - '301': *265 + '301': *266 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67934,9 +68026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: false content: @@ -67964,7 +68056,7 @@ paths: application/json: schema: *75 examples: - default: *452 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67980,9 +68072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: content: application/json: @@ -68009,7 +68101,7 @@ paths: application/json: schema: *75 examples: - default: *452 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68031,9 +68123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 - name: assignee in: path required: true @@ -68073,9 +68165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *253 - *254 - - *453 + - *255 + - *454 - *65 - *18 - *20 @@ -68086,13 +68178,13 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *454 + default: *455 headers: Link: *39 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68121,9 +68213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: true content: @@ -68145,16 +68237,16 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *262 + '410': *263 '422': *16 '404': *7 x-github: @@ -68174,9 +68266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *253 - *254 - - *453 + - *255 + - *454 - *18 - *20 responses: @@ -68190,7 +68282,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &457 + - &458 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -68244,7 +68336,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &458 + - &459 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -68380,7 +68472,7 @@ paths: - performed_via_github_app - assignee - assigner - - &459 + - &460 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -68431,7 +68523,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &460 + - &461 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -68482,7 +68574,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &461 + - &462 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -68536,7 +68628,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &462 + - &463 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -68583,7 +68675,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &463 + - &464 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -68630,7 +68722,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &464 + - &465 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -68690,7 +68782,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &465 + - &466 title: Locked Issue Event description: Locked Issue Event type: object @@ -68738,7 +68830,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &467 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -68804,7 +68896,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &468 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -68870,7 +68962,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &469 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -68936,7 +69028,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &470 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -69027,7 +69119,7 @@ paths: color: red headers: Link: *39 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69044,9 +69136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 - *18 - *20 responses: @@ -69056,7 +69148,7 @@ paths: application/json: schema: type: array - items: &455 + items: &456 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -69103,7 +69195,7 @@ paths: - color - default examples: - default: &456 + default: &457 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -69121,9 +69213,9 @@ paths: default: false headers: Link: *39 - '301': *265 + '301': *266 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69140,9 +69232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: false content: @@ -69201,12 +69293,12 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *456 - '301': *265 + default: *457 + '301': *266 '404': *7 - '410': *262 + '410': *263 '422': *16 x-github: githubCloudOnly: false @@ -69223,9 +69315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: false content: @@ -69285,12 +69377,12 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *456 - '301': *265 + default: *457 + '301': *266 '404': *7 - '410': *262 + '410': *263 '422': *16 x-github: githubCloudOnly: false @@ -69307,15 +69399,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 responses: '204': description: Response - '301': *265 + '301': *266 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69334,9 +69426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 - name: name in: path required: true @@ -69349,7 +69441,7 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: default: value: @@ -69360,9 +69452,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *265 + '301': *266 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69382,9 +69474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: false content: @@ -69412,7 +69504,7 @@ paths: '204': description: Response '403': *29 - '410': *262 + '410': *263 '404': *7 '422': *16 x-github: @@ -69430,9 +69522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 responses: '204': description: Response @@ -69454,9 +69546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -69482,13 +69574,13 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69506,9 +69598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 requestBody: required: true content: @@ -69540,16 +69632,16 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '422': *16 x-github: githubCloudOnly: false @@ -69571,10 +69663,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *253 - *254 - - *453 - - *249 + - *255 + - *454 + - *250 responses: '204': description: Response @@ -69594,9 +69686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *253 - *254 - - *453 + - *255 + - *454 - *18 - *20 responses: @@ -69611,7 +69703,6 @@ paths: description: Timeline Event type: object anyOf: - - *457 - *458 - *459 - *460 @@ -69624,6 +69715,7 @@ paths: - *467 - *468 - *469 + - *470 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -70133,7 +70225,7 @@ paths: type: string comments: type: array - items: *380 + items: *381 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -70422,7 +70514,7 @@ paths: headers: Link: *39 '404': *7 - '410': *262 + '410': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70439,8 +70531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -70450,7 +70542,7 @@ paths: application/json: schema: type: array - items: &470 + items: &471 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -70515,8 +70607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -70552,9 +70644,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &471 + default: &472 value: id: 1 key: ssh-rsa AAA... @@ -70588,9 +70680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *253 - *254 - - &472 + - *255 + - &473 name: key_id description: The unique identifier of the key. in: path @@ -70602,9 +70694,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 '404': *7 x-github: githubCloudOnly: false @@ -70622,9 +70714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *253 - *254 - - *472 + - *255 + - *473 responses: '204': description: Response @@ -70644,8 +70736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -70655,9 +70747,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *456 + default: *457 headers: Link: *39 '404': *7 @@ -70678,8 +70770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -70715,9 +70807,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &473 + default: &474 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -70749,8 +70841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *253 - *254 + - *255 - name: name in: path required: true @@ -70761,9 +70853,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *473 + default: *474 '404': *7 x-github: githubCloudOnly: false @@ -70780,8 +70872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *253 - *254 + - *255 - name: name in: path required: true @@ -70820,7 +70912,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -70846,8 +70938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *253 - *254 + - *255 - name: name in: path required: true @@ -70873,8 +70965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -70913,9 +71005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *253 - *254 - - *355 + - *255 + - *356 responses: '200': description: Response @@ -71060,8 +71152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -71126,8 +71218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -71161,9 +71253,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *381 + schema: *382 examples: - default: *474 + default: *475 '204': description: Response when already merged '404': @@ -71188,8 +71280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *253 - *254 + - *255 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -71230,12 +71322,12 @@ paths: application/json: schema: type: array - items: &475 + items: &476 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *385 - required: *386 + properties: *386 + required: *387 examples: default: value: @@ -71291,8 +71383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -71332,9 +71424,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: &476 + default: &477 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -71393,9 +71485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *253 - *254 - - &477 + - *255 + - &478 name: milestone_number description: The number that identifies the milestone. in: path @@ -71407,9 +71499,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 '404': *7 x-github: githubCloudOnly: false @@ -71426,9 +71518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *253 - *254 - - *477 + - *255 + - *478 requestBody: required: false content: @@ -71466,9 +71558,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71484,9 +71576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *253 - *254 - - *477 + - *255 + - *478 responses: '204': description: Response @@ -71507,9 +71599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *253 - *254 - - *477 + - *255 + - *478 - *18 - *20 responses: @@ -71519,9 +71611,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *456 + default: *457 headers: Link: *39 x-github: @@ -71540,12 +71632,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *253 - *254 - - *478 + - *255 - *479 - - *65 - *480 + - *65 + - *481 - *18 - *20 responses: @@ -71557,7 +71649,7 @@ paths: type: array items: *88 examples: - default: *481 + default: *482 headers: Link: *39 x-github: @@ -71581,8 +71673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -71640,14 +71732,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: &482 + schema: &483 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -71772,7 +71864,7 @@ paths: - custom_404 - public examples: - default: &483 + default: &484 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -71813,8 +71905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -71868,9 +71960,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: *483 + default: *484 '422': *16 '409': *134 x-github: @@ -71893,8 +71985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -71993,8 +72085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -72020,8 +72112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -72031,7 +72123,7 @@ paths: application/json: schema: type: array - items: &484 + items: &485 title: Page Build description: Page Build type: object @@ -72125,8 +72217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *253 - *254 + - *255 responses: '201': description: Response @@ -72171,16 +72263,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *253 - *254 + - *255 responses: '200': description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: &485 + default: &486 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -72228,8 +72320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *253 - *254 + - *255 - name: build_id in: path required: true @@ -72240,9 +72332,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72262,8 +72354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -72369,9 +72461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *253 - *254 - - &486 + - *255 + - &487 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -72429,9 +72521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *253 - *254 - - *486 + - *255 + - *487 responses: '204': *137 '404': *7 @@ -72458,8 +72550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -72717,8 +72809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Private vulnerability reporting status @@ -72755,8 +72847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': *137 '422': *15 @@ -72777,8 +72869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': *137 '422': *15 @@ -72801,8 +72893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *253 - *254 + - *255 - name: state description: Indicates the state of the projects to return. in: query @@ -72863,7 +72955,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *262 + '410': *263 '422': *8 x-github: githubCloudOnly: false @@ -72883,8 +72975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -72912,11 +73004,11 @@ paths: application/json: schema: *211 examples: - default: *261 + default: *262 '401': *25 '403': *29 '404': *7 - '410': *262 + '410': *263 '422': *8 x-github: githubCloudOnly: false @@ -72936,8 +73028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -72976,8 +73068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -73039,8 +73131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *253 - *254 + - *255 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -73100,9 +73192,9 @@ paths: application/json: schema: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *39 '304': *37 @@ -73134,8 +73226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -73311,8 +73403,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *385 - required: *386 + properties: *386 + required: *387 nullable: true active_lock_reason: type: string @@ -73357,7 +73449,7 @@ paths: nullable: true requested_teams: type: array - items: *489 + items: *238 nullable: true head: type: object @@ -73396,14 +73488,14 @@ paths: _links: type: object properties: - comments: *387 - commits: *387 - statuses: *387 - html: *387 - issue: *387 - review_comments: *387 - review_comment: *387 - self: *387 + comments: *388 + commits: *388 + statuses: *388 + html: *388 + issue: *388 + review_comments: *388 + review_comment: *388 + self: *388 required: - comments - commits @@ -74033,8 +74125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *253 - *254 + - *255 - name: sort in: query required: false @@ -74142,8 +74234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *253 - *254 + - *255 - *74 responses: '200': @@ -74227,8 +74319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -74269,8 +74361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *253 - *254 + - *255 - *74 responses: '204': @@ -74292,8 +74384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *253 - *254 + - *255 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -74320,9 +74412,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 '404': *7 @@ -74343,8 +74435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *253 - *254 + - *255 - *74 requestBody: required: true @@ -74377,16 +74469,16 @@ paths: description: Reaction exists content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Reaction created content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '422': *16 x-github: githubCloudOnly: false @@ -74408,10 +74500,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *253 - *254 + - *255 - *74 - - *249 + - *250 responses: '204': description: Response @@ -74454,8 +74546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *253 - *254 + - *255 - &495 name: pull_number description: The number that identifies the pull request. @@ -74506,8 +74598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: false @@ -74574,8 +74666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: true @@ -74638,7 +74730,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -74646,7 +74738,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '401': *25 '403': *29 '404': *7 @@ -74676,8 +74768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *85 - name: direction @@ -74734,8 +74826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: true @@ -74929,8 +75021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *253 - *254 + - *255 - *495 - *74 requestBody: @@ -75040,8 +75132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *18 - *20 @@ -75052,7 +75144,7 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: default: *497 headers: @@ -75084,8 +75176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *253 - *254 + - *255 - *495 - *18 - *20 @@ -75096,7 +75188,7 @@ paths: application/json: schema: type: array - items: *396 + items: *397 examples: default: value: @@ -75134,8 +75226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *253 - *254 + - *255 - *495 responses: '204': @@ -75159,8 +75251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: false @@ -75272,8 +75364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 responses: '200': @@ -75349,8 +75441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: false @@ -75388,7 +75480,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -75924,8 +76016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: true @@ -75960,7 +76052,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -76465,8 +76557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *18 - *20 @@ -76628,8 +76720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 requestBody: required: false @@ -76781,8 +76873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - &499 name: review_id @@ -76857,8 +76949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *499 requestBody: @@ -76945,8 +77037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *499 responses: @@ -76983,8 +77075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *253 - *254 + - *255 - *495 - *499 - *18 @@ -77069,9 +77161,9 @@ paths: _links: type: object properties: - self: *387 - html: *387 - pull_request: *387 + self: *388 + html: *388 + pull_request: *388 required: - self - html @@ -77214,8 +77306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *499 requestBody: @@ -77308,8 +77400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *253 - *254 + - *255 - *495 - *499 requestBody: @@ -77370,8 +77462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *253 - *254 + - *255 - *495 requestBody: required: false @@ -77435,8 +77527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *253 - *254 + - *255 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -77493,8 +77585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *253 - *254 + - *255 - name: dir description: The alternate path to look for a README file in: path @@ -77538,8 +77630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -77793,8 +77885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -77973,8 +78065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *253 - *254 + - *255 - &506 name: asset_id description: The unique identifier of the asset. @@ -78023,7 +78115,7 @@ paths: type: User site_admin: false '404': *7 - '302': *398 + '302': *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78039,8 +78131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *253 - *254 + - *255 - *506 requestBody: required: false @@ -78087,8 +78179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *253 - *254 + - *255 - *506 responses: '204': @@ -78113,8 +78205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -78199,8 +78291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -78225,8 +78317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *253 - *254 + - *255 - name: tag description: tag parameter in: path @@ -78263,8 +78355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *253 - *254 + - *255 - &509 name: release_id description: The unique identifier of the release. @@ -78299,8 +78391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *253 - *254 + - *255 - *509 requestBody: required: false @@ -78388,8 +78480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *253 - *254 + - *255 - *509 responses: '204': @@ -78410,8 +78502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *253 - *254 + - *255 - *509 - *18 - *20 @@ -78502,8 +78594,8 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *253 - *254 + - *255 - *509 - name: name in: query @@ -78584,8 +78676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *253 - *254 + - *255 - *509 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78610,9 +78702,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 '404': *7 @@ -78633,8 +78725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *253 - *254 + - *255 - *509 requestBody: required: true @@ -78665,16 +78757,16 @@ paths: description: Reaction exists content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '201': description: Reaction created content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 '422': *16 x-github: githubCloudOnly: false @@ -78696,10 +78788,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *253 - *254 + - *255 - *509 - - *249 + - *250 responses: '204': description: Response @@ -78723,9 +78815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *253 - *254 - - *321 + - *255 + - *322 - *18 - *20 responses: @@ -78847,8 +78939,8 @@ paths: category: repos subcategory: rules parameters: - - *253 - *254 + - *255 - *18 - *20 - name: includes_parents @@ -78914,8 +79006,8 @@ paths: category: repos subcategory: rules parameters: - - *253 - *254 + - *255 requestBody: description: Request body required: true @@ -79024,8 +79116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *253 - *254 + - *255 - *529 - *530 - *531 @@ -79060,8 +79152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *253 - *254 + - *255 - *535 responses: '200': @@ -79098,8 +79190,8 @@ paths: category: repos subcategory: rules parameters: - - *253 - *254 + - *255 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79139,8 +79231,8 @@ paths: category: repos subcategory: rules parameters: - - *253 - *254 + - *255 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79222,8 +79314,8 @@ paths: category: repos subcategory: rules parameters: - - *253 - *254 + - *255 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79251,8 +79343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *253 - *254 + - *255 - *228 - *229 - *230 @@ -79339,6 +79431,23 @@ paths: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true validity: type: string description: The token status as of the latest validity check. @@ -79409,6 +79518,27 @@ paths: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: inactive publicly_leaked: false @@ -79428,6 +79558,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -79457,9 +79590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *253 - *254 - - *353 + - *255 + - *354 responses: '200': description: Response @@ -79484,6 +79617,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -79513,9 +79649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *253 - *254 - - *353 + - *255 + - *354 requestBody: required: true content: @@ -79579,6 +79715,9 @@ paths: push_protection_bypassed: false push_protection_bypassed_by: push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: Example comment validity: unknown publicly_leaked: false @@ -79613,9 +79752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *253 - *254 - - *353 + - *255 + - *354 - *20 - *18 responses: @@ -79985,8 +80124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -80063,8 +80202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *253 - *254 + - *255 - *42 - name: sort description: The property to sort the results by. @@ -80133,8 +80272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -80529,8 +80668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -80781,8 +80920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *253 - *254 + - *255 - *548 responses: '200': @@ -80815,8 +80954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *253 - *254 + - *255 - *548 requestBody: required: true @@ -81017,8 +81156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *253 - *254 + - *255 - *548 responses: '202': *99 @@ -81046,17 +81185,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *253 - *254 + - *255 - *548 responses: '202': description: Response content: application/json: - schema: *264 + schema: *265 examples: - default: *266 + default: *267 '400': *15 '422': *16 '403': *29 @@ -81082,8 +81221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -81182,8 +81321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *253 - *254 + - *255 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -81225,8 +81364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -81302,8 +81441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -81399,8 +81538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *253 - *254 + - *255 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -81554,8 +81693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *253 - *254 + - *255 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -81598,8 +81737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *253 - *254 + - *255 - name: sha in: path required: true @@ -81707,8 +81846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -81740,8 +81879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *253 - *254 + - *255 responses: '200': description: if you subscribe to the repository @@ -81815,8 +81954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *253 - *254 + - *255 requestBody: required: false content: @@ -81869,8 +82008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -81890,8 +82029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -81970,8 +82109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -82031,8 +82170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -82086,8 +82225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *253 - *254 + - *255 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -82124,8 +82263,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *253 - *254 + - *255 - name: ref in: path required: true @@ -82161,8 +82300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *253 - *254 + - *255 - *18 - *20 responses: @@ -82194,8 +82333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *253 - *254 + - *255 - *20 - *18 responses: @@ -82238,8 +82377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -82293,8 +82432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *253 - *254 + - *255 - &556 name: per description: The time frame to display results for. @@ -82411,8 +82550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -82502,8 +82641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *253 - *254 + - *255 responses: '200': description: Response @@ -82563,8 +82702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *253 - *254 + - *255 - *556 responses: '200': @@ -82661,8 +82800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *253 - *254 + - *255 requestBody: required: true content: @@ -82936,8 +83075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *253 - *254 + - *255 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -82960,8 +83099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -82983,8 +83122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -83010,8 +83149,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *253 - *254 + - *255 - name: ref in: path required: true @@ -83103,9 +83242,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: - default: *266 + default: *267 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -83586,7 +83725,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *319 + properties: *320 nullable: true comment_count: type: integer @@ -83606,7 +83745,7 @@ paths: url: type: string format: uri - verification: *433 + verification: *434 required: - author - committer @@ -83625,7 +83764,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *319 + properties: *320 nullable: true parents: type: array @@ -83940,8 +84079,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *385 - required: *386 + properties: *386 + required: *387 nullable: true comments: type: integer @@ -85233,9 +85372,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '404': *7 x-github: githubCloudOnly: false @@ -85325,16 +85464,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '201': description: Response content: application/json: - schema: *238 + schema: *239 examples: - default: *239 + default: *240 '404': *7 '422': *16 '403': *29 @@ -85404,7 +85543,7 @@ paths: application/json: schema: type: array - items: *240 + items: *241 examples: default: *561 headers: @@ -85469,9 +85608,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: triggersNotification: true githubCloudOnly: false @@ -85499,15 +85638,15 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - *560 - - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *240 + schema: *241 examples: - default: *241 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85533,7 +85672,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - *560 - - *242 + - *243 requestBody: required: false content: @@ -85556,7 +85695,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *241 examples: default: *562 x-github: @@ -85584,7 +85723,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - *560 - - *242 + - *243 responses: '204': description: Response @@ -85614,7 +85753,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *560 - - *242 + - *243 - *42 - *18 - *20 @@ -85625,7 +85764,7 @@ paths: application/json: schema: type: array - items: *243 + items: *244 examples: default: *563 headers: @@ -85657,7 +85796,7 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *560 - - *242 + - *243 requestBody: required: true content: @@ -85679,9 +85818,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *244 examples: - default: *244 + default: *245 x-github: triggersNotification: true githubCloudOnly: false @@ -85709,16 +85848,16 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *560 - - *242 - - *245 + - *243 + - *246 responses: '200': description: Response content: application/json: - schema: *243 + schema: *244 examples: - default: *244 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85744,8 +85883,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *560 - - *242 - - *245 + - *243 + - *246 requestBody: required: true content: @@ -85767,7 +85906,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *244 examples: default: *564 x-github: @@ -85795,8 +85934,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *560 - - *242 - - *245 + - *243 + - *246 responses: '204': description: Response @@ -85826,8 +85965,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *560 - - *242 - - *245 + - *243 + - *246 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -85853,9 +85992,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 x-github: @@ -85885,8 +86024,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *560 - - *242 - - *245 + - *243 + - *246 requestBody: required: true content: @@ -85918,9 +86057,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85947,7 +86086,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *560 - - *242 + - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -85973,9 +86112,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *248 + default: *249 headers: Link: *39 x-github: @@ -86005,7 +86144,7 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *560 - - *242 + - *243 requestBody: required: true content: @@ -86037,9 +86176,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86273,7 +86412,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: response-if-user-is-a-team-maintainer: *565 '404': *7 @@ -86334,7 +86473,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: response-if-users-membership-with-team-is-now-pending: *566 '403': @@ -86410,7 +86549,7 @@ paths: application/json: schema: type: array - items: *251 + items: *252 examples: default: *567 headers: @@ -86440,13 +86579,13 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *560 - - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *251 + schema: *252 examples: default: *568 '404': @@ -86474,7 +86613,7 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *560 - - *252 + - *253 requestBody: required: false content: @@ -86543,7 +86682,7 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *560 - - *252 + - *253 responses: '204': description: Response @@ -86613,8 +86752,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *560 - - *253 - *254 + - *255 responses: '200': description: Alternative response with extra repository information @@ -86772,8 +86911,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *560 - - *253 - *254 + - *255 requestBody: required: false content: @@ -86824,8 +86963,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *560 - - *253 - *254 + - *255 responses: '204': description: Response @@ -87597,7 +87736,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -87605,7 +87744,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '401': *25 '403': *29 '404': *7 @@ -87689,7 +87828,7 @@ paths: - visibility - selected_repositories_url examples: - default: *373 + default: *374 headers: Link: *39 x-github: @@ -88063,7 +88202,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '304': *37 '500': *41 '401': *25 @@ -88121,7 +88260,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '401': *25 '403': *29 '404': *7 @@ -88384,13 +88523,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *264 + repository: *265 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *371 - required: *372 + properties: *372 + required: *373 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -89172,7 +89311,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '304': *37 '500': *41 '400': *15 @@ -89212,7 +89351,7 @@ paths: application/json: schema: *184 examples: - default: *370 + default: *371 '500': *41 '401': *25 '403': *29 @@ -90360,7 +90499,7 @@ paths: required: true content: application/json: - schema: *444 + schema: *445 examples: default: value: @@ -90642,7 +90781,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *472 + - *473 responses: '200': description: Response @@ -90673,7 +90812,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *472 + - *473 responses: '204': description: Response @@ -92857,9 +92996,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *265 examples: - default: *266 + default: *267 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92897,7 +93036,7 @@ paths: application/json: schema: type: array - items: *446 + items: *447 examples: default: *594 headers: @@ -93514,8 +93653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *253 - *254 + - *255 responses: '204': description: Response if this repository is starred by you @@ -93543,8 +93682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -93568,8 +93707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *253 - *254 + - *255 responses: '204': description: Response @@ -93641,7 +93780,7 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: default: value: @@ -94546,7 +94685,7 @@ paths: application/json: schema: *22 examples: - default: *443 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97247,7 +97386,7 @@ x-webhooks: type: string pull_requests: type: array - items: *332 + items: *333 repository: *113 status: example: completed @@ -97335,7 +97474,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *332 + items: *333 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -101626,7 +101765,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *348 + dismissed_comment: *349 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -103486,7 +103625,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -103574,7 +103713,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -103662,7 +103801,7 @@ x-webhooks: type: string enum: - created - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -103748,7 +103887,7 @@ x-webhooks: type: string enum: - dismissed - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -103834,7 +103973,7 @@ x-webhooks: type: string enum: - fixed - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -103921,7 +104060,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -104007,7 +104146,7 @@ x-webhooks: type: string enum: - reopened - alert: *402 + alert: *403 installation: *616 organization: *617 enterprise: *615 @@ -105500,7 +105639,7 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *408 + deployment: *409 pull_requests: type: array items: *493 @@ -110182,7 +110321,7 @@ x-webhooks: - id labels: type: array - items: *455 + items: *456 required: - repository_url - category @@ -149665,7 +149804,7 @@ x-webhooks: enum: - demilestoned enterprise: *615 - milestone: *475 + milestone: *476 number: *664 organization: *617 pull_request: &666 @@ -161587,7 +161726,7 @@ x-webhooks: enum: - milestoned enterprise: *615 - milestone: *475 + milestone: *476 number: *664 organization: *617 pull_request: *666 @@ -205886,6 +206025,23 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true publicly_leaked: type: boolean description: Whether the detected secret was publicly leaked. @@ -207002,7 +207158,7 @@ x-webhooks: enterprise: *615 installation: *616 organization: *617 - repository: *264 + repository: *265 sender: *19 required: - changes @@ -212188,7 +212344,7 @@ x-webhooks: type: string required: - conclusion - deployment: *408 + deployment: *409 required: - action - repository @@ -212530,7 +212686,7 @@ x-webhooks: required: - status - steps - deployment: *408 + deployment: *409 required: - action - repository @@ -212747,7 +212903,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *408 + deployment: *409 required: - action - repository @@ -212965,7 +213121,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *408 + deployment: *409 required: - action - repository diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 32c1f5831..4eb69210e 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -6244,7 +6244,7 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nWhen using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -28868,6 +28868,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "resolution_comment": { "type": "string", "description": "The comment that was optionally added when this alert was closed", @@ -29019,6 +29155,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, @@ -29107,6 +29265,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -114057,6 +114218,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -114492,6 +114675,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -115178,6 +115383,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -115568,6 +115795,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -115990,6 +116239,16 @@ "description": "The Relationship a Team has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the team has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, "id": { "type": "integer" }, @@ -116268,6 +116527,103 @@ "description": "The Relationship a User has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the user has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, + "inherited_from": { + "description": "Team the user has gotten the role through", + "type": "array", + "items": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + }, "name": { "nullable": true, "type": "string" @@ -124858,6 +125214,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -124926,6 +125291,7 @@ { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -124939,11 +125305,13 @@ { "property_name": "service", "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", "value_type": "string" }, { "property_name": "team", "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", "value_type": "string", "description": "Team owning the repository" } @@ -125059,6 +125427,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -125181,6 +125558,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -125249,6 +125635,7 @@ { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -125262,11 +125649,13 @@ { "property_name": "service", "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", "value_type": "string" }, { "property_name": "team", "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", "value_type": "string", "description": "Team owning the repository" } @@ -125388,6 +125777,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -125454,6 +125852,7 @@ "value": { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -125652,6 +126051,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -125718,6 +126126,7 @@ "value": { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -141053,6 +141462,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "resolution_comment": { "type": "string", "description": "The comment that was optionally added when this alert was closed", @@ -141204,6 +141749,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, @@ -141292,6 +141859,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -405852,6 +406422,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -405931,6 +406637,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "inactive", "publicly_leaked": false, @@ -405952,6 +406680,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -406385,6 +407116,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -406424,6 +407291,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -406904,6 +407774,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -406962,6 +407968,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": "Example comment", "validity": "unknown", "publicly_leaked": false, @@ -604404,6 +605413,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -605273,6 +606291,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -1076796,6 +1077823,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1078758,6 +1079921,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1081136,6 +1082435,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1083098,6 +1084533,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1085060,6 +1086631,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1087022,6 +1088729,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 3c14e2f70..6a2fd3a21 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -2773,8 +2773,6 @@ paths: Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. - When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: - apps @@ -9664,7 +9662,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &387 + instances_url: &388 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -9699,7 +9697,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &388 + dismissed_reason: &389 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -9708,13 +9706,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &389 + dismissed_comment: &390 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &390 + rule: &391 type: object properties: id: @@ -9767,7 +9765,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &391 + tool: &392 type: object properties: name: *68 @@ -9777,15 +9775,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *69 - most_recent_instance: &392 + most_recent_instance: &393 type: object properties: - ref: &385 + ref: &386 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &398 + analysis_key: &399 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -9796,7 +9794,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &399 + category: &400 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11954,7 +11952,7 @@ paths: enum: - development - runtime - security_advisory: &441 + security_advisory: &442 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12185,7 +12183,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: &442 + auto_dismissed_at: &443 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12776,6 +12774,23 @@ paths: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true resolution_comment: type: string description: The comment that was optionally added when this @@ -12916,6 +12931,27 @@ paths: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: active publicly_leaked: false @@ -13000,6 +13036,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -13035,7 +13074,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &280 type: object properties: total_minutes_used: @@ -13105,7 +13144,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &280 + default: &281 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13143,7 +13182,7 @@ paths: description: Success content: application/json: - schema: &281 + schema: &282 type: object properties: total_advanced_security_committers: @@ -13198,7 +13237,7 @@ paths: required: - repositories examples: - default: &282 + default: &283 value: total_advanced_security_committers: 2 total_count: 2 @@ -13441,7 +13480,7 @@ paths: description: Response content: application/json: - schema: &283 + schema: &284 type: object properties: total_gigabytes_bandwidth_used: @@ -13459,7 +13498,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &284 + default: &285 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -13491,7 +13530,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &286 type: object properties: days_left_in_billing_cycle: @@ -13509,7 +13548,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &286 + default: &287 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14011,7 +14050,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &490 + properties: &491 id: type: integer format: int64 @@ -14122,7 +14161,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &426 + properties: &427 url: type: string format: uri @@ -14192,7 +14231,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &427 + required: &428 - closed_issues - creator - description @@ -14333,7 +14372,7 @@ paths: - hooray - eyes - rocket - required: &491 + required: &492 - assignee - closed_at - comments @@ -14355,7 +14394,7 @@ paths: - author_association - created_at - updated_at - comment: &488 + comment: &489 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -18205,14 +18244,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &306 + - &307 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &307 + - &308 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18283,7 +18322,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &320 + '301': &321 description: Moved permanently content: application/json: @@ -18305,7 +18344,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &519 + - &520 name: all description: If `true`, show notifications marked as read. in: query @@ -18313,7 +18352,7 @@ paths: schema: type: boolean default: false - - &520 + - &521 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18323,7 +18362,7 @@ paths: type: boolean default: false - *97 - - &521 + - &522 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -18787,7 +18826,7 @@ paths: - url - subscription_url examples: - default: &522 + default: &523 value: - id: '1' repository: @@ -20236,7 +20275,7 @@ paths: type: integer repository_cache_usages: type: array - items: &325 + items: &326 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -22292,7 +22331,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &346 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22321,7 +22360,7 @@ paths: - key_id - key examples: - default: &346 + default: &347 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22732,7 +22771,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *124 - - &330 + - &331 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -23335,7 +23374,7 @@ paths: repository_id: type: integer examples: - default: &359 + default: &360 value: attestations: - bundle: @@ -23650,7 +23689,7 @@ paths: be returned. in: query required: false - schema: &386 + schema: &387 type: string description: Severity of a code scanning alert. enum: @@ -24935,7 +24974,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &412 + properties: &413 name: type: string description: The name of the machine. @@ -24977,7 +25016,7 @@ paths: - ready - in_progress nullable: true - required: &413 + required: &414 - name - display_name - operating_system @@ -25845,7 +25884,7 @@ paths: - updated_at - visibility examples: - default: &414 + default: &415 value: total_count: 2 secrets: @@ -25883,7 +25922,7 @@ paths: description: Response content: application/json: - schema: &415 + schema: &416 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25912,7 +25951,7 @@ paths: - key_id - key examples: - default: &416 + default: &417 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25944,7 +25983,7 @@ paths: application/json: schema: *174 examples: - default: &418 + default: &419 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27704,7 +27743,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &446 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27721,7 +27760,7 @@ paths: - key_id - key examples: - default: &446 + default: &447 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28302,7 +28341,7 @@ paths: description: Response content: application/json: - schema: &301 + schema: &302 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -28383,7 +28422,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &302 + default: &303 value: group_id: '123' group_name: Octocat admins @@ -28438,7 +28477,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &300 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -28475,7 +28514,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &300 + default: &301 value: groups: - group_id: '123' @@ -29753,7 +29792,7 @@ paths: application/json: schema: *22 examples: - default: &484 + default: &485 value: id: 1 account: @@ -29978,7 +30017,7 @@ paths: required: true content: application/json: - schema: &485 + schema: &486 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -30597,7 +30636,7 @@ paths: application/json: schema: *225 examples: - default: &411 + default: &412 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32089,6 +32128,26 @@ paths: for or what permissions it grants. type: string nullable: true + base_role: + type: string + nullable: true + description: The system role from which this role inherits + permissions. + enum: + - read + - triage + - write + - maintain + - admin + source: + type: string + nullable: true + description: Source answers the question, "where did this + role come from?" + enum: + - Organization + - Enterprise + - Predefined permissions: description: A list of permissions included in this role. type: array @@ -32682,6 +32741,15 @@ paths: description: The Relationship a Team has with a role. type: object properties: + assignment: + type: string + description: Determines if the team has a direct, indirect, + or mixed relationship to a role + enum: + - direct + - indirect + - mixed + example: direct id: type: integer node_id: @@ -32797,6 +32865,25 @@ paths: description: The Relationship a User has with a role. type: object properties: + assignment: + type: string + description: Determines if the user has a direct, indirect, + or mixed relationship to a role + enum: + - direct + - indirect + - mixed + example: direct + inherited_from: + description: Team the user has gotten the role through + type: array + items: &279 + title: Team Simple + description: Groups of organization members that gives permissions + on specified repositories. + type: object + properties: *234 + required: *235 name: nullable: true type: string @@ -34486,7 +34573,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &317 + '410': &318 description: Gone content: application/json: @@ -34531,6 +34618,13 @@ paths: format: uri description: The URL that can be used to fetch, update, or delete info about this property via the API. + source_type: + type: string + description: The source type of the property + enum: + - organization + - enterprise + example: organization value_type: type: string example: single_select @@ -34581,6 +34675,7 @@ paths: value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -34591,9 +34686,11 @@ paths: values_editable_by: org_actors - property_name: service url: https://api.github.com/orgs/github/properties/schema/service + source_type: organization value_type: string - property_name: team url: https://api.github.com/orgs/github/properties/schema/team + source_type: organization value_type: string description: Team owning the repository '403': *29 @@ -34701,6 +34798,7 @@ paths: value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -35360,7 +35458,7 @@ paths: description: Response content: application/json: - schema: &319 + schema: &320 title: Full Repository description: Full Repository type: object @@ -35753,7 +35851,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &433 + properties: &434 url: type: string format: uri @@ -35769,7 +35867,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &434 + required: &435 - url - key - name @@ -35858,7 +35956,7 @@ paths: - network_count - subscribers_count examples: - default: &321 + default: &322 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38798,13 +38896,7 @@ paths: application/json: schema: type: array - items: &530 - title: Team Simple - description: Groups of organization members that gives permissions - on specified repositories. - type: object - properties: *234 - required: *235 + items: *279 examples: default: *236 x-github: @@ -38888,9 +38980,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38922,9 +39014,9 @@ paths: description: Success content: application/json: - schema: *281 + schema: *282 examples: - default: *282 + default: *283 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38952,9 +39044,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *284 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38982,9 +39074,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39020,7 +39112,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &309 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -39066,7 +39158,7 @@ paths: type: string nullable: true examples: - default: &309 + default: &310 value: groups: - group_id: '123' @@ -39347,7 +39439,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &288 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -39657,7 +39749,7 @@ paths: - repos_count - organization examples: - default: &288 + default: &289 value: id: 1 node_id: MDQ6VGVhbTE= @@ -39734,9 +39826,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '404': *7 x-github: githubCloudOnly: false @@ -39820,16 +39912,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '201': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '404': *7 '422': *16 '403': *29 @@ -39899,7 +39991,7 @@ paths: application/json: schema: type: array - items: &289 + items: &290 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -40107,9 +40199,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: &290 + default: &291 value: author: login: octocat @@ -40183,7 +40275,7 @@ paths: parameters: - *124 - *233 - - &291 + - &292 name: discussion_number description: The number that identifies the discussion. in: path @@ -40195,9 +40287,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40221,7 +40313,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 requestBody: required: false content: @@ -40244,7 +40336,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *290 examples: default: &629 value: @@ -40318,7 +40410,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 responses: '204': description: Response @@ -40346,7 +40438,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 - *67 - *18 - *20 @@ -40357,7 +40449,7 @@ paths: application/json: schema: type: array - items: &292 + items: &293 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -40499,7 +40591,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 requestBody: required: true content: @@ -40521,9 +40613,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: &293 + default: &294 value: author: login: octocat @@ -40591,8 +40683,8 @@ paths: parameters: - *124 - *233 - - *291 - - &294 + - *292 + - &295 name: comment_number description: The number that identifies the comment. in: path @@ -40604,9 +40696,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40630,8 +40722,8 @@ paths: parameters: - *124 - *233 - - *291 - - *294 + - *292 + - *295 requestBody: required: true content: @@ -40653,7 +40745,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: default: &631 value: @@ -40721,8 +40813,8 @@ paths: parameters: - *124 - *233 - - *291 - - *294 + - *292 + - *295 responses: '204': description: Response @@ -40750,8 +40842,8 @@ paths: parameters: - *124 - *233 - - *291 - - *294 + - *292 + - *295 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -40777,7 +40869,7 @@ paths: application/json: schema: type: array - items: &295 + items: &296 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -40820,7 +40912,7 @@ paths: - content - created_at examples: - default: &297 + default: &298 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40872,8 +40964,8 @@ paths: parameters: - *124 - *233 - - *291 - - *294 + - *292 + - *295 requestBody: required: true content: @@ -40906,9 +40998,9 @@ paths: team discussion comment content: application/json: - schema: *295 + schema: *296 examples: - default: &296 + default: &297 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40937,9 +41029,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40964,9 +41056,9 @@ paths: parameters: - *124 - *233 - - *291 - - *294 - - &298 + - *292 + - *295 + - &299 name: reaction_id description: The unique identifier of the reaction. in: path @@ -41000,7 +41092,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -41026,9 +41118,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 x-github: @@ -41056,7 +41148,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 requestBody: required: true content: @@ -41088,16 +41180,16 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41122,8 +41214,8 @@ paths: parameters: - *124 - *233 - - *291 - - *298 + - *292 + - *299 responses: '204': description: Response @@ -41153,9 +41245,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41198,9 +41290,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41341,7 +41433,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &304 title: Team Membership description: Team Membership type: object @@ -41431,7 +41523,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: response-if-users-membership-with-team-is-now-pending: &633 summary: Response if user's membership with team is now pending @@ -41507,7 +41599,7 @@ paths: application/json: schema: type: array - items: &304 + items: &305 title: Team Project description: A team's access to a project. type: object @@ -41638,7 +41730,7 @@ paths: parameters: - *124 - *233 - - &305 + - &306 name: project_id description: The unique identifier of the project. in: path @@ -41650,7 +41742,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: default: &635 value: @@ -41714,7 +41806,7 @@ paths: parameters: - *124 - *233 - - *305 + - *306 requestBody: required: false content: @@ -41780,7 +41872,7 @@ paths: parameters: - *124 - *233 - - *305 + - *306 responses: '204': description: Response @@ -41848,8 +41940,8 @@ paths: parameters: - *124 - *233 - - *306 - *307 + - *308 responses: '200': description: Alternative response with repository permissions @@ -42426,8 +42518,8 @@ paths: parameters: - *124 - *233 - - *306 - *307 + - *308 requestBody: required: false content: @@ -42474,8 +42566,8 @@ paths: parameters: - *124 - *233 - - *306 - *307 + - *308 responses: '204': description: Response @@ -42508,9 +42600,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -42576,7 +42668,7 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: default: value: @@ -42745,7 +42837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &310 + - &311 name: card_id description: The unique identifier of the card. in: path @@ -42757,7 +42849,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &312 title: Project Card description: Project cards represent a scope of work. type: object @@ -42824,7 +42916,7 @@ paths: - created_at - updated_at examples: - default: &312 + default: &313 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -42874,7 +42966,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *310 + - *311 requestBody: required: false content: @@ -42901,9 +42993,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 '304': *37 '403': *29 '401': *25 @@ -42924,7 +43016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *310 + - *311 responses: '204': description: Response @@ -42962,7 +43054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *310 + - *311 requestBody: required: true content: @@ -43067,7 +43159,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &313 + - &314 name: column_id description: The unique identifier of the column. in: path @@ -43079,7 +43171,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &315 title: Project Column description: Project columns contain cards of work. type: object @@ -43125,7 +43217,7 @@ paths: - created_at - updated_at examples: - default: &315 + default: &316 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -43154,7 +43246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *313 + - *314 requestBody: required: true content: @@ -43178,9 +43270,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '304': *37 '403': *29 '401': *25 @@ -43199,7 +43291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *313 + - *314 responses: '204': description: Response @@ -43222,7 +43314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *313 + - *314 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -43243,7 +43335,7 @@ paths: application/json: schema: type: array - items: *311 + items: *312 examples: default: value: @@ -43296,7 +43388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *313 + - *314 requestBody: required: true content: @@ -43336,9 +43428,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 '304': *37 '403': *29 '401': *25 @@ -43388,7 +43480,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *313 + - *314 requestBody: required: true content: @@ -43444,7 +43536,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *305 + - *306 responses: '200': description: Response @@ -43452,7 +43544,7 @@ paths: application/json: schema: *250 examples: - default: &316 + default: &317 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -43505,7 +43597,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *305 + - *306 requestBody: required: false content: @@ -43553,7 +43645,7 @@ paths: application/json: schema: *250 examples: - default: *316 + default: *317 '404': description: Not Found if the authenticated user does not have access to the project @@ -43574,7 +43666,7 @@ paths: items: type: string '401': *25 - '410': *317 + '410': *318 '422': *8 x-github: githubCloudOnly: false @@ -43592,7 +43684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *305 + - *306 responses: '204': description: Delete Success @@ -43613,7 +43705,7 @@ paths: items: type: string '401': *25 - '410': *317 + '410': *318 '404': *7 x-github: githubCloudOnly: false @@ -43636,7 +43728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *305 + - *306 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -43688,7 +43780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *305 + - *306 - *164 requestBody: required: false @@ -43736,7 +43828,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *305 + - *306 - *164 responses: '204': @@ -43765,7 +43857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *305 + - *306 - *164 responses: '200': @@ -43833,7 +43925,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *305 + - *306 - *18 - *20 responses: @@ -43843,7 +43935,7 @@ paths: application/json: schema: type: array - items: *314 + items: *315 examples: default: value: @@ -43875,7 +43967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *305 + - *306 requestBody: required: true content: @@ -43898,7 +43990,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: default: value: @@ -43959,7 +44051,7 @@ paths: resources: type: object properties: - core: &318 + core: &319 title: Rate Limit type: object properties: @@ -43976,19 +44068,19 @@ paths: - remaining - reset - used - graphql: *318 - search: *318 - code_search: *318 - source_import: *318 - integration_manifest: *318 - code_scanning_upload: *318 - actions_runner_registration: *318 - scim: *318 - dependency_snapshots: *318 + graphql: *319 + search: *319 + code_search: *319 + source_import: *319 + integration_manifest: *319 + code_scanning_upload: *319 + actions_runner_registration: *319 + scim: *319 + dependency_snapshots: *319 required: - core - search - rate: *318 + rate: *319 required: - rate - resources @@ -44087,14 +44179,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *319 + schema: *320 examples: default-response: summary: Default response @@ -44599,7 +44691,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *320 + '301': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44617,8 +44709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -44864,10 +44956,10 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *321 - '307': &322 + default: *322 + '307': &323 description: Temporary Redirect content: application/json: @@ -44896,8 +44988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -44919,7 +45011,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *322 + '307': *323 '404': *7 x-github: githubCloudOnly: false @@ -44942,11 +45034,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *306 - *307 + - *308 - *18 - *20 - - &337 + - &338 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -44969,7 +45061,7 @@ paths: type: integer artifacts: type: array - items: &323 + items: &324 title: Artifact description: An artifact type: object @@ -45040,7 +45132,7 @@ paths: - expires_at - updated_at examples: - default: &338 + default: &339 value: total_count: 2 artifacts: @@ -45099,9 +45191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *306 - *307 - - &324 + - *308 + - &325 name: artifact_id description: The unique identifier of the artifact. in: path @@ -45113,7 +45205,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: default: value: @@ -45150,9 +45242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *306 - *307 - - *324 + - *308 + - *325 responses: '204': description: Response @@ -45176,9 +45268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *306 - *307 - - *324 + - *308 + - *325 - name: archive_format in: path required: true @@ -45192,7 +45284,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45215,14 +45307,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *325 + schema: *326 examples: default: value: @@ -45248,11 +45340,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *306 - *307 + - *308 - *18 - *20 - - &326 + - &327 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -45286,7 +45378,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &328 title: Repository actions caches description: Repository actions caches type: object @@ -45328,7 +45420,7 @@ paths: - total_count - actions_caches examples: - default: &328 + default: &329 value: total_count: 1 actions_caches: @@ -45360,23 +45452,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *306 - *307 + - *308 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *328 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45396,8 +45488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *306 - *307 + - *308 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -45428,9 +45520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *306 - *307 - - &329 + - *308 + - &330 name: job_id description: The unique identifier of the job. in: path @@ -45442,7 +45534,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &342 title: Job description: Information of a job execution in a workflow run type: object @@ -45749,9 +45841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *306 - *307 - - *329 + - *308 + - *330 responses: '302': description: Response @@ -45779,9 +45871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *306 - *307 - - *329 + - *308 + - *330 requestBody: required: false content: @@ -45826,8 +45918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Status response @@ -45877,8 +45969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -45941,8 +46033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -45960,7 +46052,7 @@ paths: type: integer secrets: type: array - items: &343 + items: &344 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -45980,7 +46072,7 @@ paths: - created_at - updated_at examples: - default: &344 + default: &345 value: total_count: 2 secrets: @@ -46013,9 +46105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *306 - *307 - - *330 + - *308 + - *331 - *20 responses: '200': @@ -46032,7 +46124,7 @@ paths: type: integer variables: type: array - items: &347 + items: &348 title: Actions Variable type: object properties: @@ -46062,7 +46154,7 @@ paths: - created_at - updated_at examples: - default: &348 + default: &349 value: total_count: 2 variables: @@ -46095,8 +46187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -46105,7 +46197,7 @@ paths: schema: type: object properties: - enabled: &331 + enabled: &332 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *42 @@ -46138,8 +46230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -46150,7 +46242,7 @@ paths: schema: type: object properties: - enabled: *331 + enabled: *332 allowed_actions: *42 required: - enabled @@ -46181,14 +46273,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: &332 + schema: &333 type: object properties: access_level: @@ -46206,7 +46298,7 @@ paths: required: - access_level examples: - default: &333 + default: &334 value: access_level: organization x-github: @@ -46231,15 +46323,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 responses: '204': description: Response @@ -46263,8 +46355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -46295,8 +46387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -46328,8 +46420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -46358,8 +46450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Success response @@ -46399,8 +46491,8 @@ paths: in: query schema: type: string - - *306 - *307 + - *308 - *18 - *20 responses: @@ -46444,8 +46536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -46477,8 +46569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -46551,8 +46643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *306 - *307 + - *308 responses: '201': description: Response @@ -46588,8 +46680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *306 - *307 + - *308 responses: '201': description: Response @@ -46619,8 +46711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 responses: '200': @@ -46650,8 +46742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *306 - *307 + - *308 - *54 responses: '204': @@ -46677,8 +46769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 responses: '200': *60 @@ -46703,8 +46795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 requestBody: required: true @@ -46753,8 +46845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 requestBody: required: true @@ -46804,8 +46896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 responses: '200': *149 @@ -46835,8 +46927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 - *150 responses: @@ -46866,9 +46958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *306 - *307 - - &351 + - *308 + - &352 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -46876,7 +46968,7 @@ paths: required: false schema: type: string - - &352 + - &353 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -46884,7 +46976,7 @@ paths: required: false schema: type: string - - &353 + - &354 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -46893,7 +46985,7 @@ paths: required: false schema: type: string - - &354 + - &355 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -46920,7 +47012,7 @@ paths: - pending - *18 - *20 - - &355 + - &356 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -46929,7 +47021,7 @@ paths: schema: type: string format: date-time - - &334 + - &335 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -46938,13 +47030,13 @@ paths: schema: type: boolean default: false - - &356 + - &357 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &357 + - &358 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -46967,7 +47059,7 @@ paths: type: integer workflow_runs: type: array - items: &335 + items: &336 title: Workflow Run description: An invocation of a workflow type: object @@ -47062,7 +47154,7 @@ paths: that triggered the run. type: array nullable: true - items: &376 + items: &377 title: Pull Request Minimal type: object properties: @@ -47181,7 +47273,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &380 + properties: &381 id: type: string description: SHA for the commit @@ -47232,7 +47324,7 @@ paths: - name - email nullable: true - required: &381 + required: &382 - id - tree_id - message @@ -47279,7 +47371,7 @@ paths: - workflow_url - pull_requests examples: - default: &358 + default: &359 value: total_count: 1 workflow_runs: @@ -47515,24 +47607,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *306 - *307 - - &336 + - *308 + - &337 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *334 + - *335 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: &339 + default: &340 value: id: 30433642 name: Build @@ -47773,9 +47865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '204': description: Response @@ -47798,9 +47890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '200': description: Response @@ -47919,9 +48011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '201': description: Response @@ -47954,12 +48046,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *306 - *307 - - *336 + - *308 + - *337 - *18 - *20 - - *337 + - *338 responses: '200': description: Response @@ -47975,9 +48067,9 @@ paths: type: integer artifacts: type: array - items: *323 + items: *324 examples: - default: *338 + default: *339 headers: Link: *39 x-github: @@ -48001,25 +48093,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *306 - *307 - - *336 - - &340 + - *308 + - *337 + - &341 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *334 + - *335 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48042,10 +48134,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *306 - *307 - - *336 - - *340 + - *308 + - *337 + - *341 - *18 - *20 responses: @@ -48063,9 +48155,9 @@ paths: type: integer jobs: type: array - items: *341 + items: *342 examples: - default: &342 + default: &343 value: total_count: 1 jobs: @@ -48178,10 +48270,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *306 - *307 - - *336 - - *340 + - *308 + - *337 + - *341 responses: '302': description: Response @@ -48209,9 +48301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '202': description: Response @@ -48244,9 +48336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 requestBody: required: true content: @@ -48313,9 +48405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '202': description: Response @@ -48348,9 +48440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -48380,9 +48472,9 @@ paths: type: integer jobs: type: array - items: *341 + items: *342 examples: - default: *342 + default: *343 headers: Link: *39 x-github: @@ -48407,9 +48499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '302': description: Response @@ -48436,9 +48528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '204': description: Response @@ -48465,9 +48557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '200': description: Response @@ -48527,7 +48619,7 @@ paths: items: type: object properties: - type: &454 + type: &455 type: string description: The type of reviewer. enum: @@ -48612,9 +48704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 requestBody: required: true content: @@ -48661,7 +48753,7 @@ paths: application/json: schema: type: array - items: &449 + items: &450 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -48767,7 +48859,7 @@ paths: - created_at - updated_at examples: - default: &450 + default: &451 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -48823,9 +48915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *306 - *307 - - *336 + - *308 + - *337 requestBody: required: false content: @@ -48869,9 +48961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 requestBody: required: false content: @@ -48917,9 +49009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '200': description: Response @@ -49056,8 +49148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -49075,9 +49167,9 @@ paths: type: integer secrets: type: array - items: *343 + items: *344 examples: - default: *344 + default: *345 headers: Link: *39 x-github: @@ -49102,16 +49194,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: *346 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49133,17 +49225,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: &467 + default: &468 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49169,8 +49261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 requestBody: required: true @@ -49225,8 +49317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '204': @@ -49252,9 +49344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *306 - *307 - - *330 + - *308 + - *331 - *20 responses: '200': @@ -49271,9 +49363,9 @@ paths: type: integer variables: type: array - items: *347 + items: *348 examples: - default: *348 + default: *349 headers: Link: *39 x-github: @@ -49296,8 +49388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -49349,17 +49441,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *306 - *307 + - *308 - *155 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: &468 + default: &469 value: name: USERNAME value: octocat @@ -49385,8 +49477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *306 - *307 + - *308 - *155 requestBody: required: true @@ -49429,8 +49521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *306 - *307 + - *308 - *155 responses: '204': @@ -49456,8 +49548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -49475,7 +49567,7 @@ paths: type: integer workflows: type: array - items: &349 + items: &350 title: Workflow description: A GitHub Actions workflow type: object @@ -49582,9 +49674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *306 - *307 - - &350 + - *308 + - &351 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -49599,7 +49691,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: default: value: @@ -49632,9 +49724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *306 - *307 - - *350 + - *308 + - *351 responses: '204': description: Response @@ -49659,9 +49751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *306 - *307 - - *350 + - *308 + - *351 responses: '204': description: Response @@ -49712,9 +49804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *306 - *307 - - *350 + - *308 + - *351 responses: '204': description: Response @@ -49739,19 +49831,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *306 - *307 - - *350 + - *308 - *351 - *352 - *353 - *354 + - *355 - *18 - *20 - - *355 - - *334 - *356 + - *335 - *357 + - *358 responses: '200': description: Response @@ -49767,9 +49859,9 @@ paths: type: integer workflow_runs: type: array - items: *335 + items: *336 examples: - default: *358 + default: *359 headers: Link: *39 x-github: @@ -49795,9 +49887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *306 - *307 - - *350 + - *308 + - *351 responses: '200': description: Response @@ -49858,8 +49950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *306 - *307 + - *308 - *67 - *18 - *65 @@ -50023,8 +50115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -50061,8 +50153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *306 - *307 + - *308 - name: assignee in: path required: true @@ -50098,8 +50190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -50211,8 +50303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *306 - *307 + - *308 - *18 - *65 - *66 @@ -50256,7 +50348,7 @@ paths: repository_id: type: integer examples: - default: *359 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50276,8 +50368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -50285,7 +50377,7 @@ paths: application/json: schema: type: array - items: &360 + items: &361 title: Autolink reference description: An autolink reference. type: object @@ -50335,8 +50427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -50375,9 +50467,9 @@ paths: description: response content: application/json: - schema: *360 + schema: *361 examples: - default: &361 + default: &362 value: id: 1 key_prefix: TICKET- @@ -50408,9 +50500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *306 - *307 - - &362 + - *308 + - &363 name: autolink_id description: The unique identifier of the autolink. in: path @@ -50422,9 +50514,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *361 examples: - default: *361 + default: *362 '404': *7 x-github: githubCloudOnly: false @@ -50444,9 +50536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *306 - *307 - - *362 + - *308 + - *363 responses: '204': description: Response @@ -50470,8 +50562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response if Dependabot is enabled @@ -50519,8 +50611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -50541,8 +50633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -50562,8 +50654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *306 - *307 + - *308 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -50601,7 +50693,7 @@ paths: - url protected: type: boolean - protection: &364 + protection: &365 title: Branch Protection description: Branch Protection type: object @@ -50643,7 +50735,7 @@ paths: required: - contexts - checks - enforce_admins: &367 + enforce_admins: &368 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -50658,7 +50750,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &369 + required_pull_request_reviews: &370 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -50734,7 +50826,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &366 + restrictions: &367 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51041,9 +51133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *306 - *307 - - &365 + - *308 + - &366 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -51057,14 +51149,14 @@ paths: description: Response content: application/json: - schema: &375 + schema: &376 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &422 + commit: &423 title: Commit description: Commit type: object @@ -51098,7 +51190,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &363 + properties: &364 name: type: string example: '"Chris Wanstrath"' @@ -51113,7 +51205,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *363 + properties: *364 nullable: true message: type: string @@ -51134,7 +51226,7 @@ paths: required: - sha - url - verification: &474 + verification: &475 title: Verification type: object properties: @@ -51200,7 +51292,7 @@ paths: type: integer files: type: array - items: &437 + items: &438 title: Diff Entry description: Diff Entry type: object @@ -51283,7 +51375,7 @@ paths: - self protected: type: boolean - protection: *364 + protection: *365 protection_url: type: string format: uri @@ -51389,7 +51481,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *320 + '301': *321 '404': *7 x-github: githubCloudOnly: false @@ -51411,15 +51503,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *364 + schema: *365 examples: default: value: @@ -51613,9 +51705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -51870,7 +51962,7 @@ paths: url: type: string format: uri - required_status_checks: &372 + required_status_checks: &373 title: Status Check Policy description: Status Check Policy type: object @@ -52022,7 +52114,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *366 + restrictions: *367 required_conversation_resolution: type: object properties: @@ -52134,9 +52226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -52161,17 +52253,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &368 + default: &369 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -52193,17 +52285,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *368 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52222,9 +52314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -52249,17 +52341,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: &370 + default: &371 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -52355,9 +52447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -52455,9 +52547,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: *370 + default: *371 '422': *16 x-github: githubCloudOnly: false @@ -52478,9 +52570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -52507,17 +52599,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &371 + default: &372 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -52540,17 +52632,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *371 + default: *372 '404': *7 x-github: githubCloudOnly: false @@ -52570,9 +52662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -52597,17 +52689,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: &373 + default: &374 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -52633,9 +52725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -52687,9 +52779,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 '404': *7 '422': *16 x-github: @@ -52711,9 +52803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -52737,9 +52829,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response @@ -52773,9 +52865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -52842,9 +52934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -52908,9 +53000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: content: application/json: @@ -52976,15 +53068,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *366 + schema: *367 examples: default: value: @@ -53075,9 +53167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -53100,9 +53192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response @@ -53112,7 +53204,7 @@ paths: type: array items: *6 examples: - default: &374 + default: &375 value: - id: 1 slug: octoapp @@ -53169,9 +53261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53205,7 +53297,7 @@ paths: type: array items: *6 examples: - default: *374 + default: *375 '422': *16 x-github: githubCloudOnly: false @@ -53226,9 +53318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53262,7 +53354,7 @@ paths: type: array items: *6 examples: - default: *374 + default: *375 '422': *16 x-github: githubCloudOnly: false @@ -53283,9 +53375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53319,7 +53411,7 @@ paths: type: array items: *6 examples: - default: *374 + default: *375 '422': *16 x-github: githubCloudOnly: false @@ -53341,9 +53433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response @@ -53373,9 +53465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -53434,9 +53526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -53495,9 +53587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: content: application/json: @@ -53556,9 +53648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response @@ -53592,9 +53684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53652,9 +53744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53712,9 +53804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53774,9 +53866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53798,7 +53890,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -53913,8 +54005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -54193,7 +54285,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &378 title: CheckRun description: A check performed on the code of a given code change type: object @@ -54312,7 +54404,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *376 + items: *377 deployment: &688 title: Deployment description: A deployment created as the result of an Actions @@ -54593,9 +54685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *306 - *307 - - &378 + - *308 + - &379 name: check_run_id description: The unique identifier of the check run. in: path @@ -54607,9 +54699,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: &379 + default: &380 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -54709,9 +54801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *306 - *307 - - *378 + - *308 + - *379 requestBody: required: true content: @@ -54951,9 +55043,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *379 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54973,9 +55065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *306 - *307 - - *378 + - *308 + - *379 - *18 - *20 responses: @@ -55072,9 +55164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *306 - *307 - - *378 + - *308 + - *379 responses: '201': description: Response @@ -55118,8 +55210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -55141,7 +55233,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &382 + schema: &383 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -55205,7 +55297,7 @@ paths: nullable: true pull_requests: type: array - items: *376 + items: *377 nullable: true app: title: GitHub app @@ -55231,8 +55323,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *380 - required: *381 + properties: *381 + required: *382 latest_check_runs_count: type: integer check_runs_url: @@ -55260,7 +55352,7 @@ paths: - check_runs_url - pull_requests examples: - default: &383 + default: &384 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -55551,9 +55643,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55572,8 +55664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -55882,9 +55974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *306 - *307 - - &384 + - *308 + - &385 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -55896,9 +55988,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55921,17 +56013,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *306 - *307 - - *384 - - &430 + - *308 + - *385 + - &431 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &431 + - &432 name: status description: Returns check runs with the specified `status`. in: query @@ -55970,9 +56062,9 @@ paths: type: integer check_runs: type: array - items: *377 + items: *378 examples: - default: &432 + default: &433 value: total_count: 1 check_runs: @@ -56074,9 +56166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *306 - *307 - - *384 + - *308 + - *385 responses: '201': description: Response @@ -56109,21 +56201,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *306 - *307 + - *308 - *165 - *166 - *20 - *18 - - &396 + - &397 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *385 - - &397 + schema: *386 + - &398 name: pr description: The number of the pull request for the results you want to list. in: query @@ -56154,7 +56246,7 @@ paths: be returned. in: query required: false - schema: *386 + schema: *387 responses: '200': description: Response @@ -56170,7 +56262,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *387 + instances_url: *388 state: *70 fixed_at: *83 dismissed_by: @@ -56181,11 +56273,11 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *388 - dismissed_comment: *389 - rule: *390 - tool: *391 - most_recent_instance: *392 + dismissed_reason: *389 + dismissed_comment: *390 + rule: *391 + tool: *392 + most_recent_instance: *393 required: - number - created_at @@ -56301,7 +56393,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &393 + '403': &394 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -56328,9 +56420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *306 - *307 - - &394 + - *308 + - &395 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -56344,7 +56436,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &396 type: object properties: number: *74 @@ -56352,7 +56444,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *387 + instances_url: *388 state: *70 fixed_at: *83 dismissed_by: @@ -56363,8 +56455,8 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *388 - dismissed_comment: *389 + dismissed_reason: *389 + dismissed_comment: *390 rule: type: object properties: @@ -56418,8 +56510,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *391 - most_recent_instance: *392 + tool: *392 + most_recent_instance: *393 required: - number - created_at @@ -56508,7 +56600,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -56528,9 +56620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *306 - *307 - - *394 + - *308 + - *395 requestBody: required: true content: @@ -56545,8 +56637,8 @@ paths: enum: - open - dismissed - dismissed_reason: *388 - dismissed_comment: *389 + dismissed_reason: *389 + dismissed_comment: *390 required: - state examples: @@ -56561,7 +56653,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -56636,7 +56728,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &402 + '403': &403 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -56663,13 +56755,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *306 - *307 - - *394 + - *308 + - *395 - *20 - *18 - - *396 - *397 + - *398 responses: '200': description: Response @@ -56677,7 +56769,7 @@ paths: application/json: schema: type: array - items: *392 + items: *393 examples: default: value: @@ -56716,7 +56808,7 @@ paths: end_column: 50 classifications: - source - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -56750,25 +56842,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *306 - *307 + - *308 - *165 - *166 - *20 - *18 - - *397 + - *398 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *385 + schema: *386 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &400 + schema: &401 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -56789,23 +56881,23 @@ paths: application/json: schema: type: array - items: &401 + items: &402 type: object properties: - ref: *385 - commit_sha: &410 + ref: *386 + commit_sha: &411 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *398 + analysis_key: *399 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *399 + category: *400 error: type: string example: error reading field xyz @@ -56829,8 +56921,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *400 - tool: *391 + sarif_id: *401 + tool: *392 deletable: type: boolean warning: @@ -56891,7 +56983,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -56927,8 +57019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *306 - *307 + - *308 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56941,7 +57033,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: response: summary: application/json response @@ -56995,7 +57087,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -57077,8 +57169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *306 - *307 + - *308 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57131,7 +57223,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *15 - '403': *402 + '403': *403 '404': *7 '503': *85 x-github: @@ -57153,8 +57245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -57162,7 +57254,7 @@ paths: application/json: schema: type: array - items: &403 + items: &404 title: CodeQL Database description: A CodeQL database. type: object @@ -57273,7 +57365,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -57302,8 +57394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *306 - *307 + - *308 - name: language in: path description: The language of the CodeQL database. @@ -57315,7 +57407,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -57347,9 +57439,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &439 + '302': &440 description: Found - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -57371,8 +57463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *306 - *307 + - *308 - name: language in: path description: The language of the CodeQL database. @@ -57382,7 +57474,7 @@ paths: responses: '204': description: Response - '403': *402 + '403': *403 '404': *7 '503': *85 x-github: @@ -57410,8 +57502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -57420,7 +57512,7 @@ paths: type: object additionalProperties: false properties: - language: &404 + language: &405 type: string description: The language targeted by the CodeQL query enum: @@ -57498,7 +57590,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &408 + schema: &409 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -57508,7 +57600,7 @@ paths: description: The ID of the variant analysis. controller_repo: *84 actor: *19 - query_language: *404 + query_language: *405 query_pack_url: type: string description: The download url for the query pack. @@ -57555,7 +57647,7 @@ paths: items: type: object properties: - repository: &405 + repository: &406 title: Repository Identifier description: Repository Identifier type: object @@ -57591,7 +57683,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &409 + analysis_status: &410 type: string description: The new status of the CodeQL variant analysis repository task. @@ -57623,7 +57715,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &406 + access_mismatch_repos: &407 type: object properties: repository_count: @@ -57637,7 +57729,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *405 + items: *406 required: - repository_count - repositories @@ -57659,8 +57751,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *406 - over_limit_repos: *406 + no_codeql_db_repos: *407 + over_limit_repos: *407 required: - access_mismatch_repos - not_found_repos @@ -57676,7 +57768,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &407 + value: &408 summary: Default response value: id: 1 @@ -57828,10 +57920,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *407 + value: *408 repository_lists: summary: Response for a successful variant analysis submission - value: *407 + value: *408 '404': *7 '422': description: Unable to process variant analysis submission @@ -57859,8 +57951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *306 - *307 + - *308 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -57872,9 +57964,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *407 + default: *408 '404': *7 '503': *85 x-github: @@ -57897,7 +57989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *306 + - *307 - name: repo in: path description: The name of the controller repository. @@ -57932,7 +58024,7 @@ paths: type: object properties: repository: *84 - analysis_status: *409 + analysis_status: *410 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -58057,8 +58149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -58119,7 +58211,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -58140,8 +58232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -58211,7 +58303,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *402 + '403': *403 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -58276,8 +58368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -58285,7 +58377,7 @@ paths: schema: type: object properties: - commit_sha: *410 + commit_sha: *411 ref: type: string description: |- @@ -58343,7 +58435,7 @@ paths: schema: type: object properties: - id: *400 + id: *401 url: type: string description: The REST API URL for checking the status of the upload. @@ -58357,7 +58449,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *402 + '403': *403 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -58380,8 +58472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *306 - *307 + - *308 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -58427,7 +58519,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *393 + '403': *394 '404': description: Not Found if the sarif id does not match any upload '503': *85 @@ -58452,8 +58544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -58531,8 +58623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *306 - *307 + - *308 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -58652,8 +58744,8 @@ paths: parameters: - *18 - *20 - - *306 - *307 + - *308 responses: '200': description: Response @@ -58967,8 +59059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -59033,7 +59125,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -59041,7 +59133,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '400': *15 '401': *25 '403': *29 @@ -59070,8 +59162,8 @@ paths: parameters: - *18 - *20 - - *306 - *307 + - *308 responses: '200': description: Response @@ -59135,8 +59227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *306 - *307 + - *308 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -59175,8 +59267,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *412 - required: *413 + properties: *413 + required: *414 examples: default: &645 value: @@ -59218,8 +59310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *306 - *307 + - *308 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -59303,8 +59395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *306 - *307 + - *308 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -59370,8 +59462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -59389,7 +59481,7 @@ paths: type: integer secrets: type: array - items: &417 + items: &418 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -59409,7 +59501,7 @@ paths: - created_at - updated_at examples: - default: *414 + default: *415 headers: Link: *39 x-github: @@ -59432,16 +59524,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -59461,17 +59553,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '200': description: Response content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59491,8 +59583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 requestBody: required: true @@ -59545,8 +59637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '204': @@ -59575,8 +59667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *306 - *307 + - *308 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -59618,7 +59710,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &419 + properties: &420 login: type: string example: octocat @@ -59711,7 +59803,7 @@ paths: user_view_type: type: string example: public - required: &420 + required: &421 - avatar_url - events_url - followers_url @@ -59785,8 +59877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *306 - *307 + - *308 - *164 responses: '204': @@ -59829,8 +59921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *306 - *307 + - *308 - *164 requestBody: required: false @@ -59857,7 +59949,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &487 + schema: &488 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -60079,8 +60171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *306 - *307 + - *308 - *164 responses: '204': @@ -60110,8 +60202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *306 - *307 + - *308 - *164 responses: '200': @@ -60132,8 +60224,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *419 - required: *420 + properties: *420 + required: *421 nullable: true required: - permission @@ -60188,8 +60280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -60199,7 +60291,7 @@ paths: application/json: schema: type: array - items: &421 + items: &422 title: Commit Comment description: Commit Comment type: object @@ -60257,7 +60349,7 @@ paths: - created_at - updated_at examples: - default: &424 + default: &425 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60316,17 +60408,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *306 - *307 + - *308 - *106 responses: '200': description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: &425 + default: &426 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60383,8 +60475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -60407,7 +60499,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: default: value: @@ -60458,8 +60550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *306 - *307 + - *308 - *106 responses: '204': @@ -60481,8 +60573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *306 - *307 + - *308 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -60509,9 +60601,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 '404': *7 @@ -60532,8 +60624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -60566,16 +60658,16 @@ paths: description: Reaction exists content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Reaction created content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '422': *16 x-github: githubCloudOnly: false @@ -60597,10 +60689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *306 - *307 + - *308 - *106 - - *298 + - *299 responses: '204': description: Response @@ -60648,8 +60740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *306 - *307 + - *308 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -60705,7 +60797,7 @@ paths: application/json: schema: type: array - items: *422 + items: *423 examples: default: &538 value: @@ -60800,9 +60892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *306 - *307 - - &423 + - *308 + - &424 name: commit_sha description: The SHA of the commit. in: path @@ -60874,9 +60966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *306 - *307 - - *423 + - *308 + - *424 - *18 - *20 responses: @@ -60886,9 +60978,9 @@ paths: application/json: schema: type: array - items: *421 + items: *422 examples: - default: *424 + default: *425 headers: Link: *39 x-github: @@ -60916,9 +61008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *306 - *307 - - *423 + - *308 + - *424 requestBody: required: true content: @@ -60953,9 +61045,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: *425 + default: *426 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60983,9 +61075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *306 - *307 - - *423 + - *308 + - *424 - *18 - *20 responses: @@ -60995,7 +61087,7 @@ paths: application/json: schema: type: array - items: &528 + items: &529 title: Pull Request Simple description: Pull Request Simple type: object @@ -61101,8 +61193,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *426 - required: *427 + properties: *427 + required: *428 nullable: true active_lock_reason: type: string @@ -61198,7 +61290,7 @@ paths: _links: type: object properties: - comments: &428 + comments: &429 title: Link description: Hypermedia Link type: object @@ -61207,13 +61299,13 @@ paths: type: string required: - href - commits: *428 - statuses: *428 - html: *428 - issue: *428 - review_comments: *428 - review_comment: *428 - self: *428 + commits: *429 + statuses: *429 + html: *429 + issue: *429 + review_comments: *429 + review_comment: *429 + self: *429 required: - comments - commits @@ -61287,7 +61379,7 @@ paths: - author_association - auto_merge examples: - default: &529 + default: &530 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -61823,11 +61915,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *306 - *307 + - *308 - *20 - *18 - - &429 + - &430 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -61842,9 +61934,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: - default: &515 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61956,11 +62048,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *306 - *307 - - *429 + - *308 - *430 - *431 + - *432 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -61994,9 +62086,9 @@ paths: type: integer check_runs: type: array - items: *377 + items: *378 examples: - default: *432 + default: *433 headers: Link: *39 x-github: @@ -62021,9 +62113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *306 - *307 - - *429 + - *308 + - *430 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -62031,7 +62123,7 @@ paths: schema: type: integer example: 1 - - *430 + - *431 - *18 - *20 responses: @@ -62049,7 +62141,7 @@ paths: type: integer check_suites: type: array - items: *382 + items: *383 examples: default: value: @@ -62249,9 +62341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *306 - *307 - - *429 + - *308 + - *430 - *18 - *20 responses: @@ -62449,9 +62541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *306 - *307 - - *429 + - *308 + - *430 - *18 - *20 responses: @@ -62542,7 +62634,7 @@ paths: site_admin: false headers: Link: *39 - '301': *320 + '301': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62570,8 +62662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -62600,20 +62692,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *433 - required: *434 + properties: *434 + required: *435 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &435 + properties: &436 url: type: string format: uri html_url: type: string format: uri - required: &436 + required: &437 - url - html_url nullable: true @@ -62627,26 +62719,26 @@ paths: contributing: title: Community Health File type: object - properties: *435 - required: *436 + properties: *436 + required: *437 nullable: true readme: title: Community Health File type: object - properties: *435 - required: *436 + properties: *436 + required: *437 nullable: true issue_template: title: Community Health File type: object - properties: *435 - required: *436 + properties: *436 + required: *437 nullable: true pull_request_template: title: Community Health File type: object - properties: *435 - required: *436 + properties: *436 + required: *437 nullable: true required: - code_of_conduct @@ -62772,8 +62864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *306 - *307 + - *308 - *20 - *18 - name: basehead @@ -62816,8 +62908,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *422 - merge_base_commit: *422 + base_commit: *423 + merge_base_commit: *423 status: type: string enum: @@ -62837,10 +62929,10 @@ paths: example: 6 commits: type: array - items: *422 + items: *423 files: type: array - items: *437 + items: *438 required: - url - html_url @@ -63123,8 +63215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *306 - *307 + - *308 - name: path description: path parameter in: path @@ -63265,7 +63357,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &438 + response-if-content-is-a-file: &439 summary: Response if content is a file value: type: file @@ -63598,7 +63690,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *438 + response-if-content-is-a-file: *439 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -63667,7 +63759,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *439 + '302': *440 '304': *37 x-github: githubCloudOnly: false @@ -63690,8 +63782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *306 - *307 + - *308 - name: path description: path parameter in: path @@ -63784,7 +63876,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &441 title: File Commit description: File Commit type: object @@ -63932,7 +64024,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: example-for-creating-a-file: value: @@ -63985,7 +64077,7 @@ paths: schema: oneOf: - *3 - - &469 + - &470 description: Repository rule violation was detected type: object properties: @@ -64038,8 +64130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *306 - *307 + - *308 - name: path description: path parameter in: path @@ -64100,7 +64192,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -64154,8 +64246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *306 - *307 + - *308 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -64278,8 +64370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *306 - *307 + - *308 - *183 - *184 - *185 @@ -64320,7 +64412,7 @@ paths: application/json: schema: type: array - items: &443 + items: &444 type: object description: A Dependabot alert. properties: @@ -64353,7 +64445,7 @@ paths: enum: - development - runtime - security_advisory: *441 + security_advisory: *442 security_vulnerability: *77 url: *78 html_url: *79 @@ -64384,7 +64476,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: *442 + auto_dismissed_at: *443 required: - number - state @@ -64611,9 +64703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *306 - *307 - - &444 + - *308 + - &445 name: alert_number in: path description: |- @@ -64628,7 +64720,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -64738,9 +64830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *306 - *307 - - *444 + - *308 + - *445 requestBody: required: true content: @@ -64785,7 +64877,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -64914,8 +65006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -64933,7 +65025,7 @@ paths: type: integer secrets: type: array - items: &447 + items: &448 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -64986,16 +65078,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *445 + schema: *446 examples: - default: *446 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65015,15 +65107,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '200': description: Response content: application/json: - schema: *447 + schema: *448 examples: default: value: @@ -65049,8 +65141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 requestBody: required: true @@ -65103,8 +65195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '204': @@ -65127,8 +65219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *306 - *307 + - *308 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -65288,8 +65380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -65528,8 +65620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -65604,7 +65696,7 @@ paths: - version - url additionalProperties: false - metadata: &448 + metadata: &449 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -65637,7 +65729,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *448 + metadata: *449 resolved: type: object description: A collection of resolved package dependencies. @@ -65650,7 +65742,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *448 + metadata: *449 relationship: type: string description: A notation of whether a dependency is requested @@ -65779,8 +65871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *306 - *307 + - *308 - name: sha description: The SHA recorded at creation time. in: query @@ -65820,9 +65912,9 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: - default: *450 + default: *451 headers: Link: *39 x-github: @@ -65888,8 +65980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -65970,7 +66062,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: simple-example: summary: Simple example @@ -66043,9 +66135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *306 - *307 - - &451 + - *308 + - &452 name: deployment_id description: deployment_id parameter in: path @@ -66057,7 +66149,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: default: value: @@ -66122,9 +66214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *306 - *307 - - *451 + - *308 + - *452 responses: '204': description: Response @@ -66146,9 +66238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *306 - *307 - - *451 + - *308 + - *452 - *18 - *20 responses: @@ -66158,7 +66250,7 @@ paths: application/json: schema: type: array - items: &452 + items: &453 title: Deployment Status description: The status of a deployment. type: object @@ -66319,9 +66411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *306 - *307 - - *451 + - *308 + - *452 requestBody: required: true content: @@ -66396,9 +66488,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: &453 + default: &454 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -66454,9 +66546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *306 - *307 - - *451 + - *308 + - *452 - name: status_id in: path required: true @@ -66467,9 +66559,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: *453 + default: *454 '404': *7 x-github: githubCloudOnly: false @@ -66494,8 +66586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -66552,8 +66644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -66570,7 +66662,7 @@ paths: type: integer environments: type: array - items: &455 + items: &456 title: Environment description: Details of a deployment environment type: object @@ -66622,7 +66714,7 @@ paths: type: type: string example: wait_timer - wait_timer: &457 + wait_timer: &458 type: integer example: 30 description: The amount of time to delay a job after @@ -66659,7 +66751,7 @@ paths: items: type: object properties: - type: *454 + type: *455 reviewer: anyOf: - *19 @@ -66683,7 +66775,7 @@ paths: - id - node_id - type - deployment_branch_policy: &458 + deployment_branch_policy: &459 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -66799,9 +66891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *306 - *307 - - &456 + - *308 + - &457 name: environment_name in: path required: true @@ -66814,9 +66906,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &459 + default: &460 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -66900,9 +66992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *306 - *307 - - *456 + - *308 + - *457 requestBody: required: false content: @@ -66911,7 +67003,7 @@ paths: type: object nullable: true properties: - wait_timer: *457 + wait_timer: *458 prevent_self_review: type: boolean example: false @@ -66928,13 +67020,13 @@ paths: items: type: object properties: - type: *454 + type: *455 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *458 + deployment_branch_policy: *459 additionalProperties: false examples: default: @@ -66954,9 +67046,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *459 + default: *460 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -66980,9 +67072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *306 - *307 - - *456 + - *308 + - *457 responses: '204': description: Default response @@ -67007,9 +67099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *18 - *20 responses: @@ -67027,7 +67119,7 @@ paths: example: 2 branch_policies: type: array - items: &460 + items: &461 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67084,9 +67176,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *306 - *307 - - *456 + - *308 + - *457 requestBody: required: true content: @@ -67132,9 +67224,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - example-wildcard: &461 + example-wildcard: &462 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67176,10 +67268,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *306 - *307 - - *456 - - &462 + - *308 + - *457 + - &463 name: branch_policy_id in: path required: true @@ -67191,9 +67283,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67212,10 +67304,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *306 - *307 - - *456 - - *462 + - *308 + - *457 + - *463 requestBody: required: true content: @@ -67243,9 +67335,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67264,10 +67356,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *306 - *307 - - *456 - - *462 + - *308 + - *457 + - *463 responses: '204': description: Response @@ -67292,9 +67384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *456 + - *457 + - *308 - *307 - - *306 responses: '200': description: List of deployment protection rules @@ -67310,7 +67402,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &463 + items: &464 title: Deployment protection rule description: Deployment protection rule type: object @@ -67329,7 +67421,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &464 + app: &465 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -67428,9 +67520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *456 + - *457 + - *308 - *307 - - *306 requestBody: content: application/json: @@ -67451,9 +67543,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *463 + schema: *464 examples: - default: &465 + default: &466 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -67488,9 +67580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *456 + - *457 + - *308 - *307 - - *306 - *20 - *18 responses: @@ -67509,7 +67601,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *464 + items: *465 examples: default: value: @@ -67544,10 +67636,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *306 - *307 - - *456 - - &466 + - *308 + - *457 + - &467 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -67559,9 +67651,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *465 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67582,10 +67674,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *456 + - *457 + - *308 - *307 - - *306 - - *466 + - *467 responses: '204': description: Response @@ -67611,9 +67703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *18 - *20 responses: @@ -67631,9 +67723,9 @@ paths: type: integer secrets: type: array - items: *343 + items: *344 examples: - default: *344 + default: *345 headers: Link: *39 x-github: @@ -67658,17 +67750,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *306 - *307 - - *456 + - *308 + - *457 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: *346 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67690,18 +67782,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *152 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *467 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67723,9 +67815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *152 requestBody: required: true @@ -67783,9 +67875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *152 responses: '204': @@ -67811,10 +67903,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *306 - *307 - - *456 - - *330 + - *308 + - *457 + - *331 - *20 responses: '200': @@ -67831,9 +67923,9 @@ paths: type: integer variables: type: array - items: *347 + items: *348 examples: - default: *348 + default: *349 headers: Link: *39 x-github: @@ -67856,9 +67948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *306 - *307 - - *456 + - *308 + - *457 requestBody: required: true content: @@ -67910,18 +68002,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *155 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: *468 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67942,10 +68034,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *306 - *307 + - *308 - *155 - - *456 + - *457 requestBody: required: true content: @@ -67987,10 +68079,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *306 - *307 + - *308 - *155 - - *456 + - *457 responses: '204': description: Response @@ -68012,8 +68104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -68090,8 +68182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *306 - *307 + - *308 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -68250,8 +68342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -68283,9 +68375,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *321 + default: *322 '400': *15 '422': *16 '403': *29 @@ -68306,8 +68398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -68367,7 +68459,7 @@ paths: schema: oneOf: - *127 - - *469 + - *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68392,8 +68484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *306 - *307 + - *308 - name: file_sha in: path required: true @@ -68491,8 +68583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -68601,7 +68693,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &471 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -68809,15 +68901,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *306 - *307 - - *423 + - *308 + - *424 responses: '200': description: Response content: application/json: - schema: *470 + schema: *471 examples: default: value: @@ -68872,9 +68964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *306 - *307 - - &471 + - *308 + - &472 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -68891,7 +68983,7 @@ paths: application/json: schema: type: array - items: &472 + items: &473 title: Git Reference description: Git references within a repository type: object @@ -68966,17 +69058,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *306 - *307 - - *471 + - *308 + - *472 responses: '200': description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: &473 + default: &474 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69005,8 +69097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -69035,9 +69127,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -69063,9 +69155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *306 - *307 - - *471 + - *308 + - *472 requestBody: required: true content: @@ -69094,9 +69186,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 '422': *16 '409': *129 x-github: @@ -69114,9 +69206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *306 - *307 - - *471 + - *308 + - *472 responses: '204': description: Response @@ -69168,8 +69260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -69236,7 +69328,7 @@ paths: description: Response content: application/json: - schema: &475 + schema: &476 title: Git Tag description: Metadata for a Git tag type: object @@ -69287,7 +69379,7 @@ paths: - sha - type - url - verification: *474 + verification: *475 required: - sha - url @@ -69297,7 +69389,7 @@ paths: - tag - message examples: - default: &476 + default: &477 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -69368,8 +69460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *306 - *307 + - *308 - name: tag_sha in: path required: true @@ -69380,9 +69472,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 '404': *7 '409': *129 x-github: @@ -69406,8 +69498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -69480,7 +69572,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &478 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -69592,8 +69684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *306 - *307 + - *308 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -69616,7 +69708,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: default-response: summary: Default response @@ -69675,8 +69767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -69686,7 +69778,7 @@ paths: application/json: schema: type: array - items: &478 + items: &479 title: Webhook description: Webhooks for repositories. type: object @@ -69814,8 +69906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -69867,9 +69959,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: &479 + default: &480 value: type: Repository id: 12345678 @@ -69917,17 +70009,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 responses: '200': description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *479 + default: *480 '404': *7 x-github: githubCloudOnly: false @@ -69947,8 +70039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 requestBody: required: true @@ -69994,9 +70086,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *479 + default: *480 '422': *16 '404': *7 x-github: @@ -70014,8 +70106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 responses: '204': @@ -70040,8 +70132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *306 - *307 + - *308 - *198 responses: '200': @@ -70069,8 +70161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *306 - *307 + - *308 - *198 requestBody: required: false @@ -70115,8 +70207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 - *18 - *199 @@ -70148,8 +70240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 - *17 responses: @@ -70178,8 +70270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 - *17 responses: @@ -70203,8 +70295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 responses: '204': @@ -70230,8 +70322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *306 - *307 + - *308 - *198 responses: '204': @@ -70290,14 +70382,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: &480 + schema: &481 title: Import description: A repository import from an external source. type: object @@ -70396,7 +70488,7 @@ paths: - html_url - authors_url examples: - default: &483 + default: &484 value: vcs: subversion use_lfs: true @@ -70412,7 +70504,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &481 + '503': &482 description: Unavailable due to service under maintenance. content: application/json: @@ -70441,8 +70533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -70490,7 +70582,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: default: value: @@ -70515,7 +70607,7 @@ paths: type: string '422': *16 '404': *7 - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70543,8 +70635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -70593,7 +70685,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: example-1: summary: Example 1 @@ -70641,7 +70733,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70664,12 +70756,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *306 - *307 + - *308 responses: '204': description: Response - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70695,8 +70787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *306 - *307 + - *308 - &668 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -70711,7 +70803,7 @@ paths: application/json: schema: type: array - items: &482 + items: &483 title: Porter Author description: Porter Author type: object @@ -70765,7 +70857,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70790,8 +70882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *306 - *307 + - *308 - name: author_id in: path required: true @@ -70821,7 +70913,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: default: value: @@ -70834,7 +70926,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70858,8 +70950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -70900,7 +70992,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70928,8 +71020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -70956,11 +71048,11 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *483 + default: *484 '422': *16 - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70983,8 +71075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -70992,8 +71084,8 @@ paths: application/json: schema: *22 examples: - default: *484 - '301': *320 + default: *485 + '301': *321 '404': *7 x-github: githubCloudOnly: false @@ -71013,8 +71105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -71027,7 +71119,7 @@ paths: properties: {} additionalProperties: false examples: - default: &486 + default: &487 value: limit: collaborators_only origin: repository @@ -71052,13 +71144,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: application/json: - schema: *485 + schema: *486 examples: default: summary: Example request body @@ -71072,7 +71164,7 @@ paths: application/json: schema: *216 examples: - default: *486 + default: *487 '409': description: Response x-github: @@ -71094,8 +71186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -71118,8 +71210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -71129,7 +71221,7 @@ paths: application/json: schema: type: array - items: *487 + items: *488 examples: default: &661 value: @@ -71262,8 +71354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *306 - *307 + - *308 - *220 requestBody: required: false @@ -71293,7 +71385,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -71424,8 +71516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *306 - *307 + - *308 - *220 responses: '204': @@ -71457,8 +71549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *306 - *307 + - *308 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -71671,7 +71763,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *320 + '301': *321 '422': *16 '404': *7 x-github: @@ -71700,8 +71792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -71778,7 +71870,7 @@ paths: application/json: schema: *107 examples: - default: &493 + default: &494 value: id: 1 node_id: MDU6SXNzdWUx @@ -71934,7 +72026,7 @@ paths: '422': *16 '503': *85 '404': *7 - '410': *317 + '410': *318 x-github: triggersNotification: true githubCloudOnly: false @@ -71962,8 +72054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *306 - *307 + - *308 - *117 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -71984,9 +72076,9 @@ paths: application/json: schema: type: array - items: *488 + items: *489 examples: - default: &495 + default: &496 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72044,17 +72136,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *306 - *307 + - *308 - *106 responses: '200': description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: &489 + default: &490 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72108,8 +72200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -72132,9 +72224,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *489 + default: *490 '422': *16 x-github: githubCloudOnly: false @@ -72152,8 +72244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *306 - *307 + - *308 - *106 responses: '204': @@ -72174,8 +72266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *306 - *307 + - *308 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -72202,9 +72294,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 '404': *7 @@ -72225,8 +72317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -72259,16 +72351,16 @@ paths: description: Reaction exists content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Reaction created content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '422': *16 x-github: githubCloudOnly: false @@ -72290,10 +72382,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *306 - *307 + - *308 - *106 - - *298 + - *299 responses: '204': description: Response @@ -72313,8 +72405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -72324,7 +72416,7 @@ paths: application/json: schema: type: array - items: &492 + items: &493 title: Issue Event description: Issue Event type: object @@ -72367,8 +72459,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *490 - required: *491 + properties: *491 + required: *492 nullable: true label: title: Issue Event Label @@ -72675,8 +72767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *306 - *307 + - *308 - name: event_id in: path required: true @@ -72687,7 +72779,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -72880,7 +72972,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *317 + '410': *318 '403': *29 x-github: githubCloudOnly: false @@ -72914,9 +73006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *306 - *307 - - &494 + - *308 + - &495 name: issue_number description: The number that identifies the issue. in: path @@ -72930,10 +73022,10 @@ paths: application/json: schema: *107 examples: - default: *493 - '301': *320 + default: *494 + '301': *321 '404': *7 - '410': *317 + '410': *318 '304': *37 x-github: githubCloudOnly: false @@ -72958,9 +73050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: false content: @@ -73057,13 +73149,13 @@ paths: application/json: schema: *107 examples: - default: *493 + default: *494 '422': *16 '503': *85 '403': *29 - '301': *320 + '301': *321 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73081,9 +73173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: false content: @@ -73111,7 +73203,7 @@ paths: application/json: schema: *107 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73127,9 +73219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: content: application/json: @@ -73156,7 +73248,7 @@ paths: application/json: schema: *107 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73178,9 +73270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 - name: assignee in: path required: true @@ -73220,9 +73312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *306 - *307 - - *494 + - *308 + - *495 - *97 - *18 - *20 @@ -73233,13 +73325,13 @@ paths: application/json: schema: type: array - items: *488 + items: *489 examples: - default: *495 + default: *496 headers: Link: *39 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73268,9 +73360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: true content: @@ -73292,16 +73384,16 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *489 + default: *490 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *317 + '410': *318 '422': *16 '404': *7 x-github: @@ -73321,9 +73413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *306 - *307 - - *494 + - *308 + - *495 - *18 - *20 responses: @@ -73337,7 +73429,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &498 + - &499 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -73391,7 +73483,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &500 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -73527,7 +73619,7 @@ paths: - performed_via_github_app - assignee - assigner - - &500 + - &501 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -73578,7 +73670,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &502 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -73629,7 +73721,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &502 + - &503 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -73683,7 +73775,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &503 + - &504 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -73730,7 +73822,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &504 + - &505 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -73777,7 +73869,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &505 + - &506 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -73837,7 +73929,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &506 + - &507 title: Locked Issue Event description: Locked Issue Event type: object @@ -73885,7 +73977,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &507 + - &508 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -73951,7 +74043,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &508 + - &509 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74017,7 +74109,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &509 + - &510 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74083,7 +74175,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &510 + - &511 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -74174,7 +74266,7 @@ paths: color: red headers: Link: *39 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74191,9 +74283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 - *18 - *20 responses: @@ -74203,7 +74295,7 @@ paths: application/json: schema: type: array - items: &496 + items: &497 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74250,7 +74342,7 @@ paths: - color - default examples: - default: &497 + default: &498 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74268,9 +74360,9 @@ paths: default: false headers: Link: *39 - '301': *320 + '301': *321 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74287,9 +74379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: false content: @@ -74348,12 +74440,12 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: - default: *497 - '301': *320 + default: *498 + '301': *321 '404': *7 - '410': *317 + '410': *318 '422': *16 x-github: githubCloudOnly: false @@ -74370,9 +74462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: false content: @@ -74432,12 +74524,12 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: - default: *497 - '301': *320 + default: *498 + '301': *321 '404': *7 - '410': *317 + '410': *318 '422': *16 x-github: githubCloudOnly: false @@ -74454,15 +74546,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 responses: '204': description: Response - '301': *320 + '301': *321 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74481,9 +74573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 - name: name in: path required: true @@ -74496,7 +74588,7 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: default: value: @@ -74507,9 +74599,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *320 + '301': *321 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74529,9 +74621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: false content: @@ -74559,7 +74651,7 @@ paths: '204': description: Response '403': *29 - '410': *317 + '410': *318 '404': *7 '422': *16 x-github: @@ -74577,9 +74669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 responses: '204': description: Response @@ -74601,9 +74693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -74629,13 +74721,13 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74653,9 +74745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: true content: @@ -74687,16 +74779,16 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '422': *16 x-github: githubCloudOnly: false @@ -74718,10 +74810,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *306 - *307 - - *494 - - *298 + - *308 + - *495 + - *299 responses: '204': description: Response @@ -74741,9 +74833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 - *18 - *20 responses: @@ -74758,7 +74850,6 @@ paths: description: Timeline Event type: object anyOf: - - *498 - *499 - *500 - *501 @@ -74771,6 +74862,7 @@ paths: - *508 - *509 - *510 + - *511 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75280,7 +75372,7 @@ paths: type: string comments: type: array - items: *421 + items: *422 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -75569,7 +75661,7 @@ paths: headers: Link: *39 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75586,8 +75678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -75597,7 +75689,7 @@ paths: application/json: schema: type: array - items: &511 + items: &512 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75662,8 +75754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -75699,9 +75791,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &512 + default: &513 value: id: 1 key: ssh-rsa AAA... @@ -75735,9 +75827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *306 - *307 - - &513 + - *308 + - &514 name: key_id description: The unique identifier of the key. in: path @@ -75749,9 +75841,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '404': *7 x-github: githubCloudOnly: false @@ -75769,9 +75861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *306 - *307 - - *513 + - *308 + - *514 responses: '204': description: Response @@ -75791,8 +75883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -75802,9 +75894,9 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: - default: *497 + default: *498 headers: Link: *39 '404': *7 @@ -75825,8 +75917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -75862,9 +75954,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: &514 + default: &515 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75896,8 +75988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *306 - *307 + - *308 - name: name in: path required: true @@ -75908,9 +76000,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *514 + default: *515 '404': *7 x-github: githubCloudOnly: false @@ -75927,8 +76019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *306 - *307 + - *308 - name: name in: path required: true @@ -75967,7 +76059,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -75993,8 +76085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *306 - *307 + - *308 - name: name in: path required: true @@ -76020,8 +76112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -76057,8 +76149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *306 - *307 + - *308 responses: '202': *130 '403': @@ -76086,8 +76178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -76113,9 +76205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *306 - *307 - - *396 + - *308 + - *397 responses: '200': description: Response @@ -76260,8 +76352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -76326,8 +76418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -76361,9 +76453,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *422 + schema: *423 examples: - default: *515 + default: *516 '204': description: Response when already merged '404': @@ -76388,8 +76480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *306 - *307 + - *308 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -76430,12 +76522,12 @@ paths: application/json: schema: type: array - items: &516 + items: &517 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *426 - required: *427 + properties: *427 + required: *428 examples: default: value: @@ -76491,8 +76583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -76532,9 +76624,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: &517 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76593,9 +76685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *306 - *307 - - &518 + - *308 + - &519 name: milestone_number description: The number that identifies the milestone. in: path @@ -76607,9 +76699,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '404': *7 x-github: githubCloudOnly: false @@ -76626,9 +76718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *306 - *307 - - *518 + - *308 + - *519 requestBody: required: false content: @@ -76666,9 +76758,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76684,9 +76776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *306 - *307 - - *518 + - *308 + - *519 responses: '204': description: Response @@ -76707,9 +76799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *306 - *307 - - *518 + - *308 + - *519 - *18 - *20 responses: @@ -76719,9 +76811,9 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: - default: *497 + default: *498 headers: Link: *39 x-github: @@ -76740,12 +76832,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *306 - *307 - - *519 + - *308 - *520 - - *97 - *521 + - *97 + - *522 - *18 - *20 responses: @@ -76757,7 +76849,7 @@ paths: type: array items: *120 examples: - default: *522 + default: *523 headers: Link: *39 x-github: @@ -76781,8 +76873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -76840,14 +76932,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: &523 + schema: &524 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -76972,7 +77064,7 @@ paths: - custom_404 - public examples: - default: &524 + default: &525 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77013,8 +77105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -77068,9 +77160,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: - default: *524 + default: *525 '422': *16 '409': *129 x-github: @@ -77093,8 +77185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -77201,8 +77293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -77228,8 +77320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -77239,7 +77331,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 title: Page Build description: Page Build type: object @@ -77333,8 +77425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *306 - *307 + - *308 responses: '201': description: Response @@ -77379,16 +77471,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &526 + default: &527 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -77436,8 +77528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *306 - *307 + - *308 - name: build_id in: path required: true @@ -77448,9 +77540,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77470,8 +77562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -77577,9 +77669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *306 - *307 - - &527 + - *308 + - &528 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77637,9 +77729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *306 - *307 - - *527 + - *308 + - *528 responses: '204': *173 '404': *7 @@ -77666,8 +77758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -77925,8 +78017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Private vulnerability reporting status @@ -77963,8 +78055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': *173 '422': *15 @@ -77985,8 +78077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': *173 '422': *15 @@ -78009,8 +78101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *306 - *307 + - *308 - name: state description: Indicates the state of the projects to return. in: query @@ -78071,7 +78163,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *317 + '410': *318 '422': *8 x-github: githubCloudOnly: false @@ -78091,8 +78183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -78120,11 +78212,11 @@ paths: application/json: schema: *250 examples: - default: *316 + default: *317 '401': *25 '403': *29 '404': *7 - '410': *317 + '410': *318 '422': *8 x-github: githubCloudOnly: false @@ -78144,8 +78236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -78184,8 +78276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -78247,8 +78339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *306 - *307 + - *308 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -78308,9 +78400,9 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: - default: *529 + default: *530 headers: Link: *39 '304': *37 @@ -78342,8 +78434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -78519,8 +78611,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *426 - required: *427 + properties: *427 + required: *428 nullable: true active_lock_reason: type: string @@ -78565,7 +78657,7 @@ paths: nullable: true requested_teams: type: array - items: *530 + items: *279 nullable: true head: type: object @@ -78604,14 +78696,14 @@ paths: _links: type: object properties: - comments: *428 - commits: *428 - statuses: *428 - html: *428 - issue: *428 - review_comments: *428 - review_comment: *428 - self: *428 + comments: *429 + commits: *429 + statuses: *429 + html: *429 + issue: *429 + review_comments: *429 + review_comment: *429 + self: *429 required: - comments - commits @@ -79241,8 +79333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *306 - *307 + - *308 - name: sort in: query required: false @@ -79350,8 +79442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *306 - *307 + - *308 - *106 responses: '200': @@ -79435,8 +79527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -79477,8 +79569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *306 - *307 + - *308 - *106 responses: '204': @@ -79500,8 +79592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *306 - *307 + - *308 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -79528,9 +79620,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 '404': *7 @@ -79551,8 +79643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -79585,16 +79677,16 @@ paths: description: Reaction exists content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Reaction created content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '422': *16 x-github: githubCloudOnly: false @@ -79616,10 +79708,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *306 - *307 + - *308 - *106 - - *298 + - *299 responses: '204': description: Response @@ -79662,8 +79754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *306 - *307 + - *308 - &536 name: pull_number description: The number that identifies the pull request. @@ -79714,8 +79806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: false @@ -79782,8 +79874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: true @@ -79846,7 +79938,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -79854,7 +79946,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '401': *25 '403': *29 '404': *7 @@ -79884,8 +79976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *117 - name: direction @@ -79942,8 +80034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: true @@ -80137,8 +80229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *306 - *307 + - *308 - *536 - *106 requestBody: @@ -80248,8 +80340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *18 - *20 @@ -80260,7 +80352,7 @@ paths: application/json: schema: type: array - items: *422 + items: *423 examples: default: *538 headers: @@ -80292,8 +80384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *306 - *307 + - *308 - *536 - *18 - *20 @@ -80304,7 +80396,7 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: default: value: @@ -80342,8 +80434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *306 - *307 + - *308 - *536 responses: '204': @@ -80367,8 +80459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: false @@ -80480,8 +80572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 responses: '200': @@ -80557,8 +80649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: false @@ -80596,7 +80688,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: default: value: @@ -81132,8 +81224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: true @@ -81168,7 +81260,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: default: value: @@ -81673,8 +81765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *18 - *20 @@ -81836,8 +81928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: false @@ -81989,8 +82081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - &540 name: review_id @@ -82065,8 +82157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *540 requestBody: @@ -82153,8 +82245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *540 responses: @@ -82191,8 +82283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *306 - *307 + - *308 - *536 - *540 - *18 @@ -82277,9 +82369,9 @@ paths: _links: type: object properties: - self: *428 - html: *428 - pull_request: *428 + self: *429 + html: *429 + pull_request: *429 required: - self - html @@ -82422,8 +82514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *540 requestBody: @@ -82516,8 +82608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *540 requestBody: @@ -82578,8 +82670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *306 - *307 + - *308 - *536 requestBody: required: false @@ -82643,8 +82735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *306 - *307 + - *308 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -82701,8 +82793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *306 - *307 + - *308 - name: dir description: The alternate path to look for a README file in: path @@ -82746,8 +82838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -83001,8 +83093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -83181,8 +83273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *306 - *307 + - *308 - &547 name: asset_id description: The unique identifier of the asset. @@ -83231,7 +83323,7 @@ paths: type: User site_admin: false '404': *7 - '302': *439 + '302': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83247,8 +83339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *306 - *307 + - *308 - *547 requestBody: required: false @@ -83295,8 +83387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *306 - *307 + - *308 - *547 responses: '204': @@ -83321,8 +83413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -83407,8 +83499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -83433,8 +83525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *306 - *307 + - *308 - name: tag description: tag parameter in: path @@ -83471,8 +83563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *306 - *307 + - *308 - &550 name: release_id description: The unique identifier of the release. @@ -83507,8 +83599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *306 - *307 + - *308 - *550 requestBody: required: false @@ -83596,8 +83688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *306 - *307 + - *308 - *550 responses: '204': @@ -83618,8 +83710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *306 - *307 + - *308 - *550 - *18 - *20 @@ -83711,8 +83803,8 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *306 - *307 + - *308 - *550 - name: name in: query @@ -83793,8 +83885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *306 - *307 + - *308 - *550 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -83819,9 +83911,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 '404': *7 @@ -83842,8 +83934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *306 - *307 + - *308 - *550 requestBody: required: true @@ -83874,16 +83966,16 @@ paths: description: Reaction exists content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Reaction created content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '422': *16 x-github: githubCloudOnly: false @@ -83905,10 +83997,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *306 - *307 + - *308 - *550 - - *298 + - *299 responses: '204': description: Response @@ -83932,9 +84024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *306 - *307 - - *365 + - *308 + - *366 - *18 - *20 responses: @@ -84056,8 +84148,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - *307 + - *308 - *18 - *20 - name: includes_parents @@ -84123,8 +84215,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - *307 + - *308 requestBody: description: Request body required: true @@ -84233,8 +84325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *306 - *307 + - *308 - *570 - *571 - *572 @@ -84269,8 +84361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *306 - *307 + - *308 - *576 responses: '200': @@ -84307,8 +84399,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - *307 + - *308 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84348,8 +84440,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - *307 + - *308 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84431,8 +84523,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - *307 + - *308 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84460,8 +84552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *306 - *307 + - *308 - *269 - *270 - *271 @@ -84548,6 +84640,23 @@ paths: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true validity: type: string description: The token status as of the latest validity check. @@ -84618,6 +84727,27 @@ paths: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: inactive publicly_leaked: false @@ -84637,6 +84767,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -84666,9 +84799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *306 - *307 - - *394 + - *308 + - *395 responses: '200': description: Response @@ -84693,6 +84826,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -84722,9 +84858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *306 - *307 - - *394 + - *308 + - *395 requestBody: required: true content: @@ -84788,6 +84924,9 @@ paths: push_protection_bypassed: false push_protection_bypassed_by: push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: Example comment validity: unknown publicly_leaked: false @@ -84822,9 +84961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *306 - *307 - - *394 + - *308 + - *395 - *20 - *18 responses: @@ -85194,8 +85333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -85272,8 +85411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *306 - *307 + - *308 - *67 - name: sort description: The property to sort the results by. @@ -85342,8 +85481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -85738,8 +85877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -85990,8 +86129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *306 - *307 + - *308 - *589 responses: '200': @@ -86024,8 +86163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *306 - *307 + - *308 - *589 requestBody: required: true @@ -86226,8 +86365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *306 - *307 + - *308 - *589 responses: '202': *130 @@ -86255,17 +86394,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *306 - *307 + - *308 - *589 responses: '202': description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *321 + default: *322 '400': *15 '422': *16 '403': *29 @@ -86291,8 +86430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -86391,8 +86530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *306 - *307 + - *308 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -86434,8 +86573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -86511,8 +86650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -86608,8 +86747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *306 - *307 + - *308 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86763,8 +86902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *306 - *307 + - *308 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86807,8 +86946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *306 - *307 + - *308 - name: sha in: path required: true @@ -86916,8 +87055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -86949,8 +87088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *306 - *307 + - *308 responses: '200': description: if you subscribe to the repository @@ -87024,8 +87163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -87078,8 +87217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -87099,8 +87238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -87179,8 +87318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -87240,8 +87379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -87295,8 +87434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *306 - *307 + - *308 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -87333,8 +87472,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *306 - *307 + - *308 - name: ref in: path required: true @@ -87370,8 +87509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -87403,8 +87542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *306 - *307 + - *308 - *20 - *18 responses: @@ -87447,8 +87586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -87502,8 +87641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *306 - *307 + - *308 - &597 name: per description: The time frame to display results for. @@ -87620,8 +87759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -87711,8 +87850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -87772,8 +87911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *306 - *307 + - *308 - *597 responses: '200': @@ -87870,8 +88009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -88145,8 +88284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -88169,8 +88308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -88192,8 +88331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -88219,8 +88358,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *306 - *307 + - *308 - name: ref in: path required: true @@ -88312,9 +88451,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *321 + default: *322 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -90810,7 +90949,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *363 + properties: *364 nullable: true comment_count: type: integer @@ -90830,7 +90969,7 @@ paths: url: type: string format: uri - verification: *474 + verification: *475 required: - author - committer @@ -90849,7 +90988,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *363 + properties: *364 nullable: true parents: type: array @@ -91165,8 +91304,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *426 - required: *427 + properties: *427 + required: *428 nullable: true comments: type: integer @@ -92462,9 +92601,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '404': *7 x-github: githubCloudOnly: false @@ -92554,16 +92693,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '201': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '404': *7 '422': *16 '403': *29 @@ -92633,7 +92772,7 @@ paths: application/json: schema: type: array - items: *289 + items: *290 examples: default: *628 headers: @@ -92698,9 +92837,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 x-github: triggersNotification: true githubCloudOnly: false @@ -92728,15 +92867,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - *627 - - *291 + - *292 responses: '200': description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92762,7 +92901,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - *627 - - *291 + - *292 requestBody: required: false content: @@ -92785,7 +92924,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *290 examples: default: *629 x-github: @@ -92813,7 +92952,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - *627 - - *291 + - *292 responses: '204': description: Response @@ -92843,7 +92982,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *627 - - *291 + - *292 - *67 - *18 - *20 @@ -92854,7 +92993,7 @@ paths: application/json: schema: type: array - items: *292 + items: *293 examples: default: *630 headers: @@ -92886,7 +93025,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *627 - - *291 + - *292 requestBody: required: true content: @@ -92908,9 +93047,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 x-github: triggersNotification: true githubCloudOnly: false @@ -92938,16 +93077,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *627 - - *291 - - *294 + - *292 + - *295 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92973,8 +93112,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *627 - - *291 - - *294 + - *292 + - *295 requestBody: required: true content: @@ -92996,7 +93135,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: default: *631 x-github: @@ -93024,8 +93163,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *627 - - *291 - - *294 + - *292 + - *295 responses: '204': description: Response @@ -93055,8 +93194,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *627 - - *291 - - *294 + - *292 + - *295 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -93082,9 +93221,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 x-github: @@ -93114,8 +93253,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *627 - - *291 - - *294 + - *292 + - *295 requestBody: required: true content: @@ -93147,9 +93286,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93176,7 +93315,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *627 - - *291 + - *292 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -93202,9 +93341,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 x-github: @@ -93234,7 +93373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *627 - - *291 + - *292 requestBody: required: true content: @@ -93266,9 +93405,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93502,7 +93641,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: response-if-user-is-a-team-maintainer: *632 '404': *7 @@ -93563,7 +93702,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: response-if-users-membership-with-team-is-now-pending: *633 '403': @@ -93639,7 +93778,7 @@ paths: application/json: schema: type: array - items: *304 + items: *305 examples: default: *634 headers: @@ -93669,13 +93808,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *627 - - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: default: *635 '404': @@ -93703,7 +93842,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *627 - - *305 + - *306 requestBody: required: false content: @@ -93772,7 +93911,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *627 - - *305 + - *306 responses: '204': description: Response @@ -93842,8 +93981,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *627 - - *306 - *307 + - *308 responses: '200': description: Alternative response with extra repository information @@ -94001,8 +94140,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *627 - - *306 - *307 + - *308 requestBody: required: false content: @@ -94053,8 +94192,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *627 - - *306 - *307 + - *308 responses: '204': description: Response @@ -94089,9 +94228,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '403': *29 '404': *7 x-github: @@ -94175,7 +94314,7 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: default: value: @@ -94953,7 +95092,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -94961,7 +95100,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '401': *25 '403': *29 '404': *7 @@ -95045,7 +95184,7 @@ paths: - visibility - selected_repositories_url examples: - default: *414 + default: *415 headers: Link: *39 x-github: @@ -95419,7 +95558,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '304': *37 '500': *73 '401': *25 @@ -95477,7 +95616,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '401': *25 '403': *29 '404': *7 @@ -95740,13 +95879,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *319 + repository: *320 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *412 - required: *413 + properties: *413 + required: *414 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -96528,7 +96667,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '304': *37 '500': *73 '400': *15 @@ -96568,7 +96707,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '500': *73 '401': *25 '403': *29 @@ -97716,7 +97855,7 @@ paths: required: true content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -97998,7 +98137,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *513 + - *514 responses: '200': description: Response @@ -98029,7 +98168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *513 + - *514 responses: '204': description: Response @@ -100213,9 +100352,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *321 + default: *322 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -100253,7 +100392,7 @@ paths: application/json: schema: type: array - items: *487 + items: *488 examples: default: *661 headers: @@ -100870,8 +101009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *306 - *307 + - *308 responses: '204': description: Response if this repository is starred by you @@ -100899,8 +101038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -100924,8 +101063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -100997,7 +101136,7 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: default: value: @@ -101902,7 +102041,7 @@ paths: application/json: schema: *22 examples: - default: *484 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102658,9 +102797,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102688,9 +102827,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *284 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102718,9 +102857,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105533,7 +105672,7 @@ x-webhooks: type: string pull_requests: type: array - items: *376 + items: *377 repository: *142 status: example: completed @@ -105621,7 +105760,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *376 + items: *377 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -109912,7 +110051,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *389 + dismissed_comment: *390 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111772,7 +111911,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -111860,7 +111999,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -111948,7 +112087,7 @@ x-webhooks: type: string enum: - created - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -112034,7 +112173,7 @@ x-webhooks: type: string enum: - dismissed - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -112120,7 +112259,7 @@ x-webhooks: type: string enum: - fixed - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -112207,7 +112346,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -112293,7 +112432,7 @@ x-webhooks: type: string enum: - reopened - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -113786,7 +113925,7 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *449 + deployment: *450 pull_requests: type: array items: *534 @@ -118468,7 +118607,7 @@ x-webhooks: - id labels: type: array - items: *496 + items: *497 required: - repository_url - category @@ -157952,7 +158091,7 @@ x-webhooks: enum: - demilestoned enterprise: *676 - milestone: *516 + milestone: *517 number: *732 organization: *678 pull_request: &734 @@ -169874,7 +170013,7 @@ x-webhooks: enum: - milestoned enterprise: *676 - milestone: *516 + milestone: *517 number: *732 organization: *678 pull_request: *734 @@ -214173,6 +214312,23 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true publicly_leaked: type: boolean description: Whether the detected secret was publicly leaked. @@ -215289,7 +215445,7 @@ x-webhooks: enterprise: *676 installation: *677 organization: *678 - repository: *319 + repository: *320 sender: *19 required: - changes @@ -220475,7 +220631,7 @@ x-webhooks: type: string required: - conclusion - deployment: *449 + deployment: *450 required: - action - repository @@ -220817,7 +220973,7 @@ x-webhooks: required: - status - steps - deployment: *449 + deployment: *450 required: - action - repository @@ -221034,7 +221190,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *449 + deployment: *450 required: - action - repository @@ -221252,7 +221408,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *449 + deployment: *450 required: - action - repository diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 32c1f5831..4eb69210e 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -6244,7 +6244,7 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nWhen using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -28868,6 +28868,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "resolution_comment": { "type": "string", "description": "The comment that was optionally added when this alert was closed", @@ -29019,6 +29155,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, @@ -29107,6 +29265,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -114057,6 +114218,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -114492,6 +114675,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -115178,6 +115383,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -115568,6 +115795,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -115990,6 +116239,16 @@ "description": "The Relationship a Team has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the team has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, "id": { "type": "integer" }, @@ -116268,6 +116527,103 @@ "description": "The Relationship a User has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the user has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, + "inherited_from": { + "description": "Team the user has gotten the role through", + "type": "array", + "items": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + }, "name": { "nullable": true, "type": "string" @@ -124858,6 +125214,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -124926,6 +125291,7 @@ { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -124939,11 +125305,13 @@ { "property_name": "service", "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", "value_type": "string" }, { "property_name": "team", "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", "value_type": "string", "description": "Team owning the repository" } @@ -125059,6 +125427,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -125181,6 +125558,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -125249,6 +125635,7 @@ { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -125262,11 +125649,13 @@ { "property_name": "service", "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", "value_type": "string" }, { "property_name": "team", "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", "value_type": "string", "description": "Team owning the repository" } @@ -125388,6 +125777,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -125454,6 +125852,7 @@ "value": { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -125652,6 +126051,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -125718,6 +126126,7 @@ "value": { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -141053,6 +141462,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "resolution_comment": { "type": "string", "description": "The comment that was optionally added when this alert was closed", @@ -141204,6 +141749,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, @@ -141292,6 +141859,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -405852,6 +406422,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -405931,6 +406637,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "inactive", "publicly_leaked": false, @@ -405952,6 +406680,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -406385,6 +407116,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -406424,6 +407291,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -406904,6 +407774,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -406962,6 +407968,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": "Example comment", "validity": "unknown", "publicly_leaked": false, @@ -604404,6 +605413,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -605273,6 +606291,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -1076796,6 +1077823,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1078758,6 +1079921,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1081136,6 +1082435,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1083098,6 +1084533,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1085060,6 +1086631,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -1087022,6 +1088729,142 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 3c14e2f70..6a2fd3a21 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -2773,8 +2773,6 @@ paths: Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. - When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported. - You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: - apps @@ -9664,7 +9662,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &387 + instances_url: &388 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -9699,7 +9697,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &388 + dismissed_reason: &389 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -9708,13 +9706,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &389 + dismissed_comment: &390 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &390 + rule: &391 type: object properties: id: @@ -9767,7 +9765,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &391 + tool: &392 type: object properties: name: *68 @@ -9777,15 +9775,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *69 - most_recent_instance: &392 + most_recent_instance: &393 type: object properties: - ref: &385 + ref: &386 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &398 + analysis_key: &399 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -9796,7 +9794,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &399 + category: &400 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11954,7 +11952,7 @@ paths: enum: - development - runtime - security_advisory: &441 + security_advisory: &442 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12185,7 +12183,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: &442 + auto_dismissed_at: &443 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12776,6 +12774,23 @@ paths: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true resolution_comment: type: string description: The comment that was optionally added when this @@ -12916,6 +12931,27 @@ paths: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: active publicly_leaked: false @@ -13000,6 +13036,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -13035,7 +13074,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &280 type: object properties: total_minutes_used: @@ -13105,7 +13144,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &280 + default: &281 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13143,7 +13182,7 @@ paths: description: Success content: application/json: - schema: &281 + schema: &282 type: object properties: total_advanced_security_committers: @@ -13198,7 +13237,7 @@ paths: required: - repositories examples: - default: &282 + default: &283 value: total_advanced_security_committers: 2 total_count: 2 @@ -13441,7 +13480,7 @@ paths: description: Response content: application/json: - schema: &283 + schema: &284 type: object properties: total_gigabytes_bandwidth_used: @@ -13459,7 +13498,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &284 + default: &285 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -13491,7 +13530,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &286 type: object properties: days_left_in_billing_cycle: @@ -13509,7 +13548,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &286 + default: &287 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14011,7 +14050,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &490 + properties: &491 id: type: integer format: int64 @@ -14122,7 +14161,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &426 + properties: &427 url: type: string format: uri @@ -14192,7 +14231,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &427 + required: &428 - closed_issues - creator - description @@ -14333,7 +14372,7 @@ paths: - hooray - eyes - rocket - required: &491 + required: &492 - assignee - closed_at - comments @@ -14355,7 +14394,7 @@ paths: - author_association - created_at - updated_at - comment: &488 + comment: &489 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -18205,14 +18244,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &306 + - &307 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &307 + - &308 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18283,7 +18322,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &320 + '301': &321 description: Moved permanently content: application/json: @@ -18305,7 +18344,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &519 + - &520 name: all description: If `true`, show notifications marked as read. in: query @@ -18313,7 +18352,7 @@ paths: schema: type: boolean default: false - - &520 + - &521 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18323,7 +18362,7 @@ paths: type: boolean default: false - *97 - - &521 + - &522 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -18787,7 +18826,7 @@ paths: - url - subscription_url examples: - default: &522 + default: &523 value: - id: '1' repository: @@ -20236,7 +20275,7 @@ paths: type: integer repository_cache_usages: type: array - items: &325 + items: &326 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -22292,7 +22331,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &346 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22321,7 +22360,7 @@ paths: - key_id - key examples: - default: &346 + default: &347 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22732,7 +22771,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *124 - - &330 + - &331 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -23335,7 +23374,7 @@ paths: repository_id: type: integer examples: - default: &359 + default: &360 value: attestations: - bundle: @@ -23650,7 +23689,7 @@ paths: be returned. in: query required: false - schema: &386 + schema: &387 type: string description: Severity of a code scanning alert. enum: @@ -24935,7 +24974,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &412 + properties: &413 name: type: string description: The name of the machine. @@ -24977,7 +25016,7 @@ paths: - ready - in_progress nullable: true - required: &413 + required: &414 - name - display_name - operating_system @@ -25845,7 +25884,7 @@ paths: - updated_at - visibility examples: - default: &414 + default: &415 value: total_count: 2 secrets: @@ -25883,7 +25922,7 @@ paths: description: Response content: application/json: - schema: &415 + schema: &416 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25912,7 +25951,7 @@ paths: - key_id - key examples: - default: &416 + default: &417 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25944,7 +25983,7 @@ paths: application/json: schema: *174 examples: - default: &418 + default: &419 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27704,7 +27743,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &446 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27721,7 +27760,7 @@ paths: - key_id - key examples: - default: &446 + default: &447 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28302,7 +28341,7 @@ paths: description: Response content: application/json: - schema: &301 + schema: &302 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -28383,7 +28422,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &302 + default: &303 value: group_id: '123' group_name: Octocat admins @@ -28438,7 +28477,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &300 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -28475,7 +28514,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &300 + default: &301 value: groups: - group_id: '123' @@ -29753,7 +29792,7 @@ paths: application/json: schema: *22 examples: - default: &484 + default: &485 value: id: 1 account: @@ -29978,7 +30017,7 @@ paths: required: true content: application/json: - schema: &485 + schema: &486 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -30597,7 +30636,7 @@ paths: application/json: schema: *225 examples: - default: &411 + default: &412 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32089,6 +32128,26 @@ paths: for or what permissions it grants. type: string nullable: true + base_role: + type: string + nullable: true + description: The system role from which this role inherits + permissions. + enum: + - read + - triage + - write + - maintain + - admin + source: + type: string + nullable: true + description: Source answers the question, "where did this + role come from?" + enum: + - Organization + - Enterprise + - Predefined permissions: description: A list of permissions included in this role. type: array @@ -32682,6 +32741,15 @@ paths: description: The Relationship a Team has with a role. type: object properties: + assignment: + type: string + description: Determines if the team has a direct, indirect, + or mixed relationship to a role + enum: + - direct + - indirect + - mixed + example: direct id: type: integer node_id: @@ -32797,6 +32865,25 @@ paths: description: The Relationship a User has with a role. type: object properties: + assignment: + type: string + description: Determines if the user has a direct, indirect, + or mixed relationship to a role + enum: + - direct + - indirect + - mixed + example: direct + inherited_from: + description: Team the user has gotten the role through + type: array + items: &279 + title: Team Simple + description: Groups of organization members that gives permissions + on specified repositories. + type: object + properties: *234 + required: *235 name: nullable: true type: string @@ -34486,7 +34573,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &317 + '410': &318 description: Gone content: application/json: @@ -34531,6 +34618,13 @@ paths: format: uri description: The URL that can be used to fetch, update, or delete info about this property via the API. + source_type: + type: string + description: The source type of the property + enum: + - organization + - enterprise + example: organization value_type: type: string example: single_select @@ -34581,6 +34675,7 @@ paths: value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -34591,9 +34686,11 @@ paths: values_editable_by: org_actors - property_name: service url: https://api.github.com/orgs/github/properties/schema/service + source_type: organization value_type: string - property_name: team url: https://api.github.com/orgs/github/properties/schema/team + source_type: organization value_type: string description: Team owning the repository '403': *29 @@ -34701,6 +34798,7 @@ paths: value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization value_type: single_select required: true default_value: production @@ -35360,7 +35458,7 @@ paths: description: Response content: application/json: - schema: &319 + schema: &320 title: Full Repository description: Full Repository type: object @@ -35753,7 +35851,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &433 + properties: &434 url: type: string format: uri @@ -35769,7 +35867,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &434 + required: &435 - url - key - name @@ -35858,7 +35956,7 @@ paths: - network_count - subscribers_count examples: - default: &321 + default: &322 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38798,13 +38896,7 @@ paths: application/json: schema: type: array - items: &530 - title: Team Simple - description: Groups of organization members that gives permissions - on specified repositories. - type: object - properties: *234 - required: *235 + items: *279 examples: default: *236 x-github: @@ -38888,9 +38980,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38922,9 +39014,9 @@ paths: description: Success content: application/json: - schema: *281 + schema: *282 examples: - default: *282 + default: *283 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38952,9 +39044,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *284 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38982,9 +39074,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39020,7 +39112,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &309 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -39066,7 +39158,7 @@ paths: type: string nullable: true examples: - default: &309 + default: &310 value: groups: - group_id: '123' @@ -39347,7 +39439,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &288 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -39657,7 +39749,7 @@ paths: - repos_count - organization examples: - default: &288 + default: &289 value: id: 1 node_id: MDQ6VGVhbTE= @@ -39734,9 +39826,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '404': *7 x-github: githubCloudOnly: false @@ -39820,16 +39912,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '201': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '404': *7 '422': *16 '403': *29 @@ -39899,7 +39991,7 @@ paths: application/json: schema: type: array - items: &289 + items: &290 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -40107,9 +40199,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: &290 + default: &291 value: author: login: octocat @@ -40183,7 +40275,7 @@ paths: parameters: - *124 - *233 - - &291 + - &292 name: discussion_number description: The number that identifies the discussion. in: path @@ -40195,9 +40287,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40221,7 +40313,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 requestBody: required: false content: @@ -40244,7 +40336,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *290 examples: default: &629 value: @@ -40318,7 +40410,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 responses: '204': description: Response @@ -40346,7 +40438,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 - *67 - *18 - *20 @@ -40357,7 +40449,7 @@ paths: application/json: schema: type: array - items: &292 + items: &293 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -40499,7 +40591,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 requestBody: required: true content: @@ -40521,9 +40613,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: &293 + default: &294 value: author: login: octocat @@ -40591,8 +40683,8 @@ paths: parameters: - *124 - *233 - - *291 - - &294 + - *292 + - &295 name: comment_number description: The number that identifies the comment. in: path @@ -40604,9 +40696,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40630,8 +40722,8 @@ paths: parameters: - *124 - *233 - - *291 - - *294 + - *292 + - *295 requestBody: required: true content: @@ -40653,7 +40745,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: default: &631 value: @@ -40721,8 +40813,8 @@ paths: parameters: - *124 - *233 - - *291 - - *294 + - *292 + - *295 responses: '204': description: Response @@ -40750,8 +40842,8 @@ paths: parameters: - *124 - *233 - - *291 - - *294 + - *292 + - *295 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -40777,7 +40869,7 @@ paths: application/json: schema: type: array - items: &295 + items: &296 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -40820,7 +40912,7 @@ paths: - content - created_at examples: - default: &297 + default: &298 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40872,8 +40964,8 @@ paths: parameters: - *124 - *233 - - *291 - - *294 + - *292 + - *295 requestBody: required: true content: @@ -40906,9 +40998,9 @@ paths: team discussion comment content: application/json: - schema: *295 + schema: *296 examples: - default: &296 + default: &297 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40937,9 +41029,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40964,9 +41056,9 @@ paths: parameters: - *124 - *233 - - *291 - - *294 - - &298 + - *292 + - *295 + - &299 name: reaction_id description: The unique identifier of the reaction. in: path @@ -41000,7 +41092,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -41026,9 +41118,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 x-github: @@ -41056,7 +41148,7 @@ paths: parameters: - *124 - *233 - - *291 + - *292 requestBody: required: true content: @@ -41088,16 +41180,16 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41122,8 +41214,8 @@ paths: parameters: - *124 - *233 - - *291 - - *298 + - *292 + - *299 responses: '204': description: Response @@ -41153,9 +41245,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41198,9 +41290,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41341,7 +41433,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &304 title: Team Membership description: Team Membership type: object @@ -41431,7 +41523,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: response-if-users-membership-with-team-is-now-pending: &633 summary: Response if user's membership with team is now pending @@ -41507,7 +41599,7 @@ paths: application/json: schema: type: array - items: &304 + items: &305 title: Team Project description: A team's access to a project. type: object @@ -41638,7 +41730,7 @@ paths: parameters: - *124 - *233 - - &305 + - &306 name: project_id description: The unique identifier of the project. in: path @@ -41650,7 +41742,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: default: &635 value: @@ -41714,7 +41806,7 @@ paths: parameters: - *124 - *233 - - *305 + - *306 requestBody: required: false content: @@ -41780,7 +41872,7 @@ paths: parameters: - *124 - *233 - - *305 + - *306 responses: '204': description: Response @@ -41848,8 +41940,8 @@ paths: parameters: - *124 - *233 - - *306 - *307 + - *308 responses: '200': description: Alternative response with repository permissions @@ -42426,8 +42518,8 @@ paths: parameters: - *124 - *233 - - *306 - *307 + - *308 requestBody: required: false content: @@ -42474,8 +42566,8 @@ paths: parameters: - *124 - *233 - - *306 - *307 + - *308 responses: '204': description: Response @@ -42508,9 +42600,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -42576,7 +42668,7 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: default: value: @@ -42745,7 +42837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &310 + - &311 name: card_id description: The unique identifier of the card. in: path @@ -42757,7 +42849,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &312 title: Project Card description: Project cards represent a scope of work. type: object @@ -42824,7 +42916,7 @@ paths: - created_at - updated_at examples: - default: &312 + default: &313 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -42874,7 +42966,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *310 + - *311 requestBody: required: false content: @@ -42901,9 +42993,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 '304': *37 '403': *29 '401': *25 @@ -42924,7 +43016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *310 + - *311 responses: '204': description: Response @@ -42962,7 +43054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *310 + - *311 requestBody: required: true content: @@ -43067,7 +43159,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &313 + - &314 name: column_id description: The unique identifier of the column. in: path @@ -43079,7 +43171,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &315 title: Project Column description: Project columns contain cards of work. type: object @@ -43125,7 +43217,7 @@ paths: - created_at - updated_at examples: - default: &315 + default: &316 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -43154,7 +43246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *313 + - *314 requestBody: required: true content: @@ -43178,9 +43270,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: - default: *315 + default: *316 '304': *37 '403': *29 '401': *25 @@ -43199,7 +43291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *313 + - *314 responses: '204': description: Response @@ -43222,7 +43314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *313 + - *314 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -43243,7 +43335,7 @@ paths: application/json: schema: type: array - items: *311 + items: *312 examples: default: value: @@ -43296,7 +43388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *313 + - *314 requestBody: required: true content: @@ -43336,9 +43428,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 '304': *37 '403': *29 '401': *25 @@ -43388,7 +43480,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *313 + - *314 requestBody: required: true content: @@ -43444,7 +43536,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *305 + - *306 responses: '200': description: Response @@ -43452,7 +43544,7 @@ paths: application/json: schema: *250 examples: - default: &316 + default: &317 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -43505,7 +43597,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *305 + - *306 requestBody: required: false content: @@ -43553,7 +43645,7 @@ paths: application/json: schema: *250 examples: - default: *316 + default: *317 '404': description: Not Found if the authenticated user does not have access to the project @@ -43574,7 +43666,7 @@ paths: items: type: string '401': *25 - '410': *317 + '410': *318 '422': *8 x-github: githubCloudOnly: false @@ -43592,7 +43684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *305 + - *306 responses: '204': description: Delete Success @@ -43613,7 +43705,7 @@ paths: items: type: string '401': *25 - '410': *317 + '410': *318 '404': *7 x-github: githubCloudOnly: false @@ -43636,7 +43728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *305 + - *306 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -43688,7 +43780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *305 + - *306 - *164 requestBody: required: false @@ -43736,7 +43828,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *305 + - *306 - *164 responses: '204': @@ -43765,7 +43857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *305 + - *306 - *164 responses: '200': @@ -43833,7 +43925,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *305 + - *306 - *18 - *20 responses: @@ -43843,7 +43935,7 @@ paths: application/json: schema: type: array - items: *314 + items: *315 examples: default: value: @@ -43875,7 +43967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *305 + - *306 requestBody: required: true content: @@ -43898,7 +43990,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *315 examples: default: value: @@ -43959,7 +44051,7 @@ paths: resources: type: object properties: - core: &318 + core: &319 title: Rate Limit type: object properties: @@ -43976,19 +44068,19 @@ paths: - remaining - reset - used - graphql: *318 - search: *318 - code_search: *318 - source_import: *318 - integration_manifest: *318 - code_scanning_upload: *318 - actions_runner_registration: *318 - scim: *318 - dependency_snapshots: *318 + graphql: *319 + search: *319 + code_search: *319 + source_import: *319 + integration_manifest: *319 + code_scanning_upload: *319 + actions_runner_registration: *319 + scim: *319 + dependency_snapshots: *319 required: - core - search - rate: *318 + rate: *319 required: - rate - resources @@ -44087,14 +44179,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *319 + schema: *320 examples: default-response: summary: Default response @@ -44599,7 +44691,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *320 + '301': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44617,8 +44709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -44864,10 +44956,10 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *321 - '307': &322 + default: *322 + '307': &323 description: Temporary Redirect content: application/json: @@ -44896,8 +44988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -44919,7 +45011,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *322 + '307': *323 '404': *7 x-github: githubCloudOnly: false @@ -44942,11 +45034,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *306 - *307 + - *308 - *18 - *20 - - &337 + - &338 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -44969,7 +45061,7 @@ paths: type: integer artifacts: type: array - items: &323 + items: &324 title: Artifact description: An artifact type: object @@ -45040,7 +45132,7 @@ paths: - expires_at - updated_at examples: - default: &338 + default: &339 value: total_count: 2 artifacts: @@ -45099,9 +45191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *306 - *307 - - &324 + - *308 + - &325 name: artifact_id description: The unique identifier of the artifact. in: path @@ -45113,7 +45205,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: default: value: @@ -45150,9 +45242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *306 - *307 - - *324 + - *308 + - *325 responses: '204': description: Response @@ -45176,9 +45268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *306 - *307 - - *324 + - *308 + - *325 - name: archive_format in: path required: true @@ -45192,7 +45284,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45215,14 +45307,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *325 + schema: *326 examples: default: value: @@ -45248,11 +45340,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *306 - *307 + - *308 - *18 - *20 - - &326 + - &327 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -45286,7 +45378,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &328 title: Repository actions caches description: Repository actions caches type: object @@ -45328,7 +45420,7 @@ paths: - total_count - actions_caches examples: - default: &328 + default: &329 value: total_count: 1 actions_caches: @@ -45360,23 +45452,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *306 - *307 + - *308 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *326 + - *327 responses: '200': description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *328 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45396,8 +45488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *306 - *307 + - *308 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -45428,9 +45520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *306 - *307 - - &329 + - *308 + - &330 name: job_id description: The unique identifier of the job. in: path @@ -45442,7 +45534,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &342 title: Job description: Information of a job execution in a workflow run type: object @@ -45749,9 +45841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *306 - *307 - - *329 + - *308 + - *330 responses: '302': description: Response @@ -45779,9 +45871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *306 - *307 - - *329 + - *308 + - *330 requestBody: required: false content: @@ -45826,8 +45918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Status response @@ -45877,8 +45969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -45941,8 +46033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -45960,7 +46052,7 @@ paths: type: integer secrets: type: array - items: &343 + items: &344 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -45980,7 +46072,7 @@ paths: - created_at - updated_at examples: - default: &344 + default: &345 value: total_count: 2 secrets: @@ -46013,9 +46105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *306 - *307 - - *330 + - *308 + - *331 - *20 responses: '200': @@ -46032,7 +46124,7 @@ paths: type: integer variables: type: array - items: &347 + items: &348 title: Actions Variable type: object properties: @@ -46062,7 +46154,7 @@ paths: - created_at - updated_at examples: - default: &348 + default: &349 value: total_count: 2 variables: @@ -46095,8 +46187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -46105,7 +46197,7 @@ paths: schema: type: object properties: - enabled: &331 + enabled: &332 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *42 @@ -46138,8 +46230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -46150,7 +46242,7 @@ paths: schema: type: object properties: - enabled: *331 + enabled: *332 allowed_actions: *42 required: - enabled @@ -46181,14 +46273,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: &332 + schema: &333 type: object properties: access_level: @@ -46206,7 +46298,7 @@ paths: required: - access_level examples: - default: &333 + default: &334 value: access_level: organization x-github: @@ -46231,15 +46323,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 responses: '204': description: Response @@ -46263,8 +46355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -46295,8 +46387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -46328,8 +46420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -46358,8 +46450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Success response @@ -46399,8 +46491,8 @@ paths: in: query schema: type: string - - *306 - *307 + - *308 - *18 - *20 responses: @@ -46444,8 +46536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -46477,8 +46569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -46551,8 +46643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *306 - *307 + - *308 responses: '201': description: Response @@ -46588,8 +46680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *306 - *307 + - *308 responses: '201': description: Response @@ -46619,8 +46711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 responses: '200': @@ -46650,8 +46742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *306 - *307 + - *308 - *54 responses: '204': @@ -46677,8 +46769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 responses: '200': *60 @@ -46703,8 +46795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 requestBody: required: true @@ -46753,8 +46845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 requestBody: required: true @@ -46804,8 +46896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 responses: '200': *149 @@ -46835,8 +46927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *306 - *307 + - *308 - *54 - *150 responses: @@ -46866,9 +46958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *306 - *307 - - &351 + - *308 + - &352 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -46876,7 +46968,7 @@ paths: required: false schema: type: string - - &352 + - &353 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -46884,7 +46976,7 @@ paths: required: false schema: type: string - - &353 + - &354 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -46893,7 +46985,7 @@ paths: required: false schema: type: string - - &354 + - &355 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -46920,7 +47012,7 @@ paths: - pending - *18 - *20 - - &355 + - &356 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -46929,7 +47021,7 @@ paths: schema: type: string format: date-time - - &334 + - &335 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -46938,13 +47030,13 @@ paths: schema: type: boolean default: false - - &356 + - &357 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &357 + - &358 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -46967,7 +47059,7 @@ paths: type: integer workflow_runs: type: array - items: &335 + items: &336 title: Workflow Run description: An invocation of a workflow type: object @@ -47062,7 +47154,7 @@ paths: that triggered the run. type: array nullable: true - items: &376 + items: &377 title: Pull Request Minimal type: object properties: @@ -47181,7 +47273,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &380 + properties: &381 id: type: string description: SHA for the commit @@ -47232,7 +47324,7 @@ paths: - name - email nullable: true - required: &381 + required: &382 - id - tree_id - message @@ -47279,7 +47371,7 @@ paths: - workflow_url - pull_requests examples: - default: &358 + default: &359 value: total_count: 1 workflow_runs: @@ -47515,24 +47607,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *306 - *307 - - &336 + - *308 + - &337 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *334 + - *335 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: &339 + default: &340 value: id: 30433642 name: Build @@ -47773,9 +47865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '204': description: Response @@ -47798,9 +47890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '200': description: Response @@ -47919,9 +48011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '201': description: Response @@ -47954,12 +48046,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *306 - *307 - - *336 + - *308 + - *337 - *18 - *20 - - *337 + - *338 responses: '200': description: Response @@ -47975,9 +48067,9 @@ paths: type: integer artifacts: type: array - items: *323 + items: *324 examples: - default: *338 + default: *339 headers: Link: *39 x-github: @@ -48001,25 +48093,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *306 - *307 - - *336 - - &340 + - *308 + - *337 + - &341 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *334 + - *335 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48042,10 +48134,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *306 - *307 - - *336 - - *340 + - *308 + - *337 + - *341 - *18 - *20 responses: @@ -48063,9 +48155,9 @@ paths: type: integer jobs: type: array - items: *341 + items: *342 examples: - default: &342 + default: &343 value: total_count: 1 jobs: @@ -48178,10 +48270,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *306 - *307 - - *336 - - *340 + - *308 + - *337 + - *341 responses: '302': description: Response @@ -48209,9 +48301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '202': description: Response @@ -48244,9 +48336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 requestBody: required: true content: @@ -48313,9 +48405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '202': description: Response @@ -48348,9 +48440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -48380,9 +48472,9 @@ paths: type: integer jobs: type: array - items: *341 + items: *342 examples: - default: *342 + default: *343 headers: Link: *39 x-github: @@ -48407,9 +48499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '302': description: Response @@ -48436,9 +48528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '204': description: Response @@ -48465,9 +48557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '200': description: Response @@ -48527,7 +48619,7 @@ paths: items: type: object properties: - type: &454 + type: &455 type: string description: The type of reviewer. enum: @@ -48612,9 +48704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 requestBody: required: true content: @@ -48661,7 +48753,7 @@ paths: application/json: schema: type: array - items: &449 + items: &450 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -48767,7 +48859,7 @@ paths: - created_at - updated_at examples: - default: &450 + default: &451 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -48823,9 +48915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *306 - *307 - - *336 + - *308 + - *337 requestBody: required: false content: @@ -48869,9 +48961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *306 - *307 - - *336 + - *308 + - *337 requestBody: required: false content: @@ -48917,9 +49009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *306 - *307 - - *336 + - *308 + - *337 responses: '200': description: Response @@ -49056,8 +49148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -49075,9 +49167,9 @@ paths: type: integer secrets: type: array - items: *343 + items: *344 examples: - default: *344 + default: *345 headers: Link: *39 x-github: @@ -49102,16 +49194,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: *346 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49133,17 +49225,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: &467 + default: &468 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49169,8 +49261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 requestBody: required: true @@ -49225,8 +49317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '204': @@ -49252,9 +49344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *306 - *307 - - *330 + - *308 + - *331 - *20 responses: '200': @@ -49271,9 +49363,9 @@ paths: type: integer variables: type: array - items: *347 + items: *348 examples: - default: *348 + default: *349 headers: Link: *39 x-github: @@ -49296,8 +49388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -49349,17 +49441,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *306 - *307 + - *308 - *155 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: &468 + default: &469 value: name: USERNAME value: octocat @@ -49385,8 +49477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *306 - *307 + - *308 - *155 requestBody: required: true @@ -49429,8 +49521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *306 - *307 + - *308 - *155 responses: '204': @@ -49456,8 +49548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -49475,7 +49567,7 @@ paths: type: integer workflows: type: array - items: &349 + items: &350 title: Workflow description: A GitHub Actions workflow type: object @@ -49582,9 +49674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *306 - *307 - - &350 + - *308 + - &351 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -49599,7 +49691,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: default: value: @@ -49632,9 +49724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *306 - *307 - - *350 + - *308 + - *351 responses: '204': description: Response @@ -49659,9 +49751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *306 - *307 - - *350 + - *308 + - *351 responses: '204': description: Response @@ -49712,9 +49804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *306 - *307 - - *350 + - *308 + - *351 responses: '204': description: Response @@ -49739,19 +49831,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *306 - *307 - - *350 + - *308 - *351 - *352 - *353 - *354 + - *355 - *18 - *20 - - *355 - - *334 - *356 + - *335 - *357 + - *358 responses: '200': description: Response @@ -49767,9 +49859,9 @@ paths: type: integer workflow_runs: type: array - items: *335 + items: *336 examples: - default: *358 + default: *359 headers: Link: *39 x-github: @@ -49795,9 +49887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *306 - *307 - - *350 + - *308 + - *351 responses: '200': description: Response @@ -49858,8 +49950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *306 - *307 + - *308 - *67 - *18 - *65 @@ -50023,8 +50115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -50061,8 +50153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *306 - *307 + - *308 - name: assignee in: path required: true @@ -50098,8 +50190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -50211,8 +50303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *306 - *307 + - *308 - *18 - *65 - *66 @@ -50256,7 +50348,7 @@ paths: repository_id: type: integer examples: - default: *359 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50276,8 +50368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -50285,7 +50377,7 @@ paths: application/json: schema: type: array - items: &360 + items: &361 title: Autolink reference description: An autolink reference. type: object @@ -50335,8 +50427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -50375,9 +50467,9 @@ paths: description: response content: application/json: - schema: *360 + schema: *361 examples: - default: &361 + default: &362 value: id: 1 key_prefix: TICKET- @@ -50408,9 +50500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *306 - *307 - - &362 + - *308 + - &363 name: autolink_id description: The unique identifier of the autolink. in: path @@ -50422,9 +50514,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *361 examples: - default: *361 + default: *362 '404': *7 x-github: githubCloudOnly: false @@ -50444,9 +50536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *306 - *307 - - *362 + - *308 + - *363 responses: '204': description: Response @@ -50470,8 +50562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response if Dependabot is enabled @@ -50519,8 +50611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -50541,8 +50633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -50562,8 +50654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *306 - *307 + - *308 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -50601,7 +50693,7 @@ paths: - url protected: type: boolean - protection: &364 + protection: &365 title: Branch Protection description: Branch Protection type: object @@ -50643,7 +50735,7 @@ paths: required: - contexts - checks - enforce_admins: &367 + enforce_admins: &368 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -50658,7 +50750,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &369 + required_pull_request_reviews: &370 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -50734,7 +50826,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &366 + restrictions: &367 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51041,9 +51133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *306 - *307 - - &365 + - *308 + - &366 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -51057,14 +51149,14 @@ paths: description: Response content: application/json: - schema: &375 + schema: &376 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &422 + commit: &423 title: Commit description: Commit type: object @@ -51098,7 +51190,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &363 + properties: &364 name: type: string example: '"Chris Wanstrath"' @@ -51113,7 +51205,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *363 + properties: *364 nullable: true message: type: string @@ -51134,7 +51226,7 @@ paths: required: - sha - url - verification: &474 + verification: &475 title: Verification type: object properties: @@ -51200,7 +51292,7 @@ paths: type: integer files: type: array - items: &437 + items: &438 title: Diff Entry description: Diff Entry type: object @@ -51283,7 +51375,7 @@ paths: - self protected: type: boolean - protection: *364 + protection: *365 protection_url: type: string format: uri @@ -51389,7 +51481,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *320 + '301': *321 '404': *7 x-github: githubCloudOnly: false @@ -51411,15 +51503,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *364 + schema: *365 examples: default: value: @@ -51613,9 +51705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -51870,7 +51962,7 @@ paths: url: type: string format: uri - required_status_checks: &372 + required_status_checks: &373 title: Status Check Policy description: Status Check Policy type: object @@ -52022,7 +52114,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *366 + restrictions: *367 required_conversation_resolution: type: object properties: @@ -52134,9 +52226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -52161,17 +52253,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &368 + default: &369 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -52193,17 +52285,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *368 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52222,9 +52314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -52249,17 +52341,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: &370 + default: &371 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -52355,9 +52447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -52455,9 +52547,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: *370 + default: *371 '422': *16 x-github: githubCloudOnly: false @@ -52478,9 +52570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -52507,17 +52599,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &371 + default: &372 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -52540,17 +52632,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *371 + default: *372 '404': *7 x-github: githubCloudOnly: false @@ -52570,9 +52662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -52597,17 +52689,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: &373 + default: &374 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -52633,9 +52725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -52687,9 +52779,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 '404': *7 '422': *16 x-github: @@ -52711,9 +52803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -52737,9 +52829,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response @@ -52773,9 +52865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -52842,9 +52934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -52908,9 +53000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: content: application/json: @@ -52976,15 +53068,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response content: application/json: - schema: *366 + schema: *367 examples: default: value: @@ -53075,9 +53167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '204': description: Response @@ -53100,9 +53192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response @@ -53112,7 +53204,7 @@ paths: type: array items: *6 examples: - default: &374 + default: &375 value: - id: 1 slug: octoapp @@ -53169,9 +53261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53205,7 +53297,7 @@ paths: type: array items: *6 examples: - default: *374 + default: *375 '422': *16 x-github: githubCloudOnly: false @@ -53226,9 +53318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53262,7 +53354,7 @@ paths: type: array items: *6 examples: - default: *374 + default: *375 '422': *16 x-github: githubCloudOnly: false @@ -53283,9 +53375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53319,7 +53411,7 @@ paths: type: array items: *6 examples: - default: *374 + default: *375 '422': *16 x-github: githubCloudOnly: false @@ -53341,9 +53433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response @@ -53373,9 +53465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -53434,9 +53526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: false content: @@ -53495,9 +53587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: content: application/json: @@ -53556,9 +53648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *306 - *307 - - *365 + - *308 + - *366 responses: '200': description: Response @@ -53592,9 +53684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53652,9 +53744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53712,9 +53804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53774,9 +53866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *306 - *307 - - *365 + - *308 + - *366 requestBody: required: true content: @@ -53798,7 +53890,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -53913,8 +54005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -54193,7 +54285,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &378 title: CheckRun description: A check performed on the code of a given code change type: object @@ -54312,7 +54404,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *376 + items: *377 deployment: &688 title: Deployment description: A deployment created as the result of an Actions @@ -54593,9 +54685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *306 - *307 - - &378 + - *308 + - &379 name: check_run_id description: The unique identifier of the check run. in: path @@ -54607,9 +54699,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: &379 + default: &380 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -54709,9 +54801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *306 - *307 - - *378 + - *308 + - *379 requestBody: required: true content: @@ -54951,9 +55043,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *379 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54973,9 +55065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *306 - *307 - - *378 + - *308 + - *379 - *18 - *20 responses: @@ -55072,9 +55164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *306 - *307 - - *378 + - *308 + - *379 responses: '201': description: Response @@ -55118,8 +55210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -55141,7 +55233,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &382 + schema: &383 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -55205,7 +55297,7 @@ paths: nullable: true pull_requests: type: array - items: *376 + items: *377 nullable: true app: title: GitHub app @@ -55231,8 +55323,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *380 - required: *381 + properties: *381 + required: *382 latest_check_runs_count: type: integer check_runs_url: @@ -55260,7 +55352,7 @@ paths: - check_runs_url - pull_requests examples: - default: &383 + default: &384 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -55551,9 +55643,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55572,8 +55664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -55882,9 +55974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *306 - *307 - - &384 + - *308 + - &385 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -55896,9 +55988,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55921,17 +56013,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *306 - *307 - - *384 - - &430 + - *308 + - *385 + - &431 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &431 + - &432 name: status description: Returns check runs with the specified `status`. in: query @@ -55970,9 +56062,9 @@ paths: type: integer check_runs: type: array - items: *377 + items: *378 examples: - default: &432 + default: &433 value: total_count: 1 check_runs: @@ -56074,9 +56166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *306 - *307 - - *384 + - *308 + - *385 responses: '201': description: Response @@ -56109,21 +56201,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *306 - *307 + - *308 - *165 - *166 - *20 - *18 - - &396 + - &397 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *385 - - &397 + schema: *386 + - &398 name: pr description: The number of the pull request for the results you want to list. in: query @@ -56154,7 +56246,7 @@ paths: be returned. in: query required: false - schema: *386 + schema: *387 responses: '200': description: Response @@ -56170,7 +56262,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *387 + instances_url: *388 state: *70 fixed_at: *83 dismissed_by: @@ -56181,11 +56273,11 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *388 - dismissed_comment: *389 - rule: *390 - tool: *391 - most_recent_instance: *392 + dismissed_reason: *389 + dismissed_comment: *390 + rule: *391 + tool: *392 + most_recent_instance: *393 required: - number - created_at @@ -56301,7 +56393,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &393 + '403': &394 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -56328,9 +56420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *306 - *307 - - &394 + - *308 + - &395 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -56344,7 +56436,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &396 type: object properties: number: *74 @@ -56352,7 +56444,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *387 + instances_url: *388 state: *70 fixed_at: *83 dismissed_by: @@ -56363,8 +56455,8 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *388 - dismissed_comment: *389 + dismissed_reason: *389 + dismissed_comment: *390 rule: type: object properties: @@ -56418,8 +56510,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *391 - most_recent_instance: *392 + tool: *392 + most_recent_instance: *393 required: - number - created_at @@ -56508,7 +56600,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -56528,9 +56620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *306 - *307 - - *394 + - *308 + - *395 requestBody: required: true content: @@ -56545,8 +56637,8 @@ paths: enum: - open - dismissed - dismissed_reason: *388 - dismissed_comment: *389 + dismissed_reason: *389 + dismissed_comment: *390 required: - state examples: @@ -56561,7 +56653,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: default: value: @@ -56636,7 +56728,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &402 + '403': &403 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -56663,13 +56755,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *306 - *307 - - *394 + - *308 + - *395 - *20 - *18 - - *396 - *397 + - *398 responses: '200': description: Response @@ -56677,7 +56769,7 @@ paths: application/json: schema: type: array - items: *392 + items: *393 examples: default: value: @@ -56716,7 +56808,7 @@ paths: end_column: 50 classifications: - source - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -56750,25 +56842,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *306 - *307 + - *308 - *165 - *166 - *20 - *18 - - *397 + - *398 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *385 + schema: *386 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &400 + schema: &401 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -56789,23 +56881,23 @@ paths: application/json: schema: type: array - items: &401 + items: &402 type: object properties: - ref: *385 - commit_sha: &410 + ref: *386 + commit_sha: &411 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *398 + analysis_key: *399 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *399 + category: *400 error: type: string example: error reading field xyz @@ -56829,8 +56921,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *400 - tool: *391 + sarif_id: *401 + tool: *392 deletable: type: boolean warning: @@ -56891,7 +56983,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -56927,8 +57019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *306 - *307 + - *308 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56941,7 +57033,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: response: summary: application/json response @@ -56995,7 +57087,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -57077,8 +57169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *306 - *307 + - *308 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57131,7 +57223,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *15 - '403': *402 + '403': *403 '404': *7 '503': *85 x-github: @@ -57153,8 +57245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -57162,7 +57254,7 @@ paths: application/json: schema: type: array - items: &403 + items: &404 title: CodeQL Database description: A CodeQL database. type: object @@ -57273,7 +57365,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -57302,8 +57394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *306 - *307 + - *308 - name: language in: path description: The language of the CodeQL database. @@ -57315,7 +57407,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -57347,9 +57439,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &439 + '302': &440 description: Found - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -57371,8 +57463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *306 - *307 + - *308 - name: language in: path description: The language of the CodeQL database. @@ -57382,7 +57474,7 @@ paths: responses: '204': description: Response - '403': *402 + '403': *403 '404': *7 '503': *85 x-github: @@ -57410,8 +57502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -57420,7 +57512,7 @@ paths: type: object additionalProperties: false properties: - language: &404 + language: &405 type: string description: The language targeted by the CodeQL query enum: @@ -57498,7 +57590,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &408 + schema: &409 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -57508,7 +57600,7 @@ paths: description: The ID of the variant analysis. controller_repo: *84 actor: *19 - query_language: *404 + query_language: *405 query_pack_url: type: string description: The download url for the query pack. @@ -57555,7 +57647,7 @@ paths: items: type: object properties: - repository: &405 + repository: &406 title: Repository Identifier description: Repository Identifier type: object @@ -57591,7 +57683,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &409 + analysis_status: &410 type: string description: The new status of the CodeQL variant analysis repository task. @@ -57623,7 +57715,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &406 + access_mismatch_repos: &407 type: object properties: repository_count: @@ -57637,7 +57729,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *405 + items: *406 required: - repository_count - repositories @@ -57659,8 +57751,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *406 - over_limit_repos: *406 + no_codeql_db_repos: *407 + over_limit_repos: *407 required: - access_mismatch_repos - not_found_repos @@ -57676,7 +57768,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &407 + value: &408 summary: Default response value: id: 1 @@ -57828,10 +57920,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *407 + value: *408 repository_lists: summary: Response for a successful variant analysis submission - value: *407 + value: *408 '404': *7 '422': description: Unable to process variant analysis submission @@ -57859,8 +57951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *306 - *307 + - *308 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -57872,9 +57964,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *409 examples: - default: *407 + default: *408 '404': *7 '503': *85 x-github: @@ -57897,7 +57989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *306 + - *307 - name: repo in: path description: The name of the controller repository. @@ -57932,7 +58024,7 @@ paths: type: object properties: repository: *84 - analysis_status: *409 + analysis_status: *410 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -58057,8 +58149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -58119,7 +58211,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *393 + '403': *394 '404': *7 '503': *85 x-github: @@ -58140,8 +58232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -58211,7 +58303,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *402 + '403': *403 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -58276,8 +58368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -58285,7 +58377,7 @@ paths: schema: type: object properties: - commit_sha: *410 + commit_sha: *411 ref: type: string description: |- @@ -58343,7 +58435,7 @@ paths: schema: type: object properties: - id: *400 + id: *401 url: type: string description: The REST API URL for checking the status of the upload. @@ -58357,7 +58449,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *402 + '403': *403 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -58380,8 +58472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *306 - *307 + - *308 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -58427,7 +58519,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *393 + '403': *394 '404': description: Not Found if the sarif id does not match any upload '503': *85 @@ -58452,8 +58544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -58531,8 +58623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *306 - *307 + - *308 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -58652,8 +58744,8 @@ paths: parameters: - *18 - *20 - - *306 - *307 + - *308 responses: '200': description: Response @@ -58967,8 +59059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -59033,7 +59125,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -59041,7 +59133,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '400': *15 '401': *25 '403': *29 @@ -59070,8 +59162,8 @@ paths: parameters: - *18 - *20 - - *306 - *307 + - *308 responses: '200': description: Response @@ -59135,8 +59227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *306 - *307 + - *308 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -59175,8 +59267,8 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *412 - required: *413 + properties: *413 + required: *414 examples: default: &645 value: @@ -59218,8 +59310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *306 - *307 + - *308 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -59303,8 +59395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *306 - *307 + - *308 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -59370,8 +59462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -59389,7 +59481,7 @@ paths: type: integer secrets: type: array - items: &417 + items: &418 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -59409,7 +59501,7 @@ paths: - created_at - updated_at examples: - default: *414 + default: *415 headers: Link: *39 x-github: @@ -59432,16 +59524,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *416 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -59461,17 +59553,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '200': description: Response content: application/json: - schema: *417 + schema: *418 examples: - default: *418 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59491,8 +59583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 requestBody: required: true @@ -59545,8 +59637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '204': @@ -59575,8 +59667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *306 - *307 + - *308 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -59618,7 +59710,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &419 + properties: &420 login: type: string example: octocat @@ -59711,7 +59803,7 @@ paths: user_view_type: type: string example: public - required: &420 + required: &421 - avatar_url - events_url - followers_url @@ -59785,8 +59877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *306 - *307 + - *308 - *164 responses: '204': @@ -59829,8 +59921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *306 - *307 + - *308 - *164 requestBody: required: false @@ -59857,7 +59949,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &487 + schema: &488 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -60079,8 +60171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *306 - *307 + - *308 - *164 responses: '204': @@ -60110,8 +60202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *306 - *307 + - *308 - *164 responses: '200': @@ -60132,8 +60224,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *419 - required: *420 + properties: *420 + required: *421 nullable: true required: - permission @@ -60188,8 +60280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -60199,7 +60291,7 @@ paths: application/json: schema: type: array - items: &421 + items: &422 title: Commit Comment description: Commit Comment type: object @@ -60257,7 +60349,7 @@ paths: - created_at - updated_at examples: - default: &424 + default: &425 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60316,17 +60408,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *306 - *307 + - *308 - *106 responses: '200': description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: &425 + default: &426 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60383,8 +60475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -60407,7 +60499,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: default: value: @@ -60458,8 +60550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *306 - *307 + - *308 - *106 responses: '204': @@ -60481,8 +60573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *306 - *307 + - *308 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -60509,9 +60601,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 '404': *7 @@ -60532,8 +60624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -60566,16 +60658,16 @@ paths: description: Reaction exists content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Reaction created content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '422': *16 x-github: githubCloudOnly: false @@ -60597,10 +60689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *306 - *307 + - *308 - *106 - - *298 + - *299 responses: '204': description: Response @@ -60648,8 +60740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *306 - *307 + - *308 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -60705,7 +60797,7 @@ paths: application/json: schema: type: array - items: *422 + items: *423 examples: default: &538 value: @@ -60800,9 +60892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *306 - *307 - - &423 + - *308 + - &424 name: commit_sha description: The SHA of the commit. in: path @@ -60874,9 +60966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *306 - *307 - - *423 + - *308 + - *424 - *18 - *20 responses: @@ -60886,9 +60978,9 @@ paths: application/json: schema: type: array - items: *421 + items: *422 examples: - default: *424 + default: *425 headers: Link: *39 x-github: @@ -60916,9 +61008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *306 - *307 - - *423 + - *308 + - *424 requestBody: required: true content: @@ -60953,9 +61045,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: *425 + default: *426 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60983,9 +61075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *306 - *307 - - *423 + - *308 + - *424 - *18 - *20 responses: @@ -60995,7 +61087,7 @@ paths: application/json: schema: type: array - items: &528 + items: &529 title: Pull Request Simple description: Pull Request Simple type: object @@ -61101,8 +61193,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *426 - required: *427 + properties: *427 + required: *428 nullable: true active_lock_reason: type: string @@ -61198,7 +61290,7 @@ paths: _links: type: object properties: - comments: &428 + comments: &429 title: Link description: Hypermedia Link type: object @@ -61207,13 +61299,13 @@ paths: type: string required: - href - commits: *428 - statuses: *428 - html: *428 - issue: *428 - review_comments: *428 - review_comment: *428 - self: *428 + commits: *429 + statuses: *429 + html: *429 + issue: *429 + review_comments: *429 + review_comment: *429 + self: *429 required: - comments - commits @@ -61287,7 +61379,7 @@ paths: - author_association - auto_merge examples: - default: &529 + default: &530 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -61823,11 +61915,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *306 - *307 + - *308 - *20 - *18 - - &429 + - &430 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -61842,9 +61934,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *423 examples: - default: &515 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61956,11 +62048,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *306 - *307 - - *429 + - *308 - *430 - *431 + - *432 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -61994,9 +62086,9 @@ paths: type: integer check_runs: type: array - items: *377 + items: *378 examples: - default: *432 + default: *433 headers: Link: *39 x-github: @@ -62021,9 +62113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *306 - *307 - - *429 + - *308 + - *430 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -62031,7 +62123,7 @@ paths: schema: type: integer example: 1 - - *430 + - *431 - *18 - *20 responses: @@ -62049,7 +62141,7 @@ paths: type: integer check_suites: type: array - items: *382 + items: *383 examples: default: value: @@ -62249,9 +62341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *306 - *307 - - *429 + - *308 + - *430 - *18 - *20 responses: @@ -62449,9 +62541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *306 - *307 - - *429 + - *308 + - *430 - *18 - *20 responses: @@ -62542,7 +62634,7 @@ paths: site_admin: false headers: Link: *39 - '301': *320 + '301': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62570,8 +62662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -62600,20 +62692,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *433 - required: *434 + properties: *434 + required: *435 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &435 + properties: &436 url: type: string format: uri html_url: type: string format: uri - required: &436 + required: &437 - url - html_url nullable: true @@ -62627,26 +62719,26 @@ paths: contributing: title: Community Health File type: object - properties: *435 - required: *436 + properties: *436 + required: *437 nullable: true readme: title: Community Health File type: object - properties: *435 - required: *436 + properties: *436 + required: *437 nullable: true issue_template: title: Community Health File type: object - properties: *435 - required: *436 + properties: *436 + required: *437 nullable: true pull_request_template: title: Community Health File type: object - properties: *435 - required: *436 + properties: *436 + required: *437 nullable: true required: - code_of_conduct @@ -62772,8 +62864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *306 - *307 + - *308 - *20 - *18 - name: basehead @@ -62816,8 +62908,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *422 - merge_base_commit: *422 + base_commit: *423 + merge_base_commit: *423 status: type: string enum: @@ -62837,10 +62929,10 @@ paths: example: 6 commits: type: array - items: *422 + items: *423 files: type: array - items: *437 + items: *438 required: - url - html_url @@ -63123,8 +63215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *306 - *307 + - *308 - name: path description: path parameter in: path @@ -63265,7 +63357,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &438 + response-if-content-is-a-file: &439 summary: Response if content is a file value: type: file @@ -63598,7 +63690,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *438 + response-if-content-is-a-file: *439 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -63667,7 +63759,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *439 + '302': *440 '304': *37 x-github: githubCloudOnly: false @@ -63690,8 +63782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *306 - *307 + - *308 - name: path description: path parameter in: path @@ -63784,7 +63876,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &441 title: File Commit description: File Commit type: object @@ -63932,7 +64024,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: example-for-creating-a-file: value: @@ -63985,7 +64077,7 @@ paths: schema: oneOf: - *3 - - &469 + - &470 description: Repository rule violation was detected type: object properties: @@ -64038,8 +64130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *306 - *307 + - *308 - name: path description: path parameter in: path @@ -64100,7 +64192,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -64154,8 +64246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *306 - *307 + - *308 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -64278,8 +64370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *306 - *307 + - *308 - *183 - *184 - *185 @@ -64320,7 +64412,7 @@ paths: application/json: schema: type: array - items: &443 + items: &444 type: object description: A Dependabot alert. properties: @@ -64353,7 +64445,7 @@ paths: enum: - development - runtime - security_advisory: *441 + security_advisory: *442 security_vulnerability: *77 url: *78 html_url: *79 @@ -64384,7 +64476,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: *442 + auto_dismissed_at: *443 required: - number - state @@ -64611,9 +64703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *306 - *307 - - &444 + - *308 + - &445 name: alert_number in: path description: |- @@ -64628,7 +64720,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -64738,9 +64830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *306 - *307 - - *444 + - *308 + - *445 requestBody: required: true content: @@ -64785,7 +64877,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -64914,8 +65006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -64933,7 +65025,7 @@ paths: type: integer secrets: type: array - items: &447 + items: &448 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -64986,16 +65078,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *445 + schema: *446 examples: - default: *446 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65015,15 +65107,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '200': description: Response content: application/json: - schema: *447 + schema: *448 examples: default: value: @@ -65049,8 +65141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 requestBody: required: true @@ -65103,8 +65195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *306 - *307 + - *308 - *152 responses: '204': @@ -65127,8 +65219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *306 - *307 + - *308 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -65288,8 +65380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -65528,8 +65620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -65604,7 +65696,7 @@ paths: - version - url additionalProperties: false - metadata: &448 + metadata: &449 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -65637,7 +65729,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *448 + metadata: *449 resolved: type: object description: A collection of resolved package dependencies. @@ -65650,7 +65742,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *448 + metadata: *449 relationship: type: string description: A notation of whether a dependency is requested @@ -65779,8 +65871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *306 - *307 + - *308 - name: sha description: The SHA recorded at creation time. in: query @@ -65820,9 +65912,9 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: - default: *450 + default: *451 headers: Link: *39 x-github: @@ -65888,8 +65980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -65970,7 +66062,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: simple-example: summary: Simple example @@ -66043,9 +66135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *306 - *307 - - &451 + - *308 + - &452 name: deployment_id description: deployment_id parameter in: path @@ -66057,7 +66149,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: default: value: @@ -66122,9 +66214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *306 - *307 - - *451 + - *308 + - *452 responses: '204': description: Response @@ -66146,9 +66238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *306 - *307 - - *451 + - *308 + - *452 - *18 - *20 responses: @@ -66158,7 +66250,7 @@ paths: application/json: schema: type: array - items: &452 + items: &453 title: Deployment Status description: The status of a deployment. type: object @@ -66319,9 +66411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *306 - *307 - - *451 + - *308 + - *452 requestBody: required: true content: @@ -66396,9 +66488,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: &453 + default: &454 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -66454,9 +66546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *306 - *307 - - *451 + - *308 + - *452 - name: status_id in: path required: true @@ -66467,9 +66559,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: - default: *453 + default: *454 '404': *7 x-github: githubCloudOnly: false @@ -66494,8 +66586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -66552,8 +66644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -66570,7 +66662,7 @@ paths: type: integer environments: type: array - items: &455 + items: &456 title: Environment description: Details of a deployment environment type: object @@ -66622,7 +66714,7 @@ paths: type: type: string example: wait_timer - wait_timer: &457 + wait_timer: &458 type: integer example: 30 description: The amount of time to delay a job after @@ -66659,7 +66751,7 @@ paths: items: type: object properties: - type: *454 + type: *455 reviewer: anyOf: - *19 @@ -66683,7 +66775,7 @@ paths: - id - node_id - type - deployment_branch_policy: &458 + deployment_branch_policy: &459 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -66799,9 +66891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *306 - *307 - - &456 + - *308 + - &457 name: environment_name in: path required: true @@ -66814,9 +66906,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &459 + default: &460 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -66900,9 +66992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *306 - *307 - - *456 + - *308 + - *457 requestBody: required: false content: @@ -66911,7 +67003,7 @@ paths: type: object nullable: true properties: - wait_timer: *457 + wait_timer: *458 prevent_self_review: type: boolean example: false @@ -66928,13 +67020,13 @@ paths: items: type: object properties: - type: *454 + type: *455 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *458 + deployment_branch_policy: *459 additionalProperties: false examples: default: @@ -66954,9 +67046,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *459 + default: *460 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -66980,9 +67072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *306 - *307 - - *456 + - *308 + - *457 responses: '204': description: Default response @@ -67007,9 +67099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *18 - *20 responses: @@ -67027,7 +67119,7 @@ paths: example: 2 branch_policies: type: array - items: &460 + items: &461 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67084,9 +67176,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *306 - *307 - - *456 + - *308 + - *457 requestBody: required: true content: @@ -67132,9 +67224,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - example-wildcard: &461 + example-wildcard: &462 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67176,10 +67268,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *306 - *307 - - *456 - - &462 + - *308 + - *457 + - &463 name: branch_policy_id in: path required: true @@ -67191,9 +67283,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67212,10 +67304,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *306 - *307 - - *456 - - *462 + - *308 + - *457 + - *463 requestBody: required: true content: @@ -67243,9 +67335,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67264,10 +67356,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *306 - *307 - - *456 - - *462 + - *308 + - *457 + - *463 responses: '204': description: Response @@ -67292,9 +67384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *456 + - *457 + - *308 - *307 - - *306 responses: '200': description: List of deployment protection rules @@ -67310,7 +67402,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &463 + items: &464 title: Deployment protection rule description: Deployment protection rule type: object @@ -67329,7 +67421,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &464 + app: &465 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -67428,9 +67520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *456 + - *457 + - *308 - *307 - - *306 requestBody: content: application/json: @@ -67451,9 +67543,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *463 + schema: *464 examples: - default: &465 + default: &466 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -67488,9 +67580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *456 + - *457 + - *308 - *307 - - *306 - *20 - *18 responses: @@ -67509,7 +67601,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *464 + items: *465 examples: default: value: @@ -67544,10 +67636,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *306 - *307 - - *456 - - &466 + - *308 + - *457 + - &467 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -67559,9 +67651,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *465 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67582,10 +67674,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *456 + - *457 + - *308 - *307 - - *306 - - *466 + - *467 responses: '204': description: Response @@ -67611,9 +67703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *18 - *20 responses: @@ -67631,9 +67723,9 @@ paths: type: integer secrets: type: array - items: *343 + items: *344 examples: - default: *344 + default: *345 headers: Link: *39 x-github: @@ -67658,17 +67750,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *306 - *307 - - *456 + - *308 + - *457 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: *346 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67690,18 +67782,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *152 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: - default: *467 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67723,9 +67815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *152 requestBody: required: true @@ -67783,9 +67875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *152 responses: '204': @@ -67811,10 +67903,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *306 - *307 - - *456 - - *330 + - *308 + - *457 + - *331 - *20 responses: '200': @@ -67831,9 +67923,9 @@ paths: type: integer variables: type: array - items: *347 + items: *348 examples: - default: *348 + default: *349 headers: Link: *39 x-github: @@ -67856,9 +67948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *306 - *307 - - *456 + - *308 + - *457 requestBody: required: true content: @@ -67910,18 +68002,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *306 - *307 - - *456 + - *308 + - *457 - *155 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: *468 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67942,10 +68034,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *306 - *307 + - *308 - *155 - - *456 + - *457 requestBody: required: true content: @@ -67987,10 +68079,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *306 - *307 + - *308 - *155 - - *456 + - *457 responses: '204': description: Response @@ -68012,8 +68104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -68090,8 +68182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *306 - *307 + - *308 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -68250,8 +68342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -68283,9 +68375,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *321 + default: *322 '400': *15 '422': *16 '403': *29 @@ -68306,8 +68398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -68367,7 +68459,7 @@ paths: schema: oneOf: - *127 - - *469 + - *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68392,8 +68484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *306 - *307 + - *308 - name: file_sha in: path required: true @@ -68491,8 +68583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -68601,7 +68693,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &471 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -68809,15 +68901,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *306 - *307 - - *423 + - *308 + - *424 responses: '200': description: Response content: application/json: - schema: *470 + schema: *471 examples: default: value: @@ -68872,9 +68964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *306 - *307 - - &471 + - *308 + - &472 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -68891,7 +68983,7 @@ paths: application/json: schema: type: array - items: &472 + items: &473 title: Git Reference description: Git references within a repository type: object @@ -68966,17 +69058,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *306 - *307 - - *471 + - *308 + - *472 responses: '200': description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: &473 + default: &474 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69005,8 +69097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -69035,9 +69127,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -69063,9 +69155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *306 - *307 - - *471 + - *308 + - *472 requestBody: required: true content: @@ -69094,9 +69186,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 '422': *16 '409': *129 x-github: @@ -69114,9 +69206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *306 - *307 - - *471 + - *308 + - *472 responses: '204': description: Response @@ -69168,8 +69260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -69236,7 +69328,7 @@ paths: description: Response content: application/json: - schema: &475 + schema: &476 title: Git Tag description: Metadata for a Git tag type: object @@ -69287,7 +69379,7 @@ paths: - sha - type - url - verification: *474 + verification: *475 required: - sha - url @@ -69297,7 +69389,7 @@ paths: - tag - message examples: - default: &476 + default: &477 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -69368,8 +69460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *306 - *307 + - *308 - name: tag_sha in: path required: true @@ -69380,9 +69472,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 '404': *7 '409': *129 x-github: @@ -69406,8 +69498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -69480,7 +69572,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &478 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -69592,8 +69684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *306 - *307 + - *308 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -69616,7 +69708,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: default-response: summary: Default response @@ -69675,8 +69767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -69686,7 +69778,7 @@ paths: application/json: schema: type: array - items: &478 + items: &479 title: Webhook description: Webhooks for repositories. type: object @@ -69814,8 +69906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -69867,9 +69959,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: &479 + default: &480 value: type: Repository id: 12345678 @@ -69917,17 +70009,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 responses: '200': description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *479 + default: *480 '404': *7 x-github: githubCloudOnly: false @@ -69947,8 +70039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 requestBody: required: true @@ -69994,9 +70086,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *479 + default: *480 '422': *16 '404': *7 x-github: @@ -70014,8 +70106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 responses: '204': @@ -70040,8 +70132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *306 - *307 + - *308 - *198 responses: '200': @@ -70069,8 +70161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *306 - *307 + - *308 - *198 requestBody: required: false @@ -70115,8 +70207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 - *18 - *199 @@ -70148,8 +70240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 - *17 responses: @@ -70178,8 +70270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 - *17 responses: @@ -70203,8 +70295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *306 - *307 + - *308 - *198 responses: '204': @@ -70230,8 +70322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *306 - *307 + - *308 - *198 responses: '204': @@ -70290,14 +70382,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: &480 + schema: &481 title: Import description: A repository import from an external source. type: object @@ -70396,7 +70488,7 @@ paths: - html_url - authors_url examples: - default: &483 + default: &484 value: vcs: subversion use_lfs: true @@ -70412,7 +70504,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &481 + '503': &482 description: Unavailable due to service under maintenance. content: application/json: @@ -70441,8 +70533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -70490,7 +70582,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: default: value: @@ -70515,7 +70607,7 @@ paths: type: string '422': *16 '404': *7 - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70543,8 +70635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -70593,7 +70685,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: example-1: summary: Example 1 @@ -70641,7 +70733,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70664,12 +70756,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *306 - *307 + - *308 responses: '204': description: Response - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70695,8 +70787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *306 - *307 + - *308 - &668 name: since description: A user ID. Only return users with an ID greater than this ID. @@ -70711,7 +70803,7 @@ paths: application/json: schema: type: array - items: &482 + items: &483 title: Porter Author description: Porter Author type: object @@ -70765,7 +70857,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70790,8 +70882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *306 - *307 + - *308 - name: author_id in: path required: true @@ -70821,7 +70913,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: default: value: @@ -70834,7 +70926,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70858,8 +70950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -70900,7 +70992,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70928,8 +71020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -70956,11 +71048,11 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *483 + default: *484 '422': *16 - '503': *481 + '503': *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70983,8 +71075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -70992,8 +71084,8 @@ paths: application/json: schema: *22 examples: - default: *484 - '301': *320 + default: *485 + '301': *321 '404': *7 x-github: githubCloudOnly: false @@ -71013,8 +71105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -71027,7 +71119,7 @@ paths: properties: {} additionalProperties: false examples: - default: &486 + default: &487 value: limit: collaborators_only origin: repository @@ -71052,13 +71144,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: application/json: - schema: *485 + schema: *486 examples: default: summary: Example request body @@ -71072,7 +71164,7 @@ paths: application/json: schema: *216 examples: - default: *486 + default: *487 '409': description: Response x-github: @@ -71094,8 +71186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -71118,8 +71210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -71129,7 +71221,7 @@ paths: application/json: schema: type: array - items: *487 + items: *488 examples: default: &661 value: @@ -71262,8 +71354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *306 - *307 + - *308 - *220 requestBody: required: false @@ -71293,7 +71385,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -71424,8 +71516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *306 - *307 + - *308 - *220 responses: '204': @@ -71457,8 +71549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *306 - *307 + - *308 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -71671,7 +71763,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *320 + '301': *321 '422': *16 '404': *7 x-github: @@ -71700,8 +71792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -71778,7 +71870,7 @@ paths: application/json: schema: *107 examples: - default: &493 + default: &494 value: id: 1 node_id: MDU6SXNzdWUx @@ -71934,7 +72026,7 @@ paths: '422': *16 '503': *85 '404': *7 - '410': *317 + '410': *318 x-github: triggersNotification: true githubCloudOnly: false @@ -71962,8 +72054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *306 - *307 + - *308 - *117 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -71984,9 +72076,9 @@ paths: application/json: schema: type: array - items: *488 + items: *489 examples: - default: &495 + default: &496 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72044,17 +72136,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *306 - *307 + - *308 - *106 responses: '200': description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: &489 + default: &490 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72108,8 +72200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -72132,9 +72224,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *489 + default: *490 '422': *16 x-github: githubCloudOnly: false @@ -72152,8 +72244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *306 - *307 + - *308 - *106 responses: '204': @@ -72174,8 +72266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *306 - *307 + - *308 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -72202,9 +72294,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 '404': *7 @@ -72225,8 +72317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -72259,16 +72351,16 @@ paths: description: Reaction exists content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Reaction created content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '422': *16 x-github: githubCloudOnly: false @@ -72290,10 +72382,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *306 - *307 + - *308 - *106 - - *298 + - *299 responses: '204': description: Response @@ -72313,8 +72405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -72324,7 +72416,7 @@ paths: application/json: schema: type: array - items: &492 + items: &493 title: Issue Event description: Issue Event type: object @@ -72367,8 +72459,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *490 - required: *491 + properties: *491 + required: *492 nullable: true label: title: Issue Event Label @@ -72675,8 +72767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *306 - *307 + - *308 - name: event_id in: path required: true @@ -72687,7 +72779,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -72880,7 +72972,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *317 + '410': *318 '403': *29 x-github: githubCloudOnly: false @@ -72914,9 +73006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *306 - *307 - - &494 + - *308 + - &495 name: issue_number description: The number that identifies the issue. in: path @@ -72930,10 +73022,10 @@ paths: application/json: schema: *107 examples: - default: *493 - '301': *320 + default: *494 + '301': *321 '404': *7 - '410': *317 + '410': *318 '304': *37 x-github: githubCloudOnly: false @@ -72958,9 +73050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: false content: @@ -73057,13 +73149,13 @@ paths: application/json: schema: *107 examples: - default: *493 + default: *494 '422': *16 '503': *85 '403': *29 - '301': *320 + '301': *321 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73081,9 +73173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: false content: @@ -73111,7 +73203,7 @@ paths: application/json: schema: *107 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73127,9 +73219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: content: application/json: @@ -73156,7 +73248,7 @@ paths: application/json: schema: *107 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73178,9 +73270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 - name: assignee in: path required: true @@ -73220,9 +73312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *306 - *307 - - *494 + - *308 + - *495 - *97 - *18 - *20 @@ -73233,13 +73325,13 @@ paths: application/json: schema: type: array - items: *488 + items: *489 examples: - default: *495 + default: *496 headers: Link: *39 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73268,9 +73360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: true content: @@ -73292,16 +73384,16 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *489 + default: *490 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *317 + '410': *318 '422': *16 '404': *7 x-github: @@ -73321,9 +73413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *306 - *307 - - *494 + - *308 + - *495 - *18 - *20 responses: @@ -73337,7 +73429,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &498 + - &499 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -73391,7 +73483,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &500 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -73527,7 +73619,7 @@ paths: - performed_via_github_app - assignee - assigner - - &500 + - &501 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -73578,7 +73670,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &502 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -73629,7 +73721,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &502 + - &503 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -73683,7 +73775,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &503 + - &504 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -73730,7 +73822,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &504 + - &505 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -73777,7 +73869,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &505 + - &506 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -73837,7 +73929,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &506 + - &507 title: Locked Issue Event description: Locked Issue Event type: object @@ -73885,7 +73977,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &507 + - &508 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -73951,7 +74043,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &508 + - &509 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74017,7 +74109,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &509 + - &510 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74083,7 +74175,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &510 + - &511 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -74174,7 +74266,7 @@ paths: color: red headers: Link: *39 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74191,9 +74283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 - *18 - *20 responses: @@ -74203,7 +74295,7 @@ paths: application/json: schema: type: array - items: &496 + items: &497 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74250,7 +74342,7 @@ paths: - color - default examples: - default: &497 + default: &498 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74268,9 +74360,9 @@ paths: default: false headers: Link: *39 - '301': *320 + '301': *321 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74287,9 +74379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: false content: @@ -74348,12 +74440,12 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: - default: *497 - '301': *320 + default: *498 + '301': *321 '404': *7 - '410': *317 + '410': *318 '422': *16 x-github: githubCloudOnly: false @@ -74370,9 +74462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: false content: @@ -74432,12 +74524,12 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: - default: *497 - '301': *320 + default: *498 + '301': *321 '404': *7 - '410': *317 + '410': *318 '422': *16 x-github: githubCloudOnly: false @@ -74454,15 +74546,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 responses: '204': description: Response - '301': *320 + '301': *321 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74481,9 +74573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 - name: name in: path required: true @@ -74496,7 +74588,7 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: default: value: @@ -74507,9 +74599,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *320 + '301': *321 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74529,9 +74621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: false content: @@ -74559,7 +74651,7 @@ paths: '204': description: Response '403': *29 - '410': *317 + '410': *318 '404': *7 '422': *16 x-github: @@ -74577,9 +74669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 responses: '204': description: Response @@ -74601,9 +74693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -74629,13 +74721,13 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74653,9 +74745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 requestBody: required: true content: @@ -74687,16 +74779,16 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '422': *16 x-github: githubCloudOnly: false @@ -74718,10 +74810,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *306 - *307 - - *494 - - *298 + - *308 + - *495 + - *299 responses: '204': description: Response @@ -74741,9 +74833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *306 - *307 - - *494 + - *308 + - *495 - *18 - *20 responses: @@ -74758,7 +74850,6 @@ paths: description: Timeline Event type: object anyOf: - - *498 - *499 - *500 - *501 @@ -74771,6 +74862,7 @@ paths: - *508 - *509 - *510 + - *511 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75280,7 +75372,7 @@ paths: type: string comments: type: array - items: *421 + items: *422 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -75569,7 +75661,7 @@ paths: headers: Link: *39 '404': *7 - '410': *317 + '410': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75586,8 +75678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -75597,7 +75689,7 @@ paths: application/json: schema: type: array - items: &511 + items: &512 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75662,8 +75754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -75699,9 +75791,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &512 + default: &513 value: id: 1 key: ssh-rsa AAA... @@ -75735,9 +75827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *306 - *307 - - &513 + - *308 + - &514 name: key_id description: The unique identifier of the key. in: path @@ -75749,9 +75841,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '404': *7 x-github: githubCloudOnly: false @@ -75769,9 +75861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *306 - *307 - - *513 + - *308 + - *514 responses: '204': description: Response @@ -75791,8 +75883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -75802,9 +75894,9 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: - default: *497 + default: *498 headers: Link: *39 '404': *7 @@ -75825,8 +75917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -75862,9 +75954,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: &514 + default: &515 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75896,8 +75988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *306 - *307 + - *308 - name: name in: path required: true @@ -75908,9 +76000,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *514 + default: *515 '404': *7 x-github: githubCloudOnly: false @@ -75927,8 +76019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *306 - *307 + - *308 - name: name in: path required: true @@ -75967,7 +76059,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -75993,8 +76085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *306 - *307 + - *308 - name: name in: path required: true @@ -76020,8 +76112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -76057,8 +76149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *306 - *307 + - *308 responses: '202': *130 '403': @@ -76086,8 +76178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -76113,9 +76205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *306 - *307 - - *396 + - *308 + - *397 responses: '200': description: Response @@ -76260,8 +76352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -76326,8 +76418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -76361,9 +76453,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *422 + schema: *423 examples: - default: *515 + default: *516 '204': description: Response when already merged '404': @@ -76388,8 +76480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *306 - *307 + - *308 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -76430,12 +76522,12 @@ paths: application/json: schema: type: array - items: &516 + items: &517 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *426 - required: *427 + properties: *427 + required: *428 examples: default: value: @@ -76491,8 +76583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -76532,9 +76624,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: &517 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76593,9 +76685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *306 - *307 - - &518 + - *308 + - &519 name: milestone_number description: The number that identifies the milestone. in: path @@ -76607,9 +76699,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '404': *7 x-github: githubCloudOnly: false @@ -76626,9 +76718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *306 - *307 - - *518 + - *308 + - *519 requestBody: required: false content: @@ -76666,9 +76758,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76684,9 +76776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *306 - *307 - - *518 + - *308 + - *519 responses: '204': description: Response @@ -76707,9 +76799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *306 - *307 - - *518 + - *308 + - *519 - *18 - *20 responses: @@ -76719,9 +76811,9 @@ paths: application/json: schema: type: array - items: *496 + items: *497 examples: - default: *497 + default: *498 headers: Link: *39 x-github: @@ -76740,12 +76832,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *306 - *307 - - *519 + - *308 - *520 - - *97 - *521 + - *97 + - *522 - *18 - *20 responses: @@ -76757,7 +76849,7 @@ paths: type: array items: *120 examples: - default: *522 + default: *523 headers: Link: *39 x-github: @@ -76781,8 +76873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -76840,14 +76932,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: &523 + schema: &524 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -76972,7 +77064,7 @@ paths: - custom_404 - public examples: - default: &524 + default: &525 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77013,8 +77105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -77068,9 +77160,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: - default: *524 + default: *525 '422': *16 '409': *129 x-github: @@ -77093,8 +77185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -77201,8 +77293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -77228,8 +77320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -77239,7 +77331,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 title: Page Build description: Page Build type: object @@ -77333,8 +77425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *306 - *307 + - *308 responses: '201': description: Response @@ -77379,16 +77471,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *306 - *307 + - *308 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &526 + default: &527 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -77436,8 +77528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *306 - *307 + - *308 - name: build_id in: path required: true @@ -77448,9 +77540,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77470,8 +77562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -77577,9 +77669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *306 - *307 - - &527 + - *308 + - &528 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77637,9 +77729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *306 - *307 - - *527 + - *308 + - *528 responses: '204': *173 '404': *7 @@ -77666,8 +77758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -77925,8 +78017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Private vulnerability reporting status @@ -77963,8 +78055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': *173 '422': *15 @@ -77985,8 +78077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': *173 '422': *15 @@ -78009,8 +78101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *306 - *307 + - *308 - name: state description: Indicates the state of the projects to return. in: query @@ -78071,7 +78163,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *317 + '410': *318 '422': *8 x-github: githubCloudOnly: false @@ -78091,8 +78183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -78120,11 +78212,11 @@ paths: application/json: schema: *250 examples: - default: *316 + default: *317 '401': *25 '403': *29 '404': *7 - '410': *317 + '410': *318 '422': *8 x-github: githubCloudOnly: false @@ -78144,8 +78236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -78184,8 +78276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -78247,8 +78339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *306 - *307 + - *308 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -78308,9 +78400,9 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: - default: *529 + default: *530 headers: Link: *39 '304': *37 @@ -78342,8 +78434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -78519,8 +78611,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *426 - required: *427 + properties: *427 + required: *428 nullable: true active_lock_reason: type: string @@ -78565,7 +78657,7 @@ paths: nullable: true requested_teams: type: array - items: *530 + items: *279 nullable: true head: type: object @@ -78604,14 +78696,14 @@ paths: _links: type: object properties: - comments: *428 - commits: *428 - statuses: *428 - html: *428 - issue: *428 - review_comments: *428 - review_comment: *428 - self: *428 + comments: *429 + commits: *429 + statuses: *429 + html: *429 + issue: *429 + review_comments: *429 + review_comment: *429 + self: *429 required: - comments - commits @@ -79241,8 +79333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *306 - *307 + - *308 - name: sort in: query required: false @@ -79350,8 +79442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *306 - *307 + - *308 - *106 responses: '200': @@ -79435,8 +79527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -79477,8 +79569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *306 - *307 + - *308 - *106 responses: '204': @@ -79500,8 +79592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *306 - *307 + - *308 - *106 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -79528,9 +79620,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 '404': *7 @@ -79551,8 +79643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *306 - *307 + - *308 - *106 requestBody: required: true @@ -79585,16 +79677,16 @@ paths: description: Reaction exists content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Reaction created content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '422': *16 x-github: githubCloudOnly: false @@ -79616,10 +79708,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *306 - *307 + - *308 - *106 - - *298 + - *299 responses: '204': description: Response @@ -79662,8 +79754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *306 - *307 + - *308 - &536 name: pull_number description: The number that identifies the pull request. @@ -79714,8 +79806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: false @@ -79782,8 +79874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: true @@ -79846,7 +79938,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -79854,7 +79946,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '401': *25 '403': *29 '404': *7 @@ -79884,8 +79976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *117 - name: direction @@ -79942,8 +80034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: true @@ -80137,8 +80229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *306 - *307 + - *308 - *536 - *106 requestBody: @@ -80248,8 +80340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *18 - *20 @@ -80260,7 +80352,7 @@ paths: application/json: schema: type: array - items: *422 + items: *423 examples: default: *538 headers: @@ -80292,8 +80384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *306 - *307 + - *308 - *536 - *18 - *20 @@ -80304,7 +80396,7 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: default: value: @@ -80342,8 +80434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *306 - *307 + - *308 - *536 responses: '204': @@ -80367,8 +80459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: false @@ -80480,8 +80572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 responses: '200': @@ -80557,8 +80649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: false @@ -80596,7 +80688,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: default: value: @@ -81132,8 +81224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: true @@ -81168,7 +81260,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: default: value: @@ -81673,8 +81765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *18 - *20 @@ -81836,8 +81928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 requestBody: required: false @@ -81989,8 +82081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - &540 name: review_id @@ -82065,8 +82157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *540 requestBody: @@ -82153,8 +82245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *540 responses: @@ -82191,8 +82283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *306 - *307 + - *308 - *536 - *540 - *18 @@ -82277,9 +82369,9 @@ paths: _links: type: object properties: - self: *428 - html: *428 - pull_request: *428 + self: *429 + html: *429 + pull_request: *429 required: - self - html @@ -82422,8 +82514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *540 requestBody: @@ -82516,8 +82608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *306 - *307 + - *308 - *536 - *540 requestBody: @@ -82578,8 +82670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *306 - *307 + - *308 - *536 requestBody: required: false @@ -82643,8 +82735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *306 - *307 + - *308 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -82701,8 +82793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *306 - *307 + - *308 - name: dir description: The alternate path to look for a README file in: path @@ -82746,8 +82838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -83001,8 +83093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -83181,8 +83273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *306 - *307 + - *308 - &547 name: asset_id description: The unique identifier of the asset. @@ -83231,7 +83323,7 @@ paths: type: User site_admin: false '404': *7 - '302': *439 + '302': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83247,8 +83339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *306 - *307 + - *308 - *547 requestBody: required: false @@ -83295,8 +83387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *306 - *307 + - *308 - *547 responses: '204': @@ -83321,8 +83413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -83407,8 +83499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -83433,8 +83525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *306 - *307 + - *308 - name: tag description: tag parameter in: path @@ -83471,8 +83563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *306 - *307 + - *308 - &550 name: release_id description: The unique identifier of the release. @@ -83507,8 +83599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *306 - *307 + - *308 - *550 requestBody: required: false @@ -83596,8 +83688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *306 - *307 + - *308 - *550 responses: '204': @@ -83618,8 +83710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *306 - *307 + - *308 - *550 - *18 - *20 @@ -83711,8 +83803,8 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *306 - *307 + - *308 - *550 - name: name in: query @@ -83793,8 +83885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *306 - *307 + - *308 - *550 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -83819,9 +83911,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 '404': *7 @@ -83842,8 +83934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *306 - *307 + - *308 - *550 requestBody: required: true @@ -83874,16 +83966,16 @@ paths: description: Reaction exists content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '201': description: Reaction created content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 '422': *16 x-github: githubCloudOnly: false @@ -83905,10 +83997,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *306 - *307 + - *308 - *550 - - *298 + - *299 responses: '204': description: Response @@ -83932,9 +84024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *306 - *307 - - *365 + - *308 + - *366 - *18 - *20 responses: @@ -84056,8 +84148,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - *307 + - *308 - *18 - *20 - name: includes_parents @@ -84123,8 +84215,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - *307 + - *308 requestBody: description: Request body required: true @@ -84233,8 +84325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *306 - *307 + - *308 - *570 - *571 - *572 @@ -84269,8 +84361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *306 - *307 + - *308 - *576 responses: '200': @@ -84307,8 +84399,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - *307 + - *308 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84348,8 +84440,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - *307 + - *308 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84431,8 +84523,8 @@ paths: category: repos subcategory: rules parameters: - - *306 - *307 + - *308 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84460,8 +84552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *306 - *307 + - *308 - *269 - *270 - *271 @@ -84548,6 +84640,23 @@ paths: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true validity: type: string description: The token status as of the latest validity check. @@ -84618,6 +84727,27 @@ paths: site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 resolution_comment: Example comment validity: inactive publicly_leaked: false @@ -84637,6 +84767,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -84666,9 +84799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *306 - *307 - - *394 + - *308 + - *395 responses: '200': description: Response @@ -84693,6 +84826,9 @@ paths: push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: validity: unknown publicly_leaked: false @@ -84722,9 +84858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *306 - *307 - - *394 + - *308 + - *395 requestBody: required: true content: @@ -84788,6 +84924,9 @@ paths: push_protection_bypassed: false push_protection_bypassed_by: push_protection_bypassed_at: + push_protection_bypass_request_reviewer: + push_protection_bypass_request_comment: + push_protection_bypass_request_html_url: resolution_comment: Example comment validity: unknown publicly_leaked: false @@ -84822,9 +84961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *306 - *307 - - *394 + - *308 + - *395 - *20 - *18 responses: @@ -85194,8 +85333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -85272,8 +85411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *306 - *307 + - *308 - *67 - name: sort description: The property to sort the results by. @@ -85342,8 +85481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -85738,8 +85877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -85990,8 +86129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *306 - *307 + - *308 - *589 responses: '200': @@ -86024,8 +86163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *306 - *307 + - *308 - *589 requestBody: required: true @@ -86226,8 +86365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *306 - *307 + - *308 - *589 responses: '202': *130 @@ -86255,17 +86394,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *306 - *307 + - *308 - *589 responses: '202': description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *321 + default: *322 '400': *15 '422': *16 '403': *29 @@ -86291,8 +86430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -86391,8 +86530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *306 - *307 + - *308 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -86434,8 +86573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -86511,8 +86650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -86608,8 +86747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *306 - *307 + - *308 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86763,8 +86902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *306 - *307 + - *308 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86807,8 +86946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *306 - *307 + - *308 - name: sha in: path required: true @@ -86916,8 +87055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -86949,8 +87088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *306 - *307 + - *308 responses: '200': description: if you subscribe to the repository @@ -87024,8 +87163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *306 - *307 + - *308 requestBody: required: false content: @@ -87078,8 +87217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -87099,8 +87238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -87179,8 +87318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -87240,8 +87379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -87295,8 +87434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *306 - *307 + - *308 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -87333,8 +87472,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *306 - *307 + - *308 - name: ref in: path required: true @@ -87370,8 +87509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *306 - *307 + - *308 - *18 - *20 responses: @@ -87403,8 +87542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *306 - *307 + - *308 - *20 - *18 responses: @@ -87447,8 +87586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -87502,8 +87641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *306 - *307 + - *308 - &597 name: per description: The time frame to display results for. @@ -87620,8 +87759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -87711,8 +87850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *306 - *307 + - *308 responses: '200': description: Response @@ -87772,8 +87911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *306 - *307 + - *308 - *597 responses: '200': @@ -87870,8 +88009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *306 - *307 + - *308 requestBody: required: true content: @@ -88145,8 +88284,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *306 - *307 + - *308 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -88169,8 +88308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -88192,8 +88331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -88219,8 +88358,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *306 - *307 + - *308 - name: ref in: path required: true @@ -88312,9 +88451,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *321 + default: *322 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -90810,7 +90949,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *363 + properties: *364 nullable: true comment_count: type: integer @@ -90830,7 +90969,7 @@ paths: url: type: string format: uri - verification: *474 + verification: *475 required: - author - committer @@ -90849,7 +90988,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *363 + properties: *364 nullable: true parents: type: array @@ -91165,8 +91304,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *426 - required: *427 + properties: *427 + required: *428 nullable: true comments: type: integer @@ -92462,9 +92601,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '404': *7 x-github: githubCloudOnly: false @@ -92554,16 +92693,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '201': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 '404': *7 '422': *16 '403': *29 @@ -92633,7 +92772,7 @@ paths: application/json: schema: type: array - items: *289 + items: *290 examples: default: *628 headers: @@ -92698,9 +92837,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 x-github: triggersNotification: true githubCloudOnly: false @@ -92728,15 +92867,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - *627 - - *291 + - *292 responses: '200': description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92762,7 +92901,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - *627 - - *291 + - *292 requestBody: required: false content: @@ -92785,7 +92924,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *290 examples: default: *629 x-github: @@ -92813,7 +92952,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - *627 - - *291 + - *292 responses: '204': description: Response @@ -92843,7 +92982,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *627 - - *291 + - *292 - *67 - *18 - *20 @@ -92854,7 +92993,7 @@ paths: application/json: schema: type: array - items: *292 + items: *293 examples: default: *630 headers: @@ -92886,7 +93025,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *627 - - *291 + - *292 requestBody: required: true content: @@ -92908,9 +93047,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 x-github: triggersNotification: true githubCloudOnly: false @@ -92938,16 +93077,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *627 - - *291 - - *294 + - *292 + - *295 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92973,8 +93112,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *627 - - *291 - - *294 + - *292 + - *295 requestBody: required: true content: @@ -92996,7 +93135,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: default: *631 x-github: @@ -93024,8 +93163,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *627 - - *291 - - *294 + - *292 + - *295 responses: '204': description: Response @@ -93055,8 +93194,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *627 - - *291 - - *294 + - *292 + - *295 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -93082,9 +93221,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 x-github: @@ -93114,8 +93253,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *627 - - *291 - - *294 + - *292 + - *295 requestBody: required: true content: @@ -93147,9 +93286,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93176,7 +93315,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *627 - - *291 + - *292 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -93202,9 +93341,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *297 + default: *298 headers: Link: *39 x-github: @@ -93234,7 +93373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *627 - - *291 + - *292 requestBody: required: true content: @@ -93266,9 +93405,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *296 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93502,7 +93641,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: response-if-user-is-a-team-maintainer: *632 '404': *7 @@ -93563,7 +93702,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *304 examples: response-if-users-membership-with-team-is-now-pending: *633 '403': @@ -93639,7 +93778,7 @@ paths: application/json: schema: type: array - items: *304 + items: *305 examples: default: *634 headers: @@ -93669,13 +93808,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - *627 - - *305 + - *306 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: default: *635 '404': @@ -93703,7 +93842,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - *627 - - *305 + - *306 requestBody: required: false content: @@ -93772,7 +93911,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - *627 - - *305 + - *306 responses: '204': description: Response @@ -93842,8 +93981,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *627 - - *306 - *307 + - *308 responses: '200': description: Alternative response with extra repository information @@ -94001,8 +94140,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *627 - - *306 - *307 + - *308 requestBody: required: false content: @@ -94053,8 +94192,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *627 - - *306 - *307 + - *308 responses: '204': description: Response @@ -94089,9 +94228,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '403': *29 '404': *7 x-github: @@ -94175,7 +94314,7 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: default: value: @@ -94953,7 +95092,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -94961,7 +95100,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '401': *25 '403': *29 '404': *7 @@ -95045,7 +95184,7 @@ paths: - visibility - selected_repositories_url examples: - default: *414 + default: *415 headers: Link: *39 x-github: @@ -95419,7 +95558,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '304': *37 '500': *73 '401': *25 @@ -95477,7 +95616,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '401': *25 '403': *29 '404': *7 @@ -95740,13 +95879,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *319 + repository: *320 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *412 - required: *413 + properties: *413 + required: *414 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -96528,7 +96667,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '304': *37 '500': *73 '400': *15 @@ -96568,7 +96707,7 @@ paths: application/json: schema: *225 examples: - default: *411 + default: *412 '500': *73 '401': *25 '403': *29 @@ -97716,7 +97855,7 @@ paths: required: true content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -97998,7 +98137,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *513 + - *514 responses: '200': description: Response @@ -98029,7 +98168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *513 + - *514 responses: '204': description: Response @@ -100213,9 +100352,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *321 + default: *322 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -100253,7 +100392,7 @@ paths: application/json: schema: type: array - items: *487 + items: *488 examples: default: *661 headers: @@ -100870,8 +101009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *306 - *307 + - *308 responses: '204': description: Response if this repository is starred by you @@ -100899,8 +101038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -100924,8 +101063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *306 - *307 + - *308 responses: '204': description: Response @@ -100997,7 +101136,7 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: default: value: @@ -101902,7 +102041,7 @@ paths: application/json: schema: *22 examples: - default: *484 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102658,9 +102797,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102688,9 +102827,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *284 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102718,9 +102857,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105533,7 +105672,7 @@ x-webhooks: type: string pull_requests: type: array - items: *376 + items: *377 repository: *142 status: example: completed @@ -105621,7 +105760,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *376 + items: *377 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -109912,7 +110051,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *389 + dismissed_comment: *390 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111772,7 +111911,7 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -111860,7 +111999,7 @@ x-webhooks: type: string enum: - auto_reopened - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -111948,7 +112087,7 @@ x-webhooks: type: string enum: - created - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -112034,7 +112173,7 @@ x-webhooks: type: string enum: - dismissed - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -112120,7 +112259,7 @@ x-webhooks: type: string enum: - fixed - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -112207,7 +112346,7 @@ x-webhooks: type: string enum: - reintroduced - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -112293,7 +112432,7 @@ x-webhooks: type: string enum: - reopened - alert: *443 + alert: *444 installation: *677 organization: *678 enterprise: *676 @@ -113786,7 +113925,7 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *449 + deployment: *450 pull_requests: type: array items: *534 @@ -118468,7 +118607,7 @@ x-webhooks: - id labels: type: array - items: *496 + items: *497 required: - repository_url - category @@ -157952,7 +158091,7 @@ x-webhooks: enum: - demilestoned enterprise: *676 - milestone: *516 + milestone: *517 number: *732 organization: *678 pull_request: &734 @@ -169874,7 +170013,7 @@ x-webhooks: enum: - milestoned enterprise: *676 - milestone: *516 + milestone: *517 number: *732 organization: *678 pull_request: *734 @@ -214173,6 +214312,23 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *4 + required: *5 + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true publicly_leaked: type: boolean description: Whether the detected secret was publicly leaked. @@ -215289,7 +215445,7 @@ x-webhooks: enterprise: *676 installation: *677 organization: *678 - repository: *319 + repository: *320 sender: *19 required: - changes @@ -220475,7 +220631,7 @@ x-webhooks: type: string required: - conclusion - deployment: *449 + deployment: *450 required: - action - repository @@ -220817,7 +220973,7 @@ x-webhooks: required: - status - steps - deployment: *449 + deployment: *450 required: - action - repository @@ -221034,7 +221190,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *449 + deployment: *450 required: - action - repository @@ -221252,7 +221408,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *449 + deployment: *450 required: - action - repository diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 1147f1cfb..0b5379753 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -1077,7 +1077,7 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nWhen using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -104645,6 +104645,20 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "resolution_comment": { "type": "string", "description": "The comment that was optionally added when this alert was closed", @@ -110641,6 +110655,28 @@ "type": "string", "nullable": true }, + "base_role": { + "type": "string", + "nullable": true, + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain", + "admin" + ] + }, + "source": { + "type": "string", + "nullable": true, + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Organization", + "Enterprise", + "Predefined" + ] + }, "permissions": { "description": "A list of permissions included in this role.", "type": "array", @@ -110743,6 +110779,16 @@ "description": "The Relationship a Team has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the team has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, "id": { "type": "integer" }, @@ -110917,6 +110963,23 @@ "description": "The Relationship a User has with a role.", "type": "object", "properties": { + "assignment": { + "type": "string", + "description": "Determines if the user has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "example": "direct" + }, + "inherited_from": { + "description": "Team the user has gotten the role through", + "type": "array", + "items": { + "$ref": "#/components/schemas/team-simple" + } + }, "name": { "nullable": true, "type": "string" @@ -111442,6 +111505,15 @@ "format": "uri", "description": "The URL that can be used to fetch, update, or delete info about this property via the API." }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "example": "organization" + }, "value_type": { "type": "string", "example": "single_select", @@ -128619,6 +128691,20 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -146110,6 +146196,20 @@ "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, "publicly_leaked": { "type": "boolean", "description": "Whether the detected secret was publicly leaked.", @@ -276609,6 +276709,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, @@ -276697,6 +276819,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed": false, "push_protection_bypassed_at": null, + "push_protection_bypass_request_reviewer": null, + "push_protection_bypass_request_comment": null, + "push_protection_bypass_request_html_url": null, "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, @@ -282005,6 +282130,7 @@ { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -282018,11 +282144,13 @@ { "property_name": "service", "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", "value_type": "string" }, { "property_name": "team", "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", "value_type": "string", "description": "Team owning the repository" } @@ -282032,6 +282160,7 @@ "value": { "property_name": "environment", "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", "value_type": "single_select", "required": true, "default_value": "production", @@ -296870,6 +296999,28 @@ }, "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/ow{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}