diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index d5bf81fbe3..10f1f5bb13 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -116296,6 +116296,547 @@ } } }, + "/orgs/{org}/dismissal-requests/code-scanning": { + "get": { + "summary": "List dismissal requests for code scanning alerts for an organization", + "description": "Lists dismissal requests for code scanning alerts for all repositories in an organization.\n\nThe user must be authorized to review dismissal requests for the organization.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/list-org-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "month" + } + }, + { + "name": "request_status", + "description": "Filter alert dismissal requests by status. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "approved", + "expired", + "denied", + "all" + ], + "default": "all" + } + }, + { + "name": "repository_name", + "description": "The name of the repository to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Code scanning alert dismissal request", + "description": "Alert dismisal request made by a user asking to dismiss a code scanning alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "alert number." + }, + "pr_review_thread_id": { + "type": "string", + "description": "The ID of the pull request review thread." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 1 + } + ], + "resource_identifier": "123/10", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 2 + } + ], + "resource_identifier": "123/12", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/2", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/2" + } + ] + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", @@ -307391,6 +307932,1080 @@ } } }, + "/repos/{owner}/{repo}/dismissal-requests/code-scanning": { + "get": { + "summary": "List dismissal requests for code scanning alerts for a repository", + "description": "Lists dismissal requests for code scanning alerts for a repository.\n\nDelegated alert dismissal must be enabled on the repository.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/list-dismissal-requests-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "month" + } + }, + { + "name": "request_status", + "description": "Filter alert dismissal requests by status. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "approved", + "expired", + "denied", + "all" + ], + "default": "all" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Code scanning alert dismissal request", + "description": "Alert dismisal request made by a user asking to dismiss a code scanning alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "alert number." + }, + "pr_review_thread_id": { + "type": "string", + "description": "The ID of the pull request review thread." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 1 + } + ], + "resource_identifier": "123/10", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 2 + } + ], + "resource_identifier": "123/12", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/2", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/2" + } + ] + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": { + "get": { + "summary": "Get a dismissal request for a code scanning alert for a repository", + "description": "Gets a dismissal request to dismiss a code scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-dismissal-request-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#get-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the code scanning alert.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "A single dismissal request.", + "content": { + "application/json": { + "schema": { + "title": "Code scanning alert dismissal request", + "description": "Alert dismisal request made by a user asking to dismiss a code scanning alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "alert number." + }, + "pr_review_thread_id": { + "type": "string", + "description": "The ID of the pull request review thread." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + } + }, + "examples": { + "default": { + "value": { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 2 + } + ], + "resource_identifier": "1/1", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + }, + "patch": { + "summary": "Review a dismissal request for a code scanning alert for a repository", + "description": "Approve or deny a dismissal request to dismiss a code scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be a dismissal reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/review-dismissal-request-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#review-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the code scanning alert.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The review action to perform on the bypass request.", + "enum": [ + "approve", + "deny" + ] + }, + "message": { + "type": "string", + "description": "A message to include with the review. Has a maximum character length of 2048." + } + }, + "required": [ + "status", + "message" + ] + }, + "examples": { + "default": { + "value": { + "status": "approve", + "message": "Used in tests." + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successful update" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for a repository", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index d19aeea8be..d8274eb4c6 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1025,7 +1025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &690 + - &696 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &700 + schema: &706 title: Scim Error description: Scim Error type: object @@ -16370,7 +16370,7 @@ paths: type: object description: A repository rule. oneOf: - - &634 + - &640 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16382,7 +16382,7 @@ paths: type: string enum: - creation - - &635 + - &641 title: update description: Only allow users with bypass permission to update matching refs. @@ -16403,7 +16403,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &637 + - &643 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16415,7 +16415,7 @@ paths: type: string enum: - deletion - - &638 + - &644 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16427,7 +16427,7 @@ paths: type: string enum: - required_linear_history - - &639 + - &645 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16503,7 +16503,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &640 + - &646 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16527,7 +16527,7 @@ paths: type: string required: - required_deployment_environments - - &641 + - &647 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16539,7 +16539,7 @@ paths: type: string enum: - required_signatures - - &642 + - &648 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16599,7 +16599,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &643 + - &649 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16646,7 +16646,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &644 + - &650 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16658,7 +16658,7 @@ paths: type: string enum: - non_fast_forward - - &645 + - &651 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16694,7 +16694,7 @@ paths: required: - operator - pattern - - &646 + - &652 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16730,7 +16730,7 @@ paths: required: - operator - pattern - - &647 + - &653 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16766,7 +16766,7 @@ paths: required: - operator - pattern - - &648 + - &654 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16802,7 +16802,7 @@ paths: required: - operator - pattern - - &649 + - &655 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16838,7 +16838,7 @@ paths: required: - operator - pattern - - &650 + - &656 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16862,7 +16862,7 @@ paths: type: string required: - restricted_file_paths - - &651 + - &657 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16886,7 +16886,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &652 + - &658 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16909,7 +16909,7 @@ paths: type: string required: - restricted_file_extensions - - &653 + - &659 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16933,7 +16933,7 @@ paths: maximum: 100 required: - max_file_size - - &654 + - &660 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16982,7 +16982,7 @@ paths: - repository_id required: - workflows - - &655 + - &661 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17636,14 +17636,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &668 + state: &674 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &669 + resolution: &675 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17750,8 +17750,8 @@ paths: pull request. ' - oneOf: &670 - - &672 + oneOf: &676 + - &678 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -17803,7 +17803,7 @@ paths: - blob_url - commit_sha - commit_url - - &673 + - &679 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -17858,7 +17858,7 @@ paths: - page_url - commit_sha - commit_url - - &674 + - &680 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -17872,7 +17872,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &675 + - &681 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -17886,7 +17886,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &676 + - &682 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -17900,7 +17900,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &677 + - &683 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -17914,7 +17914,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &678 + - &684 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -17928,7 +17928,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &679 + - &685 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -17942,7 +17942,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &680 + - &686 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -17956,7 +17956,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &681 + - &687 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -17970,7 +17970,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &682 + - &688 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -17984,7 +17984,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &683 + - &689 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -17998,7 +17998,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &684 + - &690 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -19166,7 +19166,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &573 + properties: &579 id: type: integer format: int64 @@ -19551,7 +19551,7 @@ paths: - total - completed - percent_completed - required: &574 + required: &580 - assignee - closed_at - comments @@ -19573,7 +19573,7 @@ paths: - author_association - created_at - updated_at - comment: &571 + comment: &577 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20140,7 +20140,7 @@ paths: url: type: string format: uri - user: &739 + user: &745 title: Public User description: Public User type: object @@ -23546,7 +23546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &603 + - &609 name: all description: If `true`, show notifications marked as read. in: query @@ -23554,7 +23554,7 @@ paths: schema: type: boolean default: false - - &604 + - &610 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23564,7 +23564,7 @@ paths: type: boolean default: false - *145 - - &605 + - &611 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: @@ -24042,7 +24042,7 @@ paths: - url - subscription_url examples: - default: &606 + default: &612 value: - id: '1' repository: @@ -24588,7 +24588,7 @@ paths: type: array items: *59 examples: - default: &757 + default: &763 value: - login: github id: 1 @@ -26494,7 +26494,7 @@ paths: type: array items: *64 examples: - default: &751 + default: &757 value: total_count: 1 repositories: @@ -27313,7 +27313,7 @@ paths: type: array items: *200 examples: - default: &742 + default: &748 value: total_count: 1 repositories: @@ -29382,12 +29382,12 @@ paths: required: - subject_digests examples: - default: &772 + default: &778 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &773 + withPredicateType: &779 value: subject_digests: - sha256:abc123 @@ -29445,7 +29445,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &774 + default: &780 value: attestations_subject_digests: - sha256:abc: @@ -34878,6 +34878,306 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: secrets + "/orgs/{org}/dismissal-requests/code-scanning": + get: + summary: List dismissal requests for code scanning alerts for an organization + description: |- + Lists dismissal requests for code scanning alerts for all repositories in an organization. + + The user must be authorized to review dismissal requests for the organization. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-an-organization + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - *172 + - &534 + name: reviewer + description: Filter alert dismissal requests by the handle of the GitHub user + who reviewed the dismissal request. + in: query + required: false + schema: + type: string + - &535 + name: requester + description: Filter alert dismissal requests by the handle of the GitHub user + who requested the dismissal. + in: query + required: false + schema: + type: string + - &536 + name: time_period + description: |- + The time period to filter by. + + For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours). + in: query + required: false + schema: + type: string + enum: + - hour + - day + - week + - month + default: month + - &537 + name: request_status + description: Filter alert dismissal requests by status. When specified, only + requests with this status will be returned. + in: query + required: false + schema: + type: string + enum: + - open + - approved + - expired + - denied + - all + default: all + - *229 + - *17 + - *19 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: &538 + title: Code scanning alert dismissal request + description: Alert dismisal request made by a user asking to dismiss + a code scanning alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request + within its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request + is for. + name: + type: string + description: The name of the repository the dismissal request + is for. + full_name: + type: string + description: The full name of the repository the dismissal + request is for. + organization: + type: object + description: The organization associated with the repository + the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the + dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the + dismissal request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: alert number. + pr_review_thread_id: + type: string + description: The ID of the pull request review thread. + resource_identifier: + type: string + description: The unique identifier for the request type of the + dismissal request. + example: 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating + the dismissal request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: + title: Dismissal request response + description: A response made by a requester to dismiss the + request. + type: object + properties: + id: + type: integer + format: int64 + description: The ID of the response to the dismissal request. + reviewer: + type: object + description: The user who reviewed the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who reviewed + the dismissal request. + actor_name: + type: string + description: The name of the GitHub user who reviewed + the dismissal request. + message: + type: string + nullable: true + description: The response comment of the reviewer. + status: + type: string + description: The response status to the dismissal request + until dismissed. + enum: + - approved + - denied + - dismissed + created_at: + type: string + format: date-time + description: The date and time the response to the dismissal + request was created. + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/code-scanning/alerts/1 + examples: + default: &539 + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 1 + resource_identifier: 123/10 + status: denied + requester_comment: Won't fix + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 + - id: 12 + number: 24 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 2 + resource_identifier: 123/12 + status: denied + requester_comment: Token is already revoked, I'll remove it later + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/2 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/2 + '404': *6 + '403': *29 + '422': *15 + '500': *85 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -34903,7 +35203,7 @@ paths: - *223 - *224 - *225 - - &534 + - &540 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -34929,7 +35229,7 @@ paths: application/json: schema: type: array - items: &535 + items: &541 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -35050,7 +35350,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &536 + default: &542 value: - id: 21 number: 42 @@ -36867,7 +37167,7 @@ paths: application/json: schema: *22 examples: - default: &567 + default: &573 value: id: 1 account: @@ -37092,7 +37392,7 @@ paths: required: true content: application/json: - schema: &568 + schema: &574 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -39176,7 +39476,7 @@ paths: parameters: - *172 - *303 - - &756 + - &762 name: repo_name description: repo_name parameter in: path @@ -40491,7 +40791,7 @@ paths: - nuget - container - *172 - - &758 + - &764 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40532,7 +40832,7 @@ paths: default: *310 '403': *29 '401': *25 - '400': &760 + '400': &766 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44180,7 +44480,7 @@ paths: - *172 - *17 - *19 - - &656 + - &662 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44370,7 +44670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *172 - - &657 + - &663 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -44382,14 +44682,14 @@ paths: x-multi-segment: true - *229 - *225 - - &658 + - &664 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &659 + - &665 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44409,7 +44709,7 @@ paths: description: Response content: application/json: - schema: &660 + schema: &666 title: Rule Suites description: Response type: array @@ -44464,7 +44764,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &661 + default: &667 value: - id: 21 actor_id: 12 @@ -44508,7 +44808,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *172 - - &662 + - &668 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44524,7 +44824,7 @@ paths: description: Response content: application/json: - schema: &663 + schema: &669 title: Rule Suite description: Response type: object @@ -44623,7 +44923,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &664 + default: &670 value: id: 21 actor_id: 12 @@ -44954,7 +45254,7 @@ paths: - *88 - *19 - *17 - - &666 + - &672 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -44964,7 +45264,7 @@ paths: required: false schema: type: string - - &667 + - &673 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -45057,7 +45357,7 @@ paths: application/json: schema: type: array - items: &688 + items: &694 description: A repository security advisory. type: object properties: @@ -45348,7 +45648,7 @@ paths: - private_fork additionalProperties: false examples: - default: &689 + default: &695 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47111,7 +47411,7 @@ paths: - updated_at - url examples: - default: &729 + default: &735 value: - author: login: octocat @@ -47359,7 +47659,7 @@ paths: application/json: schema: *364 examples: - default: &730 + default: &736 value: author: login: octocat @@ -47542,7 +47842,7 @@ paths: - updated_at - url examples: - default: &731 + default: &737 value: - author: login: octocat @@ -47768,7 +48068,7 @@ paths: application/json: schema: *367 examples: - default: &732 + default: &738 value: author: login: octocat @@ -48481,7 +48781,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &733 + response-if-user-is-a-team-maintainer: &739 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48546,7 +48846,7 @@ paths: application/json: schema: *378 examples: - response-if-users-membership-with-team-is-now-pending: &734 + response-if-users-membership-with-team-is-now-pending: &740 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48687,7 +48987,7 @@ paths: - updated_at - permissions examples: - default: &735 + default: &741 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48766,7 +49066,7 @@ paths: application/json: schema: *379 examples: - default: &736 + default: &742 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48976,7 +49276,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &737 + schema: &743 title: Team Repository description: A team's access to a repository. type: object @@ -49742,7 +50042,7 @@ paths: type: array items: *231 examples: - response-if-child-teams-exist: &738 + response-if-child-teams-exist: &744 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -55776,7 +56076,7 @@ paths: items: type: object properties: - type: &537 + type: &543 type: string description: The type of reviewer. enum: @@ -56400,7 +56700,7 @@ paths: application/json: schema: *418 examples: - default: &550 + default: &556 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56619,7 +56919,7 @@ paths: application/json: schema: *422 examples: - default: &551 + default: &557 value: name: USERNAME value: octocat @@ -58413,7 +58713,7 @@ paths: required: - sha - url - verification: &557 + verification: &563 title: Verification type: object properties: @@ -61925,7 +62225,7 @@ paths: check. type: array items: *453 - deployment: &792 + deployment: &798 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62837,7 +63137,7 @@ paths: type: string format: date-time nullable: true - head_commit: &818 + head_commit: &824 title: Simple Commit description: A commit. type: object @@ -67057,14 +67357,14 @@ paths: type: integer machines: type: array - items: &745 + items: &751 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *492 required: *493 examples: - default: &746 + default: &752 value: total_count: 2 machines: @@ -67747,7 +68047,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &570 + schema: &576 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68607,7 +68907,7 @@ paths: type: array items: *502 examples: - default: &621 + default: &627 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68896,7 +69196,7 @@ paths: application/json: schema: type: array - items: &612 + items: &618 title: Pull Request Simple description: Pull Request Simple type: object @@ -69125,7 +69425,7 @@ paths: - review_comment - self author_association: *142 - auto_merge: &614 + auto_merge: &620 title: Auto merge description: The status of auto merging a pull request. type: object @@ -69188,7 +69488,7 @@ paths: - author_association - auto_merge examples: - default: &613 + default: &619 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -69746,7 +70046,7 @@ paths: application/json: schema: *502 examples: - default: &599 + default: &605 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70364,7 +70664,7 @@ paths: application/json: schema: type: array - items: &693 + items: &699 title: Status description: The status of a commit. type: object @@ -71306,7 +71606,7 @@ paths: - size - type - url - - &626 + - &632 title: Content File description: Content File type: object @@ -71899,7 +72199,7 @@ paths: schema: oneOf: - *3 - - &552 + - &558 description: Repository rule violation was detected type: object properties: @@ -71920,7 +72220,7 @@ paths: items: type: object properties: - placeholder_id: &685 + placeholder_id: &691 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -74412,6 +74712,176 @@ paths: enabledForGitHubApps: true category: deployments subcategory: statuses + "/repos/{owner}/{repo}/dismissal-requests/code-scanning": + get: + summary: List dismissal requests for code scanning alerts for a repository + description: |- + Lists dismissal requests for code scanning alerts for a repository. + + Delegated alert dismissal must be enabled on the repository. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/list-dismissal-requests-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - *381 + - *382 + - *534 + - *535 + - *536 + - *537 + - *17 + - *19 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: *538 + examples: + default: *539 + '404': *6 + '403': *29 + '500': *85 + "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": + get: + summary: Get a dismissal request for a code scanning alert for a repository + description: |- + Gets a dismissal request to dismiss a code scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/get-dismissal-request-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#get-a-dismissal-request-for-a-code-scanning-alert-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - *381 + - *382 + - name: alert_number + in: path + required: true + description: The number that identifies the code scanning alert. + schema: + type: integer + responses: + '200': + description: A single dismissal request. + content: + application/json: + schema: *538 + examples: + default: + value: + id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 2 + resource_identifier: 1/1 + status: denied + requester_comment: Won't fix + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 + '404': *6 + '403': *29 + '500': *85 + patch: + summary: Review a dismissal request for a code scanning alert for a repository + description: |- + Approve or deny a dismissal request to dismiss a code scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be a dismissal reviewer to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/review-dismissal-request-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#review-a-dismissal-request-for-a-code-scanning-alert-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - *381 + - *382 + - name: alert_number + in: path + required: true + description: The number that identifies the code scanning alert. + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + status: + type: string + description: The review action to perform on the bypass request. + enum: + - approve + - deny + message: + type: string + description: A message to include with the review. Has a maximum + character length of 2048. + required: + - status + - message + examples: + default: + value: + status: approve + message: Used in tests. + responses: + '204': + description: Successful update + '404': *6 + '403': *29 + '422': *15 + '500': *85 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -74437,7 +74907,7 @@ paths: - *223 - *224 - *225 - - *534 + - *540 - *17 - *19 responses: @@ -74447,9 +74917,9 @@ paths: application/json: schema: type: array - items: *535 + items: *541 examples: - default: *536 + default: *542 '404': *6 '403': *29 '500': *85 @@ -74487,7 +74957,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *535 + schema: *541 examples: default: value: @@ -74691,7 +75161,7 @@ paths: type: integer environments: type: array - items: &538 + items: &544 title: Environment description: Details of a deployment environment type: object @@ -74743,7 +75213,7 @@ paths: type: type: string example: wait_timer - wait_timer: &540 + wait_timer: &546 type: integer example: 30 description: The amount of time to delay a job after @@ -74780,7 +75250,7 @@ paths: items: type: object properties: - type: *537 + type: *543 reviewer: anyOf: - *4 @@ -74804,7 +75274,7 @@ paths: - id - node_id - type - deployment_branch_policy: &541 + deployment_branch_policy: &547 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -74922,7 +75392,7 @@ paths: parameters: - *381 - *382 - - &539 + - &545 name: environment_name in: path required: true @@ -74935,9 +75405,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *544 examples: - default: &542 + default: &548 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75023,7 +75493,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 requestBody: required: false content: @@ -75032,7 +75502,7 @@ paths: type: object nullable: true properties: - wait_timer: *540 + wait_timer: *546 prevent_self_review: type: boolean example: false @@ -75049,13 +75519,13 @@ paths: items: type: object properties: - type: *537 + type: *543 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *541 + deployment_branch_policy: *547 additionalProperties: false examples: default: @@ -75075,9 +75545,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *544 examples: - default: *542 + default: *548 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75103,7 +75573,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 responses: '204': description: Default response @@ -75130,7 +75600,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *17 - *19 responses: @@ -75148,7 +75618,7 @@ paths: example: 2 branch_policies: type: array - items: &543 + items: &549 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75207,7 +75677,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 requestBody: required: true content: @@ -75253,9 +75723,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: - example-wildcard: &544 + example-wildcard: &550 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75299,8 +75769,8 @@ paths: parameters: - *381 - *382 - - *539 - - &545 + - *545 + - &551 name: branch_policy_id in: path required: true @@ -75312,9 +75782,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: - default: *544 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75335,8 +75805,8 @@ paths: parameters: - *381 - *382 - - *539 - *545 + - *551 requestBody: required: true content: @@ -75364,9 +75834,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: - default: *544 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75387,8 +75857,8 @@ paths: parameters: - *381 - *382 - - *539 - *545 + - *551 responses: '204': description: Response @@ -75413,7 +75883,7 @@ 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: - - *539 + - *545 - *382 - *381 responses: @@ -75431,7 +75901,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &546 + items: &552 title: Deployment protection rule description: Deployment protection rule type: object @@ -75450,7 +75920,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &547 + app: &553 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75549,7 +76019,7 @@ 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: - - *539 + - *545 - *382 - *381 requestBody: @@ -75572,9 +76042,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *546 + schema: *552 examples: - default: &548 + default: &554 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75609,7 +76079,7 @@ 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: - - *539 + - *545 - *382 - *381 - *19 @@ -75630,7 +76100,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *547 + items: *553 examples: default: value: @@ -75667,8 +76137,8 @@ paths: parameters: - *381 - *382 - - *539 - - &549 + - *545 + - &555 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75680,9 +76150,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *552 examples: - default: *548 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75703,10 +76173,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: - - *539 + - *545 - *382 - *381 - - *549 + - *555 responses: '204': description: Response @@ -75734,7 +76204,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *17 - *19 responses: @@ -75781,7 +76251,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 responses: '200': description: Response @@ -75813,7 +76283,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *210 responses: '200': @@ -75822,7 +76292,7 @@ paths: application/json: schema: *418 examples: - default: *550 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75846,7 +76316,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *210 requestBody: required: true @@ -75906,7 +76376,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *210 responses: '204': @@ -75934,7 +76404,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *405 - *19 responses: @@ -75979,7 +76449,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 requestBody: required: true content: @@ -76033,7 +76503,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *213 responses: '200': @@ -76042,7 +76512,7 @@ paths: application/json: schema: *422 examples: - default: *551 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76066,7 +76536,7 @@ paths: - *381 - *382 - *213 - - *539 + - *545 requestBody: required: true content: @@ -76111,7 +76581,7 @@ paths: - *381 - *382 - *213 - - *539 + - *545 responses: '204': description: Response @@ -76488,7 +76958,7 @@ paths: schema: oneOf: - *183 - - *552 + - *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76723,7 +77193,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &559 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -76945,7 +77415,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *559 examples: default: value: @@ -77003,7 +77473,7 @@ paths: parameters: - *381 - *382 - - &554 + - &560 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. @@ -77020,7 +77490,7 @@ paths: application/json: schema: type: array - items: &555 + items: &561 title: Git Reference description: Git references within a repository type: object @@ -77097,15 +77567,15 @@ paths: parameters: - *381 - *382 - - *554 + - *560 responses: '200': description: Response content: application/json: - schema: *555 + schema: *561 examples: - default: &556 + default: &562 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77164,9 +77634,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *561 examples: - default: *556 + default: *562 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -77194,7 +77664,7 @@ paths: parameters: - *381 - *382 - - *554 + - *560 requestBody: required: true content: @@ -77223,9 +77693,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *561 examples: - default: *556 + default: *562 '422': *15 '409': *96 x-github: @@ -77245,7 +77715,7 @@ paths: parameters: - *381 - *382 - - *554 + - *560 responses: '204': description: Response @@ -77368,7 +77838,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &564 title: Git Tag description: Metadata for a Git tag type: object @@ -77419,7 +77889,7 @@ paths: - sha - type - url - verification: *557 + verification: *563 required: - sha - url @@ -77429,7 +77899,7 @@ paths: - tag - message examples: - default: &559 + default: &565 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77514,9 +77984,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *564 examples: - default: *559 + default: *565 '404': *6 '409': *96 x-github: @@ -77614,7 +78084,7 @@ paths: description: Response content: application/json: - schema: &560 + schema: &566 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77734,7 +78204,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *566 examples: default-response: summary: Default response @@ -77804,7 +78274,7 @@ paths: application/json: schema: type: array - items: &561 + items: &567 title: Webhook description: Webhooks for repositories. type: object @@ -77858,7 +78328,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &826 + last_response: &832 title: Hook Response type: object properties: @@ -77985,9 +78455,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *567 examples: - default: &562 + default: &568 value: type: Repository id: 12345678 @@ -78043,9 +78513,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *567 examples: - default: *562 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -78112,9 +78582,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *567 examples: - default: *562 + default: *568 '422': *15 '404': *6 x-github: @@ -78418,7 +78888,7 @@ paths: description: Response content: application/json: - schema: &563 + schema: &569 title: Import description: A repository import from an external source. type: object @@ -78517,7 +78987,7 @@ paths: - html_url - authors_url examples: - default: &566 + default: &572 value: vcs: subversion use_lfs: true @@ -78533,7 +79003,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &564 + '503': &570 description: Unavailable due to service under maintenance. content: application/json: @@ -78611,7 +79081,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *569 examples: default: value: @@ -78636,7 +79106,7 @@ paths: type: string '422': *15 '404': *6 - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78714,7 +79184,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *569 examples: example-1: summary: Example 1 @@ -78762,7 +79232,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': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78790,7 +79260,7 @@ paths: responses: '204': description: Response - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78818,7 +79288,7 @@ paths: parameters: - *381 - *382 - - &769 + - &775 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -78832,7 +79302,7 @@ paths: application/json: schema: type: array - items: &565 + items: &571 title: Porter Author description: Porter Author type: object @@ -78886,7 +79356,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78942,7 +79412,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *571 examples: default: value: @@ -78955,7 +79425,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79021,7 +79491,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79077,11 +79547,11 @@ paths: description: Response content: application/json: - schema: *563 + schema: *569 examples: - default: *566 + default: *572 '422': *15 - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79113,7 +79583,7 @@ paths: application/json: schema: *22 examples: - default: *567 + default: *573 '301': *395 '404': *6 x-github: @@ -79148,7 +79618,7 @@ paths: properties: {} additionalProperties: false examples: - default: &569 + default: &575 value: limit: collaborators_only origin: repository @@ -79179,7 +79649,7 @@ paths: required: true content: application/json: - schema: *568 + schema: *574 examples: default: summary: Example request body @@ -79193,7 +79663,7 @@ paths: application/json: schema: *286 examples: - default: *569 + default: *575 '409': description: Response x-github: @@ -79250,9 +79720,9 @@ paths: application/json: schema: type: array - items: *570 + items: *576 examples: - default: &762 + default: &768 value: - id: 1 repository: @@ -79414,7 +79884,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *576 examples: default: value: @@ -79652,7 +80122,7 @@ paths: type: array items: *155 examples: - default: &581 + default: &587 value: - id: 1 node_id: MDU6SXNzdWUx @@ -79914,7 +80384,7 @@ paths: application/json: schema: *155 examples: - default: &576 + default: &582 value: id: 1 node_id: MDU6SXNzdWUx @@ -80120,9 +80590,9 @@ paths: application/json: schema: type: array - items: *571 + items: *577 examples: - default: &578 + default: &584 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80188,9 +80658,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *577 examples: - default: &572 + default: &578 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80268,9 +80738,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *577 examples: - default: *572 + default: *578 '422': *15 x-github: githubCloudOnly: false @@ -80460,7 +80930,7 @@ paths: application/json: schema: type: array - items: &575 + items: &581 title: Issue Event description: Issue Event type: object @@ -80503,8 +80973,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *573 - required: *574 + properties: *579 + required: *580 nullable: true label: title: Issue Event Label @@ -80823,7 +81293,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *581 examples: default: value: @@ -81052,7 +81522,7 @@ paths: parameters: - *381 - *382 - - &577 + - &583 name: issue_number description: The number that identifies the issue. in: path @@ -81066,7 +81536,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 '301': *395 '404': *6 '410': *392 @@ -81096,7 +81566,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: false content: @@ -81201,7 +81671,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 '422': *15 '503': *134 '403': *29 @@ -81227,7 +81697,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: false content: @@ -81255,7 +81725,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81273,7 +81743,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: content: application/json: @@ -81300,7 +81770,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81324,7 +81794,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - name: assignee in: path required: true @@ -81366,7 +81836,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *145 - *17 - *19 @@ -81377,9 +81847,9 @@ paths: application/json: schema: type: array - items: *571 + items: *577 examples: - default: *578 + default: *584 headers: Link: *40 '404': *6 @@ -81414,7 +81884,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: true content: @@ -81436,9 +81906,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *577 examples: - default: *572 + default: *578 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -81467,7 +81937,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *17 - *19 responses: @@ -81481,7 +81951,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &582 + - &588 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81535,7 +82005,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &589 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81671,7 +82141,7 @@ paths: - performed_via_github_app - assignee - assigner - - &584 + - &590 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81722,7 +82192,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &591 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81773,7 +82243,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &586 + - &592 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81827,7 +82297,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &587 + - &593 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81874,7 +82344,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &588 + - &594 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81921,7 +82391,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &589 + - &595 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -81981,7 +82451,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &590 + - &596 title: Locked Issue Event description: Locked Issue Event type: object @@ -82029,7 +82499,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &591 + - &597 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82095,7 +82565,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &592 + - &598 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82161,7 +82631,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &593 + - &599 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82227,7 +82697,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &594 + - &600 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82337,7 +82807,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *17 - *19 responses: @@ -82347,7 +82817,7 @@ paths: application/json: schema: type: array - items: &579 + items: &585 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -82394,7 +82864,7 @@ paths: - color - default examples: - default: &580 + default: &586 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82433,7 +82903,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: false content: @@ -82492,9 +82962,9 @@ paths: application/json: schema: type: array - items: *579 + items: *585 examples: - default: *580 + default: *586 '301': *395 '404': *6 '410': *392 @@ -82516,7 +82986,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: false content: @@ -82576,9 +83046,9 @@ paths: application/json: schema: type: array - items: *579 + items: *585 examples: - default: *580 + default: *586 '301': *395 '404': *6 '410': *392 @@ -82600,7 +83070,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 responses: '204': description: Response @@ -82627,7 +83097,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - name: name in: path required: true @@ -82640,7 +83110,7 @@ paths: application/json: schema: type: array - items: *579 + items: *585 examples: default: value: @@ -82675,7 +83145,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: false content: @@ -82723,7 +83193,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 responses: '204': description: Response @@ -82747,7 +83217,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - 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. @@ -82799,7 +83269,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: true content: @@ -82864,7 +83334,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *373 responses: '204': @@ -82896,7 +83366,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: true content: @@ -82920,7 +83390,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -82955,7 +83425,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *17 - *19 responses: @@ -82967,7 +83437,7 @@ paths: type: array items: *155 examples: - default: *581 + default: *587 headers: Link: *40 '404': *6 @@ -83001,7 +83471,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: true content: @@ -83030,7 +83500,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -83059,7 +83529,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: true content: @@ -83092,7 +83562,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 '403': *29 '404': *6 '422': *7 @@ -83116,7 +83586,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *17 - *19 responses: @@ -83131,12 +83601,6 @@ paths: description: Timeline Event type: object anyOf: - - *582 - - *583 - - *584 - - *585 - - *586 - - *587 - *588 - *589 - *590 @@ -83144,6 +83608,12 @@ paths: - *592 - *593 - *594 + - *595 + - *596 + - *597 + - *598 + - *599 + - *600 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83448,7 +83918,7 @@ paths: type: string comments: type: array - items: &615 + items: &621 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83974,7 +84444,7 @@ paths: application/json: schema: type: array - items: &595 + items: &601 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84076,9 +84546,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *601 examples: - default: &596 + default: &602 value: id: 1 key: ssh-rsa AAA... @@ -84114,7 +84584,7 @@ paths: parameters: - *381 - *382 - - &597 + - &603 name: key_id description: The unique identifier of the key. in: path @@ -84126,9 +84596,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *601 examples: - default: *596 + default: *602 '404': *6 x-github: githubCloudOnly: false @@ -84148,7 +84618,7 @@ paths: parameters: - *381 - *382 - - *597 + - *603 responses: '204': description: Response @@ -84179,9 +84649,9 @@ paths: application/json: schema: type: array - items: *579 + items: *585 examples: - default: *580 + default: *586 headers: Link: *40 '404': *6 @@ -84239,9 +84709,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *585 examples: - default: &598 + default: &604 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84285,9 +84755,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *585 examples: - default: *598 + default: *604 '404': *6 x-github: githubCloudOnly: false @@ -84344,7 +84814,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *585 examples: default: value: @@ -84740,7 +85210,7 @@ paths: application/json: schema: *502 examples: - default: *599 + default: *605 '204': description: Response when already merged '404': @@ -84807,7 +85277,7 @@ paths: application/json: schema: type: array - items: &600 + items: &606 title: Milestone description: A collection of related issues and pull requests. type: object @@ -84909,9 +85379,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: &601 + default: &607 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -84972,7 +85442,7 @@ paths: parameters: - *381 - *382 - - &602 + - &608 name: milestone_number description: The number that identifies the milestone. in: path @@ -84984,9 +85454,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '404': *6 x-github: githubCloudOnly: false @@ -85005,7 +85475,7 @@ paths: parameters: - *381 - *382 - - *602 + - *608 requestBody: required: false content: @@ -85043,9 +85513,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85063,7 +85533,7 @@ paths: parameters: - *381 - *382 - - *602 + - *608 responses: '204': description: Response @@ -85086,7 +85556,7 @@ paths: parameters: - *381 - *382 - - *602 + - *608 - *17 - *19 responses: @@ -85096,9 +85566,9 @@ paths: application/json: schema: type: array - items: *579 + items: *585 examples: - default: *580 + default: *586 headers: Link: *40 x-github: @@ -85119,10 +85589,10 @@ paths: parameters: - *381 - *382 - - *603 - - *604 + - *609 + - *610 - *145 - - *605 + - *611 - *17 - *19 responses: @@ -85134,7 +85604,7 @@ paths: type: array items: *168 examples: - default: *606 + default: *612 headers: Link: *40 x-github: @@ -85224,7 +85694,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &613 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85349,7 +85819,7 @@ paths: - custom_404 - public examples: - default: &608 + default: &614 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85445,9 +85915,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *613 examples: - default: *608 + default: *614 '422': *15 '409': *96 x-github: @@ -85616,7 +86086,7 @@ paths: application/json: schema: type: array - items: &609 + items: &615 title: Page Build description: Page Build type: object @@ -85763,9 +86233,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *615 examples: - default: &610 + default: &616 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85825,9 +86295,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *615 examples: - default: *610 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85955,7 +86425,7 @@ paths: parameters: - *381 - *382 - - &611 + - &617 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86015,7 +86485,7 @@ paths: parameters: - *381 - *382 - - *611 + - *617 responses: '204': *120 '404': *6 @@ -86690,9 +87160,9 @@ paths: application/json: schema: type: array - items: *612 + items: *618 examples: - default: *613 + default: *619 headers: Link: *40 '304': *37 @@ -86790,7 +87260,7 @@ paths: description: Response content: application/json: - schema: &617 + schema: &623 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87004,7 +87474,7 @@ paths: - review_comment - self author_association: *142 - auto_merge: *614 + auto_merge: *620 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -87096,7 +87566,7 @@ paths: - merged_by - review_comments examples: - default: &618 + default: &624 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87653,9 +88123,9 @@ paths: application/json: schema: type: array - items: *615 + items: *621 examples: - default: &620 + default: &626 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87740,9 +88210,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *621 examples: - default: &616 + default: &622 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87841,9 +88311,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *621 examples: - default: *616 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88046,7 +88516,7 @@ paths: parameters: - *381 - *382 - - &619 + - &625 name: pull_number description: The number that identifies the pull request. in: path @@ -88059,9 +88529,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *617 + schema: *623 examples: - default: *618 + default: *624 '304': *37 '404': *6 '406': @@ -88098,7 +88568,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: false content: @@ -88140,9 +88610,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *623 examples: - default: *618 + default: *624 '422': *15 '403': *29 x-github: @@ -88166,7 +88636,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: true content: @@ -88268,7 +88738,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 - *165 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -88289,9 +88759,9 @@ paths: application/json: schema: type: array - items: *615 + items: *621 examples: - default: *620 + default: *626 headers: Link: *40 x-github: @@ -88326,7 +88796,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: true content: @@ -88431,7 +88901,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *621 examples: example-for-a-multi-line-comment: value: @@ -88521,7 +88991,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 - *154 requestBody: required: true @@ -88544,7 +89014,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *621 examples: default: value: @@ -88632,7 +89102,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 - *17 - *19 responses: @@ -88644,7 +89114,7 @@ paths: type: array items: *502 examples: - default: *621 + default: *627 headers: Link: *40 x-github: @@ -88676,7 +89146,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 - *17 - *19 responses: @@ -88726,7 +89196,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 responses: '204': description: Response if pull request has been merged @@ -88751,7 +89221,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: false content: @@ -88864,7 +89334,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 responses: '200': description: Response @@ -88941,7 +89411,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: false content: @@ -88978,7 +89448,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *618 examples: default: value: @@ -89516,7 +89986,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: true content: @@ -89550,7 +90020,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *618 examples: default: value: @@ -90057,7 +90527,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 - *17 - *19 responses: @@ -90067,7 +90537,7 @@ paths: application/json: schema: type: array - items: &622 + items: &628 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90220,7 +90690,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: false content: @@ -90306,9 +90776,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: &624 + default: &630 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90373,8 +90843,8 @@ paths: parameters: - *381 - *382 - - *619 - - &623 + - *625 + - &629 name: review_id description: The unique identifier of the review. in: path @@ -90386,9 +90856,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: &625 + default: &631 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90449,8 +90919,8 @@ paths: parameters: - *381 - *382 - - *619 - - *623 + - *625 + - *629 requestBody: required: true content: @@ -90473,7 +90943,7 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: default: value: @@ -90537,16 +91007,16 @@ paths: parameters: - *381 - *382 - - *619 - - *623 + - *625 + - *629 responses: '200': description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: *624 + default: *630 '422': *7 '404': *6 x-github: @@ -90575,8 +91045,8 @@ paths: parameters: - *381 - *382 - - *619 - - *623 + - *625 + - *629 - *17 - *19 responses: @@ -90813,8 +91283,8 @@ paths: parameters: - *381 - *382 - - *619 - - *623 + - *625 + - *629 requestBody: required: true content: @@ -90842,7 +91312,7 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: default: value: @@ -90907,8 +91377,8 @@ paths: parameters: - *381 - *382 - - *619 - - *623 + - *625 + - *629 requestBody: required: true content: @@ -90943,9 +91413,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: *625 + default: *631 '404': *6 '422': *7 '403': *29 @@ -90969,7 +91439,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: false content: @@ -91046,9 +91516,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *632 examples: - default: &627 + default: &633 value: type: file encoding: base64 @@ -91111,9 +91581,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *632 examples: - default: *627 + default: *633 '404': *6 '422': *15 x-github: @@ -91146,7 +91616,7 @@ paths: application/json: schema: type: array - items: &628 + items: &634 title: Release description: A release. type: object @@ -91209,7 +91679,7 @@ paths: author: *4 assets: type: array - items: &629 + items: &635 title: Release Asset description: Data related to a release. type: object @@ -91472,9 +91942,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *634 examples: - default: &632 + default: &638 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -91580,7 +92050,7 @@ paths: parameters: - *381 - *382 - - &630 + - &636 name: asset_id description: The unique identifier of the asset. in: path @@ -91592,9 +92062,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *635 examples: - default: &631 + default: &637 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -91647,7 +92117,7 @@ paths: parameters: - *381 - *382 - - *630 + - *636 requestBody: required: false content: @@ -91675,9 +92145,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *635 examples: - default: *631 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91695,7 +92165,7 @@ paths: parameters: - *381 - *382 - - *630 + - *636 responses: '204': description: Response @@ -91812,9 +92282,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *634 examples: - default: *632 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91845,9 +92315,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *634 examples: - default: *632 + default: *638 '404': *6 x-github: githubCloudOnly: false @@ -91871,7 +92341,7 @@ paths: parameters: - *381 - *382 - - &633 + - &639 name: release_id description: The unique identifier of the release. in: path @@ -91885,9 +92355,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *628 + schema: *634 examples: - default: *632 + default: *638 '401': description: Unauthorized x-github: @@ -91907,7 +92377,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 requestBody: required: false content: @@ -91971,9 +92441,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *634 examples: - default: *632 + default: *638 '404': description: Not Found if the discussion category name is invalid content: @@ -91996,7 +92466,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 responses: '204': description: Response @@ -92018,7 +92488,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 - *17 - *19 responses: @@ -92028,7 +92498,7 @@ paths: application/json: schema: type: array - items: *629 + items: *635 examples: default: value: @@ -92112,7 +92582,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 - name: name in: query required: true @@ -92138,7 +92608,7 @@ paths: description: Response for successful upload content: application/json: - schema: *629 + schema: *635 examples: response-for-successful-upload: value: @@ -92195,7 +92665,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 - 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 release. @@ -92244,7 +92714,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 requestBody: required: true content: @@ -92307,7 +92777,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 - *373 responses: '204': @@ -92350,8 +92820,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *634 - - &636 + - *640 + - &642 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92370,66 +92840,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *635 - - *636 - - allOf: - - *637 - - *636 - - allOf: - - *638 - - *636 - - allOf: - - *639 - - *636 - - allOf: - - *640 - - *636 - allOf: - *641 - - *636 - - allOf: - *642 - - *636 - allOf: - *643 - - *636 + - *642 - allOf: - *644 - - *636 + - *642 - allOf: - *645 - - *636 + - *642 - allOf: - *646 - - *636 + - *642 - allOf: - *647 - - *636 + - *642 - allOf: - *648 - - *636 + - *642 - allOf: - *649 - - *636 + - *642 - allOf: - *650 - - *636 + - *642 - allOf: - *651 - - *636 + - *642 - allOf: - *652 - - *636 + - *642 - allOf: - *653 - - *636 + - *642 - allOf: - *654 - - *636 + - *642 - allOf: - *655 - - *636 + - *642 + - allOf: + - *656 + - *642 + - allOf: + - *657 + - *642 + - allOf: + - *658 + - *642 + - allOf: + - *659 + - *642 + - allOf: + - *660 + - *642 + - allOf: + - *661 + - *642 examples: default: value: @@ -92480,7 +92950,7 @@ paths: schema: type: boolean default: true - - *656 + - *662 responses: '200': description: Response @@ -92598,7 +93068,7 @@ paths: application/json: schema: *130 examples: - default: &665 + default: &671 value: id: 42 name: super cool ruleset @@ -92647,10 +93117,10 @@ paths: parameters: - *381 - *382 - - *657 + - *663 - *225 - - *658 - - *659 + - *664 + - *665 - *17 - *19 responses: @@ -92658,9 +93128,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *666 examples: - default: *661 + default: *667 '404': *6 '500': *85 x-github: @@ -92683,15 +93153,15 @@ paths: parameters: - *381 - *382 - - *662 + - *668 responses: '200': description: Response content: application/json: - schema: *663 + schema: *669 examples: - default: *664 + default: *670 '404': *6 '500': *85 x-github: @@ -92742,7 +93212,7 @@ paths: application/json: schema: *130 examples: - default: *665 + default: *671 '404': *6 '500': *85 put: @@ -92825,7 +93295,7 @@ paths: application/json: schema: *130 examples: - default: *665 + default: *671 '404': *6 '500': *85 delete: @@ -92988,8 +93458,8 @@ paths: - *88 - *19 - *17 - - *666 - - *667 + - *672 + - *673 - *341 - *342 - *343 @@ -93001,7 +93471,7 @@ paths: application/json: schema: type: array - items: &671 + items: &677 type: object properties: number: *100 @@ -93020,8 +93490,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *668 - resolution: *669 + state: *674 + resolution: *675 resolved_at: type: string format: date-time @@ -93117,7 +93587,7 @@ paths: pull request. ' - oneOf: *670 + oneOf: *676 nullable: true has_more_locations: type: boolean @@ -93276,7 +93746,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *677 examples: default: value: @@ -93338,8 +93808,8 @@ paths: schema: type: object properties: - state: *668 - resolution: *669 + state: *674 + resolution: *675 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -93357,7 +93827,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *677 examples: default: value: @@ -93445,7 +93915,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &847 + items: &853 type: object properties: type: @@ -93471,12 +93941,6 @@ paths: example: commit details: oneOf: - - *672 - - *673 - - *674 - - *675 - - *676 - - *677 - *678 - *679 - *680 @@ -93484,6 +93948,12 @@ paths: - *682 - *683 - *684 + - *685 + - *686 + - *687 + - *688 + - *689 + - *690 examples: default: value: @@ -93578,14 +94048,14 @@ paths: schema: type: object properties: - reason: &686 + reason: &692 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *685 + placeholder_id: *691 required: - reason - placeholder_id @@ -93602,7 +94072,7 @@ paths: schema: type: object properties: - reason: *686 + reason: *692 expire_at: type: string format: date-time @@ -93661,7 +94131,7 @@ paths: properties: incremental_scans: type: array - items: &687 + items: &693 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93687,15 +94157,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *687 + items: *693 backfill_scans: type: array - items: *687 + items: *693 custom_pattern_backfill_scans: type: array items: allOf: - - *687 + - *693 - type: object properties: pattern_name: @@ -93810,9 +94280,9 @@ paths: application/json: schema: type: array - items: *688 + items: *694 examples: - default: *689 + default: *695 '400': *14 '404': *6 x-github: @@ -93996,9 +94466,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *694 examples: - default: &691 + default: &697 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94336,7 +94806,7 @@ paths: description: Response content: application/json: - schema: *688 + schema: *694 examples: default: value: @@ -94485,15 +94955,15 @@ paths: parameters: - *381 - *382 - - *690 + - *696 responses: '200': description: Response content: application/json: - schema: *688 + schema: *694 examples: - default: *691 + default: *697 '403': *29 '404': *6 x-github: @@ -94519,7 +94989,7 @@ paths: parameters: - *381 - *382 - - *690 + - *696 requestBody: required: true content: @@ -94678,10 +95148,10 @@ paths: description: Response content: application/json: - schema: *688 + schema: *694 examples: - default: *691 - add_credit: *691 + default: *697 + add_credit: *697 '403': *29 '404': *6 '422': @@ -94721,7 +95191,7 @@ paths: parameters: - *381 - *382 - - *690 + - *696 responses: '202': *39 '400': *14 @@ -94750,7 +95220,7 @@ paths: parameters: - *381 - *382 - - *690 + - *696 responses: '202': description: Response @@ -94894,7 +95364,7 @@ paths: application/json: schema: type: array - items: &692 + items: &698 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95267,7 +95737,7 @@ paths: application/json: schema: type: array - items: *692 + items: *698 examples: default: value: @@ -95355,7 +95825,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *699 examples: default: value: @@ -95449,7 +95919,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &694 + schema: &700 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95544,7 +96014,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *700 examples: default: value: @@ -95681,7 +96151,7 @@ paths: application/json: schema: type: array - items: &695 + items: &701 title: Tag protection description: Tag protection type: object @@ -95757,7 +96227,7 @@ paths: description: Response content: application/json: - schema: *695 + schema: *701 examples: default: value: @@ -95905,7 +96375,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &702 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95917,7 +96387,7 @@ paths: required: - names examples: - default: &697 + default: &703 value: names: - octocat @@ -95972,9 +96442,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *702 examples: - default: *697 + default: *703 '404': *6 '422': *7 x-github: @@ -95997,7 +96467,7 @@ paths: parameters: - *381 - *382 - - &698 + - &704 name: per description: The time frame to display results for. in: query @@ -96026,7 +96496,7 @@ paths: example: 128 clones: type: array - items: &699 + items: &705 title: Traffic type: object properties: @@ -96267,7 +96737,7 @@ paths: parameters: - *381 - *382 - - *698 + - *704 responses: '200': description: Response @@ -96286,7 +96756,7 @@ paths: example: 3782 views: type: array - items: *699 + items: *705 required: - uniques - count @@ -96958,7 +97428,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &707 + - &713 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -96967,7 +97437,7 @@ paths: schema: type: string example: members - - &712 + - &718 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -96978,7 +97448,7 @@ paths: default: 1 format: int32 example: 1 - - &713 + - &719 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97020,7 +97490,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &701 + items: &707 allOf: - type: object required: @@ -97095,7 +97565,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &714 + meta: &720 type: object description: The metadata associated with the creation/updates to the user. @@ -97155,31 +97625,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &702 + '400': &708 description: Bad request content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 - '401': &703 + schema: *706 + '401': &709 description: Authorization failure - '403': &704 + '403': &710 description: Permission denied - '429': &705 + '429': &711 description: Too many requests content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 - '500': &706 + schema: *706 + '500': &712 description: Internal server error content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 + schema: *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97203,7 +97673,7 @@ paths: required: true content: application/json: - schema: &710 + schema: &716 type: object required: - schemas @@ -97259,9 +97729,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *701 + schema: *707 examples: - group: &708 + group: &714 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -97280,13 +97750,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *702 - '401': *703 - '403': *704 - '409': &711 + '400': *708 + '401': *709 + '403': *710 + '409': &717 description: Duplicate record detected - '429': *705 - '500': *706 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97303,7 +97773,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &709 + - &715 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -97311,22 +97781,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *707 + - *713 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *701 + schema: *707 examples: - default: *708 - '400': *702 - '401': *703 - '403': *704 + default: *714 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '429': *705 - '500': *706 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97345,13 +97815,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *709 + - *715 - *41 requestBody: required: true content: application/json: - schema: *710 + schema: *716 examples: group: summary: Group @@ -97377,17 +97847,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *701 + schema: *707 examples: - group: *708 - groupWithMembers: *708 - '400': *702 - '401': *703 - '403': *704 + group: *714 + groupWithMembers: *714 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '409': *711 - '429': *705 - '500': *706 + '409': *717 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97411,13 +97881,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *709 + - *715 - *41 requestBody: required: true content: application/json: - schema: &721 + schema: &727 type: object required: - Operations @@ -97477,17 +97947,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *701 + schema: *707 examples: - updateGroup: *708 - addMembers: *708 - '400': *702 - '401': *703 - '403': *704 + updateGroup: *714 + addMembers: *714 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '409': *711 - '429': *705 - '500': *706 + '409': *717 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97503,17 +97973,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *709 + - *715 - *41 responses: '204': description: Group was deleted, no content - '400': *702 - '401': *703 - '403': *704 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '429': *705 - '500': *706 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97547,8 +98017,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *712 - - *713 + - *718 + - *719 - *41 responses: '200': @@ -97581,7 +98051,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &716 + items: &722 allOf: - type: object required: @@ -97660,7 +98130,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &715 + roles: &721 type: array description: The roles assigned to the user. items: @@ -97716,7 +98186,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *714 + meta: *720 startIndex: type: integer description: A starting index for the returned page @@ -97753,11 +98223,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *702 - '401': *703 - '403': *704 - '429': *705 - '500': *706 + '400': *708 + '401': *709 + '403': *710 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97781,7 +98251,7 @@ paths: required: true content: application/json: - schema: &719 + schema: &725 type: object required: - schemas @@ -97863,9 +98333,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *715 + roles: *721 examples: - user: &720 + user: &726 summary: User value: schemas: @@ -97912,9 +98382,9 @@ paths: description: User has been created content: application/scim+json: - schema: *716 + schema: *722 examples: - user: &717 + user: &723 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97940,13 +98410,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *717 - '400': *702 - '401': *703 - '403': *704 - '409': *711 - '429': *705 - '500': *706 + enterpriseOwner: *723 + '400': *708 + '401': *709 + '403': *710 + '409': *717 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97963,7 +98433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &718 + - &724 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -97976,15 +98446,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *716 + schema: *722 examples: - default: *717 - '400': *702 - '401': *703 - '403': *704 + default: *723 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '429': *705 - '500': *706 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98006,30 +98476,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *718 + - *724 - *41 requestBody: required: true content: application/json: - schema: *719 + schema: *725 examples: - user: *720 + user: *726 responses: '200': description: User was updated content: application/scim+json: - schema: *716 + schema: *722 examples: - user: *717 - '400': *702 - '401': *703 - '403': *704 + user: *723 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '409': *711 - '429': *705 - '500': *706 + '409': *717 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98064,13 +98534,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *718 + - *724 - *41 requestBody: required: true content: application/json: - schema: *721 + schema: *727 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98110,18 +98580,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *716 + schema: *722 examples: - userMultiValuedProperties: *717 - userSingleValuedProperties: *717 - disableUser: *717 - '400': *702 - '401': *703 - '403': *704 + userMultiValuedProperties: *723 + userSingleValuedProperties: *723 + disableUser: *723 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '409': *711 - '429': *705 - '500': *706 + '409': *717 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98141,17 +98611,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *718 + - *724 - *41 responses: '204': description: User was deleted, no content - '400': *702 - '401': *703 - '403': *704 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '429': *705 - '500': *706 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98238,7 +98708,7 @@ paths: example: 1 Resources: type: array - items: &722 + items: &728 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -98469,22 +98939,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &723 + '404': &729 description: Resource not found content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 - '403': &724 + schema: *706 + '403': &730 description: Forbidden content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 - '400': *702 - '429': *705 + schema: *706 + '400': *708 + '429': *711 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -98510,9 +98980,9 @@ paths: description: Response content: application/scim+json: - schema: *722 + schema: *728 examples: - default: &725 + default: &731 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98535,17 +99005,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *723 - '403': *724 - '500': *706 + '404': *729 + '403': *730 + '500': *712 '409': description: Conflict content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 - '400': *702 + schema: *706 + '400': *708 requestBody: required: true content: @@ -98643,17 +99113,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *172 - - *718 + - *724 responses: '200': description: Response content: application/scim+json: - schema: *722 + schema: *728 examples: - default: *725 - '404': *723 - '403': *724 + default: *731 + '404': *729 + '403': *730 '304': *37 x-github: githubCloudOnly: true @@ -98677,18 +99147,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *172 - - *718 + - *724 responses: '200': description: Response content: application/scim+json: - schema: *722 + schema: *728 examples: - default: *725 + default: *731 '304': *37 - '404': *723 - '403': *724 + '404': *729 + '403': *730 requestBody: required: true content: @@ -98801,19 +99271,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *172 - - *718 + - *724 responses: '200': description: Response content: application/scim+json: - schema: *722 + schema: *728 examples: - default: *725 + default: *731 '304': *37 - '404': *723 - '403': *724 - '400': *702 + '404': *729 + '403': *730 + '400': *708 '429': description: Response content: @@ -98904,12 +99374,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *172 - - *718 + - *724 responses: '204': description: Response - '404': *723 - '403': *724 + '404': *729 + '403': *730 '304': *37 x-github: githubCloudOnly: true @@ -99042,7 +99512,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &726 + text_matches: &732 title: Search Result Text Matches type: array items: @@ -99205,7 +99675,7 @@ paths: enum: - author-date - committer-date - - &727 + - &733 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -99296,7 +99766,7 @@ paths: url: type: string format: uri - verification: *557 + verification: *563 required: - author - committer @@ -99333,7 +99803,7 @@ paths: type: number node_id: type: string - text_matches: *726 + text_matches: *732 required: - sha - node_id @@ -99516,7 +99986,7 @@ paths: - interactions - created - updated - - *727 + - *733 - *17 - *19 - name: advanced_search @@ -99658,7 +100128,7 @@ paths: type: string format: date-time nullable: true - text_matches: *726 + text_matches: *732 pull_request: type: object properties: @@ -99886,7 +100356,7 @@ paths: enum: - created - updated - - *727 + - *733 - *17 - *19 responses: @@ -99930,7 +100400,7 @@ paths: nullable: true score: type: number - text_matches: *726 + text_matches: *732 required: - id - node_id @@ -100016,7 +100486,7 @@ paths: - forks - help-wanted-issues - updated - - *727 + - *733 - *17 - *19 responses: @@ -100255,7 +100725,7 @@ paths: - admin - pull - push - text_matches: *726 + text_matches: *732 temp_clone_token: type: string allow_merge_commit: @@ -100556,7 +101026,7 @@ paths: type: string format: uri nullable: true - text_matches: *726 + text_matches: *732 related: type: array nullable: true @@ -100749,7 +101219,7 @@ paths: - followers - repositories - joined - - *727 + - *733 - *17 - *19 responses: @@ -100853,7 +101323,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *726 + text_matches: *732 blog: type: string nullable: true @@ -100932,7 +101402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &728 + - &734 name: team_id description: The unique identifier of the team. in: path @@ -100973,7 +101443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *728 + - *734 requestBody: required: true content: @@ -101073,7 +101543,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *728 + - *734 responses: '204': description: Response @@ -101104,7 +101574,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *728 + - *734 - *88 - *17 - *19 @@ -101117,7 +101587,7 @@ paths: type: array items: *364 examples: - default: *729 + default: *735 headers: Link: *40 x-github: @@ -101146,7 +101616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *728 + - *734 requestBody: required: true content: @@ -101209,7 +101679,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *728 + - *734 - *366 responses: '200': @@ -101243,7 +101713,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *728 + - *734 - *366 requestBody: required: false @@ -101269,7 +101739,7 @@ paths: application/json: schema: *364 examples: - default: *730 + default: *736 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101294,7 +101764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *728 + - *734 - *366 responses: '204': @@ -101324,7 +101794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *728 + - *734 - *366 - *88 - *17 @@ -101338,7 +101808,7 @@ paths: type: array items: *367 examples: - default: *731 + default: *737 headers: Link: *40 x-github: @@ -101367,7 +101837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *728 + - *734 - *366 requestBody: required: true @@ -101419,7 +101889,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *728 + - *734 - *366 - *369 responses: @@ -101454,7 +101924,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *728 + - *734 - *366 - *369 requestBody: @@ -101480,7 +101950,7 @@ paths: application/json: schema: *367 examples: - default: *732 + default: *738 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101505,7 +101975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *728 + - *734 - *366 - *369 responses: @@ -101536,7 +102006,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *728 + - *734 - *366 - *369 - name: content @@ -101595,7 +102065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *728 + - *734 - *366 - *369 requestBody: @@ -101657,7 +102127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *728 + - *734 - *366 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -101715,7 +102185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *728 + - *734 - *366 requestBody: required: true @@ -101774,7 +102244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *728 + - *734 - *17 - *19 responses: @@ -101812,7 +102282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *728 + - *734 - name: role description: Filters members returned by their role in the team. in: query @@ -101863,7 +102333,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *728 + - *734 - *222 responses: '204': @@ -101900,7 +102370,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *728 + - *734 - *222 responses: '204': @@ -101940,7 +102410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *728 + - *734 - *222 responses: '204': @@ -101977,7 +102447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *728 + - *734 - *222 responses: '200': @@ -101986,7 +102456,7 @@ paths: application/json: schema: *378 examples: - response-if-user-is-a-team-maintainer: *733 + response-if-user-is-a-team-maintainer: *739 '404': *6 x-github: githubCloudOnly: false @@ -102019,7 +102489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *728 + - *734 - *222 requestBody: required: false @@ -102047,7 +102517,7 @@ paths: application/json: schema: *378 examples: - response-if-users-membership-with-team-is-now-pending: *734 + response-if-users-membership-with-team-is-now-pending: *740 '403': description: Forbidden if team synchronization is set up '422': @@ -102081,7 +102551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *728 + - *734 - *222 responses: '204': @@ -102110,7 +102580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *728 + - *734 - *17 - *19 responses: @@ -102122,7 +102592,7 @@ paths: type: array items: *379 examples: - default: *735 + default: *741 headers: Link: *40 '404': *6 @@ -102148,7 +102618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *728 + - *734 - *380 responses: '200': @@ -102157,7 +102627,7 @@ paths: application/json: schema: *379 examples: - default: *736 + default: *742 '404': description: Not Found if project is not managed by this team x-github: @@ -102181,7 +102651,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *728 + - *734 - *380 requestBody: required: false @@ -102249,7 +102719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *728 + - *734 - *380 responses: '204': @@ -102277,7 +102747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *728 + - *734 - *17 - *19 responses: @@ -102319,7 +102789,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *728 + - *734 - *381 - *382 responses: @@ -102327,7 +102797,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *737 + schema: *743 examples: alternative-response-with-extra-repository-information: value: @@ -102478,7 +102948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *728 + - *734 - *381 - *382 requestBody: @@ -102530,7 +103000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *728 + - *734 - *381 - *382 responses: @@ -102561,7 +103031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *728 + - *734 responses: '200': description: Response @@ -102596,7 +103066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *728 + - *734 requestBody: required: true content: @@ -102684,7 +103154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *728 + - *734 - *17 - *19 responses: @@ -102696,7 +103166,7 @@ paths: type: array items: *231 examples: - response-if-child-teams-exist: *738 + response-if-child-teams-exist: *744 headers: Link: *40 '404': *6 @@ -102729,7 +103199,7 @@ paths: application/json: schema: oneOf: - - &740 + - &746 title: Private User description: Private User type: object @@ -102932,7 +103402,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *739 + - *745 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103085,7 +103555,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *746 examples: default: value: @@ -103483,7 +103953,7 @@ paths: type: integer secrets: type: array - items: &741 + items: &747 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -103599,7 +104069,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *747 examples: default: value: @@ -103745,7 +104215,7 @@ paths: type: array items: *200 examples: - default: *742 + default: *748 '401': *25 '403': *29 '404': *6 @@ -104012,7 +104482,7 @@ paths: description: Response content: application/json: - schema: &743 + schema: &749 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104053,7 +104523,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &744 + default: &750 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -104098,9 +104568,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *749 examples: - default: *744 + default: *750 '404': *6 x-github: githubCloudOnly: false @@ -104137,9 +104607,9 @@ paths: type: integer machines: type: array - items: *745 + items: *751 examples: - default: *746 + default: *752 '304': *37 '500': *85 '401': *25 @@ -105078,7 +105548,7 @@ paths: type: array items: *309 examples: - default: &759 + default: &765 value: - id: 197 name: hello_docker @@ -105179,7 +105649,7 @@ paths: application/json: schema: type: array - items: &747 + items: &753 title: Email description: Email type: object @@ -105244,9 +105714,9 @@ paths: application/json: schema: type: array - items: *747 + items: *753 examples: - default: &761 + default: &767 value: - email: octocat@github.com verified: true @@ -105321,7 +105791,7 @@ paths: application/json: schema: type: array - items: *747 + items: *753 examples: default: value: @@ -105577,7 +106047,7 @@ paths: application/json: schema: type: array - items: &748 + items: &754 title: GPG Key description: A unique encryption key type: object @@ -105708,7 +106178,7 @@ paths: - subkeys - revoked examples: - default: &775 + default: &781 value: - id: 3 name: Octocat's GPG Key @@ -105793,9 +106263,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *754 examples: - default: &749 + default: &755 value: id: 3 name: Octocat's GPG Key @@ -105852,7 +106322,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &750 + - &756 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -105864,9 +106334,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *754 examples: - default: *749 + default: *755 '404': *6 '304': *37 '403': *29 @@ -105889,7 +106359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *750 + - *756 responses: '204': description: Response @@ -106080,7 +106550,7 @@ paths: type: array items: *64 examples: - default: *751 + default: *757 headers: Link: *40 '404': *6 @@ -106194,7 +106664,7 @@ paths: required: true content: application/json: - schema: *568 + schema: *574 examples: default: value: @@ -106344,7 +106814,7 @@ paths: application/json: schema: type: array - items: &752 + items: &758 title: Key description: Key type: object @@ -106441,9 +106911,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *758 examples: - default: &753 + default: &759 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -106476,15 +106946,15 @@ 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: - - *597 + - *603 responses: '200': description: Response content: application/json: - schema: *752 + schema: *758 examples: - default: *753 + default: *759 '404': *6 '304': *37 '403': *29 @@ -106507,7 +106977,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: - - *597 + - *603 responses: '204': description: Response @@ -106540,7 +107010,7 @@ paths: application/json: schema: type: array - items: &754 + items: &760 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -106608,7 +107078,7 @@ paths: - account - plan examples: - default: &755 + default: &761 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106670,9 +107140,9 @@ paths: application/json: schema: type: array - items: *754 + items: *760 examples: - default: *755 + default: *761 headers: Link: *40 '304': *37 @@ -107667,7 +108137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *303 - - *756 + - *762 responses: '204': description: Response @@ -107740,7 +108210,7 @@ paths: type: array items: *59 examples: - default: *757 + default: *763 headers: Link: *40 '304': *37 @@ -107782,7 +108252,7 @@ paths: - docker - nuget - container - - *758 + - *764 - *19 - *17 responses: @@ -107794,8 +108264,8 @@ paths: type: array items: *309 examples: - default: *759 - '400': *760 + default: *765 + '400': *766 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107824,7 +108294,7 @@ paths: application/json: schema: *309 examples: - default: &776 + default: &782 value: id: 40201 name: octo-name @@ -108277,9 +108747,9 @@ paths: application/json: schema: type: array - items: *747 + items: *753 examples: - default: *761 + default: *767 headers: Link: *40 '304': *37 @@ -108392,7 +108862,7 @@ paths: type: array items: *64 examples: - default: &768 + default: &774 summary: Default response value: - id: 1296269 @@ -108736,9 +109206,9 @@ paths: application/json: schema: type: array - items: *570 + items: *576 examples: - default: *762 + default: *768 headers: Link: *40 '304': *37 @@ -108817,7 +109287,7 @@ paths: application/json: schema: type: array - items: &763 + items: &769 title: Social account description: Social media account type: object @@ -108832,7 +109302,7 @@ paths: - provider - url examples: - default: &764 + default: &770 value: - provider: twitter url: https://twitter.com/github @@ -108894,9 +109364,9 @@ paths: application/json: schema: type: array - items: *763 + items: *769 examples: - default: *764 + default: *770 '422': *15 '304': *37 '404': *6 @@ -108983,7 +109453,7 @@ paths: application/json: schema: type: array - items: &765 + items: &771 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -109003,7 +109473,7 @@ paths: - title - created_at examples: - default: &777 + default: &783 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109069,9 +109539,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *771 examples: - default: &766 + default: &772 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109102,7 +109572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &767 + - &773 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -109114,9 +109584,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *771 examples: - default: *766 + default: *772 '404': *6 '304': *37 '403': *29 @@ -109139,7 +109609,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *767 + - *773 responses: '204': description: Response @@ -109168,7 +109638,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &778 + - &784 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -109193,11 +109663,11 @@ paths: type: array items: *64 examples: - default-response: *768 + default-response: *774 application/vnd.github.v3.star+json: schema: type: array - items: &779 + items: &785 title: Starred Repository description: Starred Repository type: object @@ -109566,10 +110036,10 @@ paths: application/json: schema: oneOf: - - *740 - - *739 + - *746 + - *745 examples: - default-response: &770 + default-response: &776 summary: Default response value: login: octocat @@ -109604,7 +110074,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &771 + response-with-git-hub-plan-information: &777 summary: Response with GitHub plan information value: login: octocat @@ -109664,7 +110134,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *769 + - *775 - *17 responses: '200': @@ -109713,11 +110183,11 @@ paths: application/json: schema: oneOf: - - *740 - - *739 + - *746 + - *745 examples: - default-response: *770 - response-with-git-hub-plan-information: *771 + default-response: *776 + response-with-git-hub-plan-information: *777 '404': *6 x-github: githubCloudOnly: false @@ -109766,8 +110236,8 @@ paths: required: - subject_digests examples: - default: *772 - withPredicateType: *773 + default: *778 + withPredicateType: *779 responses: '200': description: Response @@ -109820,7 +110290,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *774 + default: *780 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110063,7 +110533,7 @@ paths: type: array items: *309 examples: - default: *759 + default: *765 '403': *29 '401': *25 x-github: @@ -110467,9 +110937,9 @@ paths: application/json: schema: type: array - items: *748 + items: *754 examples: - default: *775 + default: *781 headers: Link: *40 x-github: @@ -110573,7 +111043,7 @@ paths: application/json: schema: *22 examples: - default: *567 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110654,7 +111124,7 @@ paths: type: array items: *59 examples: - default: *757 + default: *763 headers: Link: *40 x-github: @@ -110693,7 +111163,7 @@ paths: - docker - nuget - container - - *758 + - *764 - *222 - *19 - *17 @@ -110706,10 +111176,10 @@ paths: type: array items: *309 examples: - default: *759 + default: *765 '403': *29 '401': *25 - '400': *760 + '400': *766 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110739,7 +111209,7 @@ paths: application/json: schema: *309 examples: - default: *776 + default: *782 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111523,9 +111993,9 @@ paths: application/json: schema: type: array - items: *763 + items: *769 examples: - default: *764 + default: *770 headers: Link: *40 x-github: @@ -111555,9 +112025,9 @@ paths: application/json: schema: type: array - items: *765 + items: *771 examples: - default: *777 + default: *783 headers: Link: *40 x-github: @@ -111582,7 +112052,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *222 - - *778 + - *784 - *88 - *17 - *19 @@ -111594,11 +112064,11 @@ paths: schema: anyOf: - type: array - items: *779 + items: *785 - type: array items: *64 examples: - default-response: *768 + default-response: *774 headers: Link: *40 x-github: @@ -111757,7 +112227,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &780 + enterprise: &786 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -111815,7 +112285,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &781 + installation: &787 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -111834,7 +112304,7 @@ x-webhooks: required: - id - node_id - organization: &782 + organization: &788 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -111894,13 +112364,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &783 + repository: &789 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &820 + properties: &826 id: description: Unique identifier of the repository example: 42 @@ -112583,7 +113053,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &821 + required: &827 - archive_url - assignees_url - blobs_url @@ -112734,10 +113204,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -112813,11 +113283,11 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - rule: &784 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + rule: &790 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -113040,11 +113510,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - rule: *784 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + rule: *790 sender: *4 required: - action @@ -113227,11 +113697,11 @@ x-webhooks: - everyone required: - from - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - rule: *784 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + rule: *790 sender: *4 required: - action @@ -113302,7 +113772,7 @@ x-webhooks: required: true content: application/json: - schema: &787 + schema: &793 title: Exemption request cancellation event type: object properties: @@ -113310,11 +113780,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - exemption_request: &785 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + exemption_request: &791 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -113547,7 +114017,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &786 + items: &792 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -113655,7 +114125,7 @@ x-webhooks: required: true content: application/json: - schema: &788 + schema: &794 title: Exemption request completed event type: object properties: @@ -113663,11 +114133,11 @@ x-webhooks: type: string enum: - completed - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - exemption_request: *785 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + exemption_request: *791 sender: *4 required: - action @@ -113737,7 +114207,7 @@ x-webhooks: required: true content: application/json: - schema: &789 + schema: &795 title: Exemption request created event type: object properties: @@ -113745,11 +114215,11 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - exemption_request: *785 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + exemption_request: *791 sender: *4 required: - action @@ -113819,7 +114289,7 @@ x-webhooks: required: true content: application/json: - schema: &790 + schema: &796 title: Exemption response dismissed event type: object properties: @@ -113827,12 +114297,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - exemption_request: *785 - exemption_response: *786 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + exemption_request: *791 + exemption_response: *792 sender: *4 required: - action @@ -113904,7 +114374,7 @@ x-webhooks: required: true content: application/json: - schema: &791 + schema: &797 title: Exemption response submitted event type: object properties: @@ -113912,12 +114382,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - exemption_request: *785 - exemption_response: *786 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + exemption_request: *791 + exemption_response: *792 sender: *4 required: - action @@ -113990,7 +114460,7 @@ x-webhooks: required: true content: application/json: - schema: *787 + schema: *793 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114057,7 +114527,7 @@ x-webhooks: required: true content: application/json: - schema: *788 + schema: *794 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114124,7 +114594,7 @@ x-webhooks: required: true content: application/json: - schema: *789 + schema: *795 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114191,7 +114661,7 @@ x-webhooks: required: true content: application/json: - schema: *790 + schema: *796 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114259,7 +114729,7 @@ x-webhooks: required: true content: application/json: - schema: *791 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114337,7 +114807,7 @@ x-webhooks: type: string enum: - completed - check_run: &793 + check_run: &799 title: CheckRun description: A check performed on the code of a given code change type: object @@ -114428,7 +114898,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *792 + deployment: *798 details_url: example: https://example.com type: string @@ -114513,9 +114983,9 @@ x-webhooks: - output - app - pull_requests - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - check_run @@ -114908,10 +115378,10 @@ x-webhooks: type: string enum: - created - check_run: *793 - installation: *781 - organization: *782 - repository: *783 + check_run: *799 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - check_run @@ -115307,10 +115777,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *793 - installation: *781 - organization: *782 - repository: *783 + check_run: *799 + installation: *787 + organization: *788 + repository: *789 requested_action: description: The action requested by the user. type: object @@ -115715,10 +116185,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *793 - installation: *781 - organization: *782 - repository: *783 + check_run: *799 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - check_run @@ -116695,10 +117165,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -117368,10 +117838,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -118035,10 +118505,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -118346,20 +118816,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &794 + commit_oid: &800 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *780 - installation: *781 - organization: *782 - ref: &795 + enterprise: *786 + installation: *787 + organization: *788 + ref: &801 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *783 + repository: *789 sender: *4 required: - action @@ -118751,12 +119221,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *794 - enterprise: *780 - installation: *781 - organization: *782 - ref: *795 - repository: *783 + commit_oid: *800 + enterprise: *786 + installation: *787 + organization: *788 + ref: *801 + repository: *789 sender: *4 required: - action @@ -119019,12 +119489,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *794 - enterprise: *780 - installation: *781 - organization: *782 - ref: *795 - repository: *783 + commit_oid: *800 + enterprise: *786 + installation: *787 + organization: *788 + ref: *801 + repository: *789 sender: *4 required: - action @@ -119353,12 +119823,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *794 - enterprise: *780 - installation: *781 - organization: *782 - ref: *795 - repository: *783 + commit_oid: *800 + enterprise: *786 + installation: *787 + organization: *788 + ref: *801 + repository: *789 sender: *4 required: - action @@ -119623,16 +120093,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *783 + repository: *789 sender: *4 required: - action @@ -119866,12 +120336,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *794 - enterprise: *780 - installation: *781 - organization: *782 - ref: *795 - repository: *783 + commit_oid: *800 + enterprise: *786 + installation: *787 + organization: *788 + ref: *801 + repository: *789 sender: *4 required: - action @@ -120128,10 +120598,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -120211,18 +120681,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *782 - pusher_type: &796 + organization: *788 + pusher_type: &802 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &797 + ref: &803 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -120232,7 +120702,7 @@ x-webhooks: enum: - tag - branch - repository: *783 + repository: *789 sender: *4 required: - ref @@ -120315,9 +120785,9 @@ x-webhooks: enum: - created definition: *116 - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 sender: *4 required: - action @@ -120402,9 +120872,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 sender: *4 required: - action @@ -120482,9 +120952,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *116 - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 sender: *4 required: - action @@ -120562,9 +121032,9 @@ x-webhooks: enum: - updated definition: *116 - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 sender: *4 required: - action @@ -120641,10 +121111,10 @@ x-webhooks: type: string enum: - updated - enterprise: *780 - installation: *781 - repository: *783 - organization: *782 + enterprise: *786 + installation: *787 + repository: *789 + organization: *788 sender: *4 new_property_values: type: array @@ -120729,18 +121199,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *780 - installation: *781 - organization: *782 - pusher_type: *796 - ref: *797 + enterprise: *786 + installation: *787 + organization: *788 + pusher_type: *802 + ref: *803 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *783 + repository: *789 sender: *4 required: - ref @@ -120825,10 +121295,10 @@ x-webhooks: enum: - auto_dismissed alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -120913,10 +121383,10 @@ x-webhooks: enum: - auto_reopened alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121001,10 +121471,10 @@ x-webhooks: enum: - created alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121087,10 +121557,10 @@ x-webhooks: enum: - dismissed alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121173,10 +121643,10 @@ x-webhooks: enum: - fixed alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121260,10 +121730,10 @@ x-webhooks: enum: - reintroduced alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121346,10 +121816,10 @@ x-webhooks: enum: - reopened alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121426,9 +121896,9 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - key: &798 + enterprise: *786 + installation: *787 + key: &804 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -121464,8 +121934,8 @@ x-webhooks: - verified - created_at - read_only - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -121542,11 +122012,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - key: *798 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + key: *804 + organization: *788 + repository: *789 sender: *4 required: - action @@ -122107,12 +122577,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - workflow: &802 + workflow: &808 title: Workflow type: object nullable: true @@ -122841,10 +123311,10 @@ x-webhooks: deployment: *529 pull_requests: type: array - items: *617 - repository: *783 - organization: *782 - installation: *781 + items: *623 + repository: *789 + organization: *788 + installation: *787 sender: *4 responses: '200': @@ -122915,7 +123385,7 @@ x-webhooks: type: string enum: - approved - approver: &799 + approver: &805 type: object properties: avatar_url: @@ -122958,11 +123428,11 @@ x-webhooks: type: string comment: type: string - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - reviewers: &800 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + reviewers: &806 type: array items: type: object @@ -123041,7 +123511,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &801 + workflow_job_run: &807 type: object properties: conclusion: @@ -123772,18 +124242,18 @@ x-webhooks: type: string enum: - rejected - approver: *799 + approver: *805 comment: type: string - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - reviewers: *800 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + reviewers: *806 sender: *4 since: type: string - workflow_job_run: *801 + workflow_job_run: *807 workflow_job_runs: type: array items: @@ -124487,13 +124957,13 @@ x-webhooks: type: string enum: - requested - enterprise: *780 + enterprise: *786 environment: type: string - installation: *781 - organization: *782 - repository: *783 - requestor: &807 + installation: *787 + organization: *788 + repository: *789 + requestor: &813 title: User type: object nullable: true @@ -126392,12 +126862,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - workflow: *802 + workflow: *808 workflow_run: title: Deployment Workflow Run type: object @@ -127077,7 +127547,7 @@ x-webhooks: type: string enum: - answered - answer: &805 + answer: &811 type: object properties: author_association: @@ -127234,7 +127704,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &803 + discussion: &809 title: Discussion description: A Discussion in a repository. type: object @@ -127520,7 +127990,7 @@ x-webhooks: - id labels: type: array - items: *579 + items: *585 required: - repository_url - category @@ -127542,10 +128012,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -127672,11 +128142,11 @@ x-webhooks: - from required: - category - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -127759,11 +128229,11 @@ x-webhooks: type: string enum: - closed - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -127845,7 +128315,7 @@ x-webhooks: type: string enum: - created - comment: &804 + comment: &810 type: object properties: author_association: @@ -128002,11 +128472,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128089,12 +128559,12 @@ x-webhooks: type: string enum: - deleted - comment: *804 - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + comment: *810 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128189,12 +128659,12 @@ x-webhooks: - from required: - body - comment: *804 - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + comment: *810 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128278,11 +128748,11 @@ x-webhooks: type: string enum: - created - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128364,11 +128834,11 @@ x-webhooks: type: string enum: - deleted - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128468,11 +128938,11 @@ x-webhooks: type: string required: - from - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128554,10 +129024,10 @@ x-webhooks: type: string enum: - labeled - discussion: *803 - enterprise: *780 - installation: *781 - label: &806 + discussion: *809 + enterprise: *786 + installation: *787 + label: &812 title: Label type: object properties: @@ -128589,8 +129059,8 @@ x-webhooks: - color - default - description - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128673,11 +129143,11 @@ x-webhooks: type: string enum: - locked - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128759,11 +129229,11 @@ x-webhooks: type: string enum: - pinned - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128845,11 +129315,11 @@ x-webhooks: type: string enum: - reopened - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128934,16 +129404,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *803 - new_repository: *783 + new_discussion: *809 + new_repository: *789 required: - new_discussion - new_repository - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -129026,10 +129496,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *803 - old_answer: *805 - organization: *782 - repository: *783 + discussion: *809 + old_answer: *811 + organization: *788 + repository: *789 sender: *4 required: - action @@ -129111,12 +129581,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *803 - enterprise: *780 - installation: *781 - label: *806 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -129199,11 +129669,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -129285,11 +129755,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -129358,7 +129828,7 @@ x-webhooks: required: true content: application/json: - schema: *789 + schema: *795 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129421,7 +129891,7 @@ x-webhooks: required: true content: application/json: - schema: *791 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129487,7 +129957,7 @@ x-webhooks: required: true content: application/json: - schema: *787 + schema: *793 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129553,7 +130023,7 @@ x-webhooks: required: true content: application/json: - schema: *788 + schema: *794 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129619,7 +130089,7 @@ x-webhooks: required: true content: application/json: - schema: *789 + schema: *795 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129685,7 +130155,7 @@ x-webhooks: required: true content: application/json: - schema: *790 + schema: *796 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129751,7 +130221,7 @@ x-webhooks: required: true content: application/json: - schema: *791 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129818,7 +130288,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *780 + enterprise: *786 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -130478,9 +130948,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - forkee @@ -130626,9 +131096,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pages: description: The pages that were updated. type: array @@ -130665,7 +131135,7 @@ x-webhooks: - action - sha - html_url - repository: *783 + repository: *789 sender: *4 required: - pages @@ -130741,10 +131211,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories: &808 + organization: *788 + repositories: &814 description: An array of repository objects that the installation can access. type: array @@ -130770,8 +131240,8 @@ x-webhooks: - name - full_name - private - repository: *783 - requester: *807 + repository: *789 + requester: *813 sender: *4 required: - action @@ -130846,11 +131316,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories: *808 - repository: *783 + organization: *788 + repositories: *814 + repository: *789 requester: nullable: true sender: *4 @@ -130926,11 +131396,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories: *808 - repository: *783 + organization: *788 + repositories: *814 + repository: *789 requester: nullable: true sender: *4 @@ -131006,10 +131476,10 @@ x-webhooks: type: string enum: - added - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories_added: &809 + organization: *788 + repositories_added: &815 description: An array of repository objects, which were added to the installation. type: array @@ -131055,15 +131525,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *783 - repository_selection: &810 + repository: *789 + repository_selection: &816 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *807 + requester: *813 sender: *4 required: - action @@ -131142,10 +131612,10 @@ x-webhooks: type: string enum: - removed - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories_added: *809 + organization: *788 + repositories_added: *815 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -131172,9 +131642,9 @@ x-webhooks: - name - full_name - private - repository: *783 - repository_selection: *810 - requester: *807 + repository: *789 + repository_selection: *816 + requester: *813 sender: *4 required: - action @@ -131253,11 +131723,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories: *808 - repository: *783 + organization: *788 + repositories: *814 + repository: *789 requester: nullable: true sender: *4 @@ -131436,10 +131906,10 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 target_type: type: string @@ -131518,11 +131988,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories: *808 - repository: *783 + organization: *788 + repositories: *814 + repository: *789 requester: nullable: true sender: *4 @@ -131774,8 +132244,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -132931,8 +133401,8 @@ x-webhooks: - state - locked - assignee - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -133012,7 +133482,7 @@ x-webhooks: type: string enum: - deleted - comment: &811 + comment: &817 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -133177,8 +133647,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134332,8 +134802,8 @@ x-webhooks: - state - locked - assignee - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -134413,7 +134883,7 @@ x-webhooks: type: string enum: - edited - changes: &839 + changes: &845 description: The changes to the comment. type: object properties: @@ -134425,9 +134895,9 @@ x-webhooks: type: string required: - from - comment: *811 - enterprise: *780 - installation: *781 + comment: *817 + enterprise: *786 + installation: *787 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135582,8 +136052,8 @@ x-webhooks: - state - locked - assignee - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -135665,10 +136135,10 @@ x-webhooks: type: string enum: - assigned - assignee: *807 - enterprise: *780 - installation: *781 - issue: &814 + assignee: *813 + enterprise: *786 + installation: *787 + issue: &820 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136587,8 +137057,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -136668,8 +137138,8 @@ x-webhooks: type: string enum: - closed - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137728,8 +138198,8 @@ x-webhooks: required: - state - closed_at - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -137808,8 +138278,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138723,8 +139193,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -138803,8 +139273,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139719,7 +140189,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &812 + milestone: &818 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139857,8 +140327,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -139957,8 +140427,8 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140877,9 +141347,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *806 - organization: *782 - repository: *783 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -140959,8 +141429,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141878,9 +142348,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *806 - organization: *782 - repository: *783 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -141960,8 +142430,8 @@ x-webhooks: type: string enum: - locked - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142880,8 +143350,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -142960,8 +143430,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143874,9 +144344,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *812 - organization: *782 - repository: *783 + milestone: *818 + organization: *788 + repository: *789 sender: *4 required: - action @@ -145319,8 +145789,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146238,8 +146708,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -146319,9 +146789,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *780 - installation: *781 - issue: &813 + enterprise: *786 + installation: *787 + issue: &819 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147233,8 +147703,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -147313,8 +147783,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148232,8 +148702,8 @@ x-webhooks: user_view_type: type: string type: *291 - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -149696,11 +150166,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *780 - installation: *781 - issue: *813 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + issue: *819 + organization: *788 + repository: *789 sender: *4 required: - action @@ -149780,12 +150250,12 @@ x-webhooks: type: string enum: - typed - enterprise: *780 - installation: *781 - issue: *814 + enterprise: *786 + installation: *787 + issue: *820 type: *291 - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -149866,7 +150336,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &842 + assignee: &848 title: User type: object nullable: true @@ -149936,11 +150406,11 @@ x-webhooks: required: - login - id - enterprise: *780 - installation: *781 - issue: *814 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + issue: *820 + organization: *788 + repository: *789 sender: *4 required: - action @@ -150019,12 +150489,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *780 - installation: *781 - issue: *814 - label: *806 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + issue: *820 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -150104,8 +150574,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151022,8 +151492,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151103,11 +151573,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *780 - installation: *781 - issue: *813 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + issue: *819 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151186,12 +151656,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *780 - installation: *781 - issue: *814 + enterprise: *786 + installation: *787 + issue: *820 type: *291 - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151271,11 +151741,11 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - label: *806 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151353,11 +151823,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - label: *806 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151467,11 +151937,11 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - label: *806 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151553,9 +152023,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *780 - installation: *781 - marketplace_purchase: &815 + enterprise: *786 + installation: *787 + marketplace_purchase: &821 title: Marketplace Purchase type: object required: @@ -151638,8 +152108,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *782 - previous_marketplace_purchase: &816 + organization: *788 + previous_marketplace_purchase: &822 title: Marketplace Purchase type: object properties: @@ -151719,7 +152189,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *783 + repository: *789 sender: *4 required: - action @@ -151799,10 +152269,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *780 - installation: *781 - marketplace_purchase: *815 - organization: *782 + enterprise: *786 + installation: *787 + marketplace_purchase: *821 + organization: *788 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151885,7 +152355,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *783 + repository: *789 sender: *4 required: - action @@ -151967,10 +152437,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *780 - installation: *781 - marketplace_purchase: *815 - organization: *782 + enterprise: *786 + installation: *787 + marketplace_purchase: *821 + organization: *788 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152052,7 +152522,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *783 + repository: *789 sender: *4 required: - action @@ -152133,8 +152603,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 marketplace_purchase: title: Marketplace Purchase type: object @@ -152216,9 +152686,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *782 - previous_marketplace_purchase: *816 - repository: *783 + organization: *788 + previous_marketplace_purchase: *822 + repository: *789 sender: *4 required: - action @@ -152298,12 +152768,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *780 - installation: *781 - marketplace_purchase: *815 - organization: *782 - previous_marketplace_purchase: *816 - repository: *783 + enterprise: *786 + installation: *787 + marketplace_purchase: *821 + organization: *788 + previous_marketplace_purchase: *822 + repository: *789 sender: *4 required: - action @@ -152405,11 +152875,11 @@ x-webhooks: type: string required: - to - enterprise: *780 - installation: *781 - member: *807 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + member: *813 + organization: *788 + repository: *789 sender: *4 required: - action @@ -152509,11 +152979,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *780 - installation: *781 - member: *807 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + member: *813 + organization: *788 + repository: *789 sender: *4 required: - action @@ -152592,11 +153062,11 @@ x-webhooks: type: string enum: - removed - enterprise: *780 - installation: *781 - member: *807 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + member: *813 + organization: *788 + repository: *789 sender: *4 required: - action @@ -152674,11 +153144,11 @@ x-webhooks: type: string enum: - added - enterprise: *780 - installation: *781 - member: *807 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + member: *813 + organization: *788 + repository: *789 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152754,7 +153224,7 @@ x-webhooks: required: - login - id - team: &817 + team: &823 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152944,11 +153414,11 @@ x-webhooks: type: string enum: - removed - enterprise: *780 - installation: *781 - member: *807 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + member: *813 + organization: *788 + repository: *789 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153025,7 +153495,7 @@ x-webhooks: required: - login - id - team: *817 + team: *823 required: - action - scope @@ -153107,8 +153577,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *781 - merge_group: &819 + installation: *787 + merge_group: &825 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -153127,15 +153597,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *818 + head_commit: *824 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153221,10 +153691,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *781 - merge_group: *819 - organization: *782 - repository: *783 + installation: *787 + merge_group: *825 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153297,7 +153767,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 + enterprise: *786 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -153406,16 +153876,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *781 - organization: *782 + installation: *787 + organization: *788 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *820 - required: *821 + properties: *826 + required: *827 nullable: true sender: *4 required: @@ -153496,11 +153966,11 @@ x-webhooks: type: string enum: - closed - enterprise: *780 - installation: *781 - milestone: *812 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + milestone: *818 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153579,9 +154049,9 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - milestone: &822 + enterprise: *786 + installation: *787 + milestone: &828 title: Milestone description: A collection of related issues and pull requests. type: object @@ -153718,8 +154188,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153798,11 +154268,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - milestone: *812 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + milestone: *818 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153912,11 +154382,11 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - milestone: *812 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + milestone: *818 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153996,11 +154466,11 @@ x-webhooks: type: string enum: - opened - enterprise: *780 - installation: *781 - milestone: *822 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + milestone: *828 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154079,11 +154549,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *807 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + blocked_user: *813 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154162,11 +154632,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *807 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + blocked_user: *813 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154245,9 +154715,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - membership: &823 + enterprise: *786 + installation: *787 + membership: &829 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -154339,8 +154809,8 @@ x-webhooks: - role - organization_url - user - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154418,11 +154888,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *780 - installation: *781 - membership: *823 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + membership: *829 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154501,8 +154971,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -154618,10 +155088,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 - user: *807 + user: *813 required: - action - invitation @@ -154699,11 +155169,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *780 - installation: *781 - membership: *823 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + membership: *829 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154790,11 +155260,11 @@ x-webhooks: properties: from: type: string - enterprise: *780 - installation: *781 - membership: *823 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + membership: *829 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154870,9 +155340,9 @@ x-webhooks: type: string enum: - published - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 package: description: Information about the package. type: object @@ -155371,7 +155841,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &824 + items: &830 title: Ruby Gems metadata type: object properties: @@ -155466,7 +155936,7 @@ x-webhooks: - owner - package_version - registry - repository: *783 + repository: *789 sender: *4 required: - action @@ -155542,9 +156012,9 @@ x-webhooks: type: string enum: - updated - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 package: description: Information about the package. type: object @@ -155897,7 +156367,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *824 + items: *830 source_url: type: string format: uri @@ -155967,7 +156437,7 @@ x-webhooks: - owner - package_version - registry - repository: *783 + repository: *789 sender: *4 required: - action @@ -156144,12 +156614,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *780 + enterprise: *786 id: type: integer - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - id @@ -156226,7 +156696,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &825 + personal_access_token_request: &831 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -156372,10 +156842,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *780 - organization: *782 + enterprise: *786 + organization: *788 sender: *4 - installation: *781 + installation: *787 required: - action - personal_access_token_request @@ -156452,11 +156922,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *825 - enterprise: *780 - organization: *782 + personal_access_token_request: *831 + enterprise: *786 + organization: *788 sender: *4 - installation: *781 + installation: *787 required: - action - personal_access_token_request @@ -156532,11 +157002,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *825 - enterprise: *780 - organization: *782 + personal_access_token_request: *831 + enterprise: *786 + organization: *788 sender: *4 - installation: *781 + installation: *787 required: - action - personal_access_token_request @@ -156611,11 +157081,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *825 - organization: *782 - enterprise: *780 + personal_access_token_request: *831 + organization: *788 + enterprise: *786 sender: *4 - installation: *781 + installation: *787 required: - action - personal_access_token_request @@ -156720,7 +157190,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *826 + last_response: *832 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -156752,8 +157222,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 zen: description: Random string of GitHub zen. @@ -156998,10 +157468,10 @@ x-webhooks: - from required: - note - enterprise: *780 - installation: *781 - organization: *782 - project_card: &827 + enterprise: *786 + installation: *787 + organization: *788 + project_card: &833 title: Project Card type: object properties: @@ -157120,7 +157590,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *783 + repository: *789 sender: *4 required: - action @@ -157201,11 +157671,11 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - project_card: *827 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project_card: *833 + repository: *789 sender: *4 required: - action @@ -157285,9 +157755,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 project_card: title: Project Card type: object @@ -157415,8 +157885,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *820 - required: *821 + properties: *826 + required: *827 nullable: true sender: *4 required: @@ -157510,11 +157980,11 @@ x-webhooks: - from required: - note - enterprise: *780 - installation: *781 - organization: *782 - project_card: *827 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project_card: *833 + repository: *789 sender: *4 required: - action @@ -157608,9 +158078,9 @@ x-webhooks: - from required: - column_id - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 project_card: allOf: - title: Project Card @@ -157800,7 +158270,7 @@ x-webhooks: type: string required: - after_id - repository: *783 + repository: *789 sender: *4 required: - action @@ -157880,10 +158350,10 @@ x-webhooks: type: string enum: - closed - enterprise: *780 - installation: *781 - organization: *782 - project: &829 + enterprise: *786 + installation: *787 + organization: *788 + project: &835 title: Project type: object properties: @@ -158007,7 +158477,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *783 + repository: *789 sender: *4 required: - action @@ -158087,10 +158557,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - project_column: &828 + enterprise: *786 + installation: *787 + organization: *788 + project_column: &834 title: Project Column type: object properties: @@ -158129,7 +158599,7 @@ x-webhooks: - name - created_at - updated_at - repository: *783 + repository: *789 sender: *4 required: - action @@ -158208,18 +158678,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - project_column: *828 + enterprise: *786 + installation: *787 + organization: *788 + project_column: *834 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *820 - required: *821 + properties: *826 + required: *827 nullable: true sender: *4 required: @@ -158309,11 +158779,11 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - organization: *782 - project_column: *828 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project_column: *834 + repository: *789 sender: *4 required: - action @@ -158393,11 +158863,11 @@ x-webhooks: type: string enum: - moved - enterprise: *780 - installation: *781 - organization: *782 - project_column: *828 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project_column: *834 + repository: *789 sender: *4 required: - action @@ -158477,11 +158947,11 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - project: *829 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project: *835 + repository: *789 sender: *4 required: - action @@ -158561,18 +159031,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - project: *829 + enterprise: *786 + installation: *787 + organization: *788 + project: *835 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *820 - required: *821 + properties: *826 + required: *827 nullable: true sender: *4 required: @@ -158674,11 +159144,11 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - organization: *782 - project: *829 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project: *835 + repository: *789 sender: *4 required: - action @@ -158757,11 +159227,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *780 - installation: *781 - organization: *782 - project: *829 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project: *835 + repository: *789 sender: *4 required: - action @@ -158842,9 +159312,9 @@ x-webhooks: type: string enum: - closed - installation: *781 - organization: *782 - projects_v2: &830 + installation: *787 + organization: *788 + projects_v2: &836 title: Projects v2 Project description: A projects v2 project type: object @@ -158987,9 +159457,9 @@ x-webhooks: type: string enum: - created - installation: *781 - organization: *782 - projects_v2: *830 + installation: *787 + organization: *788 + projects_v2: *836 sender: *4 required: - action @@ -159070,9 +159540,9 @@ x-webhooks: type: string enum: - deleted - installation: *781 - organization: *782 - projects_v2: *830 + installation: *787 + organization: *788 + projects_v2: *836 sender: *4 required: - action @@ -159189,9 +159659,9 @@ x-webhooks: type: string to: type: string - installation: *781 - organization: *782 - projects_v2: *830 + installation: *787 + organization: *788 + projects_v2: *836 sender: *4 required: - action @@ -159274,7 +159744,7 @@ x-webhooks: type: string enum: - archived - changes: &834 + changes: &840 type: object properties: archived_at: @@ -159288,9 +159758,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *781 - organization: *782 - projects_v2_item: &831 + installation: *787 + organization: *788 + projects_v2_item: &837 title: Projects v2 Item description: An item belonging to a project type: object @@ -159424,9 +159894,9 @@ x-webhooks: nullable: true to: type: string - installation: *781 - organization: *782 - projects_v2_item: *831 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -159508,9 +159978,9 @@ x-webhooks: type: string enum: - created - installation: *781 - organization: *782 - projects_v2_item: *831 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -159591,9 +160061,9 @@ x-webhooks: type: string enum: - deleted - installation: *781 - organization: *782 - projects_v2_item: *831 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -159699,7 +160169,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &832 + - &838 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -159717,7 +160187,7 @@ x-webhooks: required: - id - name - - &833 + - &839 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -159740,8 +160210,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *832 - - *833 + - *838 + - *839 required: - field_value - type: object @@ -159757,9 +160227,9 @@ x-webhooks: nullable: true required: - body - installation: *781 - organization: *782 - projects_v2_item: *831 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -159854,9 +160324,9 @@ x-webhooks: to: type: string nullable: true - installation: *781 - organization: *782 - projects_v2_item: *831 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -159939,10 +160409,10 @@ x-webhooks: type: string enum: - restored - changes: *834 - installation: *781 - organization: *782 - projects_v2_item: *831 + changes: *840 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -160024,9 +160494,9 @@ x-webhooks: type: string enum: - reopened - installation: *781 - organization: *782 - projects_v2: *830 + installation: *787 + organization: *788 + projects_v2: *836 sender: *4 required: - action @@ -160107,9 +160577,9 @@ x-webhooks: type: string enum: - created - installation: *781 - organization: *782 - projects_v2_status_update: &835 + installation: *787 + organization: *788 + projects_v2_status_update: &841 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -160236,9 +160706,9 @@ x-webhooks: type: string enum: - deleted - installation: *781 - organization: *782 - projects_v2_status_update: *835 + installation: *787 + organization: *788 + projects_v2_status_update: *841 sender: *4 required: - action @@ -160374,9 +160844,9 @@ x-webhooks: type: string format: date nullable: true - installation: *781 - organization: *782 - projects_v2_status_update: *835 + installation: *787 + organization: *788 + projects_v2_status_update: *841 sender: *4 required: - action @@ -160447,10 +160917,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - repository @@ -160527,13 +160997,13 @@ x-webhooks: type: string enum: - assigned - assignee: *807 - enterprise: *780 - installation: *781 - number: &836 + assignee: *813 + enterprise: *786 + installation: *787 + number: &842 description: The pull request number. type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -162816,7 +163286,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -162898,11 +163368,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -165180,7 +165650,7 @@ x-webhooks: - draft reason: type: string - repository: *783 + repository: *789 sender: *4 required: - action @@ -165262,11 +165732,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -167544,7 +168014,7 @@ x-webhooks: - draft reason: type: string - repository: *783 + repository: *789 sender: *4 required: - action @@ -167626,13 +168096,13 @@ x-webhooks: type: string enum: - closed - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: &837 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: &843 allOf: - - *617 + - *623 - type: object properties: allow_auto_merge: @@ -167694,7 +168164,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *783 + repository: *789 sender: *4 required: - action @@ -167775,12 +168245,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: *837 - repository: *783 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: *843 + repository: *789 sender: *4 required: - action @@ -167860,11 +168330,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *780 - milestone: *600 - number: *836 - organization: *782 - pull_request: &838 + enterprise: *786 + milestone: *606 + number: *842 + organization: *788 + pull_request: &844 title: Pull Request type: object properties: @@ -170127,7 +170597,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -170206,11 +170676,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -172492,7 +172962,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *783 + repository: *789 sender: *4 required: - action @@ -172616,12 +173086,12 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: *837 - repository: *783 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: *843 + repository: *789 sender: *4 required: - action @@ -172701,11 +173171,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -174972,7 +175442,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -175052,11 +175522,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *780 - installation: *781 - label: *806 - number: *836 - organization: *782 + enterprise: *786 + installation: *787 + label: *812 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -177338,7 +177808,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -177419,10 +177889,10 @@ x-webhooks: type: string enum: - locked - enterprise: *780 - installation: *781 - number: *836 - organization: *782 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -179702,7 +180172,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -179782,12 +180252,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *780 - milestone: *600 - number: *836 - organization: *782 - pull_request: *838 - repository: *783 + enterprise: *786 + milestone: *606 + number: *842 + organization: *788 + pull_request: *844 + repository: *789 sender: *4 required: - action @@ -179866,12 +180336,12 @@ x-webhooks: type: string enum: - opened - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: *837 - repository: *783 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: *843 + repository: *789 sender: *4 required: - action @@ -179952,12 +180422,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: *837 - repository: *783 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: *843 + repository: *789 sender: *4 required: - action @@ -180037,12 +180507,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: *837 - repository: *783 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: *843 + repository: *789 sender: *4 required: - action @@ -180408,9 +180878,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: type: object properties: @@ -182580,7 +183050,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *783 + repository: *789 sender: *4 required: - action @@ -182660,7 +183130,7 @@ x-webhooks: type: string enum: - deleted - comment: &840 + comment: &846 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -182945,9 +183415,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: type: object properties: @@ -185105,7 +185575,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *783 + repository: *789 sender: *4 required: - action @@ -185185,11 +185655,11 @@ x-webhooks: type: string enum: - edited - changes: *839 - comment: *840 - enterprise: *780 - installation: *781 - organization: *782 + changes: *845 + comment: *846 + enterprise: *786 + installation: *787 + organization: *788 pull_request: type: object properties: @@ -187350,7 +187820,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *783 + repository: *789 sender: *4 required: - action @@ -187431,9 +187901,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: title: Simple Pull Request type: object @@ -189606,7 +190076,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *783 + repository: *789 review: description: The review that was affected. type: object @@ -189849,9 +190319,9 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: title: Simple Pull Request type: object @@ -191905,8 +192375,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *783 - review: &841 + repository: *789 + review: &847 description: The review that was affected. type: object properties: @@ -192135,12 +192605,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: description: The pull request number. type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -194423,7 +194893,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 requested_reviewer: title: User type: object @@ -194507,12 +194977,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: description: The pull request number. type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -196802,7 +197272,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196994,12 +197464,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: description: The pull request number. type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -199284,7 +199754,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 requested_reviewer: title: User type: object @@ -199369,12 +199839,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: description: The pull request number. type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -201650,7 +202120,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201831,9 +202301,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: title: Simple Pull Request type: object @@ -204008,8 +204478,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *783 - review: *841 + repository: *789 + review: *847 sender: *4 required: - action @@ -204089,9 +204559,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: title: Simple Pull Request type: object @@ -206161,7 +206631,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *783 + repository: *789 sender: *4 thread: type: object @@ -206544,9 +207014,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: title: Simple Pull Request type: object @@ -208602,7 +209072,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *783 + repository: *789 sender: *4 thread: type: object @@ -208988,10 +209458,10 @@ x-webhooks: type: string before: type: string - enterprise: *780 - installation: *781 - number: *836 - organization: *782 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -211262,7 +211732,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -211344,11 +211814,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *842 - enterprise: *780 - installation: *781 - number: *836 - organization: *782 + assignee: *848 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -213631,7 +214101,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -213710,11 +214180,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *780 - installation: *781 - label: *806 - number: *836 - organization: *782 + enterprise: *786 + installation: *787 + label: *812 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -215987,7 +216457,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -216068,10 +216538,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *780 - installation: *781 - number: *836 - organization: *782 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -218336,7 +218806,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -218536,7 +219006,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *780 + enterprise: *786 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -218628,8 +219098,8 @@ x-webhooks: - url - author - committer - installation: *781 - organization: *782 + installation: *787 + organization: *788 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -219204,9 +219674,9 @@ x-webhooks: type: string enum: - published - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 registry_package: type: object properties: @@ -219652,7 +220122,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *824 + items: *830 summary: type: string tag_name: @@ -219706,7 +220176,7 @@ x-webhooks: - owner - package_version - registry - repository: *783 + repository: *789 sender: *4 required: - action @@ -219784,9 +220254,9 @@ x-webhooks: type: string enum: - updated - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 registry_package: type: object properties: @@ -220094,7 +220564,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *824 + items: *830 summary: type: string tag_name: @@ -220143,7 +220613,7 @@ x-webhooks: - owner - package_version - registry - repository: *783 + repository: *789 sender: *4 required: - action @@ -220220,10 +220690,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - release: &843 + enterprise: *786 + installation: *787 + organization: *788 + release: &849 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -220532,7 +221002,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *783 + repository: *789 sender: *4 required: - action @@ -220609,11 +221079,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - release: *843 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + release: *849 + repository: *789 sender: *4 required: - action @@ -220730,11 +221200,11 @@ x-webhooks: type: boolean required: - to - enterprise: *780 - installation: *781 - organization: *782 - release: *843 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + release: *849 + repository: *789 sender: *4 required: - action @@ -220812,9 +221282,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -221127,7 +221597,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *783 + repository: *789 sender: *4 required: - action @@ -221203,10 +221673,10 @@ x-webhooks: type: string enum: - published - enterprise: *780 - installation: *781 - organization: *782 - release: &844 + enterprise: *786 + installation: *787 + organization: *788 + release: &850 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -221516,7 +221986,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *783 + repository: *789 sender: *4 required: - action @@ -221592,11 +222062,11 @@ x-webhooks: type: string enum: - released - enterprise: *780 - installation: *781 - organization: *782 - release: *843 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + release: *849 + repository: *789 sender: *4 required: - action @@ -221672,11 +222142,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *780 - installation: *781 - organization: *782 - release: *844 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + release: *850 + repository: *789 sender: *4 required: - action @@ -221752,11 +222222,11 @@ x-webhooks: type: string enum: - published - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - repository_advisory: *688 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + repository_advisory: *694 sender: *4 required: - action @@ -221832,11 +222302,11 @@ x-webhooks: type: string enum: - reported - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - repository_advisory: *688 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + repository_advisory: *694 sender: *4 required: - action @@ -221912,10 +222382,10 @@ x-webhooks: type: string enum: - archived - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -221992,10 +222462,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222073,10 +222543,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222160,10 +222630,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222275,10 +222745,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222350,10 +222820,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 status: type: string @@ -222434,10 +222904,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222514,10 +222984,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222611,10 +223081,10 @@ x-webhooks: - name required: - repository - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222694,10 +223164,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 repository_ruleset: *130 sender: *4 required: @@ -222776,10 +223246,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 repository_ruleset: *130 sender: *4 required: @@ -222858,10 +223328,10 @@ x-webhooks: type: string enum: - edited - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 repository_ruleset: *130 changes: type: object @@ -223166,10 +223636,10 @@ x-webhooks: - from required: - owner - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -223247,10 +223717,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -223328,7 +223798,7 @@ x-webhooks: type: string enum: - create - alert: &845 + alert: &851 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -223449,10 +223919,10 @@ x-webhooks: type: string enum: - open - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -223658,10 +224128,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -223739,11 +224209,11 @@ x-webhooks: type: string enum: - reopen - alert: *845 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + alert: *851 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -223942,10 +224412,10 @@ x-webhooks: enum: - fixed - open - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224023,7 +224493,7 @@ x-webhooks: type: string enum: - created - alert: &846 + alert: &852 type: object properties: number: *100 @@ -224134,10 +224604,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224218,11 +224688,11 @@ x-webhooks: type: string enum: - created - alert: *846 - installation: *781 - location: *847 - organization: *782 - repository: *783 + alert: *852 + installation: *787 + location: *853 + organization: *788 + repository: *789 sender: *4 required: - location @@ -224460,11 +224930,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *846 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + alert: *852 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224542,11 +225012,11 @@ x-webhooks: type: string enum: - reopened - alert: *846 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + alert: *852 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224624,11 +225094,11 @@ x-webhooks: type: string enum: - resolved - alert: *846 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + alert: *852 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224706,11 +225176,11 @@ x-webhooks: type: string enum: - validated - alert: *846 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + alert: *852 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224836,10 +225306,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *783 - enterprise: *780 - installation: *781 - organization: *782 + repository: *789 + enterprise: *786 + installation: *787 + organization: *788 sender: *4 required: - action @@ -224917,11 +225387,11 @@ x-webhooks: type: string enum: - published - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - security_advisory: &848 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + security_advisory: &854 description: The details of the security advisory, including summary, description, and severity. type: object @@ -225104,11 +225574,11 @@ x-webhooks: type: string enum: - updated - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - security_advisory: *848 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + security_advisory: *854 sender: *4 required: - action @@ -225181,10 +225651,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -225369,9 +225839,9 @@ x-webhooks: type: object properties: security_and_analysis: *330 - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: *394 sender: *4 required: @@ -225450,12 +225920,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: &849 + sponsorship: &855 type: object properties: created_at: @@ -225756,12 +226226,12 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: *849 + sponsorship: *855 required: - action - sponsorship @@ -225849,12 +226319,12 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: *849 + sponsorship: *855 required: - action - changes @@ -225931,17 +226401,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &850 + effective_date: &856 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: *849 + sponsorship: *855 required: - action - sponsorship @@ -226015,7 +226485,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &851 + changes: &857 type: object properties: tier: @@ -226059,13 +226529,13 @@ x-webhooks: - from required: - tier - effective_date: *850 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + effective_date: *856 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: *849 + sponsorship: *855 required: - action - changes @@ -226142,13 +226612,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *851 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + changes: *857 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: *849 + sponsorship: *855 required: - action - changes @@ -226222,10 +226692,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226308,10 +226778,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226731,15 +227201,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *780 + enterprise: *786 id: description: The unique identifier of the status. type: integer - installation: *781 + installation: *787 name: type: string - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 sha: description: The Commit SHA. @@ -226854,9 +227324,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -226946,9 +227416,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -227038,9 +227508,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -227130,9 +227600,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -227209,12 +227679,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - team: &852 + team: &858 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -227404,9 +227874,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: title: Repository description: A git repository @@ -227864,7 +228334,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *852 + team: *858 required: - action - team @@ -227940,9 +228410,9 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: title: Repository description: A git repository @@ -228400,7 +228870,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *852 + team: *858 required: - action - team @@ -228477,9 +228947,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: title: Repository description: A git repository @@ -228937,7 +229407,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *852 + team: *858 required: - action - team @@ -229081,9 +229551,9 @@ x-webhooks: - from required: - permissions - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: title: Repository description: A git repository @@ -229541,7 +230011,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *852 + team: *858 required: - action - changes @@ -229619,9 +230089,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: title: Repository description: A git repository @@ -230079,7 +230549,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *852 + team: *858 required: - action - team @@ -230155,10 +230625,10 @@ x-webhooks: type: string enum: - started - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -230231,16 +230701,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *780 + enterprise: *786 inputs: type: object nullable: true additionalProperties: true - installation: *781 - organization: *782 + installation: *787 + organization: *788 ref: type: string - repository: *783 + repository: *789 sender: *4 workflow: type: string @@ -230322,10 +230792,10 @@ x-webhooks: type: string enum: - completed - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 workflow_job: allOf: @@ -230641,10 +231111,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 workflow_job: allOf: @@ -230983,10 +231453,10 @@ x-webhooks: type: string enum: - queued - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 workflow_job: type: object @@ -231200,10 +231670,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 workflow_job: type: object @@ -231419,12 +231889,12 @@ x-webhooks: type: string enum: - completed - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - workflow: *802 + workflow: *808 workflow_run: title: Workflow Run type: object @@ -232423,12 +232893,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - workflow: *802 + workflow: *808 workflow_run: title: Workflow Run type: object @@ -233412,12 +233882,12 @@ x-webhooks: type: string enum: - requested - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - workflow: *802 + workflow: *808 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index d5bf81fbe3..10f1f5bb13 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -116296,6 +116296,547 @@ } } }, + "/orgs/{org}/dismissal-requests/code-scanning": { + "get": { + "summary": "List dismissal requests for code scanning alerts for an organization", + "description": "Lists dismissal requests for code scanning alerts for all repositories in an organization.\n\nThe user must be authorized to review dismissal requests for the organization.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/list-org-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "month" + } + }, + { + "name": "request_status", + "description": "Filter alert dismissal requests by status. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "approved", + "expired", + "denied", + "all" + ], + "default": "all" + } + }, + { + "name": "repository_name", + "description": "The name of the repository to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Code scanning alert dismissal request", + "description": "Alert dismisal request made by a user asking to dismiss a code scanning alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "alert number." + }, + "pr_review_thread_id": { + "type": "string", + "description": "The ID of the pull request review thread." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 1 + } + ], + "resource_identifier": "123/10", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 2 + } + ], + "resource_identifier": "123/12", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/2", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/2" + } + ] + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", @@ -307391,6 +307932,1080 @@ } } }, + "/repos/{owner}/{repo}/dismissal-requests/code-scanning": { + "get": { + "summary": "List dismissal requests for code scanning alerts for a repository", + "description": "Lists dismissal requests for code scanning alerts for a repository.\n\nDelegated alert dismissal must be enabled on the repository.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/list-dismissal-requests-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "month" + } + }, + { + "name": "request_status", + "description": "Filter alert dismissal requests by status. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "approved", + "expired", + "denied", + "all" + ], + "default": "all" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Code scanning alert dismissal request", + "description": "Alert dismisal request made by a user asking to dismiss a code scanning alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "alert number." + }, + "pr_review_thread_id": { + "type": "string", + "description": "The ID of the pull request review thread." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 1 + } + ], + "resource_identifier": "123/10", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 2 + } + ], + "resource_identifier": "123/12", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/2", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/2" + } + ] + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": { + "get": { + "summary": "Get a dismissal request for a code scanning alert for a repository", + "description": "Gets a dismissal request to dismiss a code scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-dismissal-request-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#get-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the code scanning alert.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "A single dismissal request.", + "content": { + "application/json": { + "schema": { + "title": "Code scanning alert dismissal request", + "description": "Alert dismisal request made by a user asking to dismiss a code scanning alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "alert number." + }, + "pr_review_thread_id": { + "type": "string", + "description": "The ID of the pull request review thread." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + } + }, + "examples": { + "default": { + "value": { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 2 + } + ], + "resource_identifier": "1/1", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + }, + "patch": { + "summary": "Review a dismissal request for a code scanning alert for a repository", + "description": "Approve or deny a dismissal request to dismiss a code scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be a dismissal reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/review-dismissal-request-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#review-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the code scanning alert.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The review action to perform on the bypass request.", + "enum": [ + "approve", + "deny" + ] + }, + "message": { + "type": "string", + "description": "A message to include with the review. Has a maximum character length of 2048." + } + }, + "required": [ + "status", + "message" + ] + }, + "examples": { + "default": { + "value": { + "status": "approve", + "message": "Used in tests." + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successful update" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for a repository", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index d19aeea8be..d8274eb4c6 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -1025,7 +1025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &690 + - &696 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &700 + schema: &706 title: Scim Error description: Scim Error type: object @@ -16370,7 +16370,7 @@ paths: type: object description: A repository rule. oneOf: - - &634 + - &640 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16382,7 +16382,7 @@ paths: type: string enum: - creation - - &635 + - &641 title: update description: Only allow users with bypass permission to update matching refs. @@ -16403,7 +16403,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &637 + - &643 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16415,7 +16415,7 @@ paths: type: string enum: - deletion - - &638 + - &644 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16427,7 +16427,7 @@ paths: type: string enum: - required_linear_history - - &639 + - &645 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16503,7 +16503,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &640 + - &646 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16527,7 +16527,7 @@ paths: type: string required: - required_deployment_environments - - &641 + - &647 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16539,7 +16539,7 @@ paths: type: string enum: - required_signatures - - &642 + - &648 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16599,7 +16599,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &643 + - &649 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16646,7 +16646,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &644 + - &650 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16658,7 +16658,7 @@ paths: type: string enum: - non_fast_forward - - &645 + - &651 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16694,7 +16694,7 @@ paths: required: - operator - pattern - - &646 + - &652 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16730,7 +16730,7 @@ paths: required: - operator - pattern - - &647 + - &653 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16766,7 +16766,7 @@ paths: required: - operator - pattern - - &648 + - &654 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16802,7 +16802,7 @@ paths: required: - operator - pattern - - &649 + - &655 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16838,7 +16838,7 @@ paths: required: - operator - pattern - - &650 + - &656 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16862,7 +16862,7 @@ paths: type: string required: - restricted_file_paths - - &651 + - &657 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16886,7 +16886,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &652 + - &658 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16909,7 +16909,7 @@ paths: type: string required: - restricted_file_extensions - - &653 + - &659 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16933,7 +16933,7 @@ paths: maximum: 100 required: - max_file_size - - &654 + - &660 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16982,7 +16982,7 @@ paths: - repository_id required: - workflows - - &655 + - &661 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17636,14 +17636,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &668 + state: &674 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &669 + resolution: &675 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17750,8 +17750,8 @@ paths: pull request. ' - oneOf: &670 - - &672 + oneOf: &676 + - &678 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -17803,7 +17803,7 @@ paths: - blob_url - commit_sha - commit_url - - &673 + - &679 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -17858,7 +17858,7 @@ paths: - page_url - commit_sha - commit_url - - &674 + - &680 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -17872,7 +17872,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &675 + - &681 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -17886,7 +17886,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &676 + - &682 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -17900,7 +17900,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &677 + - &683 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -17914,7 +17914,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &678 + - &684 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -17928,7 +17928,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &679 + - &685 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -17942,7 +17942,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &680 + - &686 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -17956,7 +17956,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &681 + - &687 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -17970,7 +17970,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &682 + - &688 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -17984,7 +17984,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &683 + - &689 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -17998,7 +17998,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &684 + - &690 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -19166,7 +19166,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &573 + properties: &579 id: type: integer format: int64 @@ -19551,7 +19551,7 @@ paths: - total - completed - percent_completed - required: &574 + required: &580 - assignee - closed_at - comments @@ -19573,7 +19573,7 @@ paths: - author_association - created_at - updated_at - comment: &571 + comment: &577 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20140,7 +20140,7 @@ paths: url: type: string format: uri - user: &739 + user: &745 title: Public User description: Public User type: object @@ -23546,7 +23546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &603 + - &609 name: all description: If `true`, show notifications marked as read. in: query @@ -23554,7 +23554,7 @@ paths: schema: type: boolean default: false - - &604 + - &610 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23564,7 +23564,7 @@ paths: type: boolean default: false - *145 - - &605 + - &611 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: @@ -24042,7 +24042,7 @@ paths: - url - subscription_url examples: - default: &606 + default: &612 value: - id: '1' repository: @@ -24588,7 +24588,7 @@ paths: type: array items: *59 examples: - default: &757 + default: &763 value: - login: github id: 1 @@ -26494,7 +26494,7 @@ paths: type: array items: *64 examples: - default: &751 + default: &757 value: total_count: 1 repositories: @@ -27313,7 +27313,7 @@ paths: type: array items: *200 examples: - default: &742 + default: &748 value: total_count: 1 repositories: @@ -29382,12 +29382,12 @@ paths: required: - subject_digests examples: - default: &772 + default: &778 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &773 + withPredicateType: &779 value: subject_digests: - sha256:abc123 @@ -29445,7 +29445,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &774 + default: &780 value: attestations_subject_digests: - sha256:abc: @@ -34878,6 +34878,306 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: secrets + "/orgs/{org}/dismissal-requests/code-scanning": + get: + summary: List dismissal requests for code scanning alerts for an organization + description: |- + Lists dismissal requests for code scanning alerts for all repositories in an organization. + + The user must be authorized to review dismissal requests for the organization. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-an-organization + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - *172 + - &534 + name: reviewer + description: Filter alert dismissal requests by the handle of the GitHub user + who reviewed the dismissal request. + in: query + required: false + schema: + type: string + - &535 + name: requester + description: Filter alert dismissal requests by the handle of the GitHub user + who requested the dismissal. + in: query + required: false + schema: + type: string + - &536 + name: time_period + description: |- + The time period to filter by. + + For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours). + in: query + required: false + schema: + type: string + enum: + - hour + - day + - week + - month + default: month + - &537 + name: request_status + description: Filter alert dismissal requests by status. When specified, only + requests with this status will be returned. + in: query + required: false + schema: + type: string + enum: + - open + - approved + - expired + - denied + - all + default: all + - *229 + - *17 + - *19 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: &538 + title: Code scanning alert dismissal request + description: Alert dismisal request made by a user asking to dismiss + a code scanning alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request + within its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request + is for. + name: + type: string + description: The name of the repository the dismissal request + is for. + full_name: + type: string + description: The full name of the repository the dismissal + request is for. + organization: + type: object + description: The organization associated with the repository + the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the + dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the + dismissal request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: alert number. + pr_review_thread_id: + type: string + description: The ID of the pull request review thread. + resource_identifier: + type: string + description: The unique identifier for the request type of the + dismissal request. + example: 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating + the dismissal request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: + title: Dismissal request response + description: A response made by a requester to dismiss the + request. + type: object + properties: + id: + type: integer + format: int64 + description: The ID of the response to the dismissal request. + reviewer: + type: object + description: The user who reviewed the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who reviewed + the dismissal request. + actor_name: + type: string + description: The name of the GitHub user who reviewed + the dismissal request. + message: + type: string + nullable: true + description: The response comment of the reviewer. + status: + type: string + description: The response status to the dismissal request + until dismissed. + enum: + - approved + - denied + - dismissed + created_at: + type: string + format: date-time + description: The date and time the response to the dismissal + request was created. + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/code-scanning/alerts/1 + examples: + default: &539 + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 1 + resource_identifier: 123/10 + status: denied + requester_comment: Won't fix + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 + - id: 12 + number: 24 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 2 + resource_identifier: 123/12 + status: denied + requester_comment: Token is already revoked, I'll remove it later + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/2 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/2 + '404': *6 + '403': *29 + '422': *15 + '500': *85 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -34903,7 +35203,7 @@ paths: - *223 - *224 - *225 - - &534 + - &540 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -34929,7 +35229,7 @@ paths: application/json: schema: type: array - items: &535 + items: &541 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -35050,7 +35350,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &536 + default: &542 value: - id: 21 number: 42 @@ -36867,7 +37167,7 @@ paths: application/json: schema: *22 examples: - default: &567 + default: &573 value: id: 1 account: @@ -37092,7 +37392,7 @@ paths: required: true content: application/json: - schema: &568 + schema: &574 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -39176,7 +39476,7 @@ paths: parameters: - *172 - *303 - - &756 + - &762 name: repo_name description: repo_name parameter in: path @@ -40491,7 +40791,7 @@ paths: - nuget - container - *172 - - &758 + - &764 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40532,7 +40832,7 @@ paths: default: *310 '403': *29 '401': *25 - '400': &760 + '400': &766 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44180,7 +44480,7 @@ paths: - *172 - *17 - *19 - - &656 + - &662 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44370,7 +44670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *172 - - &657 + - &663 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -44382,14 +44682,14 @@ paths: x-multi-segment: true - *229 - *225 - - &658 + - &664 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &659 + - &665 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44409,7 +44709,7 @@ paths: description: Response content: application/json: - schema: &660 + schema: &666 title: Rule Suites description: Response type: array @@ -44464,7 +44764,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &661 + default: &667 value: - id: 21 actor_id: 12 @@ -44508,7 +44808,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *172 - - &662 + - &668 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44524,7 +44824,7 @@ paths: description: Response content: application/json: - schema: &663 + schema: &669 title: Rule Suite description: Response type: object @@ -44623,7 +44923,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &664 + default: &670 value: id: 21 actor_id: 12 @@ -44954,7 +45254,7 @@ paths: - *88 - *19 - *17 - - &666 + - &672 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -44964,7 +45264,7 @@ paths: required: false schema: type: string - - &667 + - &673 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -45057,7 +45357,7 @@ paths: application/json: schema: type: array - items: &688 + items: &694 description: A repository security advisory. type: object properties: @@ -45348,7 +45648,7 @@ paths: - private_fork additionalProperties: false examples: - default: &689 + default: &695 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47111,7 +47411,7 @@ paths: - updated_at - url examples: - default: &729 + default: &735 value: - author: login: octocat @@ -47359,7 +47659,7 @@ paths: application/json: schema: *364 examples: - default: &730 + default: &736 value: author: login: octocat @@ -47542,7 +47842,7 @@ paths: - updated_at - url examples: - default: &731 + default: &737 value: - author: login: octocat @@ -47768,7 +48068,7 @@ paths: application/json: schema: *367 examples: - default: &732 + default: &738 value: author: login: octocat @@ -48481,7 +48781,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &733 + response-if-user-is-a-team-maintainer: &739 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48546,7 +48846,7 @@ paths: application/json: schema: *378 examples: - response-if-users-membership-with-team-is-now-pending: &734 + response-if-users-membership-with-team-is-now-pending: &740 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48687,7 +48987,7 @@ paths: - updated_at - permissions examples: - default: &735 + default: &741 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48766,7 +49066,7 @@ paths: application/json: schema: *379 examples: - default: &736 + default: &742 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48976,7 +49276,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &737 + schema: &743 title: Team Repository description: A team's access to a repository. type: object @@ -49742,7 +50042,7 @@ paths: type: array items: *231 examples: - response-if-child-teams-exist: &738 + response-if-child-teams-exist: &744 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -55776,7 +56076,7 @@ paths: items: type: object properties: - type: &537 + type: &543 type: string description: The type of reviewer. enum: @@ -56400,7 +56700,7 @@ paths: application/json: schema: *418 examples: - default: &550 + default: &556 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56619,7 +56919,7 @@ paths: application/json: schema: *422 examples: - default: &551 + default: &557 value: name: USERNAME value: octocat @@ -58413,7 +58713,7 @@ paths: required: - sha - url - verification: &557 + verification: &563 title: Verification type: object properties: @@ -61925,7 +62225,7 @@ paths: check. type: array items: *453 - deployment: &792 + deployment: &798 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62837,7 +63137,7 @@ paths: type: string format: date-time nullable: true - head_commit: &818 + head_commit: &824 title: Simple Commit description: A commit. type: object @@ -67057,14 +67357,14 @@ paths: type: integer machines: type: array - items: &745 + items: &751 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *492 required: *493 examples: - default: &746 + default: &752 value: total_count: 2 machines: @@ -67747,7 +68047,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &570 + schema: &576 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68607,7 +68907,7 @@ paths: type: array items: *502 examples: - default: &621 + default: &627 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68896,7 +69196,7 @@ paths: application/json: schema: type: array - items: &612 + items: &618 title: Pull Request Simple description: Pull Request Simple type: object @@ -69125,7 +69425,7 @@ paths: - review_comment - self author_association: *142 - auto_merge: &614 + auto_merge: &620 title: Auto merge description: The status of auto merging a pull request. type: object @@ -69188,7 +69488,7 @@ paths: - author_association - auto_merge examples: - default: &613 + default: &619 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -69746,7 +70046,7 @@ paths: application/json: schema: *502 examples: - default: &599 + default: &605 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70364,7 +70664,7 @@ paths: application/json: schema: type: array - items: &693 + items: &699 title: Status description: The status of a commit. type: object @@ -71306,7 +71606,7 @@ paths: - size - type - url - - &626 + - &632 title: Content File description: Content File type: object @@ -71899,7 +72199,7 @@ paths: schema: oneOf: - *3 - - &552 + - &558 description: Repository rule violation was detected type: object properties: @@ -71920,7 +72220,7 @@ paths: items: type: object properties: - placeholder_id: &685 + placeholder_id: &691 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -74412,6 +74712,176 @@ paths: enabledForGitHubApps: true category: deployments subcategory: statuses + "/repos/{owner}/{repo}/dismissal-requests/code-scanning": + get: + summary: List dismissal requests for code scanning alerts for a repository + description: |- + Lists dismissal requests for code scanning alerts for a repository. + + Delegated alert dismissal must be enabled on the repository. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/list-dismissal-requests-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - *381 + - *382 + - *534 + - *535 + - *536 + - *537 + - *17 + - *19 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: *538 + examples: + default: *539 + '404': *6 + '403': *29 + '500': *85 + "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": + get: + summary: Get a dismissal request for a code scanning alert for a repository + description: |- + Gets a dismissal request to dismiss a code scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/get-dismissal-request-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#get-a-dismissal-request-for-a-code-scanning-alert-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - *381 + - *382 + - name: alert_number + in: path + required: true + description: The number that identifies the code scanning alert. + schema: + type: integer + responses: + '200': + description: A single dismissal request. + content: + application/json: + schema: *538 + examples: + default: + value: + id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 2 + resource_identifier: 1/1 + status: denied + requester_comment: Won't fix + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 + '404': *6 + '403': *29 + '500': *85 + patch: + summary: Review a dismissal request for a code scanning alert for a repository + description: |- + Approve or deny a dismissal request to dismiss a code scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be a dismissal reviewer to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/review-dismissal-request-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#review-a-dismissal-request-for-a-code-scanning-alert-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - *381 + - *382 + - name: alert_number + in: path + required: true + description: The number that identifies the code scanning alert. + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + status: + type: string + description: The review action to perform on the bypass request. + enum: + - approve + - deny + message: + type: string + description: A message to include with the review. Has a maximum + character length of 2048. + required: + - status + - message + examples: + default: + value: + status: approve + message: Used in tests. + responses: + '204': + description: Successful update + '404': *6 + '403': *29 + '422': *15 + '500': *85 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -74437,7 +74907,7 @@ paths: - *223 - *224 - *225 - - *534 + - *540 - *17 - *19 responses: @@ -74447,9 +74917,9 @@ paths: application/json: schema: type: array - items: *535 + items: *541 examples: - default: *536 + default: *542 '404': *6 '403': *29 '500': *85 @@ -74487,7 +74957,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *535 + schema: *541 examples: default: value: @@ -74691,7 +75161,7 @@ paths: type: integer environments: type: array - items: &538 + items: &544 title: Environment description: Details of a deployment environment type: object @@ -74743,7 +75213,7 @@ paths: type: type: string example: wait_timer - wait_timer: &540 + wait_timer: &546 type: integer example: 30 description: The amount of time to delay a job after @@ -74780,7 +75250,7 @@ paths: items: type: object properties: - type: *537 + type: *543 reviewer: anyOf: - *4 @@ -74804,7 +75274,7 @@ paths: - id - node_id - type - deployment_branch_policy: &541 + deployment_branch_policy: &547 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -74922,7 +75392,7 @@ paths: parameters: - *381 - *382 - - &539 + - &545 name: environment_name in: path required: true @@ -74935,9 +75405,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *544 examples: - default: &542 + default: &548 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75023,7 +75493,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 requestBody: required: false content: @@ -75032,7 +75502,7 @@ paths: type: object nullable: true properties: - wait_timer: *540 + wait_timer: *546 prevent_self_review: type: boolean example: false @@ -75049,13 +75519,13 @@ paths: items: type: object properties: - type: *537 + type: *543 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *541 + deployment_branch_policy: *547 additionalProperties: false examples: default: @@ -75075,9 +75545,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *544 examples: - default: *542 + default: *548 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75103,7 +75573,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 responses: '204': description: Default response @@ -75130,7 +75600,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *17 - *19 responses: @@ -75148,7 +75618,7 @@ paths: example: 2 branch_policies: type: array - items: &543 + items: &549 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75207,7 +75677,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 requestBody: required: true content: @@ -75253,9 +75723,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: - example-wildcard: &544 + example-wildcard: &550 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75299,8 +75769,8 @@ paths: parameters: - *381 - *382 - - *539 - - &545 + - *545 + - &551 name: branch_policy_id in: path required: true @@ -75312,9 +75782,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: - default: *544 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75335,8 +75805,8 @@ paths: parameters: - *381 - *382 - - *539 - *545 + - *551 requestBody: required: true content: @@ -75364,9 +75834,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: - default: *544 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75387,8 +75857,8 @@ paths: parameters: - *381 - *382 - - *539 - *545 + - *551 responses: '204': description: Response @@ -75413,7 +75883,7 @@ 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: - - *539 + - *545 - *382 - *381 responses: @@ -75431,7 +75901,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &546 + items: &552 title: Deployment protection rule description: Deployment protection rule type: object @@ -75450,7 +75920,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &547 + app: &553 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75549,7 +76019,7 @@ 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: - - *539 + - *545 - *382 - *381 requestBody: @@ -75572,9 +76042,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *546 + schema: *552 examples: - default: &548 + default: &554 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75609,7 +76079,7 @@ 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: - - *539 + - *545 - *382 - *381 - *19 @@ -75630,7 +76100,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *547 + items: *553 examples: default: value: @@ -75667,8 +76137,8 @@ paths: parameters: - *381 - *382 - - *539 - - &549 + - *545 + - &555 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75680,9 +76150,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *552 examples: - default: *548 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75703,10 +76173,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: - - *539 + - *545 - *382 - *381 - - *549 + - *555 responses: '204': description: Response @@ -75734,7 +76204,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *17 - *19 responses: @@ -75781,7 +76251,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 responses: '200': description: Response @@ -75813,7 +76283,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *210 responses: '200': @@ -75822,7 +76292,7 @@ paths: application/json: schema: *418 examples: - default: *550 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75846,7 +76316,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *210 requestBody: required: true @@ -75906,7 +76376,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *210 responses: '204': @@ -75934,7 +76404,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *405 - *19 responses: @@ -75979,7 +76449,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 requestBody: required: true content: @@ -76033,7 +76503,7 @@ paths: parameters: - *381 - *382 - - *539 + - *545 - *213 responses: '200': @@ -76042,7 +76512,7 @@ paths: application/json: schema: *422 examples: - default: *551 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76066,7 +76536,7 @@ paths: - *381 - *382 - *213 - - *539 + - *545 requestBody: required: true content: @@ -76111,7 +76581,7 @@ paths: - *381 - *382 - *213 - - *539 + - *545 responses: '204': description: Response @@ -76488,7 +76958,7 @@ paths: schema: oneOf: - *183 - - *552 + - *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76723,7 +77193,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &559 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -76945,7 +77415,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *559 examples: default: value: @@ -77003,7 +77473,7 @@ paths: parameters: - *381 - *382 - - &554 + - &560 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. @@ -77020,7 +77490,7 @@ paths: application/json: schema: type: array - items: &555 + items: &561 title: Git Reference description: Git references within a repository type: object @@ -77097,15 +77567,15 @@ paths: parameters: - *381 - *382 - - *554 + - *560 responses: '200': description: Response content: application/json: - schema: *555 + schema: *561 examples: - default: &556 + default: &562 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77164,9 +77634,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *561 examples: - default: *556 + default: *562 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -77194,7 +77664,7 @@ paths: parameters: - *381 - *382 - - *554 + - *560 requestBody: required: true content: @@ -77223,9 +77693,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *561 examples: - default: *556 + default: *562 '422': *15 '409': *96 x-github: @@ -77245,7 +77715,7 @@ paths: parameters: - *381 - *382 - - *554 + - *560 responses: '204': description: Response @@ -77368,7 +77838,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &564 title: Git Tag description: Metadata for a Git tag type: object @@ -77419,7 +77889,7 @@ paths: - sha - type - url - verification: *557 + verification: *563 required: - sha - url @@ -77429,7 +77899,7 @@ paths: - tag - message examples: - default: &559 + default: &565 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77514,9 +77984,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *564 examples: - default: *559 + default: *565 '404': *6 '409': *96 x-github: @@ -77614,7 +78084,7 @@ paths: description: Response content: application/json: - schema: &560 + schema: &566 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77734,7 +78204,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *566 examples: default-response: summary: Default response @@ -77804,7 +78274,7 @@ paths: application/json: schema: type: array - items: &561 + items: &567 title: Webhook description: Webhooks for repositories. type: object @@ -77858,7 +78328,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &826 + last_response: &832 title: Hook Response type: object properties: @@ -77985,9 +78455,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *567 examples: - default: &562 + default: &568 value: type: Repository id: 12345678 @@ -78043,9 +78513,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *567 examples: - default: *562 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -78112,9 +78582,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *567 examples: - default: *562 + default: *568 '422': *15 '404': *6 x-github: @@ -78418,7 +78888,7 @@ paths: description: Response content: application/json: - schema: &563 + schema: &569 title: Import description: A repository import from an external source. type: object @@ -78517,7 +78987,7 @@ paths: - html_url - authors_url examples: - default: &566 + default: &572 value: vcs: subversion use_lfs: true @@ -78533,7 +79003,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &564 + '503': &570 description: Unavailable due to service under maintenance. content: application/json: @@ -78611,7 +79081,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *569 examples: default: value: @@ -78636,7 +79106,7 @@ paths: type: string '422': *15 '404': *6 - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78714,7 +79184,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *569 examples: example-1: summary: Example 1 @@ -78762,7 +79232,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': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78790,7 +79260,7 @@ paths: responses: '204': description: Response - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78818,7 +79288,7 @@ paths: parameters: - *381 - *382 - - &769 + - &775 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -78832,7 +79302,7 @@ paths: application/json: schema: type: array - items: &565 + items: &571 title: Porter Author description: Porter Author type: object @@ -78886,7 +79356,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78942,7 +79412,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *571 examples: default: value: @@ -78955,7 +79425,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79021,7 +79491,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79077,11 +79547,11 @@ paths: description: Response content: application/json: - schema: *563 + schema: *569 examples: - default: *566 + default: *572 '422': *15 - '503': *564 + '503': *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79113,7 +79583,7 @@ paths: application/json: schema: *22 examples: - default: *567 + default: *573 '301': *395 '404': *6 x-github: @@ -79148,7 +79618,7 @@ paths: properties: {} additionalProperties: false examples: - default: &569 + default: &575 value: limit: collaborators_only origin: repository @@ -79179,7 +79649,7 @@ paths: required: true content: application/json: - schema: *568 + schema: *574 examples: default: summary: Example request body @@ -79193,7 +79663,7 @@ paths: application/json: schema: *286 examples: - default: *569 + default: *575 '409': description: Response x-github: @@ -79250,9 +79720,9 @@ paths: application/json: schema: type: array - items: *570 + items: *576 examples: - default: &762 + default: &768 value: - id: 1 repository: @@ -79414,7 +79884,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *576 examples: default: value: @@ -79652,7 +80122,7 @@ paths: type: array items: *155 examples: - default: &581 + default: &587 value: - id: 1 node_id: MDU6SXNzdWUx @@ -79914,7 +80384,7 @@ paths: application/json: schema: *155 examples: - default: &576 + default: &582 value: id: 1 node_id: MDU6SXNzdWUx @@ -80120,9 +80590,9 @@ paths: application/json: schema: type: array - items: *571 + items: *577 examples: - default: &578 + default: &584 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80188,9 +80658,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *577 examples: - default: &572 + default: &578 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80268,9 +80738,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *577 examples: - default: *572 + default: *578 '422': *15 x-github: githubCloudOnly: false @@ -80460,7 +80930,7 @@ paths: application/json: schema: type: array - items: &575 + items: &581 title: Issue Event description: Issue Event type: object @@ -80503,8 +80973,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *573 - required: *574 + properties: *579 + required: *580 nullable: true label: title: Issue Event Label @@ -80823,7 +81293,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *581 examples: default: value: @@ -81052,7 +81522,7 @@ paths: parameters: - *381 - *382 - - &577 + - &583 name: issue_number description: The number that identifies the issue. in: path @@ -81066,7 +81536,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 '301': *395 '404': *6 '410': *392 @@ -81096,7 +81566,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: false content: @@ -81201,7 +81671,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 '422': *15 '503': *134 '403': *29 @@ -81227,7 +81697,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: false content: @@ -81255,7 +81725,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81273,7 +81743,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: content: application/json: @@ -81300,7 +81770,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81324,7 +81794,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - name: assignee in: path required: true @@ -81366,7 +81836,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *145 - *17 - *19 @@ -81377,9 +81847,9 @@ paths: application/json: schema: type: array - items: *571 + items: *577 examples: - default: *578 + default: *584 headers: Link: *40 '404': *6 @@ -81414,7 +81884,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: true content: @@ -81436,9 +81906,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *577 examples: - default: *572 + default: *578 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -81467,7 +81937,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *17 - *19 responses: @@ -81481,7 +81951,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &582 + - &588 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81535,7 +82005,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &589 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81671,7 +82141,7 @@ paths: - performed_via_github_app - assignee - assigner - - &584 + - &590 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81722,7 +82192,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &591 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81773,7 +82243,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &586 + - &592 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81827,7 +82297,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &587 + - &593 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81874,7 +82344,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &588 + - &594 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81921,7 +82391,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &589 + - &595 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -81981,7 +82451,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &590 + - &596 title: Locked Issue Event description: Locked Issue Event type: object @@ -82029,7 +82499,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &591 + - &597 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82095,7 +82565,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &592 + - &598 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82161,7 +82631,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &593 + - &599 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82227,7 +82697,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &594 + - &600 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82337,7 +82807,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *17 - *19 responses: @@ -82347,7 +82817,7 @@ paths: application/json: schema: type: array - items: &579 + items: &585 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -82394,7 +82864,7 @@ paths: - color - default examples: - default: &580 + default: &586 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82433,7 +82903,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: false content: @@ -82492,9 +82962,9 @@ paths: application/json: schema: type: array - items: *579 + items: *585 examples: - default: *580 + default: *586 '301': *395 '404': *6 '410': *392 @@ -82516,7 +82986,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: false content: @@ -82576,9 +83046,9 @@ paths: application/json: schema: type: array - items: *579 + items: *585 examples: - default: *580 + default: *586 '301': *395 '404': *6 '410': *392 @@ -82600,7 +83070,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 responses: '204': description: Response @@ -82627,7 +83097,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - name: name in: path required: true @@ -82640,7 +83110,7 @@ paths: application/json: schema: type: array - items: *579 + items: *585 examples: default: value: @@ -82675,7 +83145,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: false content: @@ -82723,7 +83193,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 responses: '204': description: Response @@ -82747,7 +83217,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - 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. @@ -82799,7 +83269,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: true content: @@ -82864,7 +83334,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *373 responses: '204': @@ -82896,7 +83366,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: true content: @@ -82920,7 +83390,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -82955,7 +83425,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *17 - *19 responses: @@ -82967,7 +83437,7 @@ paths: type: array items: *155 examples: - default: *581 + default: *587 headers: Link: *40 '404': *6 @@ -83001,7 +83471,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: true content: @@ -83030,7 +83500,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -83059,7 +83529,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 requestBody: required: true content: @@ -83092,7 +83562,7 @@ paths: application/json: schema: *155 examples: - default: *576 + default: *582 '403': *29 '404': *6 '422': *7 @@ -83116,7 +83586,7 @@ paths: parameters: - *381 - *382 - - *577 + - *583 - *17 - *19 responses: @@ -83131,12 +83601,6 @@ paths: description: Timeline Event type: object anyOf: - - *582 - - *583 - - *584 - - *585 - - *586 - - *587 - *588 - *589 - *590 @@ -83144,6 +83608,12 @@ paths: - *592 - *593 - *594 + - *595 + - *596 + - *597 + - *598 + - *599 + - *600 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83448,7 +83918,7 @@ paths: type: string comments: type: array - items: &615 + items: &621 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83974,7 +84444,7 @@ paths: application/json: schema: type: array - items: &595 + items: &601 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84076,9 +84546,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *601 examples: - default: &596 + default: &602 value: id: 1 key: ssh-rsa AAA... @@ -84114,7 +84584,7 @@ paths: parameters: - *381 - *382 - - &597 + - &603 name: key_id description: The unique identifier of the key. in: path @@ -84126,9 +84596,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *601 examples: - default: *596 + default: *602 '404': *6 x-github: githubCloudOnly: false @@ -84148,7 +84618,7 @@ paths: parameters: - *381 - *382 - - *597 + - *603 responses: '204': description: Response @@ -84179,9 +84649,9 @@ paths: application/json: schema: type: array - items: *579 + items: *585 examples: - default: *580 + default: *586 headers: Link: *40 '404': *6 @@ -84239,9 +84709,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *585 examples: - default: &598 + default: &604 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84285,9 +84755,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *585 examples: - default: *598 + default: *604 '404': *6 x-github: githubCloudOnly: false @@ -84344,7 +84814,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *585 examples: default: value: @@ -84740,7 +85210,7 @@ paths: application/json: schema: *502 examples: - default: *599 + default: *605 '204': description: Response when already merged '404': @@ -84807,7 +85277,7 @@ paths: application/json: schema: type: array - items: &600 + items: &606 title: Milestone description: A collection of related issues and pull requests. type: object @@ -84909,9 +85379,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: &601 + default: &607 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -84972,7 +85442,7 @@ paths: parameters: - *381 - *382 - - &602 + - &608 name: milestone_number description: The number that identifies the milestone. in: path @@ -84984,9 +85454,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 '404': *6 x-github: githubCloudOnly: false @@ -85005,7 +85475,7 @@ paths: parameters: - *381 - *382 - - *602 + - *608 requestBody: required: false content: @@ -85043,9 +85513,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *606 examples: - default: *601 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85063,7 +85533,7 @@ paths: parameters: - *381 - *382 - - *602 + - *608 responses: '204': description: Response @@ -85086,7 +85556,7 @@ paths: parameters: - *381 - *382 - - *602 + - *608 - *17 - *19 responses: @@ -85096,9 +85566,9 @@ paths: application/json: schema: type: array - items: *579 + items: *585 examples: - default: *580 + default: *586 headers: Link: *40 x-github: @@ -85119,10 +85589,10 @@ paths: parameters: - *381 - *382 - - *603 - - *604 + - *609 + - *610 - *145 - - *605 + - *611 - *17 - *19 responses: @@ -85134,7 +85604,7 @@ paths: type: array items: *168 examples: - default: *606 + default: *612 headers: Link: *40 x-github: @@ -85224,7 +85694,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &613 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85349,7 +85819,7 @@ paths: - custom_404 - public examples: - default: &608 + default: &614 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85445,9 +85915,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *613 examples: - default: *608 + default: *614 '422': *15 '409': *96 x-github: @@ -85616,7 +86086,7 @@ paths: application/json: schema: type: array - items: &609 + items: &615 title: Page Build description: Page Build type: object @@ -85763,9 +86233,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *615 examples: - default: &610 + default: &616 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85825,9 +86295,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *615 examples: - default: *610 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85955,7 +86425,7 @@ paths: parameters: - *381 - *382 - - &611 + - &617 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86015,7 +86485,7 @@ paths: parameters: - *381 - *382 - - *611 + - *617 responses: '204': *120 '404': *6 @@ -86690,9 +87160,9 @@ paths: application/json: schema: type: array - items: *612 + items: *618 examples: - default: *613 + default: *619 headers: Link: *40 '304': *37 @@ -86790,7 +87260,7 @@ paths: description: Response content: application/json: - schema: &617 + schema: &623 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87004,7 +87474,7 @@ paths: - review_comment - self author_association: *142 - auto_merge: *614 + auto_merge: *620 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -87096,7 +87566,7 @@ paths: - merged_by - review_comments examples: - default: &618 + default: &624 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87653,9 +88123,9 @@ paths: application/json: schema: type: array - items: *615 + items: *621 examples: - default: &620 + default: &626 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87740,9 +88210,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *621 examples: - default: &616 + default: &622 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87841,9 +88311,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *621 examples: - default: *616 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88046,7 +88516,7 @@ paths: parameters: - *381 - *382 - - &619 + - &625 name: pull_number description: The number that identifies the pull request. in: path @@ -88059,9 +88529,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *617 + schema: *623 examples: - default: *618 + default: *624 '304': *37 '404': *6 '406': @@ -88098,7 +88568,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: false content: @@ -88140,9 +88610,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *623 examples: - default: *618 + default: *624 '422': *15 '403': *29 x-github: @@ -88166,7 +88636,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: true content: @@ -88268,7 +88738,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 - *165 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -88289,9 +88759,9 @@ paths: application/json: schema: type: array - items: *615 + items: *621 examples: - default: *620 + default: *626 headers: Link: *40 x-github: @@ -88326,7 +88796,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: true content: @@ -88431,7 +88901,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *621 examples: example-for-a-multi-line-comment: value: @@ -88521,7 +88991,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 - *154 requestBody: required: true @@ -88544,7 +89014,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *621 examples: default: value: @@ -88632,7 +89102,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 - *17 - *19 responses: @@ -88644,7 +89114,7 @@ paths: type: array items: *502 examples: - default: *621 + default: *627 headers: Link: *40 x-github: @@ -88676,7 +89146,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 - *17 - *19 responses: @@ -88726,7 +89196,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 responses: '204': description: Response if pull request has been merged @@ -88751,7 +89221,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: false content: @@ -88864,7 +89334,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 responses: '200': description: Response @@ -88941,7 +89411,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: false content: @@ -88978,7 +89448,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *618 examples: default: value: @@ -89516,7 +89986,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: true content: @@ -89550,7 +90020,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *618 examples: default: value: @@ -90057,7 +90527,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 - *17 - *19 responses: @@ -90067,7 +90537,7 @@ paths: application/json: schema: type: array - items: &622 + items: &628 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90220,7 +90690,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: false content: @@ -90306,9 +90776,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: &624 + default: &630 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90373,8 +90843,8 @@ paths: parameters: - *381 - *382 - - *619 - - &623 + - *625 + - &629 name: review_id description: The unique identifier of the review. in: path @@ -90386,9 +90856,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: &625 + default: &631 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90449,8 +90919,8 @@ paths: parameters: - *381 - *382 - - *619 - - *623 + - *625 + - *629 requestBody: required: true content: @@ -90473,7 +90943,7 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: default: value: @@ -90537,16 +91007,16 @@ paths: parameters: - *381 - *382 - - *619 - - *623 + - *625 + - *629 responses: '200': description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: *624 + default: *630 '422': *7 '404': *6 x-github: @@ -90575,8 +91045,8 @@ paths: parameters: - *381 - *382 - - *619 - - *623 + - *625 + - *629 - *17 - *19 responses: @@ -90813,8 +91283,8 @@ paths: parameters: - *381 - *382 - - *619 - - *623 + - *625 + - *629 requestBody: required: true content: @@ -90842,7 +91312,7 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: default: value: @@ -90907,8 +91377,8 @@ paths: parameters: - *381 - *382 - - *619 - - *623 + - *625 + - *629 requestBody: required: true content: @@ -90943,9 +91413,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: *625 + default: *631 '404': *6 '422': *7 '403': *29 @@ -90969,7 +91439,7 @@ paths: parameters: - *381 - *382 - - *619 + - *625 requestBody: required: false content: @@ -91046,9 +91516,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *632 examples: - default: &627 + default: &633 value: type: file encoding: base64 @@ -91111,9 +91581,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *632 examples: - default: *627 + default: *633 '404': *6 '422': *15 x-github: @@ -91146,7 +91616,7 @@ paths: application/json: schema: type: array - items: &628 + items: &634 title: Release description: A release. type: object @@ -91209,7 +91679,7 @@ paths: author: *4 assets: type: array - items: &629 + items: &635 title: Release Asset description: Data related to a release. type: object @@ -91472,9 +91942,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *634 examples: - default: &632 + default: &638 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -91580,7 +92050,7 @@ paths: parameters: - *381 - *382 - - &630 + - &636 name: asset_id description: The unique identifier of the asset. in: path @@ -91592,9 +92062,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *635 examples: - default: &631 + default: &637 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -91647,7 +92117,7 @@ paths: parameters: - *381 - *382 - - *630 + - *636 requestBody: required: false content: @@ -91675,9 +92145,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *635 examples: - default: *631 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91695,7 +92165,7 @@ paths: parameters: - *381 - *382 - - *630 + - *636 responses: '204': description: Response @@ -91812,9 +92282,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *634 examples: - default: *632 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91845,9 +92315,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *634 examples: - default: *632 + default: *638 '404': *6 x-github: githubCloudOnly: false @@ -91871,7 +92341,7 @@ paths: parameters: - *381 - *382 - - &633 + - &639 name: release_id description: The unique identifier of the release. in: path @@ -91885,9 +92355,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *628 + schema: *634 examples: - default: *632 + default: *638 '401': description: Unauthorized x-github: @@ -91907,7 +92377,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 requestBody: required: false content: @@ -91971,9 +92441,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *634 examples: - default: *632 + default: *638 '404': description: Not Found if the discussion category name is invalid content: @@ -91996,7 +92466,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 responses: '204': description: Response @@ -92018,7 +92488,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 - *17 - *19 responses: @@ -92028,7 +92498,7 @@ paths: application/json: schema: type: array - items: *629 + items: *635 examples: default: value: @@ -92112,7 +92582,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 - name: name in: query required: true @@ -92138,7 +92608,7 @@ paths: description: Response for successful upload content: application/json: - schema: *629 + schema: *635 examples: response-for-successful-upload: value: @@ -92195,7 +92665,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 - 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 release. @@ -92244,7 +92714,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 requestBody: required: true content: @@ -92307,7 +92777,7 @@ paths: parameters: - *381 - *382 - - *633 + - *639 - *373 responses: '204': @@ -92350,8 +92820,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *634 - - &636 + - *640 + - &642 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92370,66 +92840,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *635 - - *636 - - allOf: - - *637 - - *636 - - allOf: - - *638 - - *636 - - allOf: - - *639 - - *636 - - allOf: - - *640 - - *636 - allOf: - *641 - - *636 - - allOf: - *642 - - *636 - allOf: - *643 - - *636 + - *642 - allOf: - *644 - - *636 + - *642 - allOf: - *645 - - *636 + - *642 - allOf: - *646 - - *636 + - *642 - allOf: - *647 - - *636 + - *642 - allOf: - *648 - - *636 + - *642 - allOf: - *649 - - *636 + - *642 - allOf: - *650 - - *636 + - *642 - allOf: - *651 - - *636 + - *642 - allOf: - *652 - - *636 + - *642 - allOf: - *653 - - *636 + - *642 - allOf: - *654 - - *636 + - *642 - allOf: - *655 - - *636 + - *642 + - allOf: + - *656 + - *642 + - allOf: + - *657 + - *642 + - allOf: + - *658 + - *642 + - allOf: + - *659 + - *642 + - allOf: + - *660 + - *642 + - allOf: + - *661 + - *642 examples: default: value: @@ -92480,7 +92950,7 @@ paths: schema: type: boolean default: true - - *656 + - *662 responses: '200': description: Response @@ -92598,7 +93068,7 @@ paths: application/json: schema: *130 examples: - default: &665 + default: &671 value: id: 42 name: super cool ruleset @@ -92647,10 +93117,10 @@ paths: parameters: - *381 - *382 - - *657 + - *663 - *225 - - *658 - - *659 + - *664 + - *665 - *17 - *19 responses: @@ -92658,9 +93128,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *666 examples: - default: *661 + default: *667 '404': *6 '500': *85 x-github: @@ -92683,15 +93153,15 @@ paths: parameters: - *381 - *382 - - *662 + - *668 responses: '200': description: Response content: application/json: - schema: *663 + schema: *669 examples: - default: *664 + default: *670 '404': *6 '500': *85 x-github: @@ -92742,7 +93212,7 @@ paths: application/json: schema: *130 examples: - default: *665 + default: *671 '404': *6 '500': *85 put: @@ -92825,7 +93295,7 @@ paths: application/json: schema: *130 examples: - default: *665 + default: *671 '404': *6 '500': *85 delete: @@ -92988,8 +93458,8 @@ paths: - *88 - *19 - *17 - - *666 - - *667 + - *672 + - *673 - *341 - *342 - *343 @@ -93001,7 +93471,7 @@ paths: application/json: schema: type: array - items: &671 + items: &677 type: object properties: number: *100 @@ -93020,8 +93490,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *668 - resolution: *669 + state: *674 + resolution: *675 resolved_at: type: string format: date-time @@ -93117,7 +93587,7 @@ paths: pull request. ' - oneOf: *670 + oneOf: *676 nullable: true has_more_locations: type: boolean @@ -93276,7 +93746,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *677 examples: default: value: @@ -93338,8 +93808,8 @@ paths: schema: type: object properties: - state: *668 - resolution: *669 + state: *674 + resolution: *675 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -93357,7 +93827,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *677 examples: default: value: @@ -93445,7 +93915,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &847 + items: &853 type: object properties: type: @@ -93471,12 +93941,6 @@ paths: example: commit details: oneOf: - - *672 - - *673 - - *674 - - *675 - - *676 - - *677 - *678 - *679 - *680 @@ -93484,6 +93948,12 @@ paths: - *682 - *683 - *684 + - *685 + - *686 + - *687 + - *688 + - *689 + - *690 examples: default: value: @@ -93578,14 +94048,14 @@ paths: schema: type: object properties: - reason: &686 + reason: &692 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *685 + placeholder_id: *691 required: - reason - placeholder_id @@ -93602,7 +94072,7 @@ paths: schema: type: object properties: - reason: *686 + reason: *692 expire_at: type: string format: date-time @@ -93661,7 +94131,7 @@ paths: properties: incremental_scans: type: array - items: &687 + items: &693 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93687,15 +94157,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *687 + items: *693 backfill_scans: type: array - items: *687 + items: *693 custom_pattern_backfill_scans: type: array items: allOf: - - *687 + - *693 - type: object properties: pattern_name: @@ -93810,9 +94280,9 @@ paths: application/json: schema: type: array - items: *688 + items: *694 examples: - default: *689 + default: *695 '400': *14 '404': *6 x-github: @@ -93996,9 +94466,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *694 examples: - default: &691 + default: &697 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94336,7 +94806,7 @@ paths: description: Response content: application/json: - schema: *688 + schema: *694 examples: default: value: @@ -94485,15 +94955,15 @@ paths: parameters: - *381 - *382 - - *690 + - *696 responses: '200': description: Response content: application/json: - schema: *688 + schema: *694 examples: - default: *691 + default: *697 '403': *29 '404': *6 x-github: @@ -94519,7 +94989,7 @@ paths: parameters: - *381 - *382 - - *690 + - *696 requestBody: required: true content: @@ -94678,10 +95148,10 @@ paths: description: Response content: application/json: - schema: *688 + schema: *694 examples: - default: *691 - add_credit: *691 + default: *697 + add_credit: *697 '403': *29 '404': *6 '422': @@ -94721,7 +95191,7 @@ paths: parameters: - *381 - *382 - - *690 + - *696 responses: '202': *39 '400': *14 @@ -94750,7 +95220,7 @@ paths: parameters: - *381 - *382 - - *690 + - *696 responses: '202': description: Response @@ -94894,7 +95364,7 @@ paths: application/json: schema: type: array - items: &692 + items: &698 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95267,7 +95737,7 @@ paths: application/json: schema: type: array - items: *692 + items: *698 examples: default: value: @@ -95355,7 +95825,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *699 examples: default: value: @@ -95449,7 +95919,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &694 + schema: &700 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95544,7 +96014,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *700 examples: default: value: @@ -95681,7 +96151,7 @@ paths: application/json: schema: type: array - items: &695 + items: &701 title: Tag protection description: Tag protection type: object @@ -95757,7 +96227,7 @@ paths: description: Response content: application/json: - schema: *695 + schema: *701 examples: default: value: @@ -95905,7 +96375,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &702 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95917,7 +96387,7 @@ paths: required: - names examples: - default: &697 + default: &703 value: names: - octocat @@ -95972,9 +96442,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *702 examples: - default: *697 + default: *703 '404': *6 '422': *7 x-github: @@ -95997,7 +96467,7 @@ paths: parameters: - *381 - *382 - - &698 + - &704 name: per description: The time frame to display results for. in: query @@ -96026,7 +96496,7 @@ paths: example: 128 clones: type: array - items: &699 + items: &705 title: Traffic type: object properties: @@ -96267,7 +96737,7 @@ paths: parameters: - *381 - *382 - - *698 + - *704 responses: '200': description: Response @@ -96286,7 +96756,7 @@ paths: example: 3782 views: type: array - items: *699 + items: *705 required: - uniques - count @@ -96958,7 +97428,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &707 + - &713 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -96967,7 +97437,7 @@ paths: schema: type: string example: members - - &712 + - &718 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -96978,7 +97448,7 @@ paths: default: 1 format: int32 example: 1 - - &713 + - &719 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97020,7 +97490,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &701 + items: &707 allOf: - type: object required: @@ -97095,7 +97565,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &714 + meta: &720 type: object description: The metadata associated with the creation/updates to the user. @@ -97155,31 +97625,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &702 + '400': &708 description: Bad request content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 - '401': &703 + schema: *706 + '401': &709 description: Authorization failure - '403': &704 + '403': &710 description: Permission denied - '429': &705 + '429': &711 description: Too many requests content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 - '500': &706 + schema: *706 + '500': &712 description: Internal server error content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 + schema: *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97203,7 +97673,7 @@ paths: required: true content: application/json: - schema: &710 + schema: &716 type: object required: - schemas @@ -97259,9 +97729,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *701 + schema: *707 examples: - group: &708 + group: &714 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -97280,13 +97750,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *702 - '401': *703 - '403': *704 - '409': &711 + '400': *708 + '401': *709 + '403': *710 + '409': &717 description: Duplicate record detected - '429': *705 - '500': *706 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97303,7 +97773,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &709 + - &715 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -97311,22 +97781,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *707 + - *713 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *701 + schema: *707 examples: - default: *708 - '400': *702 - '401': *703 - '403': *704 + default: *714 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '429': *705 - '500': *706 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97345,13 +97815,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *709 + - *715 - *41 requestBody: required: true content: application/json: - schema: *710 + schema: *716 examples: group: summary: Group @@ -97377,17 +97847,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *701 + schema: *707 examples: - group: *708 - groupWithMembers: *708 - '400': *702 - '401': *703 - '403': *704 + group: *714 + groupWithMembers: *714 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '409': *711 - '429': *705 - '500': *706 + '409': *717 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97411,13 +97881,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *709 + - *715 - *41 requestBody: required: true content: application/json: - schema: &721 + schema: &727 type: object required: - Operations @@ -97477,17 +97947,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *701 + schema: *707 examples: - updateGroup: *708 - addMembers: *708 - '400': *702 - '401': *703 - '403': *704 + updateGroup: *714 + addMembers: *714 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '409': *711 - '429': *705 - '500': *706 + '409': *717 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97503,17 +97973,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *709 + - *715 - *41 responses: '204': description: Group was deleted, no content - '400': *702 - '401': *703 - '403': *704 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '429': *705 - '500': *706 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97547,8 +98017,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *712 - - *713 + - *718 + - *719 - *41 responses: '200': @@ -97581,7 +98051,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &716 + items: &722 allOf: - type: object required: @@ -97660,7 +98130,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &715 + roles: &721 type: array description: The roles assigned to the user. items: @@ -97716,7 +98186,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *714 + meta: *720 startIndex: type: integer description: A starting index for the returned page @@ -97753,11 +98223,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *702 - '401': *703 - '403': *704 - '429': *705 - '500': *706 + '400': *708 + '401': *709 + '403': *710 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97781,7 +98251,7 @@ paths: required: true content: application/json: - schema: &719 + schema: &725 type: object required: - schemas @@ -97863,9 +98333,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *715 + roles: *721 examples: - user: &720 + user: &726 summary: User value: schemas: @@ -97912,9 +98382,9 @@ paths: description: User has been created content: application/scim+json: - schema: *716 + schema: *722 examples: - user: &717 + user: &723 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97940,13 +98410,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *717 - '400': *702 - '401': *703 - '403': *704 - '409': *711 - '429': *705 - '500': *706 + enterpriseOwner: *723 + '400': *708 + '401': *709 + '403': *710 + '409': *717 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97963,7 +98433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &718 + - &724 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -97976,15 +98446,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *716 + schema: *722 examples: - default: *717 - '400': *702 - '401': *703 - '403': *704 + default: *723 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '429': *705 - '500': *706 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98006,30 +98476,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *718 + - *724 - *41 requestBody: required: true content: application/json: - schema: *719 + schema: *725 examples: - user: *720 + user: *726 responses: '200': description: User was updated content: application/scim+json: - schema: *716 + schema: *722 examples: - user: *717 - '400': *702 - '401': *703 - '403': *704 + user: *723 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '409': *711 - '429': *705 - '500': *706 + '409': *717 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98064,13 +98534,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *718 + - *724 - *41 requestBody: required: true content: application/json: - schema: *721 + schema: *727 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98110,18 +98580,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *716 + schema: *722 examples: - userMultiValuedProperties: *717 - userSingleValuedProperties: *717 - disableUser: *717 - '400': *702 - '401': *703 - '403': *704 + userMultiValuedProperties: *723 + userSingleValuedProperties: *723 + disableUser: *723 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '409': *711 - '429': *705 - '500': *706 + '409': *717 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98141,17 +98611,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *718 + - *724 - *41 responses: '204': description: User was deleted, no content - '400': *702 - '401': *703 - '403': *704 + '400': *708 + '401': *709 + '403': *710 '404': *6 - '429': *705 - '500': *706 + '429': *711 + '500': *712 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98238,7 +98708,7 @@ paths: example: 1 Resources: type: array - items: &722 + items: &728 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -98469,22 +98939,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &723 + '404': &729 description: Resource not found content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 - '403': &724 + schema: *706 + '403': &730 description: Forbidden content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 - '400': *702 - '429': *705 + schema: *706 + '400': *708 + '429': *711 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -98510,9 +98980,9 @@ paths: description: Response content: application/scim+json: - schema: *722 + schema: *728 examples: - default: &725 + default: &731 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98535,17 +99005,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *723 - '403': *724 - '500': *706 + '404': *729 + '403': *730 + '500': *712 '409': description: Conflict content: application/json: - schema: *700 + schema: *706 application/scim+json: - schema: *700 - '400': *702 + schema: *706 + '400': *708 requestBody: required: true content: @@ -98643,17 +99113,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *172 - - *718 + - *724 responses: '200': description: Response content: application/scim+json: - schema: *722 + schema: *728 examples: - default: *725 - '404': *723 - '403': *724 + default: *731 + '404': *729 + '403': *730 '304': *37 x-github: githubCloudOnly: true @@ -98677,18 +99147,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *172 - - *718 + - *724 responses: '200': description: Response content: application/scim+json: - schema: *722 + schema: *728 examples: - default: *725 + default: *731 '304': *37 - '404': *723 - '403': *724 + '404': *729 + '403': *730 requestBody: required: true content: @@ -98801,19 +99271,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *172 - - *718 + - *724 responses: '200': description: Response content: application/scim+json: - schema: *722 + schema: *728 examples: - default: *725 + default: *731 '304': *37 - '404': *723 - '403': *724 - '400': *702 + '404': *729 + '403': *730 + '400': *708 '429': description: Response content: @@ -98904,12 +99374,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *172 - - *718 + - *724 responses: '204': description: Response - '404': *723 - '403': *724 + '404': *729 + '403': *730 '304': *37 x-github: githubCloudOnly: true @@ -99042,7 +99512,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &726 + text_matches: &732 title: Search Result Text Matches type: array items: @@ -99205,7 +99675,7 @@ paths: enum: - author-date - committer-date - - &727 + - &733 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -99296,7 +99766,7 @@ paths: url: type: string format: uri - verification: *557 + verification: *563 required: - author - committer @@ -99333,7 +99803,7 @@ paths: type: number node_id: type: string - text_matches: *726 + text_matches: *732 required: - sha - node_id @@ -99516,7 +99986,7 @@ paths: - interactions - created - updated - - *727 + - *733 - *17 - *19 - name: advanced_search @@ -99658,7 +100128,7 @@ paths: type: string format: date-time nullable: true - text_matches: *726 + text_matches: *732 pull_request: type: object properties: @@ -99886,7 +100356,7 @@ paths: enum: - created - updated - - *727 + - *733 - *17 - *19 responses: @@ -99930,7 +100400,7 @@ paths: nullable: true score: type: number - text_matches: *726 + text_matches: *732 required: - id - node_id @@ -100016,7 +100486,7 @@ paths: - forks - help-wanted-issues - updated - - *727 + - *733 - *17 - *19 responses: @@ -100255,7 +100725,7 @@ paths: - admin - pull - push - text_matches: *726 + text_matches: *732 temp_clone_token: type: string allow_merge_commit: @@ -100556,7 +101026,7 @@ paths: type: string format: uri nullable: true - text_matches: *726 + text_matches: *732 related: type: array nullable: true @@ -100749,7 +101219,7 @@ paths: - followers - repositories - joined - - *727 + - *733 - *17 - *19 responses: @@ -100853,7 +101323,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *726 + text_matches: *732 blog: type: string nullable: true @@ -100932,7 +101402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &728 + - &734 name: team_id description: The unique identifier of the team. in: path @@ -100973,7 +101443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *728 + - *734 requestBody: required: true content: @@ -101073,7 +101543,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *728 + - *734 responses: '204': description: Response @@ -101104,7 +101574,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *728 + - *734 - *88 - *17 - *19 @@ -101117,7 +101587,7 @@ paths: type: array items: *364 examples: - default: *729 + default: *735 headers: Link: *40 x-github: @@ -101146,7 +101616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *728 + - *734 requestBody: required: true content: @@ -101209,7 +101679,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *728 + - *734 - *366 responses: '200': @@ -101243,7 +101713,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *728 + - *734 - *366 requestBody: required: false @@ -101269,7 +101739,7 @@ paths: application/json: schema: *364 examples: - default: *730 + default: *736 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101294,7 +101764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *728 + - *734 - *366 responses: '204': @@ -101324,7 +101794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *728 + - *734 - *366 - *88 - *17 @@ -101338,7 +101808,7 @@ paths: type: array items: *367 examples: - default: *731 + default: *737 headers: Link: *40 x-github: @@ -101367,7 +101837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *728 + - *734 - *366 requestBody: required: true @@ -101419,7 +101889,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *728 + - *734 - *366 - *369 responses: @@ -101454,7 +101924,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *728 + - *734 - *366 - *369 requestBody: @@ -101480,7 +101950,7 @@ paths: application/json: schema: *367 examples: - default: *732 + default: *738 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101505,7 +101975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *728 + - *734 - *366 - *369 responses: @@ -101536,7 +102006,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *728 + - *734 - *366 - *369 - name: content @@ -101595,7 +102065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *728 + - *734 - *366 - *369 requestBody: @@ -101657,7 +102127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *728 + - *734 - *366 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -101715,7 +102185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *728 + - *734 - *366 requestBody: required: true @@ -101774,7 +102244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *728 + - *734 - *17 - *19 responses: @@ -101812,7 +102282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *728 + - *734 - name: role description: Filters members returned by their role in the team. in: query @@ -101863,7 +102333,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *728 + - *734 - *222 responses: '204': @@ -101900,7 +102370,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *728 + - *734 - *222 responses: '204': @@ -101940,7 +102410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *728 + - *734 - *222 responses: '204': @@ -101977,7 +102447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *728 + - *734 - *222 responses: '200': @@ -101986,7 +102456,7 @@ paths: application/json: schema: *378 examples: - response-if-user-is-a-team-maintainer: *733 + response-if-user-is-a-team-maintainer: *739 '404': *6 x-github: githubCloudOnly: false @@ -102019,7 +102489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *728 + - *734 - *222 requestBody: required: false @@ -102047,7 +102517,7 @@ paths: application/json: schema: *378 examples: - response-if-users-membership-with-team-is-now-pending: *734 + response-if-users-membership-with-team-is-now-pending: *740 '403': description: Forbidden if team synchronization is set up '422': @@ -102081,7 +102551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *728 + - *734 - *222 responses: '204': @@ -102110,7 +102580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *728 + - *734 - *17 - *19 responses: @@ -102122,7 +102592,7 @@ paths: type: array items: *379 examples: - default: *735 + default: *741 headers: Link: *40 '404': *6 @@ -102148,7 +102618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *728 + - *734 - *380 responses: '200': @@ -102157,7 +102627,7 @@ paths: application/json: schema: *379 examples: - default: *736 + default: *742 '404': description: Not Found if project is not managed by this team x-github: @@ -102181,7 +102651,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *728 + - *734 - *380 requestBody: required: false @@ -102249,7 +102719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *728 + - *734 - *380 responses: '204': @@ -102277,7 +102747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *728 + - *734 - *17 - *19 responses: @@ -102319,7 +102789,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *728 + - *734 - *381 - *382 responses: @@ -102327,7 +102797,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *737 + schema: *743 examples: alternative-response-with-extra-repository-information: value: @@ -102478,7 +102948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *728 + - *734 - *381 - *382 requestBody: @@ -102530,7 +103000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *728 + - *734 - *381 - *382 responses: @@ -102561,7 +103031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *728 + - *734 responses: '200': description: Response @@ -102596,7 +103066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *728 + - *734 requestBody: required: true content: @@ -102684,7 +103154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *728 + - *734 - *17 - *19 responses: @@ -102696,7 +103166,7 @@ paths: type: array items: *231 examples: - response-if-child-teams-exist: *738 + response-if-child-teams-exist: *744 headers: Link: *40 '404': *6 @@ -102729,7 +103199,7 @@ paths: application/json: schema: oneOf: - - &740 + - &746 title: Private User description: Private User type: object @@ -102932,7 +103402,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *739 + - *745 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103085,7 +103555,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *746 examples: default: value: @@ -103483,7 +103953,7 @@ paths: type: integer secrets: type: array - items: &741 + items: &747 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -103599,7 +104069,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *747 examples: default: value: @@ -103745,7 +104215,7 @@ paths: type: array items: *200 examples: - default: *742 + default: *748 '401': *25 '403': *29 '404': *6 @@ -104012,7 +104482,7 @@ paths: description: Response content: application/json: - schema: &743 + schema: &749 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104053,7 +104523,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &744 + default: &750 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -104098,9 +104568,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *749 examples: - default: *744 + default: *750 '404': *6 x-github: githubCloudOnly: false @@ -104137,9 +104607,9 @@ paths: type: integer machines: type: array - items: *745 + items: *751 examples: - default: *746 + default: *752 '304': *37 '500': *85 '401': *25 @@ -105078,7 +105548,7 @@ paths: type: array items: *309 examples: - default: &759 + default: &765 value: - id: 197 name: hello_docker @@ -105179,7 +105649,7 @@ paths: application/json: schema: type: array - items: &747 + items: &753 title: Email description: Email type: object @@ -105244,9 +105714,9 @@ paths: application/json: schema: type: array - items: *747 + items: *753 examples: - default: &761 + default: &767 value: - email: octocat@github.com verified: true @@ -105321,7 +105791,7 @@ paths: application/json: schema: type: array - items: *747 + items: *753 examples: default: value: @@ -105577,7 +106047,7 @@ paths: application/json: schema: type: array - items: &748 + items: &754 title: GPG Key description: A unique encryption key type: object @@ -105708,7 +106178,7 @@ paths: - subkeys - revoked examples: - default: &775 + default: &781 value: - id: 3 name: Octocat's GPG Key @@ -105793,9 +106263,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *754 examples: - default: &749 + default: &755 value: id: 3 name: Octocat's GPG Key @@ -105852,7 +106322,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &750 + - &756 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -105864,9 +106334,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *754 examples: - default: *749 + default: *755 '404': *6 '304': *37 '403': *29 @@ -105889,7 +106359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *750 + - *756 responses: '204': description: Response @@ -106080,7 +106550,7 @@ paths: type: array items: *64 examples: - default: *751 + default: *757 headers: Link: *40 '404': *6 @@ -106194,7 +106664,7 @@ paths: required: true content: application/json: - schema: *568 + schema: *574 examples: default: value: @@ -106344,7 +106814,7 @@ paths: application/json: schema: type: array - items: &752 + items: &758 title: Key description: Key type: object @@ -106441,9 +106911,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *758 examples: - default: &753 + default: &759 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -106476,15 +106946,15 @@ 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: - - *597 + - *603 responses: '200': description: Response content: application/json: - schema: *752 + schema: *758 examples: - default: *753 + default: *759 '404': *6 '304': *37 '403': *29 @@ -106507,7 +106977,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: - - *597 + - *603 responses: '204': description: Response @@ -106540,7 +107010,7 @@ paths: application/json: schema: type: array - items: &754 + items: &760 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -106608,7 +107078,7 @@ paths: - account - plan examples: - default: &755 + default: &761 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106670,9 +107140,9 @@ paths: application/json: schema: type: array - items: *754 + items: *760 examples: - default: *755 + default: *761 headers: Link: *40 '304': *37 @@ -107667,7 +108137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *303 - - *756 + - *762 responses: '204': description: Response @@ -107740,7 +108210,7 @@ paths: type: array items: *59 examples: - default: *757 + default: *763 headers: Link: *40 '304': *37 @@ -107782,7 +108252,7 @@ paths: - docker - nuget - container - - *758 + - *764 - *19 - *17 responses: @@ -107794,8 +108264,8 @@ paths: type: array items: *309 examples: - default: *759 - '400': *760 + default: *765 + '400': *766 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107824,7 +108294,7 @@ paths: application/json: schema: *309 examples: - default: &776 + default: &782 value: id: 40201 name: octo-name @@ -108277,9 +108747,9 @@ paths: application/json: schema: type: array - items: *747 + items: *753 examples: - default: *761 + default: *767 headers: Link: *40 '304': *37 @@ -108392,7 +108862,7 @@ paths: type: array items: *64 examples: - default: &768 + default: &774 summary: Default response value: - id: 1296269 @@ -108736,9 +109206,9 @@ paths: application/json: schema: type: array - items: *570 + items: *576 examples: - default: *762 + default: *768 headers: Link: *40 '304': *37 @@ -108817,7 +109287,7 @@ paths: application/json: schema: type: array - items: &763 + items: &769 title: Social account description: Social media account type: object @@ -108832,7 +109302,7 @@ paths: - provider - url examples: - default: &764 + default: &770 value: - provider: twitter url: https://twitter.com/github @@ -108894,9 +109364,9 @@ paths: application/json: schema: type: array - items: *763 + items: *769 examples: - default: *764 + default: *770 '422': *15 '304': *37 '404': *6 @@ -108983,7 +109453,7 @@ paths: application/json: schema: type: array - items: &765 + items: &771 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -109003,7 +109473,7 @@ paths: - title - created_at examples: - default: &777 + default: &783 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109069,9 +109539,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *771 examples: - default: &766 + default: &772 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109102,7 +109572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &767 + - &773 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -109114,9 +109584,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *771 examples: - default: *766 + default: *772 '404': *6 '304': *37 '403': *29 @@ -109139,7 +109609,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *767 + - *773 responses: '204': description: Response @@ -109168,7 +109638,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &778 + - &784 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -109193,11 +109663,11 @@ paths: type: array items: *64 examples: - default-response: *768 + default-response: *774 application/vnd.github.v3.star+json: schema: type: array - items: &779 + items: &785 title: Starred Repository description: Starred Repository type: object @@ -109566,10 +110036,10 @@ paths: application/json: schema: oneOf: - - *740 - - *739 + - *746 + - *745 examples: - default-response: &770 + default-response: &776 summary: Default response value: login: octocat @@ -109604,7 +110074,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &771 + response-with-git-hub-plan-information: &777 summary: Response with GitHub plan information value: login: octocat @@ -109664,7 +110134,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *769 + - *775 - *17 responses: '200': @@ -109713,11 +110183,11 @@ paths: application/json: schema: oneOf: - - *740 - - *739 + - *746 + - *745 examples: - default-response: *770 - response-with-git-hub-plan-information: *771 + default-response: *776 + response-with-git-hub-plan-information: *777 '404': *6 x-github: githubCloudOnly: false @@ -109766,8 +110236,8 @@ paths: required: - subject_digests examples: - default: *772 - withPredicateType: *773 + default: *778 + withPredicateType: *779 responses: '200': description: Response @@ -109820,7 +110290,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *774 + default: *780 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110063,7 +110533,7 @@ paths: type: array items: *309 examples: - default: *759 + default: *765 '403': *29 '401': *25 x-github: @@ -110467,9 +110937,9 @@ paths: application/json: schema: type: array - items: *748 + items: *754 examples: - default: *775 + default: *781 headers: Link: *40 x-github: @@ -110573,7 +111043,7 @@ paths: application/json: schema: *22 examples: - default: *567 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110654,7 +111124,7 @@ paths: type: array items: *59 examples: - default: *757 + default: *763 headers: Link: *40 x-github: @@ -110693,7 +111163,7 @@ paths: - docker - nuget - container - - *758 + - *764 - *222 - *19 - *17 @@ -110706,10 +111176,10 @@ paths: type: array items: *309 examples: - default: *759 + default: *765 '403': *29 '401': *25 - '400': *760 + '400': *766 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110739,7 +111209,7 @@ paths: application/json: schema: *309 examples: - default: *776 + default: *782 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111523,9 +111993,9 @@ paths: application/json: schema: type: array - items: *763 + items: *769 examples: - default: *764 + default: *770 headers: Link: *40 x-github: @@ -111555,9 +112025,9 @@ paths: application/json: schema: type: array - items: *765 + items: *771 examples: - default: *777 + default: *783 headers: Link: *40 x-github: @@ -111582,7 +112052,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *222 - - *778 + - *784 - *88 - *17 - *19 @@ -111594,11 +112064,11 @@ paths: schema: anyOf: - type: array - items: *779 + items: *785 - type: array items: *64 examples: - default-response: *768 + default-response: *774 headers: Link: *40 x-github: @@ -111757,7 +112227,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &780 + enterprise: &786 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -111815,7 +112285,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &781 + installation: &787 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -111834,7 +112304,7 @@ x-webhooks: required: - id - node_id - organization: &782 + organization: &788 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -111894,13 +112364,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &783 + repository: &789 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &820 + properties: &826 id: description: Unique identifier of the repository example: 42 @@ -112583,7 +113053,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &821 + required: &827 - archive_url - assignees_url - blobs_url @@ -112734,10 +113204,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -112813,11 +113283,11 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - rule: &784 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + rule: &790 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -113040,11 +113510,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - rule: *784 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + rule: *790 sender: *4 required: - action @@ -113227,11 +113697,11 @@ x-webhooks: - everyone required: - from - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - rule: *784 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + rule: *790 sender: *4 required: - action @@ -113302,7 +113772,7 @@ x-webhooks: required: true content: application/json: - schema: &787 + schema: &793 title: Exemption request cancellation event type: object properties: @@ -113310,11 +113780,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - exemption_request: &785 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + exemption_request: &791 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -113547,7 +114017,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &786 + items: &792 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -113655,7 +114125,7 @@ x-webhooks: required: true content: application/json: - schema: &788 + schema: &794 title: Exemption request completed event type: object properties: @@ -113663,11 +114133,11 @@ x-webhooks: type: string enum: - completed - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - exemption_request: *785 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + exemption_request: *791 sender: *4 required: - action @@ -113737,7 +114207,7 @@ x-webhooks: required: true content: application/json: - schema: &789 + schema: &795 title: Exemption request created event type: object properties: @@ -113745,11 +114215,11 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - exemption_request: *785 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + exemption_request: *791 sender: *4 required: - action @@ -113819,7 +114289,7 @@ x-webhooks: required: true content: application/json: - schema: &790 + schema: &796 title: Exemption response dismissed event type: object properties: @@ -113827,12 +114297,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - exemption_request: *785 - exemption_response: *786 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + exemption_request: *791 + exemption_response: *792 sender: *4 required: - action @@ -113904,7 +114374,7 @@ x-webhooks: required: true content: application/json: - schema: &791 + schema: &797 title: Exemption response submitted event type: object properties: @@ -113912,12 +114382,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - exemption_request: *785 - exemption_response: *786 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + exemption_request: *791 + exemption_response: *792 sender: *4 required: - action @@ -113990,7 +114460,7 @@ x-webhooks: required: true content: application/json: - schema: *787 + schema: *793 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114057,7 +114527,7 @@ x-webhooks: required: true content: application/json: - schema: *788 + schema: *794 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114124,7 +114594,7 @@ x-webhooks: required: true content: application/json: - schema: *789 + schema: *795 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114191,7 +114661,7 @@ x-webhooks: required: true content: application/json: - schema: *790 + schema: *796 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114259,7 +114729,7 @@ x-webhooks: required: true content: application/json: - schema: *791 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114337,7 +114807,7 @@ x-webhooks: type: string enum: - completed - check_run: &793 + check_run: &799 title: CheckRun description: A check performed on the code of a given code change type: object @@ -114428,7 +114898,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *792 + deployment: *798 details_url: example: https://example.com type: string @@ -114513,9 +114983,9 @@ x-webhooks: - output - app - pull_requests - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - check_run @@ -114908,10 +115378,10 @@ x-webhooks: type: string enum: - created - check_run: *793 - installation: *781 - organization: *782 - repository: *783 + check_run: *799 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - check_run @@ -115307,10 +115777,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *793 - installation: *781 - organization: *782 - repository: *783 + check_run: *799 + installation: *787 + organization: *788 + repository: *789 requested_action: description: The action requested by the user. type: object @@ -115715,10 +116185,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *793 - installation: *781 - organization: *782 - repository: *783 + check_run: *799 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - check_run @@ -116695,10 +117165,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -117368,10 +117838,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -118035,10 +118505,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -118346,20 +118816,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &794 + commit_oid: &800 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *780 - installation: *781 - organization: *782 - ref: &795 + enterprise: *786 + installation: *787 + organization: *788 + ref: &801 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *783 + repository: *789 sender: *4 required: - action @@ -118751,12 +119221,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *794 - enterprise: *780 - installation: *781 - organization: *782 - ref: *795 - repository: *783 + commit_oid: *800 + enterprise: *786 + installation: *787 + organization: *788 + ref: *801 + repository: *789 sender: *4 required: - action @@ -119019,12 +119489,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *794 - enterprise: *780 - installation: *781 - organization: *782 - ref: *795 - repository: *783 + commit_oid: *800 + enterprise: *786 + installation: *787 + organization: *788 + ref: *801 + repository: *789 sender: *4 required: - action @@ -119353,12 +119823,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *794 - enterprise: *780 - installation: *781 - organization: *782 - ref: *795 - repository: *783 + commit_oid: *800 + enterprise: *786 + installation: *787 + organization: *788 + ref: *801 + repository: *789 sender: *4 required: - action @@ -119623,16 +120093,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *783 + repository: *789 sender: *4 required: - action @@ -119866,12 +120336,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *794 - enterprise: *780 - installation: *781 - organization: *782 - ref: *795 - repository: *783 + commit_oid: *800 + enterprise: *786 + installation: *787 + organization: *788 + ref: *801 + repository: *789 sender: *4 required: - action @@ -120128,10 +120598,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -120211,18 +120681,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *782 - pusher_type: &796 + organization: *788 + pusher_type: &802 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &797 + ref: &803 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -120232,7 +120702,7 @@ x-webhooks: enum: - tag - branch - repository: *783 + repository: *789 sender: *4 required: - ref @@ -120315,9 +120785,9 @@ x-webhooks: enum: - created definition: *116 - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 sender: *4 required: - action @@ -120402,9 +120872,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 sender: *4 required: - action @@ -120482,9 +120952,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *116 - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 sender: *4 required: - action @@ -120562,9 +121032,9 @@ x-webhooks: enum: - updated definition: *116 - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 sender: *4 required: - action @@ -120641,10 +121111,10 @@ x-webhooks: type: string enum: - updated - enterprise: *780 - installation: *781 - repository: *783 - organization: *782 + enterprise: *786 + installation: *787 + repository: *789 + organization: *788 sender: *4 new_property_values: type: array @@ -120729,18 +121199,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *780 - installation: *781 - organization: *782 - pusher_type: *796 - ref: *797 + enterprise: *786 + installation: *787 + organization: *788 + pusher_type: *802 + ref: *803 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *783 + repository: *789 sender: *4 required: - ref @@ -120825,10 +121295,10 @@ x-webhooks: enum: - auto_dismissed alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -120913,10 +121383,10 @@ x-webhooks: enum: - auto_reopened alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121001,10 +121471,10 @@ x-webhooks: enum: - created alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121087,10 +121557,10 @@ x-webhooks: enum: - dismissed alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121173,10 +121643,10 @@ x-webhooks: enum: - fixed alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121260,10 +121730,10 @@ x-webhooks: enum: - reintroduced alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121346,10 +121816,10 @@ x-webhooks: enum: - reopened alert: *523 - installation: *781 - organization: *782 - enterprise: *780 - repository: *783 + installation: *787 + organization: *788 + enterprise: *786 + repository: *789 sender: *4 required: - action @@ -121426,9 +121896,9 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - key: &798 + enterprise: *786 + installation: *787 + key: &804 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -121464,8 +121934,8 @@ x-webhooks: - verified - created_at - read_only - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -121542,11 +122012,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - key: *798 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + key: *804 + organization: *788 + repository: *789 sender: *4 required: - action @@ -122107,12 +122577,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - workflow: &802 + workflow: &808 title: Workflow type: object nullable: true @@ -122841,10 +123311,10 @@ x-webhooks: deployment: *529 pull_requests: type: array - items: *617 - repository: *783 - organization: *782 - installation: *781 + items: *623 + repository: *789 + organization: *788 + installation: *787 sender: *4 responses: '200': @@ -122915,7 +123385,7 @@ x-webhooks: type: string enum: - approved - approver: &799 + approver: &805 type: object properties: avatar_url: @@ -122958,11 +123428,11 @@ x-webhooks: type: string comment: type: string - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - reviewers: &800 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + reviewers: &806 type: array items: type: object @@ -123041,7 +123511,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &801 + workflow_job_run: &807 type: object properties: conclusion: @@ -123772,18 +124242,18 @@ x-webhooks: type: string enum: - rejected - approver: *799 + approver: *805 comment: type: string - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - reviewers: *800 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + reviewers: *806 sender: *4 since: type: string - workflow_job_run: *801 + workflow_job_run: *807 workflow_job_runs: type: array items: @@ -124487,13 +124957,13 @@ x-webhooks: type: string enum: - requested - enterprise: *780 + enterprise: *786 environment: type: string - installation: *781 - organization: *782 - repository: *783 - requestor: &807 + installation: *787 + organization: *788 + repository: *789 + requestor: &813 title: User type: object nullable: true @@ -126392,12 +126862,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - workflow: *802 + workflow: *808 workflow_run: title: Deployment Workflow Run type: object @@ -127077,7 +127547,7 @@ x-webhooks: type: string enum: - answered - answer: &805 + answer: &811 type: object properties: author_association: @@ -127234,7 +127704,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &803 + discussion: &809 title: Discussion description: A Discussion in a repository. type: object @@ -127520,7 +127990,7 @@ x-webhooks: - id labels: type: array - items: *579 + items: *585 required: - repository_url - category @@ -127542,10 +128012,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -127672,11 +128142,11 @@ x-webhooks: - from required: - category - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -127759,11 +128229,11 @@ x-webhooks: type: string enum: - closed - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -127845,7 +128315,7 @@ x-webhooks: type: string enum: - created - comment: &804 + comment: &810 type: object properties: author_association: @@ -128002,11 +128472,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128089,12 +128559,12 @@ x-webhooks: type: string enum: - deleted - comment: *804 - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + comment: *810 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128189,12 +128659,12 @@ x-webhooks: - from required: - body - comment: *804 - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + comment: *810 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128278,11 +128748,11 @@ x-webhooks: type: string enum: - created - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128364,11 +128834,11 @@ x-webhooks: type: string enum: - deleted - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128468,11 +128938,11 @@ x-webhooks: type: string required: - from - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128554,10 +129024,10 @@ x-webhooks: type: string enum: - labeled - discussion: *803 - enterprise: *780 - installation: *781 - label: &806 + discussion: *809 + enterprise: *786 + installation: *787 + label: &812 title: Label type: object properties: @@ -128589,8 +129059,8 @@ x-webhooks: - color - default - description - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128673,11 +129143,11 @@ x-webhooks: type: string enum: - locked - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128759,11 +129229,11 @@ x-webhooks: type: string enum: - pinned - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128845,11 +129315,11 @@ x-webhooks: type: string enum: - reopened - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -128934,16 +129404,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *803 - new_repository: *783 + new_discussion: *809 + new_repository: *789 required: - new_discussion - new_repository - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -129026,10 +129496,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *803 - old_answer: *805 - organization: *782 - repository: *783 + discussion: *809 + old_answer: *811 + organization: *788 + repository: *789 sender: *4 required: - action @@ -129111,12 +129581,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *803 - enterprise: *780 - installation: *781 - label: *806 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -129199,11 +129669,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -129285,11 +129755,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *803 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + discussion: *809 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -129358,7 +129828,7 @@ x-webhooks: required: true content: application/json: - schema: *789 + schema: *795 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129421,7 +129891,7 @@ x-webhooks: required: true content: application/json: - schema: *791 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129487,7 +129957,7 @@ x-webhooks: required: true content: application/json: - schema: *787 + schema: *793 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129553,7 +130023,7 @@ x-webhooks: required: true content: application/json: - schema: *788 + schema: *794 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129619,7 +130089,7 @@ x-webhooks: required: true content: application/json: - schema: *789 + schema: *795 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129685,7 +130155,7 @@ x-webhooks: required: true content: application/json: - schema: *790 + schema: *796 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129751,7 +130221,7 @@ x-webhooks: required: true content: application/json: - schema: *791 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129818,7 +130288,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *780 + enterprise: *786 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -130478,9 +130948,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - forkee @@ -130626,9 +131096,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pages: description: The pages that were updated. type: array @@ -130665,7 +131135,7 @@ x-webhooks: - action - sha - html_url - repository: *783 + repository: *789 sender: *4 required: - pages @@ -130741,10 +131211,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories: &808 + organization: *788 + repositories: &814 description: An array of repository objects that the installation can access. type: array @@ -130770,8 +131240,8 @@ x-webhooks: - name - full_name - private - repository: *783 - requester: *807 + repository: *789 + requester: *813 sender: *4 required: - action @@ -130846,11 +131316,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories: *808 - repository: *783 + organization: *788 + repositories: *814 + repository: *789 requester: nullable: true sender: *4 @@ -130926,11 +131396,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories: *808 - repository: *783 + organization: *788 + repositories: *814 + repository: *789 requester: nullable: true sender: *4 @@ -131006,10 +131476,10 @@ x-webhooks: type: string enum: - added - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories_added: &809 + organization: *788 + repositories_added: &815 description: An array of repository objects, which were added to the installation. type: array @@ -131055,15 +131525,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *783 - repository_selection: &810 + repository: *789 + repository_selection: &816 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *807 + requester: *813 sender: *4 required: - action @@ -131142,10 +131612,10 @@ x-webhooks: type: string enum: - removed - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories_added: *809 + organization: *788 + repositories_added: *815 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -131172,9 +131642,9 @@ x-webhooks: - name - full_name - private - repository: *783 - repository_selection: *810 - requester: *807 + repository: *789 + repository_selection: *816 + requester: *813 sender: *4 required: - action @@ -131253,11 +131723,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories: *808 - repository: *783 + organization: *788 + repositories: *814 + repository: *789 requester: nullable: true sender: *4 @@ -131436,10 +131906,10 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 target_type: type: string @@ -131518,11 +131988,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *780 + enterprise: *786 installation: *22 - organization: *782 - repositories: *808 - repository: *783 + organization: *788 + repositories: *814 + repository: *789 requester: nullable: true sender: *4 @@ -131774,8 +132244,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -132931,8 +133401,8 @@ x-webhooks: - state - locked - assignee - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -133012,7 +133482,7 @@ x-webhooks: type: string enum: - deleted - comment: &811 + comment: &817 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -133177,8 +133647,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134332,8 +134802,8 @@ x-webhooks: - state - locked - assignee - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -134413,7 +134883,7 @@ x-webhooks: type: string enum: - edited - changes: &839 + changes: &845 description: The changes to the comment. type: object properties: @@ -134425,9 +134895,9 @@ x-webhooks: type: string required: - from - comment: *811 - enterprise: *780 - installation: *781 + comment: *817 + enterprise: *786 + installation: *787 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135582,8 +136052,8 @@ x-webhooks: - state - locked - assignee - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -135665,10 +136135,10 @@ x-webhooks: type: string enum: - assigned - assignee: *807 - enterprise: *780 - installation: *781 - issue: &814 + assignee: *813 + enterprise: *786 + installation: *787 + issue: &820 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136587,8 +137057,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -136668,8 +137138,8 @@ x-webhooks: type: string enum: - closed - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137728,8 +138198,8 @@ x-webhooks: required: - state - closed_at - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -137808,8 +138278,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138723,8 +139193,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -138803,8 +139273,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139719,7 +140189,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &812 + milestone: &818 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139857,8 +140327,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -139957,8 +140427,8 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140877,9 +141347,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *806 - organization: *782 - repository: *783 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -140959,8 +141429,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141878,9 +142348,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *806 - organization: *782 - repository: *783 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -141960,8 +142430,8 @@ x-webhooks: type: string enum: - locked - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142880,8 +143350,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -142960,8 +143430,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143874,9 +144344,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *812 - organization: *782 - repository: *783 + milestone: *818 + organization: *788 + repository: *789 sender: *4 required: - action @@ -145319,8 +145789,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146238,8 +146708,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -146319,9 +146789,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *780 - installation: *781 - issue: &813 + enterprise: *786 + installation: *787 + issue: &819 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147233,8 +147703,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -147313,8 +147783,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148232,8 +148702,8 @@ x-webhooks: user_view_type: type: string type: *291 - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -149696,11 +150166,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *780 - installation: *781 - issue: *813 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + issue: *819 + organization: *788 + repository: *789 sender: *4 required: - action @@ -149780,12 +150250,12 @@ x-webhooks: type: string enum: - typed - enterprise: *780 - installation: *781 - issue: *814 + enterprise: *786 + installation: *787 + issue: *820 type: *291 - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -149866,7 +150336,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &842 + assignee: &848 title: User type: object nullable: true @@ -149936,11 +150406,11 @@ x-webhooks: required: - login - id - enterprise: *780 - installation: *781 - issue: *814 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + issue: *820 + organization: *788 + repository: *789 sender: *4 required: - action @@ -150019,12 +150489,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *780 - installation: *781 - issue: *814 - label: *806 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + issue: *820 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -150104,8 +150574,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151022,8 +151492,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151103,11 +151573,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *780 - installation: *781 - issue: *813 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + issue: *819 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151186,12 +151656,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *780 - installation: *781 - issue: *814 + enterprise: *786 + installation: *787 + issue: *820 type: *291 - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151271,11 +151741,11 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - label: *806 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151353,11 +151823,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - label: *806 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151467,11 +151937,11 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - label: *806 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + label: *812 + organization: *788 + repository: *789 sender: *4 required: - action @@ -151553,9 +152023,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *780 - installation: *781 - marketplace_purchase: &815 + enterprise: *786 + installation: *787 + marketplace_purchase: &821 title: Marketplace Purchase type: object required: @@ -151638,8 +152108,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *782 - previous_marketplace_purchase: &816 + organization: *788 + previous_marketplace_purchase: &822 title: Marketplace Purchase type: object properties: @@ -151719,7 +152189,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *783 + repository: *789 sender: *4 required: - action @@ -151799,10 +152269,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *780 - installation: *781 - marketplace_purchase: *815 - organization: *782 + enterprise: *786 + installation: *787 + marketplace_purchase: *821 + organization: *788 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151885,7 +152355,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *783 + repository: *789 sender: *4 required: - action @@ -151967,10 +152437,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *780 - installation: *781 - marketplace_purchase: *815 - organization: *782 + enterprise: *786 + installation: *787 + marketplace_purchase: *821 + organization: *788 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152052,7 +152522,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *783 + repository: *789 sender: *4 required: - action @@ -152133,8 +152603,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 marketplace_purchase: title: Marketplace Purchase type: object @@ -152216,9 +152686,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *782 - previous_marketplace_purchase: *816 - repository: *783 + organization: *788 + previous_marketplace_purchase: *822 + repository: *789 sender: *4 required: - action @@ -152298,12 +152768,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *780 - installation: *781 - marketplace_purchase: *815 - organization: *782 - previous_marketplace_purchase: *816 - repository: *783 + enterprise: *786 + installation: *787 + marketplace_purchase: *821 + organization: *788 + previous_marketplace_purchase: *822 + repository: *789 sender: *4 required: - action @@ -152405,11 +152875,11 @@ x-webhooks: type: string required: - to - enterprise: *780 - installation: *781 - member: *807 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + member: *813 + organization: *788 + repository: *789 sender: *4 required: - action @@ -152509,11 +152979,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *780 - installation: *781 - member: *807 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + member: *813 + organization: *788 + repository: *789 sender: *4 required: - action @@ -152592,11 +153062,11 @@ x-webhooks: type: string enum: - removed - enterprise: *780 - installation: *781 - member: *807 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + member: *813 + organization: *788 + repository: *789 sender: *4 required: - action @@ -152674,11 +153144,11 @@ x-webhooks: type: string enum: - added - enterprise: *780 - installation: *781 - member: *807 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + member: *813 + organization: *788 + repository: *789 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152754,7 +153224,7 @@ x-webhooks: required: - login - id - team: &817 + team: &823 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152944,11 +153414,11 @@ x-webhooks: type: string enum: - removed - enterprise: *780 - installation: *781 - member: *807 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + member: *813 + organization: *788 + repository: *789 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153025,7 +153495,7 @@ x-webhooks: required: - login - id - team: *817 + team: *823 required: - action - scope @@ -153107,8 +153577,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *781 - merge_group: &819 + installation: *787 + merge_group: &825 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -153127,15 +153597,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *818 + head_commit: *824 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153221,10 +153691,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *781 - merge_group: *819 - organization: *782 - repository: *783 + installation: *787 + merge_group: *825 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153297,7 +153767,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 + enterprise: *786 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -153406,16 +153876,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *781 - organization: *782 + installation: *787 + organization: *788 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *820 - required: *821 + properties: *826 + required: *827 nullable: true sender: *4 required: @@ -153496,11 +153966,11 @@ x-webhooks: type: string enum: - closed - enterprise: *780 - installation: *781 - milestone: *812 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + milestone: *818 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153579,9 +154049,9 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - milestone: &822 + enterprise: *786 + installation: *787 + milestone: &828 title: Milestone description: A collection of related issues and pull requests. type: object @@ -153718,8 +154188,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153798,11 +154268,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - milestone: *812 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + milestone: *818 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153912,11 +154382,11 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - milestone: *812 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + milestone: *818 + organization: *788 + repository: *789 sender: *4 required: - action @@ -153996,11 +154466,11 @@ x-webhooks: type: string enum: - opened - enterprise: *780 - installation: *781 - milestone: *822 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + milestone: *828 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154079,11 +154549,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *807 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + blocked_user: *813 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154162,11 +154632,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *807 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + blocked_user: *813 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154245,9 +154715,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - membership: &823 + enterprise: *786 + installation: *787 + membership: &829 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -154339,8 +154809,8 @@ x-webhooks: - role - organization_url - user - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154418,11 +154888,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *780 - installation: *781 - membership: *823 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + membership: *829 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154501,8 +154971,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -154618,10 +155088,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 - user: *807 + user: *813 required: - action - invitation @@ -154699,11 +155169,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *780 - installation: *781 - membership: *823 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + membership: *829 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154790,11 +155260,11 @@ x-webhooks: properties: from: type: string - enterprise: *780 - installation: *781 - membership: *823 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + membership: *829 + organization: *788 + repository: *789 sender: *4 required: - action @@ -154870,9 +155340,9 @@ x-webhooks: type: string enum: - published - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 package: description: Information about the package. type: object @@ -155371,7 +155841,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &824 + items: &830 title: Ruby Gems metadata type: object properties: @@ -155466,7 +155936,7 @@ x-webhooks: - owner - package_version - registry - repository: *783 + repository: *789 sender: *4 required: - action @@ -155542,9 +156012,9 @@ x-webhooks: type: string enum: - updated - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 package: description: Information about the package. type: object @@ -155897,7 +156367,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *824 + items: *830 source_url: type: string format: uri @@ -155967,7 +156437,7 @@ x-webhooks: - owner - package_version - registry - repository: *783 + repository: *789 sender: *4 required: - action @@ -156144,12 +156614,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *780 + enterprise: *786 id: type: integer - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - id @@ -156226,7 +156696,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &825 + personal_access_token_request: &831 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -156372,10 +156842,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *780 - organization: *782 + enterprise: *786 + organization: *788 sender: *4 - installation: *781 + installation: *787 required: - action - personal_access_token_request @@ -156452,11 +156922,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *825 - enterprise: *780 - organization: *782 + personal_access_token_request: *831 + enterprise: *786 + organization: *788 sender: *4 - installation: *781 + installation: *787 required: - action - personal_access_token_request @@ -156532,11 +157002,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *825 - enterprise: *780 - organization: *782 + personal_access_token_request: *831 + enterprise: *786 + organization: *788 sender: *4 - installation: *781 + installation: *787 required: - action - personal_access_token_request @@ -156611,11 +157081,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *825 - organization: *782 - enterprise: *780 + personal_access_token_request: *831 + organization: *788 + enterprise: *786 sender: *4 - installation: *781 + installation: *787 required: - action - personal_access_token_request @@ -156720,7 +157190,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *826 + last_response: *832 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -156752,8 +157222,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 zen: description: Random string of GitHub zen. @@ -156998,10 +157468,10 @@ x-webhooks: - from required: - note - enterprise: *780 - installation: *781 - organization: *782 - project_card: &827 + enterprise: *786 + installation: *787 + organization: *788 + project_card: &833 title: Project Card type: object properties: @@ -157120,7 +157590,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *783 + repository: *789 sender: *4 required: - action @@ -157201,11 +157671,11 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - project_card: *827 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project_card: *833 + repository: *789 sender: *4 required: - action @@ -157285,9 +157755,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 project_card: title: Project Card type: object @@ -157415,8 +157885,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *820 - required: *821 + properties: *826 + required: *827 nullable: true sender: *4 required: @@ -157510,11 +157980,11 @@ x-webhooks: - from required: - note - enterprise: *780 - installation: *781 - organization: *782 - project_card: *827 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project_card: *833 + repository: *789 sender: *4 required: - action @@ -157608,9 +158078,9 @@ x-webhooks: - from required: - column_id - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 project_card: allOf: - title: Project Card @@ -157800,7 +158270,7 @@ x-webhooks: type: string required: - after_id - repository: *783 + repository: *789 sender: *4 required: - action @@ -157880,10 +158350,10 @@ x-webhooks: type: string enum: - closed - enterprise: *780 - installation: *781 - organization: *782 - project: &829 + enterprise: *786 + installation: *787 + organization: *788 + project: &835 title: Project type: object properties: @@ -158007,7 +158477,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *783 + repository: *789 sender: *4 required: - action @@ -158087,10 +158557,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - project_column: &828 + enterprise: *786 + installation: *787 + organization: *788 + project_column: &834 title: Project Column type: object properties: @@ -158129,7 +158599,7 @@ x-webhooks: - name - created_at - updated_at - repository: *783 + repository: *789 sender: *4 required: - action @@ -158208,18 +158678,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - project_column: *828 + enterprise: *786 + installation: *787 + organization: *788 + project_column: *834 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *820 - required: *821 + properties: *826 + required: *827 nullable: true sender: *4 required: @@ -158309,11 +158779,11 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - organization: *782 - project_column: *828 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project_column: *834 + repository: *789 sender: *4 required: - action @@ -158393,11 +158863,11 @@ x-webhooks: type: string enum: - moved - enterprise: *780 - installation: *781 - organization: *782 - project_column: *828 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project_column: *834 + repository: *789 sender: *4 required: - action @@ -158477,11 +158947,11 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - project: *829 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project: *835 + repository: *789 sender: *4 required: - action @@ -158561,18 +159031,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - project: *829 + enterprise: *786 + installation: *787 + organization: *788 + project: *835 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *820 - required: *821 + properties: *826 + required: *827 nullable: true sender: *4 required: @@ -158674,11 +159144,11 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - organization: *782 - project: *829 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project: *835 + repository: *789 sender: *4 required: - action @@ -158757,11 +159227,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *780 - installation: *781 - organization: *782 - project: *829 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + project: *835 + repository: *789 sender: *4 required: - action @@ -158842,9 +159312,9 @@ x-webhooks: type: string enum: - closed - installation: *781 - organization: *782 - projects_v2: &830 + installation: *787 + organization: *788 + projects_v2: &836 title: Projects v2 Project description: A projects v2 project type: object @@ -158987,9 +159457,9 @@ x-webhooks: type: string enum: - created - installation: *781 - organization: *782 - projects_v2: *830 + installation: *787 + organization: *788 + projects_v2: *836 sender: *4 required: - action @@ -159070,9 +159540,9 @@ x-webhooks: type: string enum: - deleted - installation: *781 - organization: *782 - projects_v2: *830 + installation: *787 + organization: *788 + projects_v2: *836 sender: *4 required: - action @@ -159189,9 +159659,9 @@ x-webhooks: type: string to: type: string - installation: *781 - organization: *782 - projects_v2: *830 + installation: *787 + organization: *788 + projects_v2: *836 sender: *4 required: - action @@ -159274,7 +159744,7 @@ x-webhooks: type: string enum: - archived - changes: &834 + changes: &840 type: object properties: archived_at: @@ -159288,9 +159758,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *781 - organization: *782 - projects_v2_item: &831 + installation: *787 + organization: *788 + projects_v2_item: &837 title: Projects v2 Item description: An item belonging to a project type: object @@ -159424,9 +159894,9 @@ x-webhooks: nullable: true to: type: string - installation: *781 - organization: *782 - projects_v2_item: *831 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -159508,9 +159978,9 @@ x-webhooks: type: string enum: - created - installation: *781 - organization: *782 - projects_v2_item: *831 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -159591,9 +160061,9 @@ x-webhooks: type: string enum: - deleted - installation: *781 - organization: *782 - projects_v2_item: *831 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -159699,7 +160169,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &832 + - &838 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -159717,7 +160187,7 @@ x-webhooks: required: - id - name - - &833 + - &839 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -159740,8 +160210,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *832 - - *833 + - *838 + - *839 required: - field_value - type: object @@ -159757,9 +160227,9 @@ x-webhooks: nullable: true required: - body - installation: *781 - organization: *782 - projects_v2_item: *831 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -159854,9 +160324,9 @@ x-webhooks: to: type: string nullable: true - installation: *781 - organization: *782 - projects_v2_item: *831 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -159939,10 +160409,10 @@ x-webhooks: type: string enum: - restored - changes: *834 - installation: *781 - organization: *782 - projects_v2_item: *831 + changes: *840 + installation: *787 + organization: *788 + projects_v2_item: *837 sender: *4 required: - action @@ -160024,9 +160494,9 @@ x-webhooks: type: string enum: - reopened - installation: *781 - organization: *782 - projects_v2: *830 + installation: *787 + organization: *788 + projects_v2: *836 sender: *4 required: - action @@ -160107,9 +160577,9 @@ x-webhooks: type: string enum: - created - installation: *781 - organization: *782 - projects_v2_status_update: &835 + installation: *787 + organization: *788 + projects_v2_status_update: &841 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -160236,9 +160706,9 @@ x-webhooks: type: string enum: - deleted - installation: *781 - organization: *782 - projects_v2_status_update: *835 + installation: *787 + organization: *788 + projects_v2_status_update: *841 sender: *4 required: - action @@ -160374,9 +160844,9 @@ x-webhooks: type: string format: date nullable: true - installation: *781 - organization: *782 - projects_v2_status_update: *835 + installation: *787 + organization: *788 + projects_v2_status_update: *841 sender: *4 required: - action @@ -160447,10 +160917,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - repository @@ -160527,13 +160997,13 @@ x-webhooks: type: string enum: - assigned - assignee: *807 - enterprise: *780 - installation: *781 - number: &836 + assignee: *813 + enterprise: *786 + installation: *787 + number: &842 description: The pull request number. type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -162816,7 +163286,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -162898,11 +163368,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -165180,7 +165650,7 @@ x-webhooks: - draft reason: type: string - repository: *783 + repository: *789 sender: *4 required: - action @@ -165262,11 +165732,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -167544,7 +168014,7 @@ x-webhooks: - draft reason: type: string - repository: *783 + repository: *789 sender: *4 required: - action @@ -167626,13 +168096,13 @@ x-webhooks: type: string enum: - closed - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: &837 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: &843 allOf: - - *617 + - *623 - type: object properties: allow_auto_merge: @@ -167694,7 +168164,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *783 + repository: *789 sender: *4 required: - action @@ -167775,12 +168245,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: *837 - repository: *783 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: *843 + repository: *789 sender: *4 required: - action @@ -167860,11 +168330,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *780 - milestone: *600 - number: *836 - organization: *782 - pull_request: &838 + enterprise: *786 + milestone: *606 + number: *842 + organization: *788 + pull_request: &844 title: Pull Request type: object properties: @@ -170127,7 +170597,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -170206,11 +170676,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -172492,7 +172962,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *783 + repository: *789 sender: *4 required: - action @@ -172616,12 +173086,12 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: *837 - repository: *783 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: *843 + repository: *789 sender: *4 required: - action @@ -172701,11 +173171,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -174972,7 +175442,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -175052,11 +175522,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *780 - installation: *781 - label: *806 - number: *836 - organization: *782 + enterprise: *786 + installation: *787 + label: *812 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -177338,7 +177808,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -177419,10 +177889,10 @@ x-webhooks: type: string enum: - locked - enterprise: *780 - installation: *781 - number: *836 - organization: *782 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -179702,7 +180172,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -179782,12 +180252,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *780 - milestone: *600 - number: *836 - organization: *782 - pull_request: *838 - repository: *783 + enterprise: *786 + milestone: *606 + number: *842 + organization: *788 + pull_request: *844 + repository: *789 sender: *4 required: - action @@ -179866,12 +180336,12 @@ x-webhooks: type: string enum: - opened - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: *837 - repository: *783 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: *843 + repository: *789 sender: *4 required: - action @@ -179952,12 +180422,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: *837 - repository: *783 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: *843 + repository: *789 sender: *4 required: - action @@ -180037,12 +180507,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *780 - installation: *781 - number: *836 - organization: *782 - pull_request: *837 - repository: *783 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 + pull_request: *843 + repository: *789 sender: *4 required: - action @@ -180408,9 +180878,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: type: object properties: @@ -182580,7 +183050,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *783 + repository: *789 sender: *4 required: - action @@ -182660,7 +183130,7 @@ x-webhooks: type: string enum: - deleted - comment: &840 + comment: &846 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -182945,9 +183415,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: type: object properties: @@ -185105,7 +185575,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *783 + repository: *789 sender: *4 required: - action @@ -185185,11 +185655,11 @@ x-webhooks: type: string enum: - edited - changes: *839 - comment: *840 - enterprise: *780 - installation: *781 - organization: *782 + changes: *845 + comment: *846 + enterprise: *786 + installation: *787 + organization: *788 pull_request: type: object properties: @@ -187350,7 +187820,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *783 + repository: *789 sender: *4 required: - action @@ -187431,9 +187901,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: title: Simple Pull Request type: object @@ -189606,7 +190076,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *783 + repository: *789 review: description: The review that was affected. type: object @@ -189849,9 +190319,9 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: title: Simple Pull Request type: object @@ -191905,8 +192375,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *783 - review: &841 + repository: *789 + review: &847 description: The review that was affected. type: object properties: @@ -192135,12 +192605,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: description: The pull request number. type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -194423,7 +194893,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 requested_reviewer: title: User type: object @@ -194507,12 +194977,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: description: The pull request number. type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -196802,7 +197272,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196994,12 +197464,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: description: The pull request number. type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -199284,7 +199754,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 requested_reviewer: title: User type: object @@ -199369,12 +199839,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *780 - installation: *781 + enterprise: *786 + installation: *787 number: description: The pull request number. type: integer - organization: *782 + organization: *788 pull_request: title: Pull Request type: object @@ -201650,7 +202120,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201831,9 +202301,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: title: Simple Pull Request type: object @@ -204008,8 +204478,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *783 - review: *841 + repository: *789 + review: *847 sender: *4 required: - action @@ -204089,9 +204559,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: title: Simple Pull Request type: object @@ -206161,7 +206631,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *783 + repository: *789 sender: *4 thread: type: object @@ -206544,9 +207014,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 pull_request: title: Simple Pull Request type: object @@ -208602,7 +209072,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *783 + repository: *789 sender: *4 thread: type: object @@ -208988,10 +209458,10 @@ x-webhooks: type: string before: type: string - enterprise: *780 - installation: *781 - number: *836 - organization: *782 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -211262,7 +211732,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -211344,11 +211814,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *842 - enterprise: *780 - installation: *781 - number: *836 - organization: *782 + assignee: *848 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -213631,7 +214101,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -213710,11 +214180,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *780 - installation: *781 - label: *806 - number: *836 - organization: *782 + enterprise: *786 + installation: *787 + label: *812 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -215987,7 +216457,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -216068,10 +216538,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *780 - installation: *781 - number: *836 - organization: *782 + enterprise: *786 + installation: *787 + number: *842 + organization: *788 pull_request: title: Pull Request type: object @@ -218336,7 +218806,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *783 + repository: *789 sender: *4 required: - action @@ -218536,7 +219006,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *780 + enterprise: *786 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -218628,8 +219098,8 @@ x-webhooks: - url - author - committer - installation: *781 - organization: *782 + installation: *787 + organization: *788 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -219204,9 +219674,9 @@ x-webhooks: type: string enum: - published - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 registry_package: type: object properties: @@ -219652,7 +220122,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *824 + items: *830 summary: type: string tag_name: @@ -219706,7 +220176,7 @@ x-webhooks: - owner - package_version - registry - repository: *783 + repository: *789 sender: *4 required: - action @@ -219784,9 +220254,9 @@ x-webhooks: type: string enum: - updated - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 registry_package: type: object properties: @@ -220094,7 +220564,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *824 + items: *830 summary: type: string tag_name: @@ -220143,7 +220613,7 @@ x-webhooks: - owner - package_version - registry - repository: *783 + repository: *789 sender: *4 required: - action @@ -220220,10 +220690,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - release: &843 + enterprise: *786 + installation: *787 + organization: *788 + release: &849 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -220532,7 +221002,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *783 + repository: *789 sender: *4 required: - action @@ -220609,11 +221079,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - release: *843 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + release: *849 + repository: *789 sender: *4 required: - action @@ -220730,11 +221200,11 @@ x-webhooks: type: boolean required: - to - enterprise: *780 - installation: *781 - organization: *782 - release: *843 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + release: *849 + repository: *789 sender: *4 required: - action @@ -220812,9 +221282,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -221127,7 +221597,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *783 + repository: *789 sender: *4 required: - action @@ -221203,10 +221673,10 @@ x-webhooks: type: string enum: - published - enterprise: *780 - installation: *781 - organization: *782 - release: &844 + enterprise: *786 + installation: *787 + organization: *788 + release: &850 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -221516,7 +221986,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *783 + repository: *789 sender: *4 required: - action @@ -221592,11 +222062,11 @@ x-webhooks: type: string enum: - released - enterprise: *780 - installation: *781 - organization: *782 - release: *843 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + release: *849 + repository: *789 sender: *4 required: - action @@ -221672,11 +222142,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *780 - installation: *781 - organization: *782 - release: *844 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + release: *850 + repository: *789 sender: *4 required: - action @@ -221752,11 +222222,11 @@ x-webhooks: type: string enum: - published - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - repository_advisory: *688 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + repository_advisory: *694 sender: *4 required: - action @@ -221832,11 +222302,11 @@ x-webhooks: type: string enum: - reported - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - repository_advisory: *688 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + repository_advisory: *694 sender: *4 required: - action @@ -221912,10 +222382,10 @@ x-webhooks: type: string enum: - archived - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -221992,10 +222462,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222073,10 +222543,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222160,10 +222630,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222275,10 +222745,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222350,10 +222820,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 status: type: string @@ -222434,10 +222904,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222514,10 +222984,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222611,10 +223081,10 @@ x-webhooks: - name required: - repository - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -222694,10 +223164,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 repository_ruleset: *130 sender: *4 required: @@ -222776,10 +223246,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 repository_ruleset: *130 sender: *4 required: @@ -222858,10 +223328,10 @@ x-webhooks: type: string enum: - edited - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 repository_ruleset: *130 changes: type: object @@ -223166,10 +223636,10 @@ x-webhooks: - from required: - owner - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -223247,10 +223717,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -223328,7 +223798,7 @@ x-webhooks: type: string enum: - create - alert: &845 + alert: &851 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -223449,10 +223919,10 @@ x-webhooks: type: string enum: - open - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -223658,10 +224128,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -223739,11 +224209,11 @@ x-webhooks: type: string enum: - reopen - alert: *845 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + alert: *851 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -223942,10 +224412,10 @@ x-webhooks: enum: - fixed - open - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224023,7 +224493,7 @@ x-webhooks: type: string enum: - created - alert: &846 + alert: &852 type: object properties: number: *100 @@ -224134,10 +224604,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224218,11 +224688,11 @@ x-webhooks: type: string enum: - created - alert: *846 - installation: *781 - location: *847 - organization: *782 - repository: *783 + alert: *852 + installation: *787 + location: *853 + organization: *788 + repository: *789 sender: *4 required: - location @@ -224460,11 +224930,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *846 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + alert: *852 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224542,11 +225012,11 @@ x-webhooks: type: string enum: - reopened - alert: *846 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + alert: *852 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224624,11 +225094,11 @@ x-webhooks: type: string enum: - resolved - alert: *846 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + alert: *852 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224706,11 +225176,11 @@ x-webhooks: type: string enum: - validated - alert: *846 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + alert: *852 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -224836,10 +225306,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *783 - enterprise: *780 - installation: *781 - organization: *782 + repository: *789 + enterprise: *786 + installation: *787 + organization: *788 sender: *4 required: - action @@ -224917,11 +225387,11 @@ x-webhooks: type: string enum: - published - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - security_advisory: &848 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + security_advisory: &854 description: The details of the security advisory, including summary, description, and severity. type: object @@ -225104,11 +225574,11 @@ x-webhooks: type: string enum: - updated - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 - security_advisory: *848 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 + security_advisory: *854 sender: *4 required: - action @@ -225181,10 +225651,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -225369,9 +225839,9 @@ x-webhooks: type: object properties: security_and_analysis: *330 - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: *394 sender: *4 required: @@ -225450,12 +225920,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: &849 + sponsorship: &855 type: object properties: created_at: @@ -225756,12 +226226,12 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: *849 + sponsorship: *855 required: - action - sponsorship @@ -225849,12 +226319,12 @@ x-webhooks: type: string required: - from - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: *849 + sponsorship: *855 required: - action - changes @@ -225931,17 +226401,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &850 + effective_date: &856 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: *849 + sponsorship: *855 required: - action - sponsorship @@ -226015,7 +226485,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &851 + changes: &857 type: object properties: tier: @@ -226059,13 +226529,13 @@ x-webhooks: - from required: - tier - effective_date: *850 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + effective_date: *856 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: *849 + sponsorship: *855 required: - action - changes @@ -226142,13 +226612,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *851 - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + changes: *857 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - sponsorship: *849 + sponsorship: *855 required: - action - changes @@ -226222,10 +226692,10 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226308,10 +226778,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226731,15 +227201,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *780 + enterprise: *786 id: description: The unique identifier of the status. type: integer - installation: *781 + installation: *787 name: type: string - organization: *782 - repository: *783 + organization: *788 + repository: *789 sender: *4 sha: description: The Commit SHA. @@ -226854,9 +227324,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -226946,9 +227416,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -227038,9 +227508,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -227130,9 +227600,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *781 - organization: *782 - repository: *783 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -227209,12 +227679,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - team: &852 + team: &858 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -227404,9 +227874,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: title: Repository description: A git repository @@ -227864,7 +228334,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *852 + team: *858 required: - action - team @@ -227940,9 +228410,9 @@ x-webhooks: type: string enum: - created - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: title: Repository description: A git repository @@ -228400,7 +228870,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *852 + team: *858 required: - action - team @@ -228477,9 +228947,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: title: Repository description: A git repository @@ -228937,7 +229407,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *852 + team: *858 required: - action - team @@ -229081,9 +229551,9 @@ x-webhooks: - from required: - permissions - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: title: Repository description: A git repository @@ -229541,7 +230011,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *852 + team: *858 required: - action - changes @@ -229619,9 +230089,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *780 - installation: *781 - organization: *782 + enterprise: *786 + installation: *787 + organization: *788 repository: title: Repository description: A git repository @@ -230079,7 +230549,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *852 + team: *858 required: - action - team @@ -230155,10 +230625,10 @@ x-webhooks: type: string enum: - started - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 required: - action @@ -230231,16 +230701,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *780 + enterprise: *786 inputs: type: object nullable: true additionalProperties: true - installation: *781 - organization: *782 + installation: *787 + organization: *788 ref: type: string - repository: *783 + repository: *789 sender: *4 workflow: type: string @@ -230322,10 +230792,10 @@ x-webhooks: type: string enum: - completed - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 workflow_job: allOf: @@ -230641,10 +231111,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 workflow_job: allOf: @@ -230983,10 +231453,10 @@ x-webhooks: type: string enum: - queued - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 workflow_job: type: object @@ -231200,10 +231670,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 workflow_job: type: object @@ -231419,12 +231889,12 @@ x-webhooks: type: string enum: - completed - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - workflow: *802 + workflow: *808 workflow_run: title: Workflow Run type: object @@ -232423,12 +232893,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - workflow: *802 + workflow: *808 workflow_run: title: Workflow Run type: object @@ -233412,12 +233882,12 @@ x-webhooks: type: string enum: - requested - enterprise: *780 - installation: *781 - organization: *782 - repository: *783 + enterprise: *786 + installation: *787 + organization: *788 + repository: *789 sender: *4 - workflow: *802 + workflow: *808 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index acdc8af1f2..e638b00fc7 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -21877,6 +21877,84 @@ } } }, + "/orgs/{org}/dismissal-requests/code-scanning": { + "get": { + "summary": "List dismissal requests for code scanning alerts for an organization", + "description": "Lists dismissal requests for code scanning alerts for all repositories in an organization.\n\nThe user must be authorized to review dismissal requests for the organization.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/list-org-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/alert-dismissal-reviewer-name" + }, + { + "$ref": "#/components/parameters/alert-dismissal-requester-name" + }, + { + "$ref": "#/components/parameters/alert-dismissal-time-period" + }, + { + "$ref": "#/components/parameters/alert-dismissal-request-status" + }, + { + "$ref": "#/components/parameters/repository-name-in-query" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", @@ -50981,6 +51059,232 @@ } } }, + "/repos/{owner}/{repo}/dismissal-requests/code-scanning": { + "get": { + "summary": "List dismissal requests for code scanning alerts for a repository", + "description": "Lists dismissal requests for code scanning alerts for a repository.\n\nDelegated alert dismissal must be enabled on the repository.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/list-dismissal-requests-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/alert-dismissal-reviewer-name" + }, + { + "$ref": "#/components/parameters/alert-dismissal-requester-name" + }, + { + "$ref": "#/components/parameters/alert-dismissal-time-period" + }, + { + "$ref": "#/components/parameters/alert-dismissal-request-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, + "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": { + "get": { + "summary": "Get a dismissal request for a code scanning alert for a repository", + "description": "Gets a dismissal request to dismiss a code scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-dismissal-request-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#get-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the code scanning alert.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "A single dismissal request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-item" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + }, + "patch": { + "summary": "Review a dismissal request for a code scanning alert for a repository", + "description": "Approve or deny a dismissal request to dismiss a code scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be a dismissal reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/review-dismissal-request-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#review-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the code scanning alert.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The review action to perform on the bypass request.", + "enum": [ + "approve", + "deny" + ] + }, + "message": { + "type": "string", + "description": "A message to include with the review. Has a maximum character length of 2048." + } + }, + "required": [ + "status", + "message" + ] + }, + "examples": { + "default": { + "value": { + "status": "approve", + "message": "Used in tests." + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successful update" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for a repository", @@ -122479,6 +122783,193 @@ "key" ] }, + "dismissal-request-response": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + }, + "code-scanning-alert-dismissal-request": { + "title": "Code scanning alert dismissal request", + "description": "Alert dismisal request made by a user asking to dismiss a code scanning alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "alert number." + }, + "pr_review_thread_id": { + "type": "string", + "description": "The ID of the pull request review thread." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "$ref": "#/components/schemas/dismissal-request-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + } + }, "secret-scanning-dismissal-request": { "title": "Secret scanning alert dismissal request", "description": "A dismissal request made by a user asking to close a secret scanning alert in this repository.", @@ -294169,6 +294660,94 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories" } }, + "code-scanning-alert-dismissal-request-items": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 1 + } + ], + "resource_identifier": "123/10", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 2 + } + ], + "resource_identifier": "123/12", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/2", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/2" + } + ] + }, "secret-scanning-dismissal-request-items": { "value": [ { @@ -305887,6 +306466,50 @@ "log_url": "https://example.com/deployment/42/output" } }, + "code-scanning-alert-dismissal-request-item": { + "value": { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 2 + } + ], + "resource_identifier": "1/1", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + }, "secret-scanning-dismissal-request-item": { "value": { "id": 21, @@ -319231,6 +319854,57 @@ "type": "integer" } }, + "alert-dismissal-reviewer-name": { + "name": "reviewer", + "description": "Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "alert-dismissal-requester-name": { + "name": "requester", + "description": "Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "alert-dismissal-time-period": { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "month" + } + }, + "alert-dismissal-request-status": { + "name": "request_status", + "description": "Filter alert dismissal requests by status. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "approved", + "expired", + "denied", + "all" + ], + "default": "all" + } + }, "dismissal-request-status": { "name": "request_status", "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 13019cc275..b47f7f1bb3 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -15909,6 +15909,54 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: secrets + "/orgs/{org}/dismissal-requests/code-scanning": + get: + summary: List dismissal requests for code scanning alerts for an organization + description: |- + Lists dismissal requests for code scanning alerts for all repositories in an organization. + + The user must be authorized to review dismissal requests for the organization. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-an-organization + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/alert-dismissal-reviewer-name" + - "$ref": "#/components/parameters/alert-dismissal-requester-name" + - "$ref": "#/components/parameters/alert-dismissal-time-period" + - "$ref": "#/components/parameters/alert-dismissal-request-status" + - "$ref": "#/components/parameters/repository-name-in-query" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + examples: + default: + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '422': + "$ref": "#/components/responses/validation_failed" + '500': + "$ref": "#/components/responses/internal_error" "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -37151,6 +37199,159 @@ paths: enabledForGitHubApps: true category: deployments subcategory: statuses + "/repos/{owner}/{repo}/dismissal-requests/code-scanning": + get: + summary: List dismissal requests for code scanning alerts for a repository + description: |- + Lists dismissal requests for code scanning alerts for a repository. + + Delegated alert dismissal must be enabled on the repository. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/list-dismissal-requests-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/alert-dismissal-reviewer-name" + - "$ref": "#/components/parameters/alert-dismissal-requester-name" + - "$ref": "#/components/parameters/alert-dismissal-time-period" + - "$ref": "#/components/parameters/alert-dismissal-request-status" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + examples: + default: + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": + get: + summary: Get a dismissal request for a code scanning alert for a repository + description: |- + Gets a dismissal request to dismiss a code scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/get-dismissal-request-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#get-a-dismissal-request-for-a-code-scanning-alert-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: alert_number + in: path + required: true + description: The number that identifies the code scanning alert. + schema: + type: integer + responses: + '200': + description: A single dismissal request. + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + examples: + default: + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-item" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + patch: + summary: Review a dismissal request for a code scanning alert for a repository + description: |- + Approve or deny a dismissal request to dismiss a code scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be a dismissal reviewer to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/review-dismissal-request-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#review-a-dismissal-request-for-a-code-scanning-alert-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: alert_number + in: path + required: true + description: The number that identifies the code scanning alert. + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + status: + type: string + description: The review action to perform on the bypass request. + enum: + - approve + - deny + message: + type: string + description: A message to include with the review. Has a maximum + character length of 2048. + required: + - status + - message + examples: + default: + value: + status: approve + message: Used in tests. + responses: + '204': + description: Successful update + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '422': + "$ref": "#/components/responses/validation_failed" + '500': + "$ref": "#/components/responses/internal_error" "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -89581,6 +89782,157 @@ components: required: - key_id - key + dismissal-request-response: + title: Dismissal request response + description: A response made by a requester to dismiss the request. + type: object + properties: + id: + type: integer + format: int64 + description: The ID of the response to the dismissal request. + reviewer: + type: object + description: The user who reviewed the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who reviewed the dismissal request. + actor_name: + type: string + description: The name of the GitHub user who reviewed the dismissal + request. + message: + type: string + nullable: true + description: The response comment of the reviewer. + status: + type: string + description: The response status to the dismissal request until dismissed. + enum: + - approved + - denied + - dismissed + created_at: + type: string + format: date-time + description: The date and time the response to the dismissal request was + created. + code-scanning-alert-dismissal-request: + title: Code scanning alert dismissal request + description: Alert dismisal request made by a user asking to dismiss a code + scanning alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request within + its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request is for. + name: + type: string + description: The name of the repository the dismissal request is for. + full_name: + type: string + description: The full name of the repository the dismissal request is + for. + organization: + type: object + description: The organization associated with the repository the dismissal + request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the dismissal + request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: alert number. + pr_review_thread_id: + type: string + description: The ID of the pull request review thread. + resource_identifier: + type: string + description: The unique identifier for the request type of the dismissal + request. + example: 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating the dismissal + request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: + "$ref": "#/components/schemas/dismissal-request-response" + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/code-scanning/alerts/1 secret-scanning-dismissal-request: title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning @@ -220443,6 +220795,68 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories + code-scanning-alert-dismissal-request-items: + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 1 + resource_identifier: 123/10 + status: denied + requester_comment: Won't fix + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 + - id: 12 + number: 24 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 2 + resource_identifier: 123/12 + status: denied + requester_comment: Token is already revoked, I'll remove it later + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/2 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/2 secret-scanning-dismissal-request-items: value: - id: 21 @@ -230414,6 +230828,38 @@ components: repository_url: https://api.github.com/repos/octocat/example environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output + code-scanning-alert-dismissal-request-item: + value: + id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 2 + resource_identifier: 1/1 + status: denied + requester_comment: Won't fix + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 secret-scanning-dismissal-request-item: value: id: 21 @@ -241985,6 +242431,53 @@ components: required: true schema: type: integer + alert-dismissal-reviewer-name: + name: reviewer + description: Filter alert dismissal requests by the handle of the GitHub user + who reviewed the dismissal request. + in: query + required: false + schema: + type: string + alert-dismissal-requester-name: + name: requester + description: Filter alert dismissal requests by the handle of the GitHub user + who requested the dismissal. + in: query + required: false + schema: + type: string + alert-dismissal-time-period: + name: time_period + description: |- + The time period to filter by. + + For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours). + in: query + required: false + schema: + type: string + enum: + - hour + - day + - week + - month + default: month + alert-dismissal-request-status: + name: request_status + description: Filter alert dismissal requests by status. When specified, only + requests with this status will be returned. + in: query + required: false + schema: + type: string + enum: + - open + - approved + - expired + - denied + - all + default: all dismissal-request-status: name: request_status description: The status of the dismissal request to filter on. When specified, diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index acdc8af1f2..e638b00fc7 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -21877,6 +21877,84 @@ } } }, + "/orgs/{org}/dismissal-requests/code-scanning": { + "get": { + "summary": "List dismissal requests for code scanning alerts for an organization", + "description": "Lists dismissal requests for code scanning alerts for all repositories in an organization.\n\nThe user must be authorized to review dismissal requests for the organization.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/list-org-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/alert-dismissal-reviewer-name" + }, + { + "$ref": "#/components/parameters/alert-dismissal-requester-name" + }, + { + "$ref": "#/components/parameters/alert-dismissal-time-period" + }, + { + "$ref": "#/components/parameters/alert-dismissal-request-status" + }, + { + "$ref": "#/components/parameters/repository-name-in-query" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", @@ -50981,6 +51059,232 @@ } } }, + "/repos/{owner}/{repo}/dismissal-requests/code-scanning": { + "get": { + "summary": "List dismissal requests for code scanning alerts for a repository", + "description": "Lists dismissal requests for code scanning alerts for a repository.\n\nDelegated alert dismissal must be enabled on the repository.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/list-dismissal-requests-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/alert-dismissal-reviewer-name" + }, + { + "$ref": "#/components/parameters/alert-dismissal-requester-name" + }, + { + "$ref": "#/components/parameters/alert-dismissal-time-period" + }, + { + "$ref": "#/components/parameters/alert-dismissal-request-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, + "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": { + "get": { + "summary": "Get a dismissal request for a code scanning alert for a repository", + "description": "Gets a dismissal request to dismiss a code scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-dismissal-request-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#get-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the code scanning alert.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "A single dismissal request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-item" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + }, + "patch": { + "summary": "Review a dismissal request for a code scanning alert for a repository", + "description": "Approve or deny a dismissal request to dismiss a code scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be a dismissal reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/review-dismissal-request-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#review-a-dismissal-request-for-a-code-scanning-alert-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the code scanning alert.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The review action to perform on the bypass request.", + "enum": [ + "approve", + "deny" + ] + }, + "message": { + "type": "string", + "description": "A message to include with the review. Has a maximum character length of 2048." + } + }, + "required": [ + "status", + "message" + ] + }, + "examples": { + "default": { + "value": { + "status": "approve", + "message": "Used in tests." + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successful update" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for a repository", @@ -122479,6 +122783,193 @@ "key" ] }, + "dismissal-request-response": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + }, + "code-scanning-alert-dismissal-request": { + "title": "Code scanning alert dismissal request", + "description": "Alert dismisal request made by a user asking to dismiss a code scanning alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "alert number." + }, + "pr_review_thread_id": { + "type": "string", + "description": "The ID of the pull request review thread." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "$ref": "#/components/schemas/dismissal-request-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + } + }, "secret-scanning-dismissal-request": { "title": "Secret scanning alert dismissal request", "description": "A dismissal request made by a user asking to close a secret scanning alert in this repository.", @@ -294169,6 +294660,94 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories" } }, + "code-scanning-alert-dismissal-request-items": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 1 + } + ], + "resource_identifier": "123/10", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 2 + } + ], + "resource_identifier": "123/12", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/2", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/2" + } + ] + }, "secret-scanning-dismissal-request-items": { "value": [ { @@ -305887,6 +306466,50 @@ "log_url": "https://example.com/deployment/42/output" } }, + "code-scanning-alert-dismissal-request-item": { + "value": { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "code_scanning_alert_dismissal", + "data": [ + { + "reason": "won't fix", + "alert_number": 2 + } + ], + "resource_identifier": "1/1", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + }, "secret-scanning-dismissal-request-item": { "value": { "id": 21, @@ -319231,6 +319854,57 @@ "type": "integer" } }, + "alert-dismissal-reviewer-name": { + "name": "reviewer", + "description": "Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "alert-dismissal-requester-name": { + "name": "requester", + "description": "Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "alert-dismissal-time-period": { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "month" + } + }, + "alert-dismissal-request-status": { + "name": "request_status", + "description": "Filter alert dismissal requests by status. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "approved", + "expired", + "denied", + "all" + ], + "default": "all" + } + }, "dismissal-request-status": { "name": "request_status", "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 13019cc275..b47f7f1bb3 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -15909,6 +15909,54 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: secrets + "/orgs/{org}/dismissal-requests/code-scanning": + get: + summary: List dismissal requests for code scanning alerts for an organization + description: |- + Lists dismissal requests for code scanning alerts for all repositories in an organization. + + The user must be authorized to review dismissal requests for the organization. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-an-organization + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/alert-dismissal-reviewer-name" + - "$ref": "#/components/parameters/alert-dismissal-requester-name" + - "$ref": "#/components/parameters/alert-dismissal-time-period" + - "$ref": "#/components/parameters/alert-dismissal-request-status" + - "$ref": "#/components/parameters/repository-name-in-query" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + examples: + default: + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '422': + "$ref": "#/components/responses/validation_failed" + '500': + "$ref": "#/components/responses/internal_error" "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -37151,6 +37199,159 @@ paths: enabledForGitHubApps: true category: deployments subcategory: statuses + "/repos/{owner}/{repo}/dismissal-requests/code-scanning": + get: + summary: List dismissal requests for code scanning alerts for a repository + description: |- + Lists dismissal requests for code scanning alerts for a repository. + + Delegated alert dismissal must be enabled on the repository. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/list-dismissal-requests-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#list-dismissal-requests-for-code-scanning-alerts-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/alert-dismissal-reviewer-name" + - "$ref": "#/components/parameters/alert-dismissal-requester-name" + - "$ref": "#/components/parameters/alert-dismissal-time-period" + - "$ref": "#/components/parameters/alert-dismissal-request-status" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + examples: + default: + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": + get: + summary: Get a dismissal request for a code scanning alert for a repository + description: |- + Gets a dismissal request to dismiss a code scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/get-dismissal-request-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#get-a-dismissal-request-for-a-code-scanning-alert-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: alert_number + in: path + required: true + description: The number that identifies the code scanning alert. + schema: + type: integer + responses: + '200': + description: A single dismissal request. + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-alert-dismissal-request" + examples: + default: + "$ref": "#/components/examples/code-scanning-alert-dismissal-request-item" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + patch: + summary: Review a dismissal request for a code scanning alert for a repository + description: |- + Approve or deny a dismissal request to dismiss a code scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be a dismissal reviewer to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - code-scanning + operationId: code-scanning/review-dismissal-request-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/alert-dismissal-requests#review-a-dismissal-request-for-a-code-scanning-alert-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: code-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: alert_number + in: path + required: true + description: The number that identifies the code scanning alert. + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + status: + type: string + description: The review action to perform on the bypass request. + enum: + - approve + - deny + message: + type: string + description: A message to include with the review. Has a maximum + character length of 2048. + required: + - status + - message + examples: + default: + value: + status: approve + message: Used in tests. + responses: + '204': + description: Successful update + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '422': + "$ref": "#/components/responses/validation_failed" + '500': + "$ref": "#/components/responses/internal_error" "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -89581,6 +89782,157 @@ components: required: - key_id - key + dismissal-request-response: + title: Dismissal request response + description: A response made by a requester to dismiss the request. + type: object + properties: + id: + type: integer + format: int64 + description: The ID of the response to the dismissal request. + reviewer: + type: object + description: The user who reviewed the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who reviewed the dismissal request. + actor_name: + type: string + description: The name of the GitHub user who reviewed the dismissal + request. + message: + type: string + nullable: true + description: The response comment of the reviewer. + status: + type: string + description: The response status to the dismissal request until dismissed. + enum: + - approved + - denied + - dismissed + created_at: + type: string + format: date-time + description: The date and time the response to the dismissal request was + created. + code-scanning-alert-dismissal-request: + title: Code scanning alert dismissal request + description: Alert dismisal request made by a user asking to dismiss a code + scanning alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request within + its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request is for. + name: + type: string + description: The name of the repository the dismissal request is for. + full_name: + type: string + description: The full name of the repository the dismissal request is + for. + organization: + type: object + description: The organization associated with the repository the dismissal + request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the dismissal + request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: alert number. + pr_review_thread_id: + type: string + description: The ID of the pull request review thread. + resource_identifier: + type: string + description: The unique identifier for the request type of the dismissal + request. + example: 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating the dismissal + request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: + "$ref": "#/components/schemas/dismissal-request-response" + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/code-scanning/alerts/1 secret-scanning-dismissal-request: title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning @@ -220443,6 +220795,68 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories + code-scanning-alert-dismissal-request-items: + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 1 + resource_identifier: 123/10 + status: denied + requester_comment: Won't fix + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 + - id: 12 + number: 24 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 2 + resource_identifier: 123/12 + status: denied + requester_comment: Token is already revoked, I'll remove it later + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/2 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/2 secret-scanning-dismissal-request-items: value: - id: 21 @@ -230414,6 +230828,38 @@ components: repository_url: https://api.github.com/repos/octocat/example environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output + code-scanning-alert-dismissal-request-item: + value: + id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: code_scanning_alert_dismissal + data: + - reason: won't fix + alert_number: 2 + resource_identifier: 1/1 + status: denied + requester_comment: Won't fix + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1 + html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 secret-scanning-dismissal-request-item: value: id: 21 @@ -241985,6 +242431,53 @@ components: required: true schema: type: integer + alert-dismissal-reviewer-name: + name: reviewer + description: Filter alert dismissal requests by the handle of the GitHub user + who reviewed the dismissal request. + in: query + required: false + schema: + type: string + alert-dismissal-requester-name: + name: requester + description: Filter alert dismissal requests by the handle of the GitHub user + who requested the dismissal. + in: query + required: false + schema: + type: string + alert-dismissal-time-period: + name: time_period + description: |- + The time period to filter by. + + For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours). + in: query + required: false + schema: + type: string + enum: + - hour + - day + - week + - month + default: month + alert-dismissal-request-status: + name: request_status + description: Filter alert dismissal requests by status. When specified, only + requests with this status will be returned. + in: query + required: false + schema: + type: string + enum: + - open + - approved + - expired + - denied + - all + default: all dismissal-request-status: name: request_status description: The status of the dismissal request to filter on. When specified, diff --git a/descriptions/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json b/descriptions/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json index d896a88ea2..ea9dd7e574 100644 --- a/descriptions/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json +++ b/descriptions/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json @@ -211221,10 +211221,6 @@ "description": "The dismissal comment associated with the dismissal of the alert.", "nullable": true, "maxLength": 280 - }, - "create_request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." } }, "required": [ @@ -211236,8 +211232,7 @@ "value": { "state": "dismissed", "dismissed_reason": "false positive", - "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", - "create_request": true + "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library." } } } diff --git a/descriptions/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml b/descriptions/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml index 12914cf266..1b062b496f 100644 --- a/descriptions/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml @@ -50921,9 +50921,6 @@ paths: - dismissed dismissed_reason: *363 dismissed_comment: *364 - create_request: - type: boolean - description: If `true`, attempt to create an alert dismissal request. required: - state examples: @@ -50933,7 +50930,6 @@ paths: dismissed_reason: false positive dismissed_comment: This alert is not actually correct, because there's a sanitizer included in the library. - create_request: true responses: '200': description: Response diff --git a/descriptions/ghes-3.13/dereferenced/ghes-3.13.deref.json b/descriptions/ghes-3.13/dereferenced/ghes-3.13.deref.json index d896a88ea2..ea9dd7e574 100644 --- a/descriptions/ghes-3.13/dereferenced/ghes-3.13.deref.json +++ b/descriptions/ghes-3.13/dereferenced/ghes-3.13.deref.json @@ -211221,10 +211221,6 @@ "description": "The dismissal comment associated with the dismissal of the alert.", "nullable": true, "maxLength": 280 - }, - "create_request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." } }, "required": [ @@ -211236,8 +211232,7 @@ "value": { "state": "dismissed", "dismissed_reason": "false positive", - "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", - "create_request": true + "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library." } } } diff --git a/descriptions/ghes-3.13/dereferenced/ghes-3.13.deref.yaml b/descriptions/ghes-3.13/dereferenced/ghes-3.13.deref.yaml index 12914cf266..1b062b496f 100644 --- a/descriptions/ghes-3.13/dereferenced/ghes-3.13.deref.yaml +++ b/descriptions/ghes-3.13/dereferenced/ghes-3.13.deref.yaml @@ -50921,9 +50921,6 @@ paths: - dismissed dismissed_reason: *363 dismissed_comment: *364 - create_request: - type: boolean - description: If `true`, attempt to create an alert dismissal request. required: - state examples: @@ -50933,7 +50930,6 @@ paths: dismissed_reason: false positive dismissed_comment: This alert is not actually correct, because there's a sanitizer included in the library. - create_request: true responses: '200': description: Response diff --git a/descriptions/ghes-3.13/ghes-3.13.2022-11-28.json b/descriptions/ghes-3.13/ghes-3.13.2022-11-28.json index 6b879fb30d..022473e8db 100644 --- a/descriptions/ghes-3.13/ghes-3.13.2022-11-28.json +++ b/descriptions/ghes-3.13/ghes-3.13.2022-11-28.json @@ -35134,9 +35134,6 @@ }, "dismissed_comment": { "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "create_request": { - "$ref": "#/components/schemas/code-scanning-alert-create-request" } }, "required": [ @@ -35148,8 +35145,7 @@ "value": { "state": "dismissed", "dismissed_reason": "false positive", - "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", - "create_request": true + "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library." } } } @@ -109761,10 +109757,6 @@ "dismissed" ] }, - "code-scanning-alert-create-request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." - }, "code-scanning-analysis-sarif-id": { "type": "string", "description": "An identifier for the upload.", diff --git a/descriptions/ghes-3.13/ghes-3.13.2022-11-28.yaml b/descriptions/ghes-3.13/ghes-3.13.2022-11-28.yaml index a8fb83d0bb..f7ffd801fd 100644 --- a/descriptions/ghes-3.13/ghes-3.13.2022-11-28.yaml +++ b/descriptions/ghes-3.13/ghes-3.13.2022-11-28.yaml @@ -25240,8 +25240,6 @@ paths: "$ref": "#/components/schemas/code-scanning-alert-dismissed-reason" dismissed_comment: "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - create_request: - "$ref": "#/components/schemas/code-scanning-alert-create-request" required: - state examples: @@ -25251,7 +25249,6 @@ paths: dismissed_reason: false positive dismissed_comment: This alert is not actually correct, because there's a sanitizer included in the library. - create_request: true responses: '200': description: Response @@ -79869,9 +79866,6 @@ components: enum: - open - dismissed - code-scanning-alert-create-request: - type: boolean - description: If `true`, attempt to create an alert dismissal request. code-scanning-analysis-sarif-id: type: string description: An identifier for the upload. diff --git a/descriptions/ghes-3.13/ghes-3.13.json b/descriptions/ghes-3.13/ghes-3.13.json index 6b879fb30d..022473e8db 100644 --- a/descriptions/ghes-3.13/ghes-3.13.json +++ b/descriptions/ghes-3.13/ghes-3.13.json @@ -35134,9 +35134,6 @@ }, "dismissed_comment": { "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "create_request": { - "$ref": "#/components/schemas/code-scanning-alert-create-request" } }, "required": [ @@ -35148,8 +35145,7 @@ "value": { "state": "dismissed", "dismissed_reason": "false positive", - "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", - "create_request": true + "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library." } } } @@ -109761,10 +109757,6 @@ "dismissed" ] }, - "code-scanning-alert-create-request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." - }, "code-scanning-analysis-sarif-id": { "type": "string", "description": "An identifier for the upload.", diff --git a/descriptions/ghes-3.13/ghes-3.13.yaml b/descriptions/ghes-3.13/ghes-3.13.yaml index a8fb83d0bb..f7ffd801fd 100644 --- a/descriptions/ghes-3.13/ghes-3.13.yaml +++ b/descriptions/ghes-3.13/ghes-3.13.yaml @@ -25240,8 +25240,6 @@ paths: "$ref": "#/components/schemas/code-scanning-alert-dismissed-reason" dismissed_comment: "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - create_request: - "$ref": "#/components/schemas/code-scanning-alert-create-request" required: - state examples: @@ -25251,7 +25249,6 @@ paths: dismissed_reason: false positive dismissed_comment: This alert is not actually correct, because there's a sanitizer included in the library. - create_request: true responses: '200': description: Response @@ -79869,9 +79866,6 @@ components: enum: - open - dismissed - code-scanning-alert-create-request: - type: boolean - description: If `true`, attempt to create an alert dismissal request. code-scanning-analysis-sarif-id: type: string description: An identifier for the upload. diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json index 97362013c4..dfcb9dfbf3 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json @@ -214403,10 +214403,6 @@ "description": "The dismissal comment associated with the dismissal of the alert.", "nullable": true, "maxLength": 280 - }, - "create_request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." } }, "required": [ @@ -214418,8 +214414,7 @@ "value": { "state": "dismissed", "dismissed_reason": "false positive", - "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", - "create_request": true + "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library." } } } diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml index 143edeee9c..4cb3905859 100644 --- a/des{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}