diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 7d39dd5520..56c61d25e0 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -130581,6 +130581,567 @@ } } }, + "/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": { + "type": [ + "array", + "null" + ], + "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.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "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", + "null" + ], + "description": "The responses to the dismissal request.", + "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", + "null" + ], + "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", + "examples": [ + "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", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", @@ -352887,6 +353448,1114 @@ } } }, + "/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": { + "type": [ + "array", + "null" + ], + "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.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "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", + "null" + ], + "description": "The responses to the dismissal request.", + "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", + "null" + ], + "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", + "examples": [ + "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", + "examples": [ + "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": { + "type": [ + "array", + "null" + ], + "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.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "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", + "null" + ], + "description": "The responses to the dismissal request.", + "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", + "null" + ], + "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", + "examples": [ + "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", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 4fed8523ac..bb424d3c67 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1075,7 +1075,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: - - &666 + - &672 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1804,7 +1804,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &676 + schema: &682 title: Scim Error description: Scim Error type: object @@ -16911,7 +16911,7 @@ paths: type: object description: A repository rule. oneOf: - - &610 + - &616 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16923,7 +16923,7 @@ paths: type: string enum: - creation - - &611 + - &617 title: update description: Only allow users with bypass permission to update matching refs. @@ -16944,7 +16944,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &613 + - &619 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16956,7 +16956,7 @@ paths: type: string enum: - deletion - - &614 + - &620 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16968,7 +16968,7 @@ paths: type: string enum: - required_linear_history - - &615 + - &621 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -17044,7 +17044,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &616 + - &622 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -17068,7 +17068,7 @@ paths: type: string required: - required_deployment_environments - - &617 + - &623 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -17080,7 +17080,7 @@ paths: type: string enum: - required_signatures - - &618 + - &624 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. @@ -17140,7 +17140,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &619 + - &625 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17187,7 +17187,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &620 + - &626 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17199,7 +17199,7 @@ paths: type: string enum: - non_fast_forward - - &621 + - &627 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17235,7 +17235,7 @@ paths: required: - operator - pattern - - &622 + - &628 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17271,7 +17271,7 @@ paths: required: - operator - pattern - - &623 + - &629 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17307,7 +17307,7 @@ paths: required: - operator - pattern - - &624 + - &630 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17343,7 +17343,7 @@ paths: required: - operator - pattern - - &625 + - &631 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17379,7 +17379,7 @@ paths: required: - operator - pattern - - &626 + - &632 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -17403,7 +17403,7 @@ paths: type: string required: - restricted_file_paths - - &627 + - &633 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -17427,7 +17427,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &628 + - &634 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -17450,7 +17450,7 @@ paths: type: string required: - restricted_file_extensions - - &629 + - &635 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -17474,7 +17474,7 @@ paths: maximum: 100 required: - max_file_size - - &630 + - &636 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17523,7 +17523,7 @@ paths: - repository_id required: - workflows - - &631 + - &637 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -18177,14 +18177,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &644 + state: &650 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: &645 + resolution: &651 type: - string - 'null' @@ -18291,14 +18291,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &646 + - &652 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &648 + - &654 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -18355,7 +18355,7 @@ paths: - blob_url - commit_sha - commit_url - - &649 + - &655 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. @@ -18416,7 +18416,7 @@ paths: - page_url - commit_sha - commit_url - - &650 + - &656 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -18431,7 +18431,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &651 + - &657 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -18446,7 +18446,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &652 + - &658 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -18461,7 +18461,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &653 + - &659 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -18476,7 +18476,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &654 + - &660 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -18491,7 +18491,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &655 + - &661 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -18506,7 +18506,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &656 + - &662 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. @@ -18521,7 +18521,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &657 + - &663 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. @@ -18536,7 +18536,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &658 + - &664 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. @@ -18551,7 +18551,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &659 + - &665 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. @@ -18566,7 +18566,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &660 + - &666 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 @@ -20177,7 +20177,7 @@ paths: - author_association - created_at - updated_at - comment: &550 + comment: &556 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20752,7 +20752,7 @@ paths: url: type: string format: uri - user: &715 + user: &721 title: Public User description: Public User type: object @@ -24210,7 +24210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &579 + - &585 name: all description: If `true`, show notifications marked as read. in: query @@ -24218,7 +24218,7 @@ paths: schema: type: boolean default: false - - &580 + - &586 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -24228,7 +24228,7 @@ paths: type: boolean default: false - *139 - - &581 + - &587 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: @@ -24768,7 +24768,7 @@ paths: - url - subscription_url examples: - default: &582 + default: &588 value: - id: '1' repository: @@ -25321,7 +25321,7 @@ paths: type: array items: *57 examples: - default: &732 + default: &738 value: - login: github id: 1 @@ -27311,7 +27311,7 @@ paths: type: array items: *62 examples: - default: &726 + default: &732 value: total_count: 1 repositories: @@ -28134,7 +28134,7 @@ paths: type: array items: *191 examples: - default: &718 + default: &724 value: total_count: 1 repositories: @@ -30216,12 +30216,12 @@ paths: required: - subject_digests examples: - default: &747 + default: &753 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &748 + withPredicateType: &754 value: subject_digests: - sha256:abc123 @@ -30280,7 +30280,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &749 + default: &755 value: attestations_subject_digests: - sha256:abc: @@ -35798,6 +35798,313 @@ 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: + - *165 + - &513 + 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 + - &514 + 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 + - &515 + 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 + - &516 + 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 + - *220 + - *17 + - *19 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: &517 + 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: + type: + - array + - 'null' + 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. + examples: + - 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: + - string + - 'null' + description: The comment the requester provided when creating + the dismissal request. + 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 + - 'null' + description: The responses to the dismissal request. + 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 + - 'null' + 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 + examples: + - 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 + examples: + - https://github.com/octo-org/smile/code-scanning/alerts/1 + examples: + default: &518 + 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': *27 + '422': *15 + '500': *83 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -35823,7 +36130,7 @@ paths: - *214 - *215 - *216 - - &513 + - &519 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -35849,7 +36156,7 @@ paths: application/json: schema: type: array - items: &514 + items: &520 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -35976,7 +36283,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &515 + default: &521 value: - id: 21 number: 42 @@ -37833,7 +38140,7 @@ paths: application/json: schema: *20 examples: - default: &546 + default: &552 value: id: 1 account: @@ -38061,7 +38368,7 @@ paths: required: true content: application/json: - schema: &547 + schema: &553 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -40164,7 +40471,7 @@ paths: parameters: - *165 - *292 - - &731 + - &737 name: repo_name description: repo_name parameter in: path @@ -41497,7 +41804,7 @@ paths: - nuget - container - *165 - - &733 + - &739 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -41538,7 +41845,7 @@ paths: default: *298 '403': *27 '401': *23 - '400': &735 + '400': &741 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45313,7 +45620,7 @@ paths: - *165 - *17 - *19 - - &632 + - &638 name: targets description: | A comma-separated list of rule targets to filter by. @@ -45504,7 +45811,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *165 - - &633 + - &639 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 @@ -45516,14 +45823,14 @@ paths: x-multi-segment: true - *220 - *216 - - &634 + - &640 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 - - &635 + - &641 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -45543,7 +45850,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &642 title: Rule Suites description: Response type: array @@ -45599,7 +45906,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &637 + default: &643 value: - id: 21 actor_id: 12 @@ -45643,7 +45950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *165 - - &638 + - &644 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45659,7 +45966,7 @@ paths: description: Response content: application/json: - schema: &639 + schema: &645 title: Rule Suite description: Response type: object @@ -45766,7 +46073,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &640 + default: &646 value: id: 21 actor_id: 12 @@ -46097,7 +46404,7 @@ paths: - *86 - *19 - *17 - - &642 + - &648 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 @@ -46107,7 +46414,7 @@ paths: required: false schema: type: string - - &643 + - &649 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 @@ -46200,7 +46507,7 @@ paths: application/json: schema: type: array - items: &664 + items: &670 description: A repository security advisory. type: object properties: @@ -46519,7 +46826,7 @@ paths: - private_fork additionalProperties: false examples: - default: &665 + default: &671 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -48371,7 +48678,7 @@ paths: - updated_at - url examples: - default: &705 + default: &711 value: - author: login: octocat @@ -48619,7 +48926,7 @@ paths: application/json: schema: *349 examples: - default: &706 + default: &712 value: author: login: octocat @@ -48810,7 +49117,7 @@ paths: - updated_at - url examples: - default: &707 + default: &713 value: - author: login: octocat @@ -49036,7 +49343,7 @@ paths: application/json: schema: *352 examples: - default: &708 + default: &714 value: author: login: octocat @@ -49752,7 +50059,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &709 + response-if-user-is-a-team-maintainer: &715 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -49817,7 +50124,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: &710 + response-if-users-membership-with-team-is-now-pending: &716 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49959,7 +50266,7 @@ paths: - updated_at - permissions examples: - default: &711 + default: &717 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -50038,7 +50345,7 @@ paths: application/json: schema: *364 examples: - default: &712 + default: &718 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -50249,7 +50556,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &713 + schema: &719 title: Team Repository description: A team's access to a repository. type: object @@ -51087,7 +51394,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: &714 + response-if-child-teams-exist: &720 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57288,7 +57595,7 @@ paths: items: type: object properties: - type: &516 + type: &522 type: string description: The type of reviewer. enum: @@ -57924,7 +58231,7 @@ paths: application/json: schema: *403 examples: - default: &529 + default: &535 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -58143,7 +58450,7 @@ paths: application/json: schema: *407 examples: - default: &530 + default: &536 value: name: USERNAME value: octocat @@ -60001,7 +60308,7 @@ paths: required: - sha - url - verification: &536 + verification: &542 title: Verification type: object properties: @@ -63564,7 +63871,7 @@ paths: check. type: array items: *438 - deployment: &767 + deployment: &773 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -68766,7 +69073,7 @@ paths: type: array items: *476 examples: - default: &721 + default: &727 value: total_count: 2 machines: @@ -69478,7 +69785,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &549 + schema: &555 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -70335,7 +70642,7 @@ paths: type: array items: *484 examples: - default: &597 + default: &603 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70624,7 +70931,7 @@ paths: application/json: schema: type: array - items: &588 + items: &594 title: Pull Request Simple description: Pull Request Simple type: object @@ -70869,7 +71176,7 @@ paths: - review_comment - self author_association: *136 - auto_merge: &590 + auto_merge: &596 title: Auto merge description: The status of auto merging a pull request. type: @@ -70934,7 +71241,7 @@ paths: - author_association - auto_merge examples: - default: &589 + default: &595 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -71492,7 +71799,7 @@ paths: application/json: schema: *484 examples: - default: &576 + default: &582 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -72114,7 +72421,7 @@ paths: application/json: schema: type: array - items: &669 + items: &675 title: Status description: The status of a commit. type: object @@ -73076,7 +73383,7 @@ paths: - size - type - url - - &602 + - &608 title: Content File description: Content File type: object @@ -73692,7 +73999,7 @@ paths: schema: oneOf: - *3 - - &531 + - &537 description: Repository rule violation was detected type: object properties: @@ -73713,7 +74020,7 @@ paths: items: type: object properties: - placeholder_id: &661 + placeholder_id: &667 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -76270,6 +76577,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: + - *366 + - *367 + - *513 + - *514 + - *515 + - *516 + - *17 + - *19 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: *517 + examples: + default: *518 + '404': *6 + '403': *27 + '500': *83 + "/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: + - *366 + - *367 + - 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: *517 + 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': *27 + '500': *83 + 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: + - *366 + - *367 + - 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': *27 + '422': *15 + '500': *83 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -76295,7 +76772,7 @@ paths: - *214 - *215 - *216 - - *513 + - *519 - *17 - *19 responses: @@ -76305,9 +76782,9 @@ paths: application/json: schema: type: array - items: *514 + items: *520 examples: - default: *515 + default: *521 '404': *6 '403': *27 '500': *83 @@ -76345,7 +76822,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *514 + schema: *520 examples: default: value: @@ -76550,7 +77027,7 @@ paths: - 5 environments: type: array - items: &517 + items: &523 title: Environment description: Details of a deployment environment type: object @@ -76612,7 +77089,7 @@ paths: type: string examples: - wait_timer - wait_timer: &519 + wait_timer: &525 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -76654,7 +77131,7 @@ paths: items: type: object properties: - type: *516 + type: *522 reviewer: anyOf: - *4 @@ -76681,7 +77158,7 @@ paths: - id - node_id - type - deployment_branch_policy: &520 + deployment_branch_policy: &526 type: - object - 'null' @@ -76800,7 +77277,7 @@ paths: parameters: - *366 - *367 - - &518 + - &524 name: environment_name in: path required: true @@ -76813,9 +77290,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *523 examples: - default: &521 + default: &527 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -76901,7 +77378,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 requestBody: required: false content: @@ -76911,7 +77388,7 @@ paths: - object - 'null' properties: - wait_timer: *519 + wait_timer: *525 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -76930,14 +77407,14 @@ paths: items: type: object properties: - type: *516 + type: *522 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *520 + deployment_branch_policy: *526 additionalProperties: false examples: default: @@ -76957,9 +77434,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *523 examples: - default: *521 + default: *527 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -76985,7 +77462,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 responses: '204': description: Default response @@ -77012,7 +77489,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *17 - *19 responses: @@ -77031,7 +77508,7 @@ paths: - 2 branch_policies: type: array - items: &522 + items: &528 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -77094,7 +77571,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 requestBody: required: true content: @@ -77142,9 +77619,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *528 examples: - example-wildcard: &523 + example-wildcard: &529 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -77188,8 +77665,8 @@ paths: parameters: - *366 - *367 - - *518 - - &524 + - *524 + - &530 name: branch_policy_id in: path required: true @@ -77201,9 +77678,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *528 examples: - default: *523 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77224,8 +77701,8 @@ paths: parameters: - *366 - *367 - - *518 - *524 + - *530 requestBody: required: true content: @@ -77254,9 +77731,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *528 examples: - default: *523 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77277,8 +77754,8 @@ paths: parameters: - *366 - *367 - - *518 - *524 + - *530 responses: '204': description: Response @@ -77303,7 +77780,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: - - *518 + - *524 - *367 - *366 responses: @@ -77322,7 +77799,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &525 + items: &531 title: Deployment protection rule description: Deployment protection rule type: object @@ -77344,7 +77821,7 @@ paths: for the environment. examples: - true - app: &526 + app: &532 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -77447,7 +77924,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: - - *518 + - *524 - *367 - *366 requestBody: @@ -77470,9 +77947,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *525 + schema: *531 examples: - default: &527 + default: &533 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -77507,7 +77984,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: - - *518 + - *524 - *367 - *366 - *19 @@ -77529,7 +78006,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *526 + items: *532 examples: default: value: @@ -77566,8 +78043,8 @@ paths: parameters: - *366 - *367 - - *518 - - &528 + - *524 + - &534 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -77579,9 +78056,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *531 examples: - default: *527 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77602,10 +78079,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: - - *518 + - *524 - *367 - *366 - - *528 + - *534 responses: '204': description: Response @@ -77633,7 +78110,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *17 - *19 responses: @@ -77680,7 +78157,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 responses: '200': description: Response @@ -77712,7 +78189,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *201 responses: '200': @@ -77721,7 +78198,7 @@ paths: application/json: schema: *403 examples: - default: *529 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77745,7 +78222,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *201 requestBody: required: true @@ -77805,7 +78282,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *201 responses: '204': @@ -77833,7 +78310,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *390 - *19 responses: @@ -77878,7 +78355,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 requestBody: required: true content: @@ -77932,7 +78409,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *204 responses: '200': @@ -77941,7 +78418,7 @@ paths: application/json: schema: *407 examples: - default: *530 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77965,7 +78442,7 @@ paths: - *366 - *367 - *204 - - *518 + - *524 requestBody: required: true content: @@ -78010,7 +78487,7 @@ paths: - *366 - *367 - *204 - - *518 + - *524 responses: '204': description: Response @@ -78388,7 +78865,7 @@ paths: schema: oneOf: - *174 - - *531 + - *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78624,7 +79101,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &538 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -78859,7 +79336,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *538 examples: default: value: @@ -78917,7 +79394,7 @@ paths: parameters: - *366 - *367 - - &533 + - &539 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. @@ -78934,7 +79411,7 @@ paths: application/json: schema: type: array - items: &534 + items: &540 title: Git Reference description: Git references within a repository type: object @@ -79012,15 +79489,15 @@ paths: parameters: - *366 - *367 - - *533 + - *539 responses: '200': description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: &535 + default: &541 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -79079,9 +79556,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *535 + default: *541 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -79109,7 +79586,7 @@ paths: parameters: - *366 - *367 - - *533 + - *539 requestBody: required: true content: @@ -79138,9 +79615,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *535 + default: *541 '422': *15 '409': *94 x-github: @@ -79160,7 +79637,7 @@ paths: parameters: - *366 - *367 - - *533 + - *539 responses: '204': description: Response @@ -79283,7 +79760,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &543 title: Git Tag description: Metadata for a Git tag type: object @@ -79339,7 +79816,7 @@ paths: - sha - type - url - verification: *536 + verification: *542 required: - sha - url @@ -79349,7 +79826,7 @@ paths: - tag - message examples: - default: &538 + default: &544 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -79434,9 +79911,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: *538 + default: *544 '404': *6 '409': *94 x-github: @@ -79535,7 +80012,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &545 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -79661,7 +80138,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *545 examples: default-response: summary: Default response @@ -79731,7 +80208,7 @@ paths: application/json: schema: type: array - items: &540 + items: &546 title: Webhook description: Webhooks for repositories. type: object @@ -79794,7 +80271,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &798 + last_response: &804 title: Hook Response type: object properties: @@ -79925,9 +80402,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: &541 + default: &547 value: type: Repository id: 12345678 @@ -79983,9 +80460,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: *541 + default: *547 '404': *6 x-github: githubCloudOnly: false @@ -80052,9 +80529,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: *541 + default: *547 '422': *15 '404': *6 x-github: @@ -80358,7 +80835,7 @@ paths: description: Response content: application/json: - schema: &542 + schema: &548 title: Import description: A repository import from an external source. type: object @@ -80465,7 +80942,7 @@ paths: - html_url - authors_url examples: - default: &545 + default: &551 value: vcs: subversion use_lfs: true @@ -80481,7 +80958,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': &543 + '503': &549 description: Unavailable due to service under maintenance. content: application/json: @@ -80559,7 +81036,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *548 examples: default: value: @@ -80584,7 +81061,7 @@ paths: type: string '422': *15 '404': *6 - '503': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80665,7 +81142,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *548 examples: example-1: summary: Example 1 @@ -80713,7 +81190,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': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80741,7 +81218,7 @@ paths: responses: '204': description: Response - '503': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80769,7 +81246,7 @@ paths: parameters: - *366 - *367 - - &744 + - &750 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -80783,7 +81260,7 @@ paths: application/json: schema: type: array - items: &544 + items: &550 title: Porter Author description: Porter Author type: object @@ -80837,7 +81314,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': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80893,7 +81370,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *550 examples: default: value: @@ -80906,7 +81383,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80972,7 +81449,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81028,11 +81505,11 @@ paths: description: Response content: application/json: - schema: *542 + schema: *548 examples: - default: *545 + default: *551 '422': *15 - '503': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81064,7 +81541,7 @@ paths: application/json: schema: *20 examples: - default: *546 + default: *552 '301': *380 '404': *6 x-github: @@ -81099,7 +81576,7 @@ paths: properties: {} additionalProperties: false examples: - default: &548 + default: &554 value: limit: collaborators_only origin: repository @@ -81130,7 +81607,7 @@ paths: required: true content: application/json: - schema: *547 + schema: *553 examples: default: summary: Example request body @@ -81144,7 +81621,7 @@ paths: application/json: schema: *275 examples: - default: *548 + default: *554 '409': description: Response x-github: @@ -81201,9 +81678,9 @@ paths: application/json: schema: type: array - items: *549 + items: *555 examples: - default: &737 + default: &743 value: - id: 1 repository: @@ -81365,7 +81842,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *555 examples: default: value: @@ -81603,7 +82080,7 @@ paths: type: array items: *149 examples: - default: &558 + default: &564 value: - id: 1 node_id: MDU6SXNzdWUx @@ -81873,7 +82350,7 @@ paths: application/json: schema: *149 examples: - default: &553 + default: &559 value: id: 1 node_id: MDU6SXNzdWUx @@ -82079,9 +82556,9 @@ paths: application/json: schema: type: array - items: *550 + items: *556 examples: - default: &555 + default: &561 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -82147,9 +82624,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: &551 + default: &557 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -82227,9 +82704,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: *551 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -82419,7 +82896,7 @@ paths: application/json: schema: type: array - items: &552 + items: &558 title: Issue Event description: Issue Event type: object @@ -82770,7 +83247,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *558 examples: default: value: @@ -82999,7 +83476,7 @@ paths: parameters: - *366 - *367 - - &554 + - &560 name: issue_number description: The number that identifies the issue. in: path @@ -83013,7 +83490,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 '301': *380 '404': *6 '410': *377 @@ -83043,7 +83520,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: false content: @@ -83163,7 +83640,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 '422': *15 '503': *130 '403': *27 @@ -83189,7 +83666,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: false content: @@ -83217,7 +83694,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83235,7 +83712,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: content: application/json: @@ -83262,7 +83739,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83286,7 +83763,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - name: assignee in: path required: true @@ -83328,7 +83805,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *139 - *17 - *19 @@ -83339,9 +83816,9 @@ paths: application/json: schema: type: array - items: *550 + items: *556 examples: - default: *555 + default: *561 headers: Link: *38 '404': *6 @@ -83376,7 +83853,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: true content: @@ -83398,9 +83875,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: *551 + default: *557 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -83429,7 +83906,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *17 - *19 responses: @@ -83443,7 +83920,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &559 + - &565 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -83492,7 +83969,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &566 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -83620,7 +84097,7 @@ paths: - performed_via_github_app - assignee - assigner - - &561 + - &567 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -83666,7 +84143,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &568 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -83712,7 +84189,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &569 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -83761,7 +84238,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &570 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -83803,7 +84280,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &571 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -83845,7 +84322,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &572 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -83901,7 +84378,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &567 + - &573 title: Locked Issue Event description: Locked Issue Event type: object @@ -83946,7 +84423,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &574 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -84007,7 +84484,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &575 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -84068,7 +84545,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &576 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -84129,7 +84606,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &577 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -84241,7 +84718,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *17 - *19 responses: @@ -84251,7 +84728,7 @@ paths: application/json: schema: type: array - items: &556 + items: &562 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -84306,7 +84783,7 @@ paths: - color - default examples: - default: &557 + default: &563 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84345,7 +84822,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: false content: @@ -84404,9 +84881,9 @@ paths: application/json: schema: type: array - items: *556 + items: *562 examples: - default: *557 + default: *563 '301': *380 '404': *6 '410': *377 @@ -84428,7 +84905,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: false content: @@ -84488,9 +84965,9 @@ paths: application/json: schema: type: array - items: *556 + items: *562 examples: - default: *557 + default: *563 '301': *380 '404': *6 '410': *377 @@ -84512,7 +84989,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 responses: '204': description: Response @@ -84539,7 +85016,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - name: name in: path required: true @@ -84552,7 +85029,7 @@ paths: application/json: schema: type: array - items: *556 + items: *562 examples: default: value: @@ -84587,7 +85064,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: false content: @@ -84636,7 +85113,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 responses: '204': description: Response @@ -84660,7 +85137,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - 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. @@ -84712,7 +85189,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: true content: @@ -84777,7 +85254,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *358 responses: '204': @@ -84809,7 +85286,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: true content: @@ -84833,7 +85310,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -84868,7 +85345,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *17 - *19 responses: @@ -84880,7 +85357,7 @@ paths: type: array items: *149 examples: - default: *558 + default: *564 headers: Link: *38 '404': *6 @@ -84914,7 +85391,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: true content: @@ -84943,7 +85420,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -84972,7 +85449,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: true content: @@ -85005,7 +85482,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 '403': *27 '404': *6 '422': *7 @@ -85029,7 +85506,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *17 - *19 responses: @@ -85044,12 +85521,6 @@ paths: description: Timeline Event type: object anyOf: - - *559 - - *560 - - *561 - - *562 - - *563 - - *564 - *565 - *566 - *567 @@ -85057,6 +85528,12 @@ paths: - *569 - *570 - *571 + - *572 + - *573 + - *574 + - *575 + - *576 + - *577 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -85380,7 +85857,7 @@ paths: type: string comments: type: array - items: &591 + items: &597 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -85921,7 +86398,7 @@ paths: application/json: schema: type: array - items: &572 + items: &578 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -86025,9 +86502,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *578 examples: - default: &573 + default: &579 value: id: 1 key: ssh-rsa AAA... @@ -86063,7 +86540,7 @@ paths: parameters: - *366 - *367 - - &574 + - &580 name: key_id description: The unique identifier of the key. in: path @@ -86075,9 +86552,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *578 examples: - default: *573 + default: *579 '404': *6 x-github: githubCloudOnly: false @@ -86097,7 +86574,7 @@ paths: parameters: - *366 - *367 - - *574 + - *580 responses: '204': description: Response @@ -86128,9 +86605,9 @@ paths: application/json: schema: type: array - items: *556 + items: *562 examples: - default: *557 + default: *563 headers: Link: *38 '404': *6 @@ -86188,9 +86665,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: &575 + default: &581 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -86234,9 +86711,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: *575 + default: *581 '404': *6 x-github: githubCloudOnly: false @@ -86293,7 +86770,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: default: value: @@ -86691,7 +87168,7 @@ paths: application/json: schema: *484 examples: - default: *576 + default: *582 '204': description: Response when already merged '404': @@ -86857,7 +87334,7 @@ paths: application/json: schema: *488 examples: - default: &577 + default: &583 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -86918,7 +87395,7 @@ paths: parameters: - *366 - *367 - - &578 + - &584 name: milestone_number description: The number that identifies the milestone. in: path @@ -86932,7 +87409,7 @@ paths: application/json: schema: *488 examples: - default: *577 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -86951,7 +87428,7 @@ paths: parameters: - *366 - *367 - - *578 + - *584 requestBody: required: false content: @@ -86991,7 +87468,7 @@ paths: application/json: schema: *488 examples: - default: *577 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87009,7 +87486,7 @@ paths: parameters: - *366 - *367 - - *578 + - *584 responses: '204': description: Response @@ -87032,7 +87509,7 @@ paths: parameters: - *366 - *367 - - *578 + - *584 - *17 - *19 responses: @@ -87042,9 +87519,9 @@ paths: application/json: schema: type: array - items: *556 + items: *562 examples: - default: *557 + default: *563 headers: Link: *38 x-github: @@ -87065,10 +87542,10 @@ paths: parameters: - *366 - *367 - - *579 - - *580 + - *585 + - *586 - *139 - - *581 + - *587 - *17 - *19 responses: @@ -87080,7 +87557,7 @@ paths: type: array items: *161 examples: - default: *582 + default: *588 headers: Link: *38 x-github: @@ -87170,7 +87647,7 @@ paths: description: Response content: application/json: - schema: &583 + schema: &589 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -87314,7 +87791,7 @@ paths: - custom_404 - public examples: - default: &584 + default: &590 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -87411,9 +87888,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *589 examples: - default: *584 + default: *590 '422': *15 '409': *94 x-github: @@ -87583,7 +88060,7 @@ paths: application/json: schema: type: array - items: &585 + items: &591 title: Page Build description: Page Build type: object @@ -87730,9 +88207,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *591 examples: - default: &586 + default: &592 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -87792,9 +88269,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *591 examples: - default: *586 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87925,7 +88402,7 @@ paths: parameters: - *366 - *367 - - &587 + - &593 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -87985,7 +88462,7 @@ paths: parameters: - *366 - *367 - - *587 + - *593 responses: '204': *116 '404': *6 @@ -88697,9 +89174,9 @@ paths: application/json: schema: type: array - items: *588 + items: *594 examples: - default: *589 + default: *595 headers: Link: *38 '304': *35 @@ -88799,7 +89276,7 @@ paths: description: Response content: application/json: - schema: &593 + schema: &599 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -89039,7 +89516,7 @@ paths: - review_comment - self author_association: *136 - auto_merge: *590 + auto_merge: *596 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -89141,7 +89618,7 @@ paths: - merged_by - review_comments examples: - default: &594 + default: &600 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -89698,9 +90175,9 @@ paths: application/json: schema: type: array - items: *591 + items: *597 examples: - default: &596 + default: &602 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -89785,9 +90262,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: &592 + default: &598 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -89886,9 +90363,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: *592 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90091,7 +90568,7 @@ paths: parameters: - *366 - *367 - - &595 + - &601 name: pull_number description: The number that identifies the pull request. in: path @@ -90104,9 +90581,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *593 + schema: *599 examples: - default: *594 + default: *600 '304': *35 '404': *6 '406': @@ -90143,7 +90620,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: false content: @@ -90185,9 +90662,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *599 examples: - default: *594 + default: *600 '422': *15 '403': *27 x-github: @@ -90211,7 +90688,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: true content: @@ -90314,7 +90791,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 - *158 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -90335,9 +90812,9 @@ paths: application/json: schema: type: array - items: *591 + items: *597 examples: - default: *596 + default: *602 headers: Link: *38 x-github: @@ -90372,7 +90849,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: true content: @@ -90478,7 +90955,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: example-for-a-multi-line-comment: value: @@ -90568,7 +91045,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 - *148 requestBody: required: true @@ -90591,7 +91068,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: default: value: @@ -90679,7 +91156,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 - *17 - *19 responses: @@ -90691,7 +91168,7 @@ paths: type: array items: *484 examples: - default: *597 + default: *603 headers: Link: *38 x-github: @@ -90723,7 +91200,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 - *17 - *19 responses: @@ -90773,7 +91250,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 responses: '204': description: Response if pull request has been merged @@ -90798,7 +91275,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: false content: @@ -90912,7 +91389,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 responses: '200': description: Response @@ -90989,7 +91466,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: false content: @@ -91026,7 +91503,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *594 examples: default: value: @@ -91564,7 +92041,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: true content: @@ -91598,7 +92075,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *594 examples: default: value: @@ -92105,7 +92582,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 - *17 - *19 responses: @@ -92115,7 +92592,7 @@ paths: application/json: schema: type: array - items: &598 + items: &604 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -92273,7 +92750,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: false content: @@ -92363,9 +92840,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: &600 + default: &606 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92430,8 +92907,8 @@ paths: parameters: - *366 - *367 - - *595 - - &599 + - *601 + - &605 name: review_id description: The unique identifier of the review. in: path @@ -92443,9 +92920,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: &601 + default: &607 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92506,8 +92983,8 @@ paths: parameters: - *366 - *367 - - *595 - - *599 + - *601 + - *605 requestBody: required: true content: @@ -92530,7 +93007,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: default: value: @@ -92594,16 +93071,16 @@ paths: parameters: - *366 - *367 - - *595 - - *599 + - *601 + - *605 responses: '200': description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: *600 + default: *606 '422': *7 '404': *6 x-github: @@ -92632,8 +93109,8 @@ paths: parameters: - *366 - *367 - - *595 - - *599 + - *601 + - *605 - *17 - *19 responses: @@ -92893,8 +93370,8 @@ paths: parameters: - *366 - *367 - - *595 - - *599 + - *601 + - *605 requestBody: required: true content: @@ -92923,7 +93400,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: default: value: @@ -92988,8 +93465,8 @@ paths: parameters: - *366 - *367 - - *595 - - *599 + - *601 + - *605 requestBody: required: true content: @@ -93024,9 +93501,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: *601 + default: *607 '404': *6 '422': *7 '403': *27 @@ -93050,7 +93527,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: false content: @@ -93128,9 +93605,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *608 examples: - default: &603 + default: &609 value: type: file encoding: base64 @@ -93193,9 +93670,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *608 examples: - default: *603 + default: *609 '404': *6 '422': *15 x-github: @@ -93228,7 +93705,7 @@ paths: application/json: schema: type: array - items: &604 + items: &610 title: Release description: A release. type: object @@ -93300,7 +93777,7 @@ paths: author: *4 assets: type: array - items: &605 + items: &611 title: Release Asset description: Data related to a release. type: object @@ -93563,9 +94040,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *610 examples: - default: &608 + default: &614 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -93671,7 +94148,7 @@ paths: parameters: - *366 - *367 - - &606 + - &612 name: asset_id description: The unique identifier of the asset. in: path @@ -93683,9 +94160,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *611 examples: - default: &607 + default: &613 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 @@ -93738,7 +94215,7 @@ paths: parameters: - *366 - *367 - - *606 + - *612 requestBody: required: false content: @@ -93767,9 +94244,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *611 examples: - default: *607 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93787,7 +94264,7 @@ paths: parameters: - *366 - *367 - - *606 + - *612 responses: '204': description: Response @@ -93905,9 +94382,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *610 examples: - default: *608 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93938,9 +94415,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *610 examples: - default: *608 + default: *614 '404': *6 x-github: githubCloudOnly: false @@ -93964,7 +94441,7 @@ paths: parameters: - *366 - *367 - - &609 + - &615 name: release_id description: The unique identifier of the release. in: path @@ -93978,9 +94455,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: *604 + schema: *610 examples: - default: *608 + default: *614 '401': description: Unauthorized x-github: @@ -94000,7 +94477,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 requestBody: required: false content: @@ -94064,9 +94541,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *610 examples: - default: *608 + default: *614 '404': description: Not Found if the discussion category name is invalid content: @@ -94089,7 +94566,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 responses: '204': description: Response @@ -94111,7 +94588,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 - *17 - *19 responses: @@ -94121,7 +94598,7 @@ paths: application/json: schema: type: array - items: *605 + items: *611 examples: default: value: @@ -94205,7 +94682,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 - name: name in: query required: true @@ -94231,7 +94708,7 @@ paths: description: Response for successful upload content: application/json: - schema: *605 + schema: *611 examples: response-for-successful-upload: value: @@ -94288,7 +94765,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 - 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. @@ -94337,7 +94814,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 requestBody: required: true content: @@ -94400,7 +94877,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 - *358 responses: '204': @@ -94443,8 +94920,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *610 - - &612 + - *616 + - &618 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -94463,66 +94940,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *611 - - *612 - - allOf: - - *613 - - *612 - - allOf: - - *614 - - *612 - - allOf: - - *615 - - *612 - - allOf: - - *616 - - *612 - allOf: - *617 - - *612 - - allOf: - *618 - - *612 - allOf: - *619 - - *612 + - *618 - allOf: - *620 - - *612 + - *618 - allOf: - *621 - - *612 + - *618 - allOf: - *622 - - *612 + - *618 - allOf: - *623 - - *612 + - *618 - allOf: - *624 - - *612 + - *618 - allOf: - *625 - - *612 + - *618 - allOf: - *626 - - *612 + - *618 - allOf: - *627 - - *612 + - *618 - allOf: - *628 - - *612 + - *618 - allOf: - *629 - - *612 + - *618 - allOf: - *630 - - *612 + - *618 - allOf: - *631 - - *612 + - *618 + - allOf: + - *632 + - *618 + - allOf: + - *633 + - *618 + - allOf: + - *634 + - *618 + - allOf: + - *635 + - *618 + - allOf: + - *636 + - *618 + - allOf: + - *637 + - *618 examples: default: value: @@ -94573,7 +95050,7 @@ paths: schema: type: boolean default: true - - *632 + - *638 responses: '200': description: Response @@ -94691,7 +95168,7 @@ paths: application/json: schema: *126 examples: - default: &641 + default: &647 value: id: 42 name: super cool ruleset @@ -94740,10 +95217,10 @@ paths: parameters: - *366 - *367 - - *633 + - *639 - *216 - - *634 - - *635 + - *640 + - *641 - *17 - *19 responses: @@ -94751,9 +95228,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *642 examples: - default: *637 + default: *643 '404': *6 '500': *83 x-github: @@ -94776,15 +95253,15 @@ paths: parameters: - *366 - *367 - - *638 + - *644 responses: '200': description: Response content: application/json: - schema: *639 + schema: *645 examples: - default: *640 + default: *646 '404': *6 '500': *83 x-github: @@ -94835,7 +95312,7 @@ paths: application/json: schema: *126 examples: - default: *641 + default: *647 '404': *6 '500': *83 put: @@ -94918,7 +95395,7 @@ paths: application/json: schema: *126 examples: - default: *641 + default: *647 '404': *6 '500': *83 delete: @@ -95081,8 +95558,8 @@ paths: - *86 - *19 - *17 - - *642 - - *643 + - *648 + - *649 - *327 - *328 - *329 @@ -95094,7 +95571,7 @@ paths: application/json: schema: type: array - items: &647 + items: &653 type: object properties: number: *96 @@ -95110,8 +95587,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *644 - resolution: *645 + state: *650 + resolution: *651 resolved_at: type: - string @@ -95205,7 +95682,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *646 + - *652 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -95363,7 +95840,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *653 examples: default: value: @@ -95425,8 +95902,8 @@ paths: schema: type: object properties: - state: *644 - resolution: *645 + state: *650 + resolution: *651 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -95445,7 +95922,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *653 examples: default: value: @@ -95533,7 +96010,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &819 + items: &825 type: object properties: type: @@ -95560,12 +96037,6 @@ paths: - commit details: oneOf: - - *648 - - *649 - - *650 - - *651 - - *652 - - *653 - *654 - *655 - *656 @@ -95573,6 +96044,12 @@ paths: - *658 - *659 - *660 + - *661 + - *662 + - *663 + - *664 + - *665 + - *666 examples: default: value: @@ -95667,14 +96144,14 @@ paths: schema: type: object properties: - reason: &662 + reason: &668 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *661 + placeholder_id: *667 required: - reason - placeholder_id @@ -95691,7 +96168,7 @@ paths: schema: type: object properties: - reason: *662 + reason: *668 expire_at: type: - string @@ -95751,7 +96228,7 @@ paths: properties: incremental_scans: type: array - items: &663 + items: &669 description: Information on a single scan performed by secret scanning on the repository type: object @@ -95779,15 +96256,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *663 + items: *669 backfill_scans: type: array - items: *663 + items: *669 custom_pattern_backfill_scans: type: array items: allOf: - - *663 + - *669 - type: object properties: pattern_name: @@ -95902,9 +96379,9 @@ paths: application/json: schema: type: array - items: *664 + items: *670 examples: - default: *665 + default: *671 '400': *14 '404': *6 x-github: @@ -96098,9 +96575,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *670 examples: - default: &667 + default: &673 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -96447,7 +96924,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *670 examples: default: value: @@ -96596,15 +97073,15 @@ paths: parameters: - *366 - *367 - - *666 + - *672 responses: '200': description: Response content: application/json: - schema: *664 + schema: *670 examples: - default: *667 + default: *673 '403': *27 '404': *6 x-github: @@ -96630,7 +97107,7 @@ paths: parameters: - *366 - *367 - - *666 + - *672 requestBody: required: true content: @@ -96801,10 +97278,10 @@ paths: description: Response content: application/json: - schema: *664 + schema: *670 examples: - default: *667 - add_credit: *667 + default: *673 + add_credit: *673 '403': *27 '404': *6 '422': @@ -96844,7 +97321,7 @@ paths: parameters: - *366 - *367 - - *666 + - *672 responses: '202': *37 '400': *14 @@ -96873,7 +97350,7 @@ paths: parameters: - *366 - *367 - - *666 + - *672 responses: '202': description: Response @@ -97014,7 +97491,7 @@ paths: application/json: schema: type: array - items: &668 + items: &674 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -97387,7 +97864,7 @@ paths: application/json: schema: type: array - items: *668 + items: *674 examples: default: value: @@ -97477,7 +97954,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *675 examples: default: value: @@ -97571,7 +98048,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &670 + schema: &676 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -97671,7 +98148,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *676 examples: default: value: @@ -97811,7 +98288,7 @@ paths: application/json: schema: type: array - items: &671 + items: &677 title: Tag protection description: Tag protection type: object @@ -97892,7 +98369,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *677 examples: default: value: @@ -98040,7 +98517,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &678 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -98052,7 +98529,7 @@ paths: required: - names examples: - default: &673 + default: &679 value: names: - octocat @@ -98107,9 +98584,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *678 examples: - default: *673 + default: *679 '404': *6 '422': *7 x-github: @@ -98132,7 +98609,7 @@ paths: parameters: - *366 - *367 - - &674 + - &680 name: per description: The time frame to display results for. in: query @@ -98163,7 +98640,7 @@ paths: - 128 clones: type: array - items: &675 + items: &681 title: Traffic type: object properties: @@ -98411,7 +98888,7 @@ paths: parameters: - *366 - *367 - - *674 + - *680 responses: '200': description: Response @@ -98432,7 +98909,7 @@ paths: - 3782 views: type: array - items: *675 + items: *681 required: - uniques - count @@ -99104,7 +99581,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &683 + - &689 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -99114,7 +99591,7 @@ paths: type: string examples: - members - - &688 + - &694 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -99126,7 +99603,7 @@ paths: format: int32 examples: - 1 - - &689 + - &695 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -99170,7 +99647,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &677 + items: &683 allOf: - type: object required: @@ -99252,7 +99729,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: &690 + meta: &696 type: object description: The metadata associated with the creation/updates to the user. @@ -99317,31 +99794,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &678 + '400': &684 description: Bad request content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 - '401': &679 + schema: *682 + '401': &685 description: Authorization failure - '403': &680 + '403': &686 description: Permission denied - '429': &681 + '429': &687 description: Too many requests content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 - '500': &682 + schema: *682 + '500': &688 description: Internal server error content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 + schema: *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99365,7 +99842,7 @@ paths: required: true content: application/json: - schema: &686 + schema: &692 type: object required: - schemas @@ -99425,9 +99902,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *677 + schema: *683 examples: - group: &684 + group: &690 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -99446,13 +99923,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': *678 - '401': *679 - '403': *680 - '409': &687 + '400': *684 + '401': *685 + '403': *686 + '409': &693 description: Duplicate record detected - '429': *681 - '500': *682 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99469,7 +99946,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: - - &685 + - &691 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -99478,22 +99955,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *683 + - *689 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *677 + schema: *683 examples: - default: *684 - '400': *678 - '401': *679 - '403': *680 + default: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *681 - '500': *682 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99512,13 +99989,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: - - *685 + - *691 - *39 requestBody: required: true content: application/json: - schema: *686 + schema: *692 examples: group: summary: Group @@ -99544,17 +100021,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *677 + schema: *683 examples: - group: *684 - groupWithMembers: *684 - '400': *678 - '401': *679 - '403': *680 + group: *690 + groupWithMembers: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99578,13 +100055,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: - - *685 + - *691 - *39 requestBody: required: true content: application/json: - schema: &697 + schema: &703 type: object required: - Operations @@ -99644,17 +100121,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *677 + schema: *683 examples: - updateGroup: *684 - addMembers: *684 - '400': *678 - '401': *679 - '403': *680 + updateGroup: *690 + addMembers: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99670,17 +100147,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: - - *685 + - *691 - *39 responses: '204': description: Group was deleted, no content - '400': *678 - '401': *679 - '403': *680 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *681 - '500': *682 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99714,8 +100191,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *688 - - *689 + - *694 + - *695 - *39 responses: '200': @@ -99749,7 +100226,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &692 + items: &698 allOf: - type: object required: @@ -99841,7 +100318,7 @@ paths: address. examples: - true - roles: &691 + roles: &697 type: array description: The roles assigned to the user. items: @@ -99900,7 +100377,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *690 + meta: *696 startIndex: type: integer description: A starting index for the returned page @@ -99939,11 +100416,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *678 - '401': *679 - '403': *680 - '429': *681 - '500': *682 + '400': *684 + '401': *685 + '403': *686 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99967,7 +100444,7 @@ paths: required: true content: application/json: - schema: &695 + schema: &701 type: object required: - schemas @@ -100060,9 +100537,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *691 + roles: *697 examples: - user: &696 + user: &702 summary: User value: schemas: @@ -100109,9 +100586,9 @@ paths: description: User has been created content: application/scim+json: - schema: *692 + schema: *698 examples: - user: &693 + user: &699 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -100137,13 +100614,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: *693 - '400': *678 - '401': *679 - '403': *680 - '409': *687 - '429': *681 - '500': *682 + enterpriseOwner: *699 + '400': *684 + '401': *685 + '403': *686 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100160,7 +100637,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: - - &694 + - &700 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -100173,15 +100650,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *692 + schema: *698 examples: - default: *693 - '400': *678 - '401': *679 - '403': *680 + default: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *681 - '500': *682 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100203,30 +100680,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: - - *694 + - *700 - *39 requestBody: required: true content: application/json: - schema: *695 + schema: *701 examples: - user: *696 + user: *702 responses: '200': description: User was updated content: application/scim+json: - schema: *692 + schema: *698 examples: - user: *693 - '400': *678 - '401': *679 - '403': *680 + user: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100261,13 +100738,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: - - *694 + - *700 - *39 requestBody: required: true content: application/json: - schema: *697 + schema: *703 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -100307,18 +100784,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *692 + schema: *698 examples: - userMultiValuedProperties: *693 - userSingleValuedProperties: *693 - disableUser: *693 - '400': *678 - '401': *679 - '403': *680 + userMultiValuedProperties: *699 + userSingleValuedProperties: *699 + disableUser: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100338,17 +100815,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: - - *694 + - *700 - *39 responses: '204': description: User was deleted, no content - '400': *678 - '401': *679 - '403': *680 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *681 - '500': *682 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100439,7 +100916,7 @@ paths: - 1 Resources: type: array - items: &698 + items: &704 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -100686,22 +101163,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': *35 - '404': &699 + '404': &705 description: Resource not found content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 - '403': &700 + schema: *682 + '403': &706 description: Forbidden content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 - '400': *678 - '429': *681 + schema: *682 + '400': *684 + '429': *687 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -100727,9 +101204,9 @@ paths: description: Response content: application/scim+json: - schema: *698 + schema: *704 examples: - default: &701 + default: &707 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -100752,17 +101229,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': *35 - '404': *699 - '403': *700 - '500': *682 + '404': *705 + '403': *706 + '500': *688 '409': description: Conflict content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 - '400': *678 + schema: *682 + '400': *684 requestBody: required: true content: @@ -100862,17 +101339,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *165 - - *694 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *704 examples: - default: *701 - '404': *699 - '403': *700 + default: *707 + '404': *705 + '403': *706 '304': *35 x-github: githubCloudOnly: true @@ -100896,18 +101373,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *165 - - *694 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *704 examples: - default: *701 + default: *707 '304': *35 - '404': *699 - '403': *700 + '404': *705 + '403': *706 requestBody: required: true content: @@ -101022,19 +101499,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *165 - - *694 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *704 examples: - default: *701 + default: *707 '304': *35 - '404': *699 - '403': *700 - '400': *678 + '404': *705 + '403': *706 + '400': *684 '429': description: Response content: @@ -101130,12 +101607,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *165 - - *694 + - *700 responses: '204': description: Response - '404': *699 - '403': *700 + '404': *705 + '403': *706 '304': *35 x-github: githubCloudOnly: true @@ -101269,7 +101746,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &702 + text_matches: &708 title: Search Result Text Matches type: array items: @@ -101433,7 +101910,7 @@ paths: enum: - author-date - committer-date - - &703 + - &709 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 @@ -101521,7 +101998,7 @@ paths: url: type: string format: uri - verification: *536 + verification: *542 required: - author - committer @@ -101553,7 +102030,7 @@ paths: type: number node_id: type: string - text_matches: *702 + text_matches: *708 required: - sha - node_id @@ -101736,7 +102213,7 @@ paths: - interactions - created - updated - - *703 + - *709 - *17 - *19 - name: advanced_search @@ -101874,7 +102351,7 @@ paths: - string - 'null' format: date-time - text_matches: *702 + text_matches: *708 pull_request: type: object properties: @@ -102100,7 +102577,7 @@ paths: enum: - created - updated - - *703 + - *709 - *17 - *19 responses: @@ -102145,7 +102622,7 @@ paths: - 'null' score: type: number - text_matches: *702 + text_matches: *708 required: - id - node_id @@ -102231,7 +102708,7 @@ paths: - forks - help-wanted-issues - updated - - *703 + - *709 - *17 - *19 responses: @@ -102468,7 +102945,7 @@ paths: - admin - pull - push - text_matches: *702 + text_matches: *708 temp_clone_token: type: string allow_merge_commit: @@ -102777,7 +103254,7 @@ paths: - string - 'null' format: uri - text_matches: *702 + text_matches: *708 related: type: - array @@ -102972,7 +103449,7 @@ paths: - followers - repositories - joined - - *703 + - *709 - *17 - *19 responses: @@ -103082,7 +103559,7 @@ paths: type: - boolean - 'null' - text_matches: *702 + text_matches: *708 blog: type: - string @@ -103164,7 +103641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &704 + - &710 name: team_id description: The unique identifier of the team. in: path @@ -103205,7 +103682,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *704 + - *710 requestBody: required: true content: @@ -103306,7 +103783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *704 + - *710 responses: '204': description: Response @@ -103337,7 +103814,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *704 + - *710 - *86 - *17 - *19 @@ -103350,7 +103827,7 @@ paths: type: array items: *349 examples: - default: *705 + default: *711 headers: Link: *38 x-github: @@ -103379,7 +103856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *704 + - *710 requestBody: required: true content: @@ -103442,7 +103919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *704 + - *710 - *351 responses: '200': @@ -103476,7 +103953,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *704 + - *710 - *351 requestBody: required: false @@ -103502,7 +103979,7 @@ paths: application/json: schema: *349 examples: - default: *706 + default: *712 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103527,7 +104004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *704 + - *710 - *351 responses: '204': @@ -103557,7 +104034,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *704 + - *710 - *351 - *86 - *17 @@ -103571,7 +104048,7 @@ paths: type: array items: *352 examples: - default: *707 + default: *713 headers: Link: *38 x-github: @@ -103600,7 +104077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *704 + - *710 - *351 requestBody: required: true @@ -103652,7 +104129,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *704 + - *710 - *351 - *354 responses: @@ -103687,7 +104164,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *704 + - *710 - *351 - *354 requestBody: @@ -103713,7 +104190,7 @@ paths: application/json: schema: *352 examples: - default: *708 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103738,7 +104215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *704 + - *710 - *351 - *354 responses: @@ -103769,7 +104246,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: - - *704 + - *710 - *351 - *354 - name: content @@ -103828,7 +104305,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: - - *704 + - *710 - *351 - *354 requestBody: @@ -103890,7 +104367,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: - - *704 + - *710 - *351 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -103948,7 +104425,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: - - *704 + - *710 - *351 requestBody: required: true @@ -104007,7 +104484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *704 + - *710 - *17 - *19 responses: @@ -104045,7 +104522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *704 + - *710 - name: role description: Filters members returned by their role in the team. in: query @@ -104096,7 +104573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *704 + - *710 - *213 responses: '204': @@ -104133,7 +104610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *704 + - *710 - *213 responses: '204': @@ -104173,7 +104650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *704 + - *710 - *213 responses: '204': @@ -104210,7 +104687,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: - - *704 + - *710 - *213 responses: '200': @@ -104219,7 +104696,7 @@ paths: application/json: schema: *363 examples: - response-if-user-is-a-team-maintainer: *709 + response-if-user-is-a-team-maintainer: *715 '404': *6 x-github: githubCloudOnly: false @@ -104252,7 +104729,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: - - *704 + - *710 - *213 requestBody: required: false @@ -104280,7 +104757,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: *710 + response-if-users-membership-with-team-is-now-pending: *716 '403': description: Forbidden if team synchronization is set up '422': @@ -104314,7 +104791,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: - - *704 + - *710 - *213 responses: '204': @@ -104343,7 +104820,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *704 + - *710 - *17 - *19 responses: @@ -104355,7 +104832,7 @@ paths: type: array items: *364 examples: - default: *711 + default: *717 headers: Link: *38 '404': *6 @@ -104381,7 +104858,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: - - *704 + - *710 - *365 responses: '200': @@ -104390,7 +104867,7 @@ paths: application/json: schema: *364 examples: - default: *712 + default: *718 '404': description: Not Found if project is not managed by this team x-github: @@ -104414,7 +104891,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: - - *704 + - *710 - *365 requestBody: required: false @@ -104482,7 +104959,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: - - *704 + - *710 - *365 responses: '204': @@ -104510,7 +104987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *704 + - *710 - *17 - *19 responses: @@ -104552,7 +105029,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: - - *704 + - *710 - *366 - *367 responses: @@ -104560,7 +105037,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *713 + schema: *719 examples: alternative-response-with-extra-repository-information: value: @@ -104711,7 +105188,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: - - *704 + - *710 - *366 - *367 requestBody: @@ -104763,7 +105240,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: - - *704 + - *710 - *366 - *367 responses: @@ -104794,7 +105271,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: - - *704 + - *710 responses: '200': description: Response @@ -104829,7 +105306,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: - - *704 + - *710 requestBody: required: true content: @@ -104921,7 +105398,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *704 + - *710 - *17 - *19 responses: @@ -104933,7 +105410,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: *714 + response-if-child-teams-exist: *720 headers: Link: *38 '404': *6 @@ -104966,7 +105443,7 @@ paths: application/json: schema: oneOf: - - &716 + - &722 title: Private User description: Private User type: object @@ -105216,7 +105693,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *715 + - *721 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -105376,7 +105853,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *722 examples: default: value: @@ -105774,7 +106251,7 @@ paths: type: integer secrets: type: array - items: &717 + items: &723 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -105894,7 +106371,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *723 examples: default: value: @@ -106040,7 +106517,7 @@ paths: type: array items: *191 examples: - default: *718 + default: *724 '401': *23 '403': *27 '404': *6 @@ -106307,7 +106784,7 @@ paths: description: Response content: application/json: - schema: &719 + schema: &725 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -106360,7 +106837,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &720 + default: &726 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -106405,9 +106882,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *725 examples: - default: *720 + default: *726 '404': *6 x-github: githubCloudOnly: false @@ -106446,7 +106923,7 @@ paths: type: array items: *476 examples: - default: *721 + default: *727 '304': *35 '500': *83 '401': *23 @@ -107412,7 +107889,7 @@ paths: type: array items: *297 examples: - default: &734 + default: &740 value: - id: 197 name: hello_docker @@ -107513,7 +107990,7 @@ paths: application/json: schema: type: array - items: &722 + items: &728 title: Email description: Email type: object @@ -107583,9 +108060,9 @@ paths: application/json: schema: type: array - items: *722 + items: *728 examples: - default: &736 + default: &742 value: - email: octocat@github.com verified: true @@ -107662,7 +108139,7 @@ paths: application/json: schema: type: array - items: *722 + items: *728 examples: default: value: @@ -107920,7 +108397,7 @@ paths: application/json: schema: type: array - items: &723 + items: &729 title: GPG Key description: A unique encryption key type: object @@ -108065,7 +108542,7 @@ paths: - subkeys - revoked examples: - default: &750 + default: &756 value: - id: 3 name: Octocat's GPG Key @@ -108150,9 +108627,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *729 examples: - default: &724 + default: &730 value: id: 3 name: Octocat's GPG Key @@ -108209,7 +108686,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: - - &725 + - &731 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -108221,9 +108698,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *729 examples: - default: *724 + default: *730 '404': *6 '304': *35 '403': *27 @@ -108246,7 +108723,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: - - *725 + - *731 responses: '204': description: Response @@ -108437,7 +108914,7 @@ paths: type: array items: *62 examples: - default: *726 + default: *732 headers: Link: *38 '404': *6 @@ -108551,7 +109028,7 @@ paths: required: true content: application/json: - schema: *547 + schema: *553 examples: default: value: @@ -108701,7 +109178,7 @@ paths: application/json: schema: type: array - items: &727 + items: &733 title: Key description: Key type: object @@ -108799,9 +109276,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *733 examples: - default: &728 + default: &734 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108834,15 +109311,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: - - *574 + - *580 responses: '200': description: Response content: application/json: - schema: *727 + schema: *733 examples: - default: *728 + default: *734 '404': *6 '304': *35 '403': *27 @@ -108865,7 +109342,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: - - *574 + - *580 responses: '204': description: Response @@ -108898,7 +109375,7 @@ paths: application/json: schema: type: array - items: &729 + items: &735 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -108977,7 +109454,7 @@ paths: - account - plan examples: - default: &730 + default: &736 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -109039,9 +109516,9 @@ paths: application/json: schema: type: array - items: *729 + items: *735 examples: - default: *730 + default: *736 headers: Link: *38 '304': *35 @@ -110045,7 +110522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *292 - - *731 + - *737 responses: '204': description: Response @@ -110118,7 +110595,7 @@ paths: type: array items: *57 examples: - default: *732 + default: *738 headers: Link: *38 '304': *35 @@ -110160,7 +110637,7 @@ paths: - docker - nuget - container - - *733 + - *739 - *19 - *17 responses: @@ -110172,8 +110649,8 @@ paths: type: array items: *297 examples: - default: *734 - '400': *735 + default: *740 + '400': *741 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110202,7 +110679,7 @@ paths: application/json: schema: *297 examples: - default: &751 + default: &757 value: id: 40201 name: octo-name @@ -110657,9 +111134,9 @@ paths: application/json: schema: type: array - items: *722 + items: *728 examples: - default: *736 + default: *742 headers: Link: *38 '304': *35 @@ -110772,7 +111249,7 @@ paths: type: array items: *62 examples: - default: &743 + default: &749 summary: Default response value: - id: 1296269 @@ -111130,9 +111607,9 @@ paths: application/json: schema: type: array - items: *549 + items: *555 examples: - default: *737 + default: *743 headers: Link: *38 '304': *35 @@ -111211,7 +111688,7 @@ paths: application/json: schema: type: array - items: &738 + items: &744 title: Social account description: Social media account type: object @@ -111228,7 +111705,7 @@ paths: - provider - url examples: - default: &739 + default: &745 value: - provider: twitter url: https://twitter.com/github @@ -111291,9 +111768,9 @@ paths: application/json: schema: type: array - items: *738 + items: *744 examples: - default: *739 + default: *745 '422': *15 '304': *35 '404': *6 @@ -111381,7 +111858,7 @@ paths: application/json: schema: type: array - items: &740 + items: &746 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -111401,7 +111878,7 @@ paths: - title - created_at examples: - default: &752 + default: &758 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111468,9 +111945,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *746 examples: - default: &741 + default: &747 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111501,7 +111978,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: - - &742 + - &748 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -111513,9 +111990,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *746 examples: - default: *741 + default: *747 '404': *6 '304': *35 '403': *27 @@ -111538,7 +112015,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: - - *742 + - *748 responses: '204': description: Response @@ -111567,7 +112044,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: - - &753 + - &759 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 @@ -111592,11 +112069,11 @@ paths: type: array items: *62 examples: - default-response: *743 + default-response: *749 application/vnd.github.v3.star+json: schema: type: array - items: &754 + items: &760 title: Starred Repository description: Starred Repository type: object @@ -111965,10 +112442,10 @@ paths: application/json: schema: oneOf: - - *716 - - *715 + - *722 + - *721 examples: - default-response: &745 + default-response: &751 summary: Default response value: login: octocat @@ -112003,7 +112480,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &746 + response-with-git-hub-plan-information: &752 summary: Response with GitHub plan information value: login: octocat @@ -112063,7 +112540,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *744 + - *750 - *17 responses: '200': @@ -112112,11 +112589,11 @@ paths: application/json: schema: oneOf: - - *716 - - *715 + - *722 + - *721 examples: - default-response: *745 - response-with-git-hub-plan-information: *746 + default-response: *751 + response-with-git-hub-plan-information: *752 '404': *6 x-github: githubCloudOnly: false @@ -112165,8 +112642,8 @@ paths: required: - subject_digests examples: - default: *747 - withPredicateType: *748 + default: *753 + withPredicateType: *754 responses: '200': description: Response @@ -112220,7 +112697,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *749 + default: *755 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112463,7 +112940,7 @@ paths: type: array items: *297 examples: - default: *734 + default: *740 '403': *27 '401': *23 x-github: @@ -112867,9 +113344,9 @@ paths: application/json: schema: type: array - items: *723 + items: *729 examples: - default: *750 + default: *756 headers: Link: *38 x-github: @@ -112973,7 +113450,7 @@ paths: application/json: schema: *20 examples: - default: *546 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113054,7 +113531,7 @@ paths: type: array items: *57 examples: - default: *732 + default: *738 headers: Link: *38 x-github: @@ -113093,7 +113570,7 @@ paths: - docker - nuget - container - - *733 + - *739 - *213 - *19 - *17 @@ -113106,10 +113583,10 @@ paths: type: array items: *297 examples: - default: *734 + default: *740 '403': *27 '401': *23 - '400': *735 + '400': *741 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113139,7 +113616,7 @@ paths: application/json: schema: *297 examples: - default: *751 + default: *757 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113923,9 +114400,9 @@ paths: application/json: schema: type: array - items: *738 + items: *744 examples: - default: *739 + default: *745 headers: Link: *38 x-github: @@ -113955,9 +114432,9 @@ paths: application/json: schema: type: array - items: *740 + items: *746 examples: - default: *752 + default: *758 headers: Link: *38 x-github: @@ -113982,7 +114459,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *213 - - *753 + - *759 - *86 - *17 - *19 @@ -113994,11 +114471,11 @@ paths: schema: anyOf: - type: array - items: *754 + items: *760 - type: array items: *62 examples: - default-response: *743 + default-response: *749 headers: Link: *38 x-github: @@ -114158,7 +114635,7 @@ webhooks: type: string enum: - disabled - enterprise: &755 + enterprise: &761 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -114227,7 +114704,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &756 + installation: &762 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -114248,7 +114725,7 @@ webhooks: required: - id - node_id - organization: &757 + organization: &763 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -114321,7 +114798,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &758 + repository: &764 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -115234,10 +115711,10 @@ webhooks: type: string enum: - enabled - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -115313,11 +115790,11 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: &759 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + rule: &765 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) @@ -115540,11 +116017,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: *759 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + rule: *765 sender: *4 required: - action @@ -115732,11 +116209,11 @@ webhooks: - everyone required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: *759 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + rule: *765 sender: *4 required: - action @@ -115807,7 +116284,7 @@ webhooks: required: true content: application/json: - schema: &762 + schema: &768 title: Exemption request cancellation event type: object properties: @@ -115815,11 +116292,11 @@ webhooks: type: string enum: - cancelled - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - exemption_request: &760 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + exemption_request: &766 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -116057,7 +116534,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &761 + items: &767 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -116167,7 +116644,7 @@ webhooks: required: true content: application/json: - schema: &763 + schema: &769 title: Exemption request completed event type: object properties: @@ -116175,11 +116652,11 @@ webhooks: type: string enum: - completed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - exemption_request: *760 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + exemption_request: *766 sender: *4 required: - action @@ -116249,7 +116726,7 @@ webhooks: required: true content: application/json: - schema: &764 + schema: &770 title: Exemption request created event type: object properties: @@ -116257,11 +116734,11 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - exemption_request: *760 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + exemption_request: *766 sender: *4 required: - action @@ -116331,7 +116808,7 @@ webhooks: required: true content: application/json: - schema: &765 + schema: &771 title: Exemption response dismissed event type: object properties: @@ -116339,12 +116816,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - exemption_request: *760 - exemption_response: *761 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + exemption_request: *766 + exemption_response: *767 sender: *4 required: - action @@ -116416,7 +116893,7 @@ webhooks: required: true content: application/json: - schema: &766 + schema: &772 title: Exemption response submitted event type: object properties: @@ -116424,12 +116901,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - exemption_request: *760 - exemption_response: *761 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + exemption_request: *766 + exemption_response: *767 sender: *4 required: - action @@ -116502,7 +116979,7 @@ webhooks: required: true content: application/json: - schema: *762 + schema: *768 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116569,7 +117046,7 @@ webhooks: required: true content: application/json: - schema: *763 + schema: *769 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116636,7 +117113,7 @@ webhooks: required: true content: application/json: - schema: *764 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116703,7 +117180,7 @@ webhooks: required: true content: application/json: - schema: *765 + schema: *771 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116771,7 +117248,7 @@ webhooks: required: true content: application/json: - schema: *766 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116849,7 +117326,7 @@ webhooks: type: string enum: - completed - check_run: &768 + check_run: &774 title: CheckRun description: A check performed on the code of a given code change type: object @@ -116959,7 +117436,7 @@ webhooks: - examples: - neutral - deployment: *767 + deployment: *773 details_url: type: string examples: @@ -117057,9 +117534,9 @@ webhooks: - output - app - pull_requests - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - check_run @@ -117452,10 +117929,10 @@ webhooks: type: string enum: - created - check_run: *768 - installation: *756 - organization: *757 - repository: *758 + check_run: *774 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - check_run @@ -117851,10 +118328,10 @@ webhooks: type: string enum: - requested_action - check_run: *768 - installation: *756 - organization: *757 - repository: *758 + check_run: *774 + installation: *762 + organization: *763 + repository: *764 requested_action: description: The action requested by the user. type: object @@ -118259,10 +118736,10 @@ webhooks: type: string enum: - rerequested - check_run: *768 - installation: *756 - organization: *757 - repository: *758 + check_run: *774 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - check_run @@ -119254,10 +119731,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -119942,10 +120419,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -120624,10 +121101,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -120945,20 +121422,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &769 + commit_oid: &775 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: *755 - installation: *756 - organization: *757 - ref: &770 + enterprise: *761 + installation: *762 + organization: *763 + ref: &776 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: *758 + repository: *764 sender: *4 required: - action @@ -121363,12 +121840,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *755 - installation: *756 - organization: *757 - ref: *770 - repository: *758 + commit_oid: *775 + enterprise: *761 + installation: *762 + organization: *763 + ref: *776 + repository: *764 sender: *4 required: - action @@ -121648,12 +122125,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *755 - installation: *756 - organization: *757 - ref: *770 - repository: *758 + commit_oid: *775 + enterprise: *761 + installation: *762 + organization: *763 + ref: *776 + repository: *764 sender: *4 required: - action @@ -121996,12 +122473,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *755 - installation: *756 - organization: *757 - ref: *770 - repository: *758 + commit_oid: *775 + enterprise: *761 + installation: *762 + organization: *763 + ref: *776 + repository: *764 sender: *4 required: - action @@ -122281,9 +122758,9 @@ webhooks: type: - string - 'null' - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -122291,7 +122768,7 @@ webhooks: type: - string - 'null' - repository: *758 + repository: *764 sender: *4 required: - action @@ -122534,12 +123011,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *755 - installation: *756 - organization: *757 - ref: *770 - repository: *758 + commit_oid: *775 + enterprise: *761 + installation: *762 + organization: *763 + ref: *776 + repository: *764 sender: *4 required: - action @@ -122801,10 +123278,10 @@ webhooks: - updated_at - author_association - body - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -122885,18 +123362,18 @@ webhooks: type: - string - 'null' - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *757 - pusher_type: &771 + organization: *763 + pusher_type: &777 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &772 + ref: &778 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -122906,7 +123383,7 @@ webhooks: enum: - tag - branch - repository: *758 + repository: *764 sender: *4 required: - ref @@ -122989,9 +123466,9 @@ webhooks: enum: - created definition: *112 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 sender: *4 required: - action @@ -123076,9 +123553,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 sender: *4 required: - action @@ -123156,9 +123633,9 @@ webhooks: enum: - promote_to_enterprise definition: *112 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 sender: *4 required: - action @@ -123236,9 +123713,9 @@ webhooks: enum: - updated definition: *112 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 sender: *4 required: - action @@ -123315,10 +123792,10 @@ webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - repository: *758 - organization: *757 + enterprise: *761 + installation: *762 + repository: *764 + organization: *763 sender: *4 new_property_values: type: array @@ -123403,18 +123880,18 @@ webhooks: title: delete event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - pusher_type: *771 - ref: *772 + enterprise: *761 + installation: *762 + organization: *763 + pusher_type: *777 + ref: *778 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *758 + repository: *764 sender: *4 required: - ref @@ -123499,10 +123976,10 @@ webhooks: enum: - auto_dismissed alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -123587,10 +124064,10 @@ webhooks: enum: - auto_reopened alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -123675,10 +124152,10 @@ webhooks: enum: - created alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -123761,10 +124238,10 @@ webhooks: enum: - dismissed alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -123847,10 +124324,10 @@ webhooks: enum: - fixed alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -123934,10 +124411,10 @@ webhooks: enum: - reintroduced alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -124020,10 +124497,10 @@ webhooks: enum: - reopened alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -124100,9 +124577,9 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - key: &773 + enterprise: *761 + installation: *762 + key: &779 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -124140,8 +124617,8 @@ webhooks: - verified - created_at - read_only - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -124218,11 +124695,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - key: *773 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + key: *779 + organization: *763 + repository: *764 sender: *4 required: - action @@ -124794,12 +125271,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - workflow: &777 + workflow: &783 title: Workflow type: - object @@ -125540,10 +126017,10 @@ webhooks: deployment: *508 pull_requests: type: array - items: *593 - repository: *758 - organization: *757 - installation: *756 + items: *599 + repository: *764 + organization: *763 + installation: *762 sender: *4 responses: '200': @@ -125614,7 +126091,7 @@ webhooks: type: string enum: - approved - approver: &774 + approver: &780 type: object properties: avatar_url: @@ -125657,11 +126134,11 @@ webhooks: type: string comment: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - reviewers: &775 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + reviewers: &781 type: array items: type: object @@ -125742,7 +126219,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &776 + workflow_job_run: &782 type: object properties: conclusion: @@ -126488,18 +126965,18 @@ webhooks: type: string enum: - rejected - approver: *774 + approver: *780 comment: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - reviewers: *775 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + reviewers: *781 sender: *4 since: type: string - workflow_job_run: *776 + workflow_job_run: *782 workflow_job_runs: type: array items: @@ -127216,13 +127693,13 @@ webhooks: type: string enum: - requested - enterprise: *755 + enterprise: *761 environment: type: string - installation: *756 - organization: *757 - repository: *758 - requestor: &782 + installation: *762 + organization: *763 + repository: *764 + requestor: &788 title: User type: - object @@ -129165,12 +129642,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - workflow: *777 + workflow: *783 workflow_run: title: Deployment Workflow Run type: @@ -129861,7 +130338,7 @@ webhooks: type: string enum: - answered - answer: &780 + answer: &786 type: object properties: author_association: @@ -130021,7 +130498,7 @@ webhooks: - created_at - updated_at - body - discussion: &778 + discussion: &784 title: Discussion description: A Discussion in a repository. type: object @@ -130317,7 +130794,7 @@ webhooks: - id labels: type: array - items: *556 + items: *562 required: - repository_url - category @@ -130339,10 +130816,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -130469,11 +130946,11 @@ webhooks: - from required: - category - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -130556,11 +131033,11 @@ webhooks: type: string enum: - closed - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -130642,7 +131119,7 @@ webhooks: type: string enum: - created - comment: &779 + comment: &785 type: object properties: author_association: @@ -130802,11 +131279,11 @@ webhooks: - updated_at - body - reactions - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -130889,12 +131366,12 @@ webhooks: type: string enum: - deleted - comment: *779 - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + comment: *785 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -130989,12 +131466,12 @@ webhooks: - from required: - body - comment: *779 - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + comment: *785 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131078,11 +131555,11 @@ webhooks: type: string enum: - created - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131164,11 +131641,11 @@ webhooks: type: string enum: - deleted - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131268,11 +131745,11 @@ webhooks: type: string required: - from - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131354,10 +131831,10 @@ webhooks: type: string enum: - labeled - discussion: *778 - enterprise: *755 - installation: *756 - label: &781 + discussion: *784 + enterprise: *761 + installation: *762 + label: &787 title: Label type: object properties: @@ -131390,8 +131867,8 @@ webhooks: - color - default - description - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131474,11 +131951,11 @@ webhooks: type: string enum: - locked - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131560,11 +132037,11 @@ webhooks: type: string enum: - pinned - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131646,11 +132123,11 @@ webhooks: type: string enum: - reopened - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131735,16 +132212,16 @@ webhooks: changes: type: object properties: - new_discussion: *778 - new_repository: *758 + new_discussion: *784 + new_repository: *764 required: - new_discussion - new_repository - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131827,10 +132304,10 @@ webhooks: type: string enum: - unanswered - discussion: *778 - old_answer: *780 - organization: *757 - repository: *758 + discussion: *784 + old_answer: *786 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131912,12 +132389,12 @@ webhooks: type: string enum: - unlabeled - discussion: *778 - enterprise: *755 - installation: *756 - label: *781 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -132000,11 +132477,11 @@ webhooks: type: string enum: - unlocked - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -132086,11 +132563,11 @@ webhooks: type: string enum: - unpinned - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -132159,7 +132636,7 @@ webhooks: required: true content: application/json: - schema: *764 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132222,7 +132699,7 @@ webhooks: required: true content: application/json: - schema: *766 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132288,7 +132765,7 @@ webhooks: required: true content: application/json: - schema: *762 + schema: *768 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132354,7 +132831,7 @@ webhooks: required: true content: application/json: - schema: *763 + schema: *769 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132420,7 +132897,7 @@ webhooks: required: true content: application/json: - schema: *764 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132486,7 +132963,7 @@ webhooks: required: true content: application/json: - schema: *765 + schema: *771 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132552,7 +133029,7 @@ webhooks: required: true content: application/json: - schema: *766 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132619,7 +133096,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *755 + enterprise: *761 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -133297,9 +133774,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - forkee @@ -133445,9 +133922,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pages: description: The pages that were updated. type: array @@ -133485,7 +133962,7 @@ webhooks: - action - sha - html_url - repository: *758 + repository: *764 sender: *4 required: - pages @@ -133561,10 +134038,10 @@ webhooks: type: string enum: - created - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories: &783 + organization: *763 + repositories: &789 description: An array of repository objects that the installation can access. type: array @@ -133590,8 +134067,8 @@ webhooks: - name - full_name - private - repository: *758 - requester: *782 + repository: *764 + requester: *788 sender: *4 required: - action @@ -133666,11 +134143,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories: *783 - repository: *758 + organization: *763 + repositories: *789 + repository: *764 requester: type: - 'null' @@ -133747,11 +134224,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories: *783 - repository: *758 + organization: *763 + repositories: *789 + repository: *764 requester: type: - 'null' @@ -133828,10 +134305,10 @@ webhooks: type: string enum: - added - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories_added: &784 + organization: *763 + repositories_added: &790 description: An array of repository objects, which were added to the installation. type: array @@ -133877,15 +134354,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *758 - repository_selection: &785 + repository: *764 + repository_selection: &791 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *782 + requester: *788 sender: *4 required: - action @@ -133964,10 +134441,10 @@ webhooks: type: string enum: - removed - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories_added: *784 + organization: *763 + repositories_added: *790 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -133994,9 +134471,9 @@ webhooks: - name - full_name - private - repository: *758 - repository_selection: *785 - requester: *782 + repository: *764 + repository_selection: *791 + requester: *788 sender: *4 required: - action @@ -134075,11 +134552,11 @@ webhooks: type: string enum: - suspend - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories: *783 - repository: *758 + organization: *763 + repositories: *789 + repository: *764 requester: type: - 'null' @@ -134262,10 +134739,10 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 target_type: type: string @@ -134344,11 +134821,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories: *783 - repository: *758 + organization: *763 + repositories: *789 + repository: *764 requester: type: - 'null' @@ -134596,8 +135073,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135788,8 +136265,8 @@ webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -135869,7 +136346,7 @@ webhooks: type: string enum: - deleted - comment: &786 + comment: &792 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -136036,8 +136513,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -137226,8 +137703,8 @@ webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -137307,7 +137784,7 @@ webhooks: type: string enum: - edited - changes: &811 + changes: &817 description: The changes to the comment. type: object properties: @@ -137319,9 +137796,9 @@ webhooks: type: string required: - from - comment: *786 - enterprise: *755 - installation: *756 + comment: *792 + enterprise: *761 + installation: *762 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -138511,8 +138988,8 @@ webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -138594,10 +139071,10 @@ webhooks: type: string enum: - assigned - assignee: *782 - enterprise: *755 - installation: *756 - issue: &789 + assignee: *788 + enterprise: *761 + installation: *762 + issue: &795 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139542,8 +140019,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -139623,8 +140100,8 @@ webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -140717,8 +141194,8 @@ webhooks: required: - state - closed_at - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -140797,8 +141274,8 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141738,8 +142215,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -141818,8 +142295,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142761,7 +143238,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &787 + milestone: &793 title: Milestone description: A collection of related issues and pull requests. type: object @@ -142904,8 +143381,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -143004,8 +143481,8 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143950,9 +144427,9 @@ webhooks: - active_lock_reason - body - reactions - label: *781 - organization: *757 - repository: *758 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -144032,8 +144509,8 @@ webhooks: type: string enum: - labeled - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144977,9 +145454,9 @@ webhooks: - active_lock_reason - body - reactions - label: *781 - organization: *757 - repository: *758 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -145059,8 +145536,8 @@ webhooks: type: string enum: - locked - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146006,8 +146483,8 @@ webhooks: format: uri user_view_type: type: string - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -146086,8 +146563,8 @@ webhooks: type: string enum: - milestoned - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147027,9 +147504,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *787 - organization: *757 - repository: *758 + milestone: *793 + organization: *763 + repository: *764 sender: *4 required: - action @@ -148511,8 +148988,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149456,8 +149933,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -149537,9 +150014,9 @@ webhooks: type: string enum: - pinned - enterprise: *755 - installation: *756 - issue: &788 + enterprise: *761 + installation: *762 + issue: &794 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150477,8 +150954,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -150557,8 +151034,8 @@ webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151503,8 +151980,8 @@ webhooks: user_view_type: type: string type: *280 - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -153005,11 +153482,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *755 - installation: *756 - issue: *788 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + issue: *794 + organization: *763 + repository: *764 sender: *4 required: - action @@ -153089,12 +153566,12 @@ webhooks: type: string enum: - typed - enterprise: *755 - installation: *756 - issue: *789 + enterprise: *761 + installation: *762 + issue: *795 type: *280 - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -153175,7 +153652,7 @@ webhooks: type: string enum: - unassigned - assignee: &814 + assignee: &820 title: User type: - object @@ -153247,11 +153724,11 @@ webhooks: required: - login - id - enterprise: *755 - installation: *756 - issue: *789 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + issue: *795 + organization: *763 + repository: *764 sender: *4 required: - action @@ -153330,12 +153807,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *755 - installation: *756 - issue: *789 - label: *781 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + issue: *795 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -153415,8 +153892,8 @@ webhooks: type: string enum: - unlocked - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154360,8 +154837,8 @@ webhooks: format: uri user_view_type: type: string - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154441,11 +154918,11 @@ webhooks: type: string enum: - unpinned - enterprise: *755 - installation: *756 - issue: *788 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + issue: *794 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154524,12 +155001,12 @@ webhooks: type: string enum: - untyped - enterprise: *755 - installation: *756 - issue: *789 + enterprise: *761 + installation: *762 + issue: *795 type: *280 - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154609,11 +155086,11 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - label: *781 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154691,11 +155168,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - label: *781 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154805,11 +155282,11 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - label: *781 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154891,9 +155368,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: &790 + enterprise: *761 + installation: *762 + marketplace_purchase: &796 title: Marketplace Purchase type: object required: @@ -154981,8 +155458,8 @@ webhooks: type: integer unit_count: type: integer - organization: *757 - previous_marketplace_purchase: &791 + organization: *763 + previous_marketplace_purchase: &797 title: Marketplace Purchase type: object properties: @@ -155066,7 +155543,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *764 sender: *4 required: - action @@ -155146,10 +155623,10 @@ webhooks: - changed effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *790 - organization: *757 + enterprise: *761 + installation: *762 + marketplace_purchase: *796 + organization: *763 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -155237,7 +155714,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *764 sender: *4 required: - action @@ -155319,10 +155796,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *790 - organization: *757 + enterprise: *761 + installation: *762 + marketplace_purchase: *796 + organization: *763 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -155408,7 +155885,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *764 sender: *4 required: - action @@ -155489,8 +155966,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 marketplace_purchase: title: Marketplace Purchase type: object @@ -155576,9 +156053,9 @@ webhooks: type: integer unit_count: type: integer - organization: *757 - previous_marketplace_purchase: *791 - repository: *758 + organization: *763 + previous_marketplace_purchase: *797 + repository: *764 sender: *4 required: - action @@ -155658,12 +156135,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *790 - organization: *757 - previous_marketplace_purchase: *791 - repository: *758 + enterprise: *761 + installation: *762 + marketplace_purchase: *796 + organization: *763 + previous_marketplace_purchase: *797 + repository: *764 sender: *4 required: - action @@ -155765,11 +156242,11 @@ webhooks: type: string required: - to - enterprise: *755 - installation: *756 - member: *782 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + member: *788 + organization: *763 + repository: *764 sender: *4 required: - action @@ -155871,11 +156348,11 @@ webhooks: type: - string - 'null' - enterprise: *755 - installation: *756 - member: *782 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + member: *788 + organization: *763 + repository: *764 sender: *4 required: - action @@ -155954,11 +156431,11 @@ webhooks: type: string enum: - removed - enterprise: *755 - installation: *756 - member: *782 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + member: *788 + organization: *763 + repository: *764 sender: *4 required: - action @@ -156036,11 +156513,11 @@ webhooks: type: string enum: - added - enterprise: *755 - installation: *756 - member: *782 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + member: *788 + organization: *763 + repository: *764 scope: description: The scope of the membership. Currently, can only be `team`. @@ -156118,7 +156595,7 @@ webhooks: required: - login - id - team: &792 + team: &798 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -156311,11 +156788,11 @@ webhooks: type: string enum: - removed - enterprise: *755 - installation: *756 - member: *782 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + member: *788 + organization: *763 + repository: *764 scope: description: The scope of the membership. Currently, can only be `team`. @@ -156394,7 +156871,7 @@ webhooks: required: - login - id - team: *792 + team: *798 required: - action - scope @@ -156476,8 +156953,8 @@ webhooks: type: string enum: - checks_requested - installation: *756 - merge_group: &793 + installation: *762 + merge_group: &799 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -156503,8 +156980,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -156590,10 +157067,10 @@ webhooks: - merged - invalidated - dequeued - installation: *756 - merge_group: *793 - organization: *757 - repository: *758 + installation: *762 + merge_group: *799 + organization: *763 + repository: *764 sender: *4 required: - action @@ -156666,7 +157143,7 @@ webhooks: type: string enum: - deleted - enterprise: *755 + enterprise: *761 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -156775,12 +157252,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *756 - organization: *757 + installation: *762 + organization: *763 repository: anyOf: - type: 'null' - - *758 + - *764 sender: *4 required: - action @@ -156860,11 +157337,11 @@ webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - milestone: *787 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + milestone: *793 + organization: *763 + repository: *764 sender: *4 required: - action @@ -156943,9 +157420,9 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - milestone: &794 + enterprise: *761 + installation: *762 + milestone: &800 title: Milestone description: A collection of related issues and pull requests. type: object @@ -157087,8 +157564,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157167,11 +157644,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - milestone: *787 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + milestone: *793 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157281,11 +157758,11 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - milestone: *787 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + milestone: *793 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157365,11 +157842,11 @@ webhooks: type: string enum: - opened - enterprise: *755 - installation: *756 - milestone: *794 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + milestone: *800 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157448,11 +157925,11 @@ webhooks: type: string enum: - blocked - blocked_user: *782 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + blocked_user: *788 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157531,11 +158008,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *782 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + blocked_user: *788 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157614,9 +158091,9 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - membership: &795 + enterprise: *761 + installation: *762 + membership: &801 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -157710,8 +158187,8 @@ webhooks: - role - organization_url - user - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157789,11 +158266,11 @@ webhooks: type: string enum: - member_added - enterprise: *755 - installation: *756 - membership: *795 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + membership: *801 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157872,8 +158349,8 @@ webhooks: type: string enum: - member_invited - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -157995,10 +158472,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 - user: *782 + user: *788 required: - action - invitation @@ -158076,11 +158553,11 @@ webhooks: type: string enum: - member_removed - enterprise: *755 - installation: *756 - membership: *795 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + membership: *801 + organization: *763 + repository: *764 sender: *4 required: - action @@ -158167,11 +158644,11 @@ webhooks: properties: from: type: string - enterprise: *755 - installation: *756 - membership: *795 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + membership: *801 + organization: *763 + repository: *764 sender: *4 required: - action @@ -158247,9 +158724,9 @@ webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 package: description: Information about the package. type: object @@ -158772,7 +159249,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &796 + items: &802 title: Ruby Gems metadata type: object properties: @@ -158869,7 +159346,7 @@ webhooks: - owner - package_version - registry - repository: *758 + repository: *764 sender: *4 required: - action @@ -158945,9 +159422,9 @@ webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 package: description: Information about the package. type: object @@ -159309,7 +159786,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *802 source_url: type: string format: uri @@ -159380,7 +159857,7 @@ webhooks: - owner - package_version - registry - repository: *758 + repository: *764 sender: *4 required: - action @@ -159561,12 +160038,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *755 + enterprise: *761 id: type: integer - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - id @@ -159643,7 +160120,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &797 + personal_access_token_request: &803 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -159793,10 +160270,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *755 - organization: *757 + enterprise: *761 + organization: *763 sender: *4 - installation: *756 + installation: *762 required: - action - personal_access_token_request @@ -159873,11 +160350,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *797 - enterprise: *755 - organization: *757 + personal_access_token_request: *803 + enterprise: *761 + organization: *763 sender: *4 - installation: *756 + installation: *762 required: - action - personal_access_token_request @@ -159953,11 +160430,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *797 - enterprise: *755 - organization: *757 + personal_access_token_request: *803 + enterprise: *761 + organization: *763 sender: *4 - installation: *756 + installation: *762 required: - action - personal_access_token_request @@ -160032,11 +160509,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *797 - organization: *757 - enterprise: *755 + personal_access_token_request: *803 + organization: *763 + enterprise: *761 sender: *4 - installation: *756 + installation: *762 required: - action - personal_access_token_request @@ -160141,7 +160618,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *798 + last_response: *804 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -160173,8 +160650,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 zen: description: Random string of GitHub zen. @@ -160419,10 +160896,10 @@ webhooks: - from required: - note - enterprise: *755 - installation: *756 - organization: *757 - project_card: &799 + enterprise: *761 + installation: *762 + organization: *763 + project_card: &805 title: Project Card type: object properties: @@ -160545,7 +161022,7 @@ webhooks: - creator - created_at - updated_at - repository: *758 + repository: *764 sender: *4 required: - action @@ -160626,11 +161103,11 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project_card: *799 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project_card: *805 + repository: *764 sender: *4 required: - action @@ -160710,9 +161187,9 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 project_card: title: Project Card type: object @@ -160842,7 +161319,7 @@ webhooks: repository: anyOf: - type: 'null' - - *758 + - *764 sender: *4 required: - action @@ -160936,11 +161413,11 @@ webhooks: - from required: - note - enterprise: *755 - installation: *756 - organization: *757 - project_card: *799 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project_card: *805 + repository: *764 sender: *4 required: - action @@ -161034,9 +161511,9 @@ webhooks: - from required: - column_id - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 project_card: allOf: - title: Project Card @@ -161233,7 +161710,7 @@ webhooks: type: string required: - after_id - repository: *758 + repository: *764 sender: *4 required: - action @@ -161313,10 +161790,10 @@ webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - organization: *757 - project: &801 + enterprise: *761 + installation: *762 + organization: *763 + project: &807 title: Project type: object properties: @@ -161443,7 +161920,7 @@ webhooks: - creator - created_at - updated_at - repository: *758 + repository: *764 sender: *4 required: - action @@ -161523,10 +162000,10 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project_column: &800 + enterprise: *761 + installation: *762 + organization: *763 + project_column: &806 title: Project Column type: object properties: @@ -161566,7 +162043,7 @@ webhooks: - name - created_at - updated_at - repository: *758 + repository: *764 sender: *4 required: - action @@ -161645,14 +162122,14 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - project_column: *800 + enterprise: *761 + installation: *762 + organization: *763 + project_column: *806 repository: anyOf: - type: 'null' - - *758 + - *764 sender: *4 required: - action @@ -161741,11 +162218,11 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - project_column: *800 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project_column: *806 + repository: *764 sender: *4 required: - action @@ -161825,11 +162302,11 @@ webhooks: type: string enum: - moved - enterprise: *755 - installation: *756 - organization: *757 - project_column: *800 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project_column: *806 + repository: *764 sender: *4 required: - action @@ -161909,11 +162386,11 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project: *801 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project: *807 + repository: *764 sender: *4 required: - action @@ -161993,14 +162470,14 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - project: *801 + enterprise: *761 + installation: *762 + organization: *763 + project: *807 repository: anyOf: - type: 'null' - - *758 + - *764 sender: *4 required: - action @@ -162101,11 +162578,11 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - project: *801 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project: *807 + repository: *764 sender: *4 required: - action @@ -162184,11 +162661,11 @@ webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 - organization: *757 - project: *801 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project: *807 + repository: *764 sender: *4 required: - action @@ -162269,9 +162746,9 @@ webhooks: type: string enum: - closed - installation: *756 - organization: *757 - projects_v2: &802 + installation: *762 + organization: *763 + projects_v2: &808 title: Projects v2 Project description: A projects v2 project type: object @@ -162419,9 +162896,9 @@ webhooks: type: string enum: - created - installation: *756 - organization: *757 - projects_v2: *802 + installation: *762 + organization: *763 + projects_v2: *808 sender: *4 required: - action @@ -162502,9 +162979,9 @@ webhooks: type: string enum: - deleted - installation: *756 - organization: *757 - projects_v2: *802 + installation: *762 + organization: *763 + projects_v2: *808 sender: *4 required: - action @@ -162625,9 +163102,9 @@ webhooks: type: string to: type: string - installation: *756 - organization: *757 - projects_v2: *802 + installation: *762 + organization: *763 + projects_v2: *808 sender: *4 required: - action @@ -162710,7 +163187,7 @@ webhooks: type: string enum: - archived - changes: &806 + changes: &812 type: object properties: archived_at: @@ -162726,9 +163203,9 @@ webhooks: - string - 'null' format: date-time - installation: *756 - organization: *757 - projects_v2_item: &803 + installation: *762 + organization: *763 + projects_v2_item: &809 title: Projects v2 Item description: An item belonging to a project type: object @@ -162867,9 +163344,9 @@ webhooks: - 'null' to: type: string - installation: *756 - organization: *757 - projects_v2_item: *803 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -162951,9 +163428,9 @@ webhooks: type: string enum: - created - installation: *756 - organization: *757 - projects_v2_item: *803 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -163034,9 +163511,9 @@ webhooks: type: string enum: - deleted - installation: *756 - organization: *757 - projects_v2_item: *803 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -163141,7 +163618,7 @@ webhooks: oneOf: - type: string - type: integer - - &804 + - &810 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -163161,7 +163638,7 @@ webhooks: required: - id - name - - &805 + - &811 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -163190,8 +163667,8 @@ webhooks: oneOf: - type: string - type: integer - - *804 - - *805 + - *810 + - *811 type: - 'null' - string @@ -163214,9 +163691,9 @@ webhooks: - 'null' required: - body - installation: *756 - organization: *757 - projects_v2_item: *803 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -163313,9 +163790,9 @@ webhooks: type: - string - 'null' - installation: *756 - organization: *757 - projects_v2_item: *803 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -163398,10 +163875,10 @@ webhooks: type: string enum: - restored - changes: *806 - installation: *756 - organization: *757 - projects_v2_item: *803 + changes: *812 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -163483,9 +163960,9 @@ webhooks: type: string enum: - reopened - installation: *756 - organization: *757 - projects_v2: *802 + installation: *762 + organization: *763 + projects_v2: *808 sender: *4 required: - action @@ -163566,9 +164043,9 @@ webhooks: type: string enum: - created - installation: *756 - organization: *757 - projects_v2_status_update: &807 + installation: *762 + organization: *763 + projects_v2_status_update: &813 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -163703,9 +164180,9 @@ webhooks: type: string enum: - deleted - installation: *756 - organization: *757 - projects_v2_status_update: *807 + installation: *762 + organization: *763 + projects_v2_status_update: *813 sender: *4 required: - action @@ -163851,9 +164328,9 @@ webhooks: - string - 'null' format: date - installation: *756 - organization: *757 - projects_v2_status_update: *807 + installation: *762 + organization: *763 + projects_v2_status_update: *813 sender: *4 required: - action @@ -163924,10 +164401,10 @@ webhooks: title: public event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - repository @@ -164004,13 +164481,13 @@ webhooks: type: string enum: - assigned - assignee: *782 - enterprise: *755 - installation: *756 - number: &808 + assignee: *788 + enterprise: *761 + installation: *762 + number: &814 description: The pull request number. type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -166359,7 +166836,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -166441,11 +166918,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -168787,7 +169264,7 @@ webhooks: - draft reason: type: string - repository: *758 + repository: *764 sender: *4 required: - action @@ -168869,11 +169346,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -171215,7 +171692,7 @@ webhooks: - draft reason: type: string - repository: *758 + repository: *764 sender: *4 required: - action @@ -171297,13 +171774,13 @@ webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: &809 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: &815 allOf: - - *593 + - *599 - type: object properties: allow_auto_merge: @@ -171365,7 +171842,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *758 + repository: *764 sender: *4 required: - action @@ -171446,12 +171923,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: *815 + repository: *764 sender: *4 required: - action @@ -171531,11 +172008,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *755 + enterprise: *761 milestone: *488 - number: *808 - organization: *757 - pull_request: &810 + number: *814 + organization: *763 + pull_request: &816 title: Pull Request type: object properties: @@ -173862,7 +174339,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -173941,11 +174418,11 @@ webhooks: type: string enum: - dequeued - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -176291,7 +176768,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *758 + repository: *764 sender: *4 required: - action @@ -176415,12 +176892,12 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: *815 + repository: *764 sender: *4 required: - action @@ -176500,11 +176977,11 @@ webhooks: type: string enum: - enqueued - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -178835,7 +179312,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -178915,11 +179392,11 @@ webhooks: type: string enum: - labeled - enterprise: *755 - installation: *756 - label: *781 - number: *808 - organization: *757 + enterprise: *761 + installation: *762 + label: *787 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -181267,7 +181744,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -181348,10 +181825,10 @@ webhooks: type: string enum: - locked - enterprise: *755 - installation: *756 - number: *808 - organization: *757 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -183697,7 +184174,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -183777,12 +184254,12 @@ webhooks: type: string enum: - milestoned - enterprise: *755 + enterprise: *761 milestone: *488 - number: *808 - organization: *757 - pull_request: *810 - repository: *758 + number: *814 + organization: *763 + pull_request: *816 + repository: *764 sender: *4 required: - action @@ -183861,12 +184338,12 @@ webhooks: type: string enum: - opened - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: *815 + repository: *764 sender: *4 required: - action @@ -183947,12 +184424,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: *815 + repository: *764 sender: *4 required: - action @@ -184032,12 +184509,12 @@ webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: *815 + repository: *764 sender: *4 required: - action @@ -184412,9 +184889,9 @@ webhooks: - start_side - side - reactions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: type: object properties: @@ -186644,7 +187121,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *764 sender: *4 required: - action @@ -186724,7 +187201,7 @@ webhooks: type: string enum: - deleted - comment: &812 + comment: &818 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. @@ -187017,9 +187494,9 @@ webhooks: - start_side - side - reactions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: type: object properties: @@ -189237,7 +189714,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *764 sender: *4 required: - action @@ -189317,11 +189794,11 @@ webhooks: type: string enum: - edited - changes: *811 - comment: *812 - enterprise: *755 - installation: *756 - organization: *757 + changes: *817 + comment: *818 + enterprise: *761 + installation: *762 + organization: *763 pull_request: type: object properties: @@ -191542,7 +192019,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *764 sender: *4 required: - action @@ -191623,9 +192100,9 @@ webhooks: type: string enum: - dismissed - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: title: Simple Pull Request type: object @@ -193858,7 +194335,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *764 review: description: The review that was affected. type: object @@ -194104,9 +194581,9 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: title: Simple Pull Request type: object @@ -196220,8 +196697,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 - review: &813 + repository: *764 + review: &819 description: The review that was affected. type: object properties: @@ -196454,12 +196931,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: description: The pull request number. type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -198806,7 +199283,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 requested_reviewer: title: User type: @@ -198892,12 +199369,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: description: The pull request number. type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -201251,7 +201728,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201446,12 +201923,12 @@ webhooks: type: string enum: - review_requested - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: description: The pull request number. type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -203800,7 +204277,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 requested_reviewer: title: User type: @@ -203887,12 +204364,12 @@ webhooks: type: string enum: - review_requested - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: description: The pull request number. type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -206232,7 +206709,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206416,9 +206893,9 @@ webhooks: type: string enum: - submitted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: title: Simple Pull Request type: object @@ -208654,8 +209131,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 - review: *813 + repository: *764 + review: *819 sender: *4 required: - action @@ -208735,9 +209212,9 @@ webhooks: type: string enum: - resolved - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: title: Simple Pull Request type: object @@ -210868,7 +211345,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *764 sender: *4 thread: type: object @@ -211260,9 +211737,9 @@ webhooks: type: string enum: - unresolved - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: title: Simple Pull Request type: object @@ -213376,7 +213853,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *764 sender: *4 thread: type: object @@ -213770,10 +214247,10 @@ webhooks: type: string before: type: string - enterprise: *755 - installation: *756 - number: *808 - organization: *757 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -216108,7 +216585,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -216190,11 +216667,11 @@ webhooks: type: string enum: - unassigned - assignee: *814 - enterprise: *755 - installation: *756 - number: *808 - organization: *757 + assignee: *820 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -218544,7 +219021,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -218623,11 +219100,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *755 - installation: *756 - label: *781 - number: *808 - organization: *757 + enterprise: *761 + installation: *762 + label: *787 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -220966,7 +221443,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -221047,10 +221524,10 @@ webhooks: type: string enum: - unlocked - enterprise: *755 - installation: *756 - number: *808 - organization: *757 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -223379,7 +223856,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -223582,7 +224059,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *755 + enterprise: *761 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -223677,8 +224154,8 @@ webhooks: - url - author - committer - installation: *756 - organization: *757 + installation: *762 + organization: *763 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -224266,9 +224743,9 @@ webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 registry_package: type: object properties: @@ -224745,7 +225222,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *796 + items: *802 summary: type: string tag_name: @@ -224801,7 +225278,7 @@ webhooks: - owner - package_version - registry - repository: *758 + repository: *764 sender: *4 required: - action @@ -224879,9 +225356,9 @@ webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 registry_package: type: object properties: @@ -225193,7 +225670,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *802 summary: type: string tag_name: @@ -225243,7 +225720,7 @@ webhooks: - owner - package_version - registry - repository: *758 + repository: *764 sender: *4 required: - action @@ -225320,10 +225797,10 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - release: &815 + enterprise: *761 + installation: *762 + organization: *763 + release: &821 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -225644,7 +226121,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *758 + repository: *764 sender: *4 required: - action @@ -225721,11 +226198,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - release: *815 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + release: *821 + repository: *764 sender: *4 required: - action @@ -225842,11 +226319,11 @@ webhooks: type: boolean required: - to - enterprise: *755 - installation: *756 - organization: *757 - release: *815 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + release: *821 + repository: *764 sender: *4 required: - action @@ -225924,9 +226401,9 @@ webhooks: type: string enum: - prereleased - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -226252,7 +226729,7 @@ webhooks: - string - 'null' format: uri - repository: *758 + repository: *764 sender: *4 required: - action @@ -226328,10 +226805,10 @@ webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - release: &816 + enterprise: *761 + installation: *762 + organization: *763 + release: &822 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -226654,7 +227131,7 @@ webhooks: - string - 'null' format: uri - repository: *758 + repository: *764 sender: *4 required: - action @@ -226730,11 +227207,11 @@ webhooks: type: string enum: - released - enterprise: *755 - installation: *756 - organization: *757 - release: *815 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + release: *821 + repository: *764 sender: *4 required: - action @@ -226810,11 +227287,11 @@ webhooks: type: string enum: - unpublished - enterprise: *755 - installation: *756 - organization: *757 - release: *816 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + release: *822 + repository: *764 sender: *4 required: - action @@ -226890,11 +227367,11 @@ webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - repository_advisory: *664 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + repository_advisory: *670 sender: *4 required: - action @@ -226970,11 +227447,11 @@ webhooks: type: string enum: - reported - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - repository_advisory: *664 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + repository_advisory: *670 sender: *4 required: - action @@ -227050,10 +227527,10 @@ webhooks: type: string enum: - archived - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227130,10 +227607,10 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227211,10 +227688,10 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227299,10 +227776,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227417,10 +227894,10 @@ webhooks: - 'null' items: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227492,10 +227969,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 status: type: string @@ -227576,10 +228053,10 @@ webhooks: type: string enum: - privatized - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227656,10 +228133,10 @@ webhooks: type: string enum: - publicized - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227753,10 +228230,10 @@ webhooks: - name required: - repository - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227836,10 +228313,10 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 repository_ruleset: *126 sender: *4 required: @@ -227918,10 +228395,10 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 repository_ruleset: *126 sender: *4 required: @@ -228000,10 +228477,10 @@ webhooks: type: string enum: - edited - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 repository_ruleset: *126 changes: type: object @@ -228311,10 +228788,10 @@ webhooks: - from required: - owner - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -228392,10 +228869,10 @@ webhooks: type: string enum: - unarchived - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -228473,7 +228950,7 @@ webhooks: type: string enum: - create - alert: &817 + alert: &823 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -228597,10 +229074,10 @@ webhooks: type: string enum: - open - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -228810,10 +229287,10 @@ webhooks: type: string enum: - dismissed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -228891,11 +229368,11 @@ webhooks: type: string enum: - reopen - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *823 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229097,10 +229574,10 @@ webhooks: enum: - fixed - open - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229178,7 +229655,7 @@ webhooks: type: string enum: - created - alert: &818 + alert: &824 type: object properties: number: *96 @@ -229288,10 +229765,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229372,11 +229849,11 @@ webhooks: type: string enum: - created - alert: *818 - installation: *756 - location: *819 - organization: *757 - repository: *758 + alert: *824 + installation: *762 + location: *825 + organization: *763 + repository: *764 sender: *4 required: - location @@ -229614,11 +230091,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *818 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *824 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229696,11 +230173,11 @@ webhooks: type: string enum: - reopened - alert: *818 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *824 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229778,11 +230255,11 @@ webhooks: type: string enum: - resolved - alert: *818 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *824 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229860,11 +230337,11 @@ webhooks: type: string enum: - validated - alert: *818 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *824 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229994,10 +230471,10 @@ webhooks: - organization - enterprise - - repository: *758 - enterprise: *755 - installation: *756 - organization: *757 + repository: *764 + enterprise: *761 + installation: *762 + organization: *763 sender: *4 required: - action @@ -230075,11 +230552,11 @@ webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - security_advisory: &820 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + security_advisory: &826 description: The details of the security advisory, including summary, description, and severity. type: object @@ -230265,11 +230742,11 @@ webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - security_advisory: *820 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + security_advisory: *826 sender: *4 required: - action @@ -230342,10 +230819,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -230532,9 +231009,9 @@ webhooks: type: object properties: security_and_analysis: *316 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: *379 sender: *4 required: @@ -230613,12 +231090,12 @@ webhooks: type: string enum: - cancelled - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: &821 + sponsorship: &827 type: object properties: created_at: @@ -230923,12 +231400,12 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: *821 + sponsorship: *827 required: - action - sponsorship @@ -231016,12 +231493,12 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: *821 + sponsorship: *827 required: - action - changes @@ -231098,17 +231575,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &822 + effective_date: &828 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: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: *821 + sponsorship: *827 required: - action - sponsorship @@ -231182,7 +231659,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &823 + changes: &829 type: object properties: tier: @@ -231226,13 +231703,13 @@ webhooks: - from required: - tier - effective_date: *822 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + effective_date: *828 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: *821 + sponsorship: *827 required: - action - changes @@ -231309,13 +231786,13 @@ webhooks: type: string enum: - tier_changed - changes: *823 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + changes: *829 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: *821 + sponsorship: *827 required: - action - changes @@ -231389,10 +231866,10 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231476,10 +231953,10 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231913,15 +232390,15 @@ webhooks: type: - string - 'null' - enterprise: *755 + enterprise: *761 id: description: The unique identifier of the status. type: integer - installation: *756 + installation: *762 name: type: string - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 sha: description: The Commit SHA. @@ -232037,9 +232514,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -232129,9 +232606,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -232221,9 +232698,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -232313,9 +232790,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -232392,12 +232869,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - team: &824 + team: &830 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -232590,9 +233067,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: title: Repository description: A git repository @@ -233062,7 +233539,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *830 required: - action - team @@ -233138,9 +233615,9 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: title: Repository description: A git repository @@ -233610,7 +234087,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *830 required: - action - team @@ -233687,9 +234164,9 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: title: Repository description: A git repository @@ -234159,7 +234636,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *830 required: - action - team @@ -234303,9 +234780,9 @@ webhooks: - from required: - permissions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: title: Repository description: A git repository @@ -234775,7 +235252,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *830 required: - action - changes @@ -234853,9 +235330,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: title: Repository description: A git repository @@ -235325,7 +235802,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *830 required: - action - team @@ -235401,10 +235878,10 @@ webhooks: type: string enum: - started - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -235477,17 +235954,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *755 + enterprise: *761 inputs: type: - object - 'null' additionalProperties: true - installation: *756 - organization: *757 + installation: *762 + organization: *763 ref: type: string - repository: *758 + repository: *764 sender: *4 workflow: type: string @@ -235569,10 +236046,10 @@ webhooks: type: string enum: - completed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 workflow_job: allOf: @@ -235907,10 +236384,10 @@ webhooks: type: string enum: - in_progress - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 workflow_job: allOf: @@ -236271,10 +236748,10 @@ webhooks: type: string enum: - queued - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 workflow_job: type: object @@ -236499,10 +236976,10 @@ webhooks: type: string enum: - waiting - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 workflow_job: type: object @@ -236729,12 +237206,12 @@ webhooks: type: string enum: - completed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - workflow: *777 + workflow: *783 workflow_run: title: Workflow Run type: object @@ -237753,12 +238230,12 @@ webhooks: type: string enum: - in_progress - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - workflow: *777 + workflow: *783 workflow_run: title: Workflow Run type: object @@ -238762,12 +239239,12 @@ webhooks: type: string enum: - requested - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - workflow: *777 + workflow: *783 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 7d39dd5520..56c61d25e0 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -130581,6 +130581,567 @@ } } }, + "/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": { + "type": [ + "array", + "null" + ], + "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.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "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", + "null" + ], + "description": "The responses to the dismissal request.", + "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", + "null" + ], + "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", + "examples": [ + "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", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", @@ -352887,6 +353448,1114 @@ } } }, + "/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": { + "type": [ + "array", + "null" + ], + "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.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "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", + "null" + ], + "description": "The responses to the dismissal request.", + "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", + "null" + ], + "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", + "examples": [ + "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", + "examples": [ + "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": { + "type": [ + "array", + "null" + ], + "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.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "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", + "null" + ], + "description": "The responses to the dismissal request.", + "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", + "null" + ], + "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", + "examples": [ + "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", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 4fed8523ac..bb424d3c67 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -1075,7 +1075,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: - - &666 + - &672 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1804,7 +1804,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &676 + schema: &682 title: Scim Error description: Scim Error type: object @@ -16911,7 +16911,7 @@ paths: type: object description: A repository rule. oneOf: - - &610 + - &616 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16923,7 +16923,7 @@ paths: type: string enum: - creation - - &611 + - &617 title: update description: Only allow users with bypass permission to update matching refs. @@ -16944,7 +16944,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &613 + - &619 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16956,7 +16956,7 @@ paths: type: string enum: - deletion - - &614 + - &620 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16968,7 +16968,7 @@ paths: type: string enum: - required_linear_history - - &615 + - &621 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -17044,7 +17044,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &616 + - &622 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -17068,7 +17068,7 @@ paths: type: string required: - required_deployment_environments - - &617 + - &623 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -17080,7 +17080,7 @@ paths: type: string enum: - required_signatures - - &618 + - &624 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. @@ -17140,7 +17140,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &619 + - &625 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17187,7 +17187,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &620 + - &626 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17199,7 +17199,7 @@ paths: type: string enum: - non_fast_forward - - &621 + - &627 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17235,7 +17235,7 @@ paths: required: - operator - pattern - - &622 + - &628 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17271,7 +17271,7 @@ paths: required: - operator - pattern - - &623 + - &629 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17307,7 +17307,7 @@ paths: required: - operator - pattern - - &624 + - &630 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17343,7 +17343,7 @@ paths: required: - operator - pattern - - &625 + - &631 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17379,7 +17379,7 @@ paths: required: - operator - pattern - - &626 + - &632 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -17403,7 +17403,7 @@ paths: type: string required: - restricted_file_paths - - &627 + - &633 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -17427,7 +17427,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &628 + - &634 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -17450,7 +17450,7 @@ paths: type: string required: - restricted_file_extensions - - &629 + - &635 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -17474,7 +17474,7 @@ paths: maximum: 100 required: - max_file_size - - &630 + - &636 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17523,7 +17523,7 @@ paths: - repository_id required: - workflows - - &631 + - &637 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -18177,14 +18177,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &644 + state: &650 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: &645 + resolution: &651 type: - string - 'null' @@ -18291,14 +18291,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &646 + - &652 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &648 + - &654 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -18355,7 +18355,7 @@ paths: - blob_url - commit_sha - commit_url - - &649 + - &655 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. @@ -18416,7 +18416,7 @@ paths: - page_url - commit_sha - commit_url - - &650 + - &656 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -18431,7 +18431,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &651 + - &657 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -18446,7 +18446,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &652 + - &658 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -18461,7 +18461,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &653 + - &659 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -18476,7 +18476,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &654 + - &660 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -18491,7 +18491,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &655 + - &661 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -18506,7 +18506,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &656 + - &662 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. @@ -18521,7 +18521,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &657 + - &663 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. @@ -18536,7 +18536,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &658 + - &664 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. @@ -18551,7 +18551,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &659 + - &665 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. @@ -18566,7 +18566,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &660 + - &666 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 @@ -20177,7 +20177,7 @@ paths: - author_association - created_at - updated_at - comment: &550 + comment: &556 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20752,7 +20752,7 @@ paths: url: type: string format: uri - user: &715 + user: &721 title: Public User description: Public User type: object @@ -24210,7 +24210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &579 + - &585 name: all description: If `true`, show notifications marked as read. in: query @@ -24218,7 +24218,7 @@ paths: schema: type: boolean default: false - - &580 + - &586 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -24228,7 +24228,7 @@ paths: type: boolean default: false - *139 - - &581 + - &587 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: @@ -24768,7 +24768,7 @@ paths: - url - subscription_url examples: - default: &582 + default: &588 value: - id: '1' repository: @@ -25321,7 +25321,7 @@ paths: type: array items: *57 examples: - default: &732 + default: &738 value: - login: github id: 1 @@ -27311,7 +27311,7 @@ paths: type: array items: *62 examples: - default: &726 + default: &732 value: total_count: 1 repositories: @@ -28134,7 +28134,7 @@ paths: type: array items: *191 examples: - default: &718 + default: &724 value: total_count: 1 repositories: @@ -30216,12 +30216,12 @@ paths: required: - subject_digests examples: - default: &747 + default: &753 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &748 + withPredicateType: &754 value: subject_digests: - sha256:abc123 @@ -30280,7 +30280,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &749 + default: &755 value: attestations_subject_digests: - sha256:abc: @@ -35798,6 +35798,313 @@ 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: + - *165 + - &513 + 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 + - &514 + 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 + - &515 + 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 + - &516 + 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 + - *220 + - *17 + - *19 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: &517 + 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: + type: + - array + - 'null' + 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. + examples: + - 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: + - string + - 'null' + description: The comment the requester provided when creating + the dismissal request. + 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 + - 'null' + description: The responses to the dismissal request. + 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 + - 'null' + 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 + examples: + - 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 + examples: + - https://github.com/octo-org/smile/code-scanning/alerts/1 + examples: + default: &518 + 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': *27 + '422': *15 + '500': *83 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -35823,7 +36130,7 @@ paths: - *214 - *215 - *216 - - &513 + - &519 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -35849,7 +36156,7 @@ paths: application/json: schema: type: array - items: &514 + items: &520 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -35976,7 +36283,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &515 + default: &521 value: - id: 21 number: 42 @@ -37833,7 +38140,7 @@ paths: application/json: schema: *20 examples: - default: &546 + default: &552 value: id: 1 account: @@ -38061,7 +38368,7 @@ paths: required: true content: application/json: - schema: &547 + schema: &553 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -40164,7 +40471,7 @@ paths: parameters: - *165 - *292 - - &731 + - &737 name: repo_name description: repo_name parameter in: path @@ -41497,7 +41804,7 @@ paths: - nuget - container - *165 - - &733 + - &739 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -41538,7 +41845,7 @@ paths: default: *298 '403': *27 '401': *23 - '400': &735 + '400': &741 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45313,7 +45620,7 @@ paths: - *165 - *17 - *19 - - &632 + - &638 name: targets description: | A comma-separated list of rule targets to filter by. @@ -45504,7 +45811,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *165 - - &633 + - &639 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 @@ -45516,14 +45823,14 @@ paths: x-multi-segment: true - *220 - *216 - - &634 + - &640 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 - - &635 + - &641 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -45543,7 +45850,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &642 title: Rule Suites description: Response type: array @@ -45599,7 +45906,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &637 + default: &643 value: - id: 21 actor_id: 12 @@ -45643,7 +45950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *165 - - &638 + - &644 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45659,7 +45966,7 @@ paths: description: Response content: application/json: - schema: &639 + schema: &645 title: Rule Suite description: Response type: object @@ -45766,7 +46073,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &640 + default: &646 value: id: 21 actor_id: 12 @@ -46097,7 +46404,7 @@ paths: - *86 - *19 - *17 - - &642 + - &648 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 @@ -46107,7 +46414,7 @@ paths: required: false schema: type: string - - &643 + - &649 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 @@ -46200,7 +46507,7 @@ paths: application/json: schema: type: array - items: &664 + items: &670 description: A repository security advisory. type: object properties: @@ -46519,7 +46826,7 @@ paths: - private_fork additionalProperties: false examples: - default: &665 + default: &671 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -48371,7 +48678,7 @@ paths: - updated_at - url examples: - default: &705 + default: &711 value: - author: login: octocat @@ -48619,7 +48926,7 @@ paths: application/json: schema: *349 examples: - default: &706 + default: &712 value: author: login: octocat @@ -48810,7 +49117,7 @@ paths: - updated_at - url examples: - default: &707 + default: &713 value: - author: login: octocat @@ -49036,7 +49343,7 @@ paths: application/json: schema: *352 examples: - default: &708 + default: &714 value: author: login: octocat @@ -49752,7 +50059,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &709 + response-if-user-is-a-team-maintainer: &715 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -49817,7 +50124,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: &710 + response-if-users-membership-with-team-is-now-pending: &716 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49959,7 +50266,7 @@ paths: - updated_at - permissions examples: - default: &711 + default: &717 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -50038,7 +50345,7 @@ paths: application/json: schema: *364 examples: - default: &712 + default: &718 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -50249,7 +50556,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &713 + schema: &719 title: Team Repository description: A team's access to a repository. type: object @@ -51087,7 +51394,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: &714 + response-if-child-teams-exist: &720 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57288,7 +57595,7 @@ paths: items: type: object properties: - type: &516 + type: &522 type: string description: The type of reviewer. enum: @@ -57924,7 +58231,7 @@ paths: application/json: schema: *403 examples: - default: &529 + default: &535 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -58143,7 +58450,7 @@ paths: application/json: schema: *407 examples: - default: &530 + default: &536 value: name: USERNAME value: octocat @@ -60001,7 +60308,7 @@ paths: required: - sha - url - verification: &536 + verification: &542 title: Verification type: object properties: @@ -63564,7 +63871,7 @@ paths: check. type: array items: *438 - deployment: &767 + deployment: &773 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -68766,7 +69073,7 @@ paths: type: array items: *476 examples: - default: &721 + default: &727 value: total_count: 2 machines: @@ -69478,7 +69785,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &549 + schema: &555 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -70335,7 +70642,7 @@ paths: type: array items: *484 examples: - default: &597 + default: &603 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70624,7 +70931,7 @@ paths: application/json: schema: type: array - items: &588 + items: &594 title: Pull Request Simple description: Pull Request Simple type: object @@ -70869,7 +71176,7 @@ paths: - review_comment - self author_association: *136 - auto_merge: &590 + auto_merge: &596 title: Auto merge description: The status of auto merging a pull request. type: @@ -70934,7 +71241,7 @@ paths: - author_association - auto_merge examples: - default: &589 + default: &595 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -71492,7 +71799,7 @@ paths: application/json: schema: *484 examples: - default: &576 + default: &582 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -72114,7 +72421,7 @@ paths: application/json: schema: type: array - items: &669 + items: &675 title: Status description: The status of a commit. type: object @@ -73076,7 +73383,7 @@ paths: - size - type - url - - &602 + - &608 title: Content File description: Content File type: object @@ -73692,7 +73999,7 @@ paths: schema: oneOf: - *3 - - &531 + - &537 description: Repository rule violation was detected type: object properties: @@ -73713,7 +74020,7 @@ paths: items: type: object properties: - placeholder_id: &661 + placeholder_id: &667 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -76270,6 +76577,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: + - *366 + - *367 + - *513 + - *514 + - *515 + - *516 + - *17 + - *19 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: *517 + examples: + default: *518 + '404': *6 + '403': *27 + '500': *83 + "/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: + - *366 + - *367 + - 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: *517 + 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': *27 + '500': *83 + 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: + - *366 + - *367 + - 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': *27 + '422': *15 + '500': *83 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -76295,7 +76772,7 @@ paths: - *214 - *215 - *216 - - *513 + - *519 - *17 - *19 responses: @@ -76305,9 +76782,9 @@ paths: application/json: schema: type: array - items: *514 + items: *520 examples: - default: *515 + default: *521 '404': *6 '403': *27 '500': *83 @@ -76345,7 +76822,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *514 + schema: *520 examples: default: value: @@ -76550,7 +77027,7 @@ paths: - 5 environments: type: array - items: &517 + items: &523 title: Environment description: Details of a deployment environment type: object @@ -76612,7 +77089,7 @@ paths: type: string examples: - wait_timer - wait_timer: &519 + wait_timer: &525 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -76654,7 +77131,7 @@ paths: items: type: object properties: - type: *516 + type: *522 reviewer: anyOf: - *4 @@ -76681,7 +77158,7 @@ paths: - id - node_id - type - deployment_branch_policy: &520 + deployment_branch_policy: &526 type: - object - 'null' @@ -76800,7 +77277,7 @@ paths: parameters: - *366 - *367 - - &518 + - &524 name: environment_name in: path required: true @@ -76813,9 +77290,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *523 examples: - default: &521 + default: &527 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -76901,7 +77378,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 requestBody: required: false content: @@ -76911,7 +77388,7 @@ paths: - object - 'null' properties: - wait_timer: *519 + wait_timer: *525 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -76930,14 +77407,14 @@ paths: items: type: object properties: - type: *516 + type: *522 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *520 + deployment_branch_policy: *526 additionalProperties: false examples: default: @@ -76957,9 +77434,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *523 examples: - default: *521 + default: *527 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -76985,7 +77462,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 responses: '204': description: Default response @@ -77012,7 +77489,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *17 - *19 responses: @@ -77031,7 +77508,7 @@ paths: - 2 branch_policies: type: array - items: &522 + items: &528 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -77094,7 +77571,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 requestBody: required: true content: @@ -77142,9 +77619,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *528 examples: - example-wildcard: &523 + example-wildcard: &529 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -77188,8 +77665,8 @@ paths: parameters: - *366 - *367 - - *518 - - &524 + - *524 + - &530 name: branch_policy_id in: path required: true @@ -77201,9 +77678,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *528 examples: - default: *523 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77224,8 +77701,8 @@ paths: parameters: - *366 - *367 - - *518 - *524 + - *530 requestBody: required: true content: @@ -77254,9 +77731,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *528 examples: - default: *523 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77277,8 +77754,8 @@ paths: parameters: - *366 - *367 - - *518 - *524 + - *530 responses: '204': description: Response @@ -77303,7 +77780,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: - - *518 + - *524 - *367 - *366 responses: @@ -77322,7 +77799,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &525 + items: &531 title: Deployment protection rule description: Deployment protection rule type: object @@ -77344,7 +77821,7 @@ paths: for the environment. examples: - true - app: &526 + app: &532 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -77447,7 +77924,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: - - *518 + - *524 - *367 - *366 requestBody: @@ -77470,9 +77947,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *525 + schema: *531 examples: - default: &527 + default: &533 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -77507,7 +77984,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: - - *518 + - *524 - *367 - *366 - *19 @@ -77529,7 +78006,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *526 + items: *532 examples: default: value: @@ -77566,8 +78043,8 @@ paths: parameters: - *366 - *367 - - *518 - - &528 + - *524 + - &534 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -77579,9 +78056,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *531 examples: - default: *527 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77602,10 +78079,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: - - *518 + - *524 - *367 - *366 - - *528 + - *534 responses: '204': description: Response @@ -77633,7 +78110,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *17 - *19 responses: @@ -77680,7 +78157,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 responses: '200': description: Response @@ -77712,7 +78189,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *201 responses: '200': @@ -77721,7 +78198,7 @@ paths: application/json: schema: *403 examples: - default: *529 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77745,7 +78222,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *201 requestBody: required: true @@ -77805,7 +78282,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *201 responses: '204': @@ -77833,7 +78310,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *390 - *19 responses: @@ -77878,7 +78355,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 requestBody: required: true content: @@ -77932,7 +78409,7 @@ paths: parameters: - *366 - *367 - - *518 + - *524 - *204 responses: '200': @@ -77941,7 +78418,7 @@ paths: application/json: schema: *407 examples: - default: *530 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77965,7 +78442,7 @@ paths: - *366 - *367 - *204 - - *518 + - *524 requestBody: required: true content: @@ -78010,7 +78487,7 @@ paths: - *366 - *367 - *204 - - *518 + - *524 responses: '204': description: Response @@ -78388,7 +78865,7 @@ paths: schema: oneOf: - *174 - - *531 + - *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78624,7 +79101,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &538 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -78859,7 +79336,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *538 examples: default: value: @@ -78917,7 +79394,7 @@ paths: parameters: - *366 - *367 - - &533 + - &539 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. @@ -78934,7 +79411,7 @@ paths: application/json: schema: type: array - items: &534 + items: &540 title: Git Reference description: Git references within a repository type: object @@ -79012,15 +79489,15 @@ paths: parameters: - *366 - *367 - - *533 + - *539 responses: '200': description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: &535 + default: &541 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -79079,9 +79556,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *535 + default: *541 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -79109,7 +79586,7 @@ paths: parameters: - *366 - *367 - - *533 + - *539 requestBody: required: true content: @@ -79138,9 +79615,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *535 + default: *541 '422': *15 '409': *94 x-github: @@ -79160,7 +79637,7 @@ paths: parameters: - *366 - *367 - - *533 + - *539 responses: '204': description: Response @@ -79283,7 +79760,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &543 title: Git Tag description: Metadata for a Git tag type: object @@ -79339,7 +79816,7 @@ paths: - sha - type - url - verification: *536 + verification: *542 required: - sha - url @@ -79349,7 +79826,7 @@ paths: - tag - message examples: - default: &538 + default: &544 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -79434,9 +79911,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: *538 + default: *544 '404': *6 '409': *94 x-github: @@ -79535,7 +80012,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &545 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -79661,7 +80138,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *545 examples: default-response: summary: Default response @@ -79731,7 +80208,7 @@ paths: application/json: schema: type: array - items: &540 + items: &546 title: Webhook description: Webhooks for repositories. type: object @@ -79794,7 +80271,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &798 + last_response: &804 title: Hook Response type: object properties: @@ -79925,9 +80402,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: &541 + default: &547 value: type: Repository id: 12345678 @@ -79983,9 +80460,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: *541 + default: *547 '404': *6 x-github: githubCloudOnly: false @@ -80052,9 +80529,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *546 examples: - default: *541 + default: *547 '422': *15 '404': *6 x-github: @@ -80358,7 +80835,7 @@ paths: description: Response content: application/json: - schema: &542 + schema: &548 title: Import description: A repository import from an external source. type: object @@ -80465,7 +80942,7 @@ paths: - html_url - authors_url examples: - default: &545 + default: &551 value: vcs: subversion use_lfs: true @@ -80481,7 +80958,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': &543 + '503': &549 description: Unavailable due to service under maintenance. content: application/json: @@ -80559,7 +81036,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *548 examples: default: value: @@ -80584,7 +81061,7 @@ paths: type: string '422': *15 '404': *6 - '503': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80665,7 +81142,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *548 examples: example-1: summary: Example 1 @@ -80713,7 +81190,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': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80741,7 +81218,7 @@ paths: responses: '204': description: Response - '503': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80769,7 +81246,7 @@ paths: parameters: - *366 - *367 - - &744 + - &750 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -80783,7 +81260,7 @@ paths: application/json: schema: type: array - items: &544 + items: &550 title: Porter Author description: Porter Author type: object @@ -80837,7 +81314,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': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80893,7 +81370,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *550 examples: default: value: @@ -80906,7 +81383,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80972,7 +81449,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81028,11 +81505,11 @@ paths: description: Response content: application/json: - schema: *542 + schema: *548 examples: - default: *545 + default: *551 '422': *15 - '503': *543 + '503': *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81064,7 +81541,7 @@ paths: application/json: schema: *20 examples: - default: *546 + default: *552 '301': *380 '404': *6 x-github: @@ -81099,7 +81576,7 @@ paths: properties: {} additionalProperties: false examples: - default: &548 + default: &554 value: limit: collaborators_only origin: repository @@ -81130,7 +81607,7 @@ paths: required: true content: application/json: - schema: *547 + schema: *553 examples: default: summary: Example request body @@ -81144,7 +81621,7 @@ paths: application/json: schema: *275 examples: - default: *548 + default: *554 '409': description: Response x-github: @@ -81201,9 +81678,9 @@ paths: application/json: schema: type: array - items: *549 + items: *555 examples: - default: &737 + default: &743 value: - id: 1 repository: @@ -81365,7 +81842,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *555 examples: default: value: @@ -81603,7 +82080,7 @@ paths: type: array items: *149 examples: - default: &558 + default: &564 value: - id: 1 node_id: MDU6SXNzdWUx @@ -81873,7 +82350,7 @@ paths: application/json: schema: *149 examples: - default: &553 + default: &559 value: id: 1 node_id: MDU6SXNzdWUx @@ -82079,9 +82556,9 @@ paths: application/json: schema: type: array - items: *550 + items: *556 examples: - default: &555 + default: &561 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -82147,9 +82624,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: &551 + default: &557 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -82227,9 +82704,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: *551 + default: *557 '422': *15 x-github: githubCloudOnly: false @@ -82419,7 +82896,7 @@ paths: application/json: schema: type: array - items: &552 + items: &558 title: Issue Event description: Issue Event type: object @@ -82770,7 +83247,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *558 examples: default: value: @@ -82999,7 +83476,7 @@ paths: parameters: - *366 - *367 - - &554 + - &560 name: issue_number description: The number that identifies the issue. in: path @@ -83013,7 +83490,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 '301': *380 '404': *6 '410': *377 @@ -83043,7 +83520,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: false content: @@ -83163,7 +83640,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 '422': *15 '503': *130 '403': *27 @@ -83189,7 +83666,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: false content: @@ -83217,7 +83694,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83235,7 +83712,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: content: application/json: @@ -83262,7 +83739,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83286,7 +83763,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - name: assignee in: path required: true @@ -83328,7 +83805,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *139 - *17 - *19 @@ -83339,9 +83816,9 @@ paths: application/json: schema: type: array - items: *550 + items: *556 examples: - default: *555 + default: *561 headers: Link: *38 '404': *6 @@ -83376,7 +83853,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: true content: @@ -83398,9 +83875,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: *551 + default: *557 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -83429,7 +83906,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *17 - *19 responses: @@ -83443,7 +83920,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &559 + - &565 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -83492,7 +83969,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &566 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -83620,7 +84097,7 @@ paths: - performed_via_github_app - assignee - assigner - - &561 + - &567 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -83666,7 +84143,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &568 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -83712,7 +84189,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &569 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -83761,7 +84238,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &570 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -83803,7 +84280,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &571 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -83845,7 +84322,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &572 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -83901,7 +84378,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &567 + - &573 title: Locked Issue Event description: Locked Issue Event type: object @@ -83946,7 +84423,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &574 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -84007,7 +84484,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &575 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -84068,7 +84545,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &576 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -84129,7 +84606,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &577 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -84241,7 +84718,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *17 - *19 responses: @@ -84251,7 +84728,7 @@ paths: application/json: schema: type: array - items: &556 + items: &562 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -84306,7 +84783,7 @@ paths: - color - default examples: - default: &557 + default: &563 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84345,7 +84822,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: false content: @@ -84404,9 +84881,9 @@ paths: application/json: schema: type: array - items: *556 + items: *562 examples: - default: *557 + default: *563 '301': *380 '404': *6 '410': *377 @@ -84428,7 +84905,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: false content: @@ -84488,9 +84965,9 @@ paths: application/json: schema: type: array - items: *556 + items: *562 examples: - default: *557 + default: *563 '301': *380 '404': *6 '410': *377 @@ -84512,7 +84989,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 responses: '204': description: Response @@ -84539,7 +85016,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - name: name in: path required: true @@ -84552,7 +85029,7 @@ paths: application/json: schema: type: array - items: *556 + items: *562 examples: default: value: @@ -84587,7 +85064,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: false content: @@ -84636,7 +85113,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 responses: '204': description: Response @@ -84660,7 +85137,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - 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. @@ -84712,7 +85189,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: true content: @@ -84777,7 +85254,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *358 responses: '204': @@ -84809,7 +85286,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: true content: @@ -84833,7 +85310,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -84868,7 +85345,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *17 - *19 responses: @@ -84880,7 +85357,7 @@ paths: type: array items: *149 examples: - default: *558 + default: *564 headers: Link: *38 '404': *6 @@ -84914,7 +85391,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: true content: @@ -84943,7 +85420,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -84972,7 +85449,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 requestBody: required: true content: @@ -85005,7 +85482,7 @@ paths: application/json: schema: *149 examples: - default: *553 + default: *559 '403': *27 '404': *6 '422': *7 @@ -85029,7 +85506,7 @@ paths: parameters: - *366 - *367 - - *554 + - *560 - *17 - *19 responses: @@ -85044,12 +85521,6 @@ paths: description: Timeline Event type: object anyOf: - - *559 - - *560 - - *561 - - *562 - - *563 - - *564 - *565 - *566 - *567 @@ -85057,6 +85528,12 @@ paths: - *569 - *570 - *571 + - *572 + - *573 + - *574 + - *575 + - *576 + - *577 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -85380,7 +85857,7 @@ paths: type: string comments: type: array - items: &591 + items: &597 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -85921,7 +86398,7 @@ paths: application/json: schema: type: array - items: &572 + items: &578 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -86025,9 +86502,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *578 examples: - default: &573 + default: &579 value: id: 1 key: ssh-rsa AAA... @@ -86063,7 +86540,7 @@ paths: parameters: - *366 - *367 - - &574 + - &580 name: key_id description: The unique identifier of the key. in: path @@ -86075,9 +86552,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *578 examples: - default: *573 + default: *579 '404': *6 x-github: githubCloudOnly: false @@ -86097,7 +86574,7 @@ paths: parameters: - *366 - *367 - - *574 + - *580 responses: '204': description: Response @@ -86128,9 +86605,9 @@ paths: application/json: schema: type: array - items: *556 + items: *562 examples: - default: *557 + default: *563 headers: Link: *38 '404': *6 @@ -86188,9 +86665,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: &575 + default: &581 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -86234,9 +86711,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: *575 + default: *581 '404': *6 x-github: githubCloudOnly: false @@ -86293,7 +86770,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: default: value: @@ -86691,7 +87168,7 @@ paths: application/json: schema: *484 examples: - default: *576 + default: *582 '204': description: Response when already merged '404': @@ -86857,7 +87334,7 @@ paths: application/json: schema: *488 examples: - default: &577 + default: &583 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -86918,7 +87395,7 @@ paths: parameters: - *366 - *367 - - &578 + - &584 name: milestone_number description: The number that identifies the milestone. in: path @@ -86932,7 +87409,7 @@ paths: application/json: schema: *488 examples: - default: *577 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -86951,7 +87428,7 @@ paths: parameters: - *366 - *367 - - *578 + - *584 requestBody: required: false content: @@ -86991,7 +87468,7 @@ paths: application/json: schema: *488 examples: - default: *577 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87009,7 +87486,7 @@ paths: parameters: - *366 - *367 - - *578 + - *584 responses: '204': description: Response @@ -87032,7 +87509,7 @@ paths: parameters: - *366 - *367 - - *578 + - *584 - *17 - *19 responses: @@ -87042,9 +87519,9 @@ paths: application/json: schema: type: array - items: *556 + items: *562 examples: - default: *557 + default: *563 headers: Link: *38 x-github: @@ -87065,10 +87542,10 @@ paths: parameters: - *366 - *367 - - *579 - - *580 + - *585 + - *586 - *139 - - *581 + - *587 - *17 - *19 responses: @@ -87080,7 +87557,7 @@ paths: type: array items: *161 examples: - default: *582 + default: *588 headers: Link: *38 x-github: @@ -87170,7 +87647,7 @@ paths: description: Response content: application/json: - schema: &583 + schema: &589 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -87314,7 +87791,7 @@ paths: - custom_404 - public examples: - default: &584 + default: &590 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -87411,9 +87888,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *589 examples: - default: *584 + default: *590 '422': *15 '409': *94 x-github: @@ -87583,7 +88060,7 @@ paths: application/json: schema: type: array - items: &585 + items: &591 title: Page Build description: Page Build type: object @@ -87730,9 +88207,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *591 examples: - default: &586 + default: &592 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -87792,9 +88269,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *591 examples: - default: *586 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87925,7 +88402,7 @@ paths: parameters: - *366 - *367 - - &587 + - &593 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -87985,7 +88462,7 @@ paths: parameters: - *366 - *367 - - *587 + - *593 responses: '204': *116 '404': *6 @@ -88697,9 +89174,9 @@ paths: application/json: schema: type: array - items: *588 + items: *594 examples: - default: *589 + default: *595 headers: Link: *38 '304': *35 @@ -88799,7 +89276,7 @@ paths: description: Response content: application/json: - schema: &593 + schema: &599 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -89039,7 +89516,7 @@ paths: - review_comment - self author_association: *136 - auto_merge: *590 + auto_merge: *596 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -89141,7 +89618,7 @@ paths: - merged_by - review_comments examples: - default: &594 + default: &600 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -89698,9 +90175,9 @@ paths: application/json: schema: type: array - items: *591 + items: *597 examples: - default: &596 + default: &602 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -89785,9 +90262,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: &592 + default: &598 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -89886,9 +90363,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: - default: *592 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90091,7 +90568,7 @@ paths: parameters: - *366 - *367 - - &595 + - &601 name: pull_number description: The number that identifies the pull request. in: path @@ -90104,9 +90581,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *593 + schema: *599 examples: - default: *594 + default: *600 '304': *35 '404': *6 '406': @@ -90143,7 +90620,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: false content: @@ -90185,9 +90662,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *599 examples: - default: *594 + default: *600 '422': *15 '403': *27 x-github: @@ -90211,7 +90688,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: true content: @@ -90314,7 +90791,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 - *158 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -90335,9 +90812,9 @@ paths: application/json: schema: type: array - items: *591 + items: *597 examples: - default: *596 + default: *602 headers: Link: *38 x-github: @@ -90372,7 +90849,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: true content: @@ -90478,7 +90955,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: example-for-a-multi-line-comment: value: @@ -90568,7 +91045,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 - *148 requestBody: required: true @@ -90591,7 +91068,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *597 examples: default: value: @@ -90679,7 +91156,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 - *17 - *19 responses: @@ -90691,7 +91168,7 @@ paths: type: array items: *484 examples: - default: *597 + default: *603 headers: Link: *38 x-github: @@ -90723,7 +91200,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 - *17 - *19 responses: @@ -90773,7 +91250,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 responses: '204': description: Response if pull request has been merged @@ -90798,7 +91275,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: false content: @@ -90912,7 +91389,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 responses: '200': description: Response @@ -90989,7 +91466,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: false content: @@ -91026,7 +91503,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *594 examples: default: value: @@ -91564,7 +92041,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: true content: @@ -91598,7 +92075,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *594 examples: default: value: @@ -92105,7 +92582,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 - *17 - *19 responses: @@ -92115,7 +92592,7 @@ paths: application/json: schema: type: array - items: &598 + items: &604 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -92273,7 +92750,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: false content: @@ -92363,9 +92840,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: &600 + default: &606 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92430,8 +92907,8 @@ paths: parameters: - *366 - *367 - - *595 - - &599 + - *601 + - &605 name: review_id description: The unique identifier of the review. in: path @@ -92443,9 +92920,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: &601 + default: &607 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92506,8 +92983,8 @@ paths: parameters: - *366 - *367 - - *595 - - *599 + - *601 + - *605 requestBody: required: true content: @@ -92530,7 +93007,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: default: value: @@ -92594,16 +93071,16 @@ paths: parameters: - *366 - *367 - - *595 - - *599 + - *601 + - *605 responses: '200': description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: *600 + default: *606 '422': *7 '404': *6 x-github: @@ -92632,8 +93109,8 @@ paths: parameters: - *366 - *367 - - *595 - - *599 + - *601 + - *605 - *17 - *19 responses: @@ -92893,8 +93370,8 @@ paths: parameters: - *366 - *367 - - *595 - - *599 + - *601 + - *605 requestBody: required: true content: @@ -92923,7 +93400,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: default: value: @@ -92988,8 +93465,8 @@ paths: parameters: - *366 - *367 - - *595 - - *599 + - *601 + - *605 requestBody: required: true content: @@ -93024,9 +93501,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: *601 + default: *607 '404': *6 '422': *7 '403': *27 @@ -93050,7 +93527,7 @@ paths: parameters: - *366 - *367 - - *595 + - *601 requestBody: required: false content: @@ -93128,9 +93605,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *608 examples: - default: &603 + default: &609 value: type: file encoding: base64 @@ -93193,9 +93670,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *608 examples: - default: *603 + default: *609 '404': *6 '422': *15 x-github: @@ -93228,7 +93705,7 @@ paths: application/json: schema: type: array - items: &604 + items: &610 title: Release description: A release. type: object @@ -93300,7 +93777,7 @@ paths: author: *4 assets: type: array - items: &605 + items: &611 title: Release Asset description: Data related to a release. type: object @@ -93563,9 +94040,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *610 examples: - default: &608 + default: &614 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -93671,7 +94148,7 @@ paths: parameters: - *366 - *367 - - &606 + - &612 name: asset_id description: The unique identifier of the asset. in: path @@ -93683,9 +94160,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *611 examples: - default: &607 + default: &613 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 @@ -93738,7 +94215,7 @@ paths: parameters: - *366 - *367 - - *606 + - *612 requestBody: required: false content: @@ -93767,9 +94244,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *611 examples: - default: *607 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93787,7 +94264,7 @@ paths: parameters: - *366 - *367 - - *606 + - *612 responses: '204': description: Response @@ -93905,9 +94382,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *610 examples: - default: *608 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93938,9 +94415,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *610 examples: - default: *608 + default: *614 '404': *6 x-github: githubCloudOnly: false @@ -93964,7 +94441,7 @@ paths: parameters: - *366 - *367 - - &609 + - &615 name: release_id description: The unique identifier of the release. in: path @@ -93978,9 +94455,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: *604 + schema: *610 examples: - default: *608 + default: *614 '401': description: Unauthorized x-github: @@ -94000,7 +94477,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 requestBody: required: false content: @@ -94064,9 +94541,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *610 examples: - default: *608 + default: *614 '404': description: Not Found if the discussion category name is invalid content: @@ -94089,7 +94566,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 responses: '204': description: Response @@ -94111,7 +94588,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 - *17 - *19 responses: @@ -94121,7 +94598,7 @@ paths: application/json: schema: type: array - items: *605 + items: *611 examples: default: value: @@ -94205,7 +94682,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 - name: name in: query required: true @@ -94231,7 +94708,7 @@ paths: description: Response for successful upload content: application/json: - schema: *605 + schema: *611 examples: response-for-successful-upload: value: @@ -94288,7 +94765,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 - 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. @@ -94337,7 +94814,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 requestBody: required: true content: @@ -94400,7 +94877,7 @@ paths: parameters: - *366 - *367 - - *609 + - *615 - *358 responses: '204': @@ -94443,8 +94920,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *610 - - &612 + - *616 + - &618 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -94463,66 +94940,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *611 - - *612 - - allOf: - - *613 - - *612 - - allOf: - - *614 - - *612 - - allOf: - - *615 - - *612 - - allOf: - - *616 - - *612 - allOf: - *617 - - *612 - - allOf: - *618 - - *612 - allOf: - *619 - - *612 + - *618 - allOf: - *620 - - *612 + - *618 - allOf: - *621 - - *612 + - *618 - allOf: - *622 - - *612 + - *618 - allOf: - *623 - - *612 + - *618 - allOf: - *624 - - *612 + - *618 - allOf: - *625 - - *612 + - *618 - allOf: - *626 - - *612 + - *618 - allOf: - *627 - - *612 + - *618 - allOf: - *628 - - *612 + - *618 - allOf: - *629 - - *612 + - *618 - allOf: - *630 - - *612 + - *618 - allOf: - *631 - - *612 + - *618 + - allOf: + - *632 + - *618 + - allOf: + - *633 + - *618 + - allOf: + - *634 + - *618 + - allOf: + - *635 + - *618 + - allOf: + - *636 + - *618 + - allOf: + - *637 + - *618 examples: default: value: @@ -94573,7 +95050,7 @@ paths: schema: type: boolean default: true - - *632 + - *638 responses: '200': description: Response @@ -94691,7 +95168,7 @@ paths: application/json: schema: *126 examples: - default: &641 + default: &647 value: id: 42 name: super cool ruleset @@ -94740,10 +95217,10 @@ paths: parameters: - *366 - *367 - - *633 + - *639 - *216 - - *634 - - *635 + - *640 + - *641 - *17 - *19 responses: @@ -94751,9 +95228,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *642 examples: - default: *637 + default: *643 '404': *6 '500': *83 x-github: @@ -94776,15 +95253,15 @@ paths: parameters: - *366 - *367 - - *638 + - *644 responses: '200': description: Response content: application/json: - schema: *639 + schema: *645 examples: - default: *640 + default: *646 '404': *6 '500': *83 x-github: @@ -94835,7 +95312,7 @@ paths: application/json: schema: *126 examples: - default: *641 + default: *647 '404': *6 '500': *83 put: @@ -94918,7 +95395,7 @@ paths: application/json: schema: *126 examples: - default: *641 + default: *647 '404': *6 '500': *83 delete: @@ -95081,8 +95558,8 @@ paths: - *86 - *19 - *17 - - *642 - - *643 + - *648 + - *649 - *327 - *328 - *329 @@ -95094,7 +95571,7 @@ paths: application/json: schema: type: array - items: &647 + items: &653 type: object properties: number: *96 @@ -95110,8 +95587,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *644 - resolution: *645 + state: *650 + resolution: *651 resolved_at: type: - string @@ -95205,7 +95682,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *646 + - *652 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -95363,7 +95840,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *653 examples: default: value: @@ -95425,8 +95902,8 @@ paths: schema: type: object properties: - state: *644 - resolution: *645 + state: *650 + resolution: *651 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -95445,7 +95922,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *653 examples: default: value: @@ -95533,7 +96010,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &819 + items: &825 type: object properties: type: @@ -95560,12 +96037,6 @@ paths: - commit details: oneOf: - - *648 - - *649 - - *650 - - *651 - - *652 - - *653 - *654 - *655 - *656 @@ -95573,6 +96044,12 @@ paths: - *658 - *659 - *660 + - *661 + - *662 + - *663 + - *664 + - *665 + - *666 examples: default: value: @@ -95667,14 +96144,14 @@ paths: schema: type: object properties: - reason: &662 + reason: &668 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *661 + placeholder_id: *667 required: - reason - placeholder_id @@ -95691,7 +96168,7 @@ paths: schema: type: object properties: - reason: *662 + reason: *668 expire_at: type: - string @@ -95751,7 +96228,7 @@ paths: properties: incremental_scans: type: array - items: &663 + items: &669 description: Information on a single scan performed by secret scanning on the repository type: object @@ -95779,15 +96256,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *663 + items: *669 backfill_scans: type: array - items: *663 + items: *669 custom_pattern_backfill_scans: type: array items: allOf: - - *663 + - *669 - type: object properties: pattern_name: @@ -95902,9 +96379,9 @@ paths: application/json: schema: type: array - items: *664 + items: *670 examples: - default: *665 + default: *671 '400': *14 '404': *6 x-github: @@ -96098,9 +96575,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *670 examples: - default: &667 + default: &673 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -96447,7 +96924,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *670 examples: default: value: @@ -96596,15 +97073,15 @@ paths: parameters: - *366 - *367 - - *666 + - *672 responses: '200': description: Response content: application/json: - schema: *664 + schema: *670 examples: - default: *667 + default: *673 '403': *27 '404': *6 x-github: @@ -96630,7 +97107,7 @@ paths: parameters: - *366 - *367 - - *666 + - *672 requestBody: required: true content: @@ -96801,10 +97278,10 @@ paths: description: Response content: application/json: - schema: *664 + schema: *670 examples: - default: *667 - add_credit: *667 + default: *673 + add_credit: *673 '403': *27 '404': *6 '422': @@ -96844,7 +97321,7 @@ paths: parameters: - *366 - *367 - - *666 + - *672 responses: '202': *37 '400': *14 @@ -96873,7 +97350,7 @@ paths: parameters: - *366 - *367 - - *666 + - *672 responses: '202': description: Response @@ -97014,7 +97491,7 @@ paths: application/json: schema: type: array - items: &668 + items: &674 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -97387,7 +97864,7 @@ paths: application/json: schema: type: array - items: *668 + items: *674 examples: default: value: @@ -97477,7 +97954,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *675 examples: default: value: @@ -97571,7 +98048,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &670 + schema: &676 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -97671,7 +98148,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *676 examples: default: value: @@ -97811,7 +98288,7 @@ paths: application/json: schema: type: array - items: &671 + items: &677 title: Tag protection description: Tag protection type: object @@ -97892,7 +98369,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *677 examples: default: value: @@ -98040,7 +98517,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &678 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -98052,7 +98529,7 @@ paths: required: - names examples: - default: &673 + default: &679 value: names: - octocat @@ -98107,9 +98584,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *678 examples: - default: *673 + default: *679 '404': *6 '422': *7 x-github: @@ -98132,7 +98609,7 @@ paths: parameters: - *366 - *367 - - &674 + - &680 name: per description: The time frame to display results for. in: query @@ -98163,7 +98640,7 @@ paths: - 128 clones: type: array - items: &675 + items: &681 title: Traffic type: object properties: @@ -98411,7 +98888,7 @@ paths: parameters: - *366 - *367 - - *674 + - *680 responses: '200': description: Response @@ -98432,7 +98909,7 @@ paths: - 3782 views: type: array - items: *675 + items: *681 required: - uniques - count @@ -99104,7 +99581,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &683 + - &689 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -99114,7 +99591,7 @@ paths: type: string examples: - members - - &688 + - &694 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -99126,7 +99603,7 @@ paths: format: int32 examples: - 1 - - &689 + - &695 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -99170,7 +99647,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &677 + items: &683 allOf: - type: object required: @@ -99252,7 +99729,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: &690 + meta: &696 type: object description: The metadata associated with the creation/updates to the user. @@ -99317,31 +99794,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &678 + '400': &684 description: Bad request content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 - '401': &679 + schema: *682 + '401': &685 description: Authorization failure - '403': &680 + '403': &686 description: Permission denied - '429': &681 + '429': &687 description: Too many requests content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 - '500': &682 + schema: *682 + '500': &688 description: Internal server error content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 + schema: *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99365,7 +99842,7 @@ paths: required: true content: application/json: - schema: &686 + schema: &692 type: object required: - schemas @@ -99425,9 +99902,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *677 + schema: *683 examples: - group: &684 + group: &690 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -99446,13 +99923,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': *678 - '401': *679 - '403': *680 - '409': &687 + '400': *684 + '401': *685 + '403': *686 + '409': &693 description: Duplicate record detected - '429': *681 - '500': *682 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99469,7 +99946,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: - - &685 + - &691 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -99478,22 +99955,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *683 + - *689 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *677 + schema: *683 examples: - default: *684 - '400': *678 - '401': *679 - '403': *680 + default: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *681 - '500': *682 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99512,13 +99989,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: - - *685 + - *691 - *39 requestBody: required: true content: application/json: - schema: *686 + schema: *692 examples: group: summary: Group @@ -99544,17 +100021,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *677 + schema: *683 examples: - group: *684 - groupWithMembers: *684 - '400': *678 - '401': *679 - '403': *680 + group: *690 + groupWithMembers: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99578,13 +100055,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: - - *685 + - *691 - *39 requestBody: required: true content: application/json: - schema: &697 + schema: &703 type: object required: - Operations @@ -99644,17 +100121,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *677 + schema: *683 examples: - updateGroup: *684 - addMembers: *684 - '400': *678 - '401': *679 - '403': *680 + updateGroup: *690 + addMembers: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99670,17 +100147,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: - - *685 + - *691 - *39 responses: '204': description: Group was deleted, no content - '400': *678 - '401': *679 - '403': *680 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *681 - '500': *682 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99714,8 +100191,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *688 - - *689 + - *694 + - *695 - *39 responses: '200': @@ -99749,7 +100226,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &692 + items: &698 allOf: - type: object required: @@ -99841,7 +100318,7 @@ paths: address. examples: - true - roles: &691 + roles: &697 type: array description: The roles assigned to the user. items: @@ -99900,7 +100377,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *690 + meta: *696 startIndex: type: integer description: A starting index for the returned page @@ -99939,11 +100416,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *678 - '401': *679 - '403': *680 - '429': *681 - '500': *682 + '400': *684 + '401': *685 + '403': *686 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99967,7 +100444,7 @@ paths: required: true content: application/json: - schema: &695 + schema: &701 type: object required: - schemas @@ -100060,9 +100537,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *691 + roles: *697 examples: - user: &696 + user: &702 summary: User value: schemas: @@ -100109,9 +100586,9 @@ paths: description: User has been created content: application/scim+json: - schema: *692 + schema: *698 examples: - user: &693 + user: &699 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -100137,13 +100614,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: *693 - '400': *678 - '401': *679 - '403': *680 - '409': *687 - '429': *681 - '500': *682 + enterpriseOwner: *699 + '400': *684 + '401': *685 + '403': *686 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100160,7 +100637,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: - - &694 + - &700 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -100173,15 +100650,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *692 + schema: *698 examples: - default: *693 - '400': *678 - '401': *679 - '403': *680 + default: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *681 - '500': *682 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100203,30 +100680,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: - - *694 + - *700 - *39 requestBody: required: true content: application/json: - schema: *695 + schema: *701 examples: - user: *696 + user: *702 responses: '200': description: User was updated content: application/scim+json: - schema: *692 + schema: *698 examples: - user: *693 - '400': *678 - '401': *679 - '403': *680 + user: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100261,13 +100738,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: - - *694 + - *700 - *39 requestBody: required: true content: application/json: - schema: *697 + schema: *703 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -100307,18 +100784,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *692 + schema: *698 examples: - userMultiValuedProperties: *693 - userSingleValuedProperties: *693 - disableUser: *693 - '400': *678 - '401': *679 - '403': *680 + userMultiValuedProperties: *699 + userSingleValuedProperties: *699 + disableUser: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100338,17 +100815,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: - - *694 + - *700 - *39 responses: '204': description: User was deleted, no content - '400': *678 - '401': *679 - '403': *680 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *681 - '500': *682 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100439,7 +100916,7 @@ paths: - 1 Resources: type: array - items: &698 + items: &704 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -100686,22 +101163,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': *35 - '404': &699 + '404': &705 description: Resource not found content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 - '403': &700 + schema: *682 + '403': &706 description: Forbidden content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 - '400': *678 - '429': *681 + schema: *682 + '400': *684 + '429': *687 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -100727,9 +101204,9 @@ paths: description: Response content: application/scim+json: - schema: *698 + schema: *704 examples: - default: &701 + default: &707 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -100752,17 +101229,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': *35 - '404': *699 - '403': *700 - '500': *682 + '404': *705 + '403': *706 + '500': *688 '409': description: Conflict content: application/json: - schema: *676 + schema: *682 application/scim+json: - schema: *676 - '400': *678 + schema: *682 + '400': *684 requestBody: required: true content: @@ -100862,17 +101339,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *165 - - *694 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *704 examples: - default: *701 - '404': *699 - '403': *700 + default: *707 + '404': *705 + '403': *706 '304': *35 x-github: githubCloudOnly: true @@ -100896,18 +101373,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *165 - - *694 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *704 examples: - default: *701 + default: *707 '304': *35 - '404': *699 - '403': *700 + '404': *705 + '403': *706 requestBody: required: true content: @@ -101022,19 +101499,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *165 - - *694 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *704 examples: - default: *701 + default: *707 '304': *35 - '404': *699 - '403': *700 - '400': *678 + '404': *705 + '403': *706 + '400': *684 '429': description: Response content: @@ -101130,12 +101607,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *165 - - *694 + - *700 responses: '204': description: Response - '404': *699 - '403': *700 + '404': *705 + '403': *706 '304': *35 x-github: githubCloudOnly: true @@ -101269,7 +101746,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &702 + text_matches: &708 title: Search Result Text Matches type: array items: @@ -101433,7 +101910,7 @@ paths: enum: - author-date - committer-date - - &703 + - &709 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 @@ -101521,7 +101998,7 @@ paths: url: type: string format: uri - verification: *536 + verification: *542 required: - author - committer @@ -101553,7 +102030,7 @@ paths: type: number node_id: type: string - text_matches: *702 + text_matches: *708 required: - sha - node_id @@ -101736,7 +102213,7 @@ paths: - interactions - created - updated - - *703 + - *709 - *17 - *19 - name: advanced_search @@ -101874,7 +102351,7 @@ paths: - string - 'null' format: date-time - text_matches: *702 + text_matches: *708 pull_request: type: object properties: @@ -102100,7 +102577,7 @@ paths: enum: - created - updated - - *703 + - *709 - *17 - *19 responses: @@ -102145,7 +102622,7 @@ paths: - 'null' score: type: number - text_matches: *702 + text_matches: *708 required: - id - node_id @@ -102231,7 +102708,7 @@ paths: - forks - help-wanted-issues - updated - - *703 + - *709 - *17 - *19 responses: @@ -102468,7 +102945,7 @@ paths: - admin - pull - push - text_matches: *702 + text_matches: *708 temp_clone_token: type: string allow_merge_commit: @@ -102777,7 +103254,7 @@ paths: - string - 'null' format: uri - text_matches: *702 + text_matches: *708 related: type: - array @@ -102972,7 +103449,7 @@ paths: - followers - repositories - joined - - *703 + - *709 - *17 - *19 responses: @@ -103082,7 +103559,7 @@ paths: type: - boolean - 'null' - text_matches: *702 + text_matches: *708 blog: type: - string @@ -103164,7 +103641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &704 + - &710 name: team_id description: The unique identifier of the team. in: path @@ -103205,7 +103682,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *704 + - *710 requestBody: required: true content: @@ -103306,7 +103783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *704 + - *710 responses: '204': description: Response @@ -103337,7 +103814,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *704 + - *710 - *86 - *17 - *19 @@ -103350,7 +103827,7 @@ paths: type: array items: *349 examples: - default: *705 + default: *711 headers: Link: *38 x-github: @@ -103379,7 +103856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *704 + - *710 requestBody: required: true content: @@ -103442,7 +103919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *704 + - *710 - *351 responses: '200': @@ -103476,7 +103953,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *704 + - *710 - *351 requestBody: required: false @@ -103502,7 +103979,7 @@ paths: application/json: schema: *349 examples: - default: *706 + default: *712 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103527,7 +104004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *704 + - *710 - *351 responses: '204': @@ -103557,7 +104034,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *704 + - *710 - *351 - *86 - *17 @@ -103571,7 +104048,7 @@ paths: type: array items: *352 examples: - default: *707 + default: *713 headers: Link: *38 x-github: @@ -103600,7 +104077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *704 + - *710 - *351 requestBody: required: true @@ -103652,7 +104129,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *704 + - *710 - *351 - *354 responses: @@ -103687,7 +104164,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *704 + - *710 - *351 - *354 requestBody: @@ -103713,7 +104190,7 @@ paths: application/json: schema: *352 examples: - default: *708 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103738,7 +104215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *704 + - *710 - *351 - *354 responses: @@ -103769,7 +104246,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: - - *704 + - *710 - *351 - *354 - name: content @@ -103828,7 +104305,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: - - *704 + - *710 - *351 - *354 requestBody: @@ -103890,7 +104367,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: - - *704 + - *710 - *351 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -103948,7 +104425,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: - - *704 + - *710 - *351 requestBody: required: true @@ -104007,7 +104484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *704 + - *710 - *17 - *19 responses: @@ -104045,7 +104522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *704 + - *710 - name: role description: Filters members returned by their role in the team. in: query @@ -104096,7 +104573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *704 + - *710 - *213 responses: '204': @@ -104133,7 +104610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *704 + - *710 - *213 responses: '204': @@ -104173,7 +104650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *704 + - *710 - *213 responses: '204': @@ -104210,7 +104687,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: - - *704 + - *710 - *213 responses: '200': @@ -104219,7 +104696,7 @@ paths: application/json: schema: *363 examples: - response-if-user-is-a-team-maintainer: *709 + response-if-user-is-a-team-maintainer: *715 '404': *6 x-github: githubCloudOnly: false @@ -104252,7 +104729,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: - - *704 + - *710 - *213 requestBody: required: false @@ -104280,7 +104757,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: *710 + response-if-users-membership-with-team-is-now-pending: *716 '403': description: Forbidden if team synchronization is set up '422': @@ -104314,7 +104791,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: - - *704 + - *710 - *213 responses: '204': @@ -104343,7 +104820,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *704 + - *710 - *17 - *19 responses: @@ -104355,7 +104832,7 @@ paths: type: array items: *364 examples: - default: *711 + default: *717 headers: Link: *38 '404': *6 @@ -104381,7 +104858,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: - - *704 + - *710 - *365 responses: '200': @@ -104390,7 +104867,7 @@ paths: application/json: schema: *364 examples: - default: *712 + default: *718 '404': description: Not Found if project is not managed by this team x-github: @@ -104414,7 +104891,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: - - *704 + - *710 - *365 requestBody: required: false @@ -104482,7 +104959,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: - - *704 + - *710 - *365 responses: '204': @@ -104510,7 +104987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *704 + - *710 - *17 - *19 responses: @@ -104552,7 +105029,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: - - *704 + - *710 - *366 - *367 responses: @@ -104560,7 +105037,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *713 + schema: *719 examples: alternative-response-with-extra-repository-information: value: @@ -104711,7 +105188,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: - - *704 + - *710 - *366 - *367 requestBody: @@ -104763,7 +105240,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: - - *704 + - *710 - *366 - *367 responses: @@ -104794,7 +105271,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: - - *704 + - *710 responses: '200': description: Response @@ -104829,7 +105306,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: - - *704 + - *710 requestBody: required: true content: @@ -104921,7 +105398,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *704 + - *710 - *17 - *19 responses: @@ -104933,7 +105410,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: *714 + response-if-child-teams-exist: *720 headers: Link: *38 '404': *6 @@ -104966,7 +105443,7 @@ paths: application/json: schema: oneOf: - - &716 + - &722 title: Private User description: Private User type: object @@ -105216,7 +105693,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *715 + - *721 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -105376,7 +105853,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *722 examples: default: value: @@ -105774,7 +106251,7 @@ paths: type: integer secrets: type: array - items: &717 + items: &723 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -105894,7 +106371,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *723 examples: default: value: @@ -106040,7 +106517,7 @@ paths: type: array items: *191 examples: - default: *718 + default: *724 '401': *23 '403': *27 '404': *6 @@ -106307,7 +106784,7 @@ paths: description: Response content: application/json: - schema: &719 + schema: &725 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -106360,7 +106837,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &720 + default: &726 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -106405,9 +106882,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *725 examples: - default: *720 + default: *726 '404': *6 x-github: githubCloudOnly: false @@ -106446,7 +106923,7 @@ paths: type: array items: *476 examples: - default: *721 + default: *727 '304': *35 '500': *83 '401': *23 @@ -107412,7 +107889,7 @@ paths: type: array items: *297 examples: - default: &734 + default: &740 value: - id: 197 name: hello_docker @@ -107513,7 +107990,7 @@ paths: application/json: schema: type: array - items: &722 + items: &728 title: Email description: Email type: object @@ -107583,9 +108060,9 @@ paths: application/json: schema: type: array - items: *722 + items: *728 examples: - default: &736 + default: &742 value: - email: octocat@github.com verified: true @@ -107662,7 +108139,7 @@ paths: application/json: schema: type: array - items: *722 + items: *728 examples: default: value: @@ -107920,7 +108397,7 @@ paths: application/json: schema: type: array - items: &723 + items: &729 title: GPG Key description: A unique encryption key type: object @@ -108065,7 +108542,7 @@ paths: - subkeys - revoked examples: - default: &750 + default: &756 value: - id: 3 name: Octocat's GPG Key @@ -108150,9 +108627,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *729 examples: - default: &724 + default: &730 value: id: 3 name: Octocat's GPG Key @@ -108209,7 +108686,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: - - &725 + - &731 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -108221,9 +108698,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *729 examples: - default: *724 + default: *730 '404': *6 '304': *35 '403': *27 @@ -108246,7 +108723,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: - - *725 + - *731 responses: '204': description: Response @@ -108437,7 +108914,7 @@ paths: type: array items: *62 examples: - default: *726 + default: *732 headers: Link: *38 '404': *6 @@ -108551,7 +109028,7 @@ paths: required: true content: application/json: - schema: *547 + schema: *553 examples: default: value: @@ -108701,7 +109178,7 @@ paths: application/json: schema: type: array - items: &727 + items: &733 title: Key description: Key type: object @@ -108799,9 +109276,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *733 examples: - default: &728 + default: &734 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108834,15 +109311,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: - - *574 + - *580 responses: '200': description: Response content: application/json: - schema: *727 + schema: *733 examples: - default: *728 + default: *734 '404': *6 '304': *35 '403': *27 @@ -108865,7 +109342,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: - - *574 + - *580 responses: '204': description: Response @@ -108898,7 +109375,7 @@ paths: application/json: schema: type: array - items: &729 + items: &735 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -108977,7 +109454,7 @@ paths: - account - plan examples: - default: &730 + default: &736 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -109039,9 +109516,9 @@ paths: application/json: schema: type: array - items: *729 + items: *735 examples: - default: *730 + default: *736 headers: Link: *38 '304': *35 @@ -110045,7 +110522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *292 - - *731 + - *737 responses: '204': description: Response @@ -110118,7 +110595,7 @@ paths: type: array items: *57 examples: - default: *732 + default: *738 headers: Link: *38 '304': *35 @@ -110160,7 +110637,7 @@ paths: - docker - nuget - container - - *733 + - *739 - *19 - *17 responses: @@ -110172,8 +110649,8 @@ paths: type: array items: *297 examples: - default: *734 - '400': *735 + default: *740 + '400': *741 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110202,7 +110679,7 @@ paths: application/json: schema: *297 examples: - default: &751 + default: &757 value: id: 40201 name: octo-name @@ -110657,9 +111134,9 @@ paths: application/json: schema: type: array - items: *722 + items: *728 examples: - default: *736 + default: *742 headers: Link: *38 '304': *35 @@ -110772,7 +111249,7 @@ paths: type: array items: *62 examples: - default: &743 + default: &749 summary: Default response value: - id: 1296269 @@ -111130,9 +111607,9 @@ paths: application/json: schema: type: array - items: *549 + items: *555 examples: - default: *737 + default: *743 headers: Link: *38 '304': *35 @@ -111211,7 +111688,7 @@ paths: application/json: schema: type: array - items: &738 + items: &744 title: Social account description: Social media account type: object @@ -111228,7 +111705,7 @@ paths: - provider - url examples: - default: &739 + default: &745 value: - provider: twitter url: https://twitter.com/github @@ -111291,9 +111768,9 @@ paths: application/json: schema: type: array - items: *738 + items: *744 examples: - default: *739 + default: *745 '422': *15 '304': *35 '404': *6 @@ -111381,7 +111858,7 @@ paths: application/json: schema: type: array - items: &740 + items: &746 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -111401,7 +111878,7 @@ paths: - title - created_at examples: - default: &752 + default: &758 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111468,9 +111945,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *746 examples: - default: &741 + default: &747 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111501,7 +111978,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: - - &742 + - &748 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -111513,9 +111990,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *746 examples: - default: *741 + default: *747 '404': *6 '304': *35 '403': *27 @@ -111538,7 +112015,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: - - *742 + - *748 responses: '204': description: Response @@ -111567,7 +112044,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: - - &753 + - &759 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 @@ -111592,11 +112069,11 @@ paths: type: array items: *62 examples: - default-response: *743 + default-response: *749 application/vnd.github.v3.star+json: schema: type: array - items: &754 + items: &760 title: Starred Repository description: Starred Repository type: object @@ -111965,10 +112442,10 @@ paths: application/json: schema: oneOf: - - *716 - - *715 + - *722 + - *721 examples: - default-response: &745 + default-response: &751 summary: Default response value: login: octocat @@ -112003,7 +112480,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &746 + response-with-git-hub-plan-information: &752 summary: Response with GitHub plan information value: login: octocat @@ -112063,7 +112540,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *744 + - *750 - *17 responses: '200': @@ -112112,11 +112589,11 @@ paths: application/json: schema: oneOf: - - *716 - - *715 + - *722 + - *721 examples: - default-response: *745 - response-with-git-hub-plan-information: *746 + default-response: *751 + response-with-git-hub-plan-information: *752 '404': *6 x-github: githubCloudOnly: false @@ -112165,8 +112642,8 @@ paths: required: - subject_digests examples: - default: *747 - withPredicateType: *748 + default: *753 + withPredicateType: *754 responses: '200': description: Response @@ -112220,7 +112697,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *749 + default: *755 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112463,7 +112940,7 @@ paths: type: array items: *297 examples: - default: *734 + default: *740 '403': *27 '401': *23 x-github: @@ -112867,9 +113344,9 @@ paths: application/json: schema: type: array - items: *723 + items: *729 examples: - default: *750 + default: *756 headers: Link: *38 x-github: @@ -112973,7 +113450,7 @@ paths: application/json: schema: *20 examples: - default: *546 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113054,7 +113531,7 @@ paths: type: array items: *57 examples: - default: *732 + default: *738 headers: Link: *38 x-github: @@ -113093,7 +113570,7 @@ paths: - docker - nuget - container - - *733 + - *739 - *213 - *19 - *17 @@ -113106,10 +113583,10 @@ paths: type: array items: *297 examples: - default: *734 + default: *740 '403': *27 '401': *23 - '400': *735 + '400': *741 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113139,7 +113616,7 @@ paths: application/json: schema: *297 examples: - default: *751 + default: *757 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113923,9 +114400,9 @@ paths: application/json: schema: type: array - items: *738 + items: *744 examples: - default: *739 + default: *745 headers: Link: *38 x-github: @@ -113955,9 +114432,9 @@ paths: application/json: schema: type: array - items: *740 + items: *746 examples: - default: *752 + default: *758 headers: Link: *38 x-github: @@ -113982,7 +114459,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *213 - - *753 + - *759 - *86 - *17 - *19 @@ -113994,11 +114471,11 @@ paths: schema: anyOf: - type: array - items: *754 + items: *760 - type: array items: *62 examples: - default-response: *743 + default-response: *749 headers: Link: *38 x-github: @@ -114158,7 +114635,7 @@ webhooks: type: string enum: - disabled - enterprise: &755 + enterprise: &761 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -114227,7 +114704,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &756 + installation: &762 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -114248,7 +114725,7 @@ webhooks: required: - id - node_id - organization: &757 + organization: &763 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -114321,7 +114798,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &758 + repository: &764 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -115234,10 +115711,10 @@ webhooks: type: string enum: - enabled - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -115313,11 +115790,11 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: &759 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + rule: &765 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) @@ -115540,11 +116017,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: *759 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + rule: *765 sender: *4 required: - action @@ -115732,11 +116209,11 @@ webhooks: - everyone required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - rule: *759 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + rule: *765 sender: *4 required: - action @@ -115807,7 +116284,7 @@ webhooks: required: true content: application/json: - schema: &762 + schema: &768 title: Exemption request cancellation event type: object properties: @@ -115815,11 +116292,11 @@ webhooks: type: string enum: - cancelled - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - exemption_request: &760 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + exemption_request: &766 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -116057,7 +116534,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &761 + items: &767 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -116167,7 +116644,7 @@ webhooks: required: true content: application/json: - schema: &763 + schema: &769 title: Exemption request completed event type: object properties: @@ -116175,11 +116652,11 @@ webhooks: type: string enum: - completed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - exemption_request: *760 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + exemption_request: *766 sender: *4 required: - action @@ -116249,7 +116726,7 @@ webhooks: required: true content: application/json: - schema: &764 + schema: &770 title: Exemption request created event type: object properties: @@ -116257,11 +116734,11 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - exemption_request: *760 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + exemption_request: *766 sender: *4 required: - action @@ -116331,7 +116808,7 @@ webhooks: required: true content: application/json: - schema: &765 + schema: &771 title: Exemption response dismissed event type: object properties: @@ -116339,12 +116816,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - exemption_request: *760 - exemption_response: *761 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + exemption_request: *766 + exemption_response: *767 sender: *4 required: - action @@ -116416,7 +116893,7 @@ webhooks: required: true content: application/json: - schema: &766 + schema: &772 title: Exemption response submitted event type: object properties: @@ -116424,12 +116901,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - exemption_request: *760 - exemption_response: *761 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + exemption_request: *766 + exemption_response: *767 sender: *4 required: - action @@ -116502,7 +116979,7 @@ webhooks: required: true content: application/json: - schema: *762 + schema: *768 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116569,7 +117046,7 @@ webhooks: required: true content: application/json: - schema: *763 + schema: *769 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116636,7 +117113,7 @@ webhooks: required: true content: application/json: - schema: *764 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116703,7 +117180,7 @@ webhooks: required: true content: application/json: - schema: *765 + schema: *771 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116771,7 +117248,7 @@ webhooks: required: true content: application/json: - schema: *766 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116849,7 +117326,7 @@ webhooks: type: string enum: - completed - check_run: &768 + check_run: &774 title: CheckRun description: A check performed on the code of a given code change type: object @@ -116959,7 +117436,7 @@ webhooks: - examples: - neutral - deployment: *767 + deployment: *773 details_url: type: string examples: @@ -117057,9 +117534,9 @@ webhooks: - output - app - pull_requests - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - check_run @@ -117452,10 +117929,10 @@ webhooks: type: string enum: - created - check_run: *768 - installation: *756 - organization: *757 - repository: *758 + check_run: *774 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - check_run @@ -117851,10 +118328,10 @@ webhooks: type: string enum: - requested_action - check_run: *768 - installation: *756 - organization: *757 - repository: *758 + check_run: *774 + installation: *762 + organization: *763 + repository: *764 requested_action: description: The action requested by the user. type: object @@ -118259,10 +118736,10 @@ webhooks: type: string enum: - rerequested - check_run: *768 - installation: *756 - organization: *757 - repository: *758 + check_run: *774 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - check_run @@ -119254,10 +119731,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -119942,10 +120419,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -120624,10 +121101,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -120945,20 +121422,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &769 + commit_oid: &775 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: *755 - installation: *756 - organization: *757 - ref: &770 + enterprise: *761 + installation: *762 + organization: *763 + ref: &776 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: *758 + repository: *764 sender: *4 required: - action @@ -121363,12 +121840,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *755 - installation: *756 - organization: *757 - ref: *770 - repository: *758 + commit_oid: *775 + enterprise: *761 + installation: *762 + organization: *763 + ref: *776 + repository: *764 sender: *4 required: - action @@ -121648,12 +122125,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *755 - installation: *756 - organization: *757 - ref: *770 - repository: *758 + commit_oid: *775 + enterprise: *761 + installation: *762 + organization: *763 + ref: *776 + repository: *764 sender: *4 required: - action @@ -121996,12 +122473,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *755 - installation: *756 - organization: *757 - ref: *770 - repository: *758 + commit_oid: *775 + enterprise: *761 + installation: *762 + organization: *763 + ref: *776 + repository: *764 sender: *4 required: - action @@ -122281,9 +122758,9 @@ webhooks: type: - string - 'null' - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -122291,7 +122768,7 @@ webhooks: type: - string - 'null' - repository: *758 + repository: *764 sender: *4 required: - action @@ -122534,12 +123011,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *755 - installation: *756 - organization: *757 - ref: *770 - repository: *758 + commit_oid: *775 + enterprise: *761 + installation: *762 + organization: *763 + ref: *776 + repository: *764 sender: *4 required: - action @@ -122801,10 +123278,10 @@ webhooks: - updated_at - author_association - body - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -122885,18 +123362,18 @@ webhooks: type: - string - 'null' - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *757 - pusher_type: &771 + organization: *763 + pusher_type: &777 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &772 + ref: &778 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -122906,7 +123383,7 @@ webhooks: enum: - tag - branch - repository: *758 + repository: *764 sender: *4 required: - ref @@ -122989,9 +123466,9 @@ webhooks: enum: - created definition: *112 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 sender: *4 required: - action @@ -123076,9 +123553,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 sender: *4 required: - action @@ -123156,9 +123633,9 @@ webhooks: enum: - promote_to_enterprise definition: *112 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 sender: *4 required: - action @@ -123236,9 +123713,9 @@ webhooks: enum: - updated definition: *112 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 sender: *4 required: - action @@ -123315,10 +123792,10 @@ webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - repository: *758 - organization: *757 + enterprise: *761 + installation: *762 + repository: *764 + organization: *763 sender: *4 new_property_values: type: array @@ -123403,18 +123880,18 @@ webhooks: title: delete event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - pusher_type: *771 - ref: *772 + enterprise: *761 + installation: *762 + organization: *763 + pusher_type: *777 + ref: *778 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *758 + repository: *764 sender: *4 required: - ref @@ -123499,10 +123976,10 @@ webhooks: enum: - auto_dismissed alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -123587,10 +124064,10 @@ webhooks: enum: - auto_reopened alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -123675,10 +124152,10 @@ webhooks: enum: - created alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -123761,10 +124238,10 @@ webhooks: enum: - dismissed alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -123847,10 +124324,10 @@ webhooks: enum: - fixed alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -123934,10 +124411,10 @@ webhooks: enum: - reintroduced alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -124020,10 +124497,10 @@ webhooks: enum: - reopened alert: *502 - installation: *756 - organization: *757 - enterprise: *755 - repository: *758 + installation: *762 + organization: *763 + enterprise: *761 + repository: *764 sender: *4 required: - action @@ -124100,9 +124577,9 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - key: &773 + enterprise: *761 + installation: *762 + key: &779 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -124140,8 +124617,8 @@ webhooks: - verified - created_at - read_only - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -124218,11 +124695,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - key: *773 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + key: *779 + organization: *763 + repository: *764 sender: *4 required: - action @@ -124794,12 +125271,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - workflow: &777 + workflow: &783 title: Workflow type: - object @@ -125540,10 +126017,10 @@ webhooks: deployment: *508 pull_requests: type: array - items: *593 - repository: *758 - organization: *757 - installation: *756 + items: *599 + repository: *764 + organization: *763 + installation: *762 sender: *4 responses: '200': @@ -125614,7 +126091,7 @@ webhooks: type: string enum: - approved - approver: &774 + approver: &780 type: object properties: avatar_url: @@ -125657,11 +126134,11 @@ webhooks: type: string comment: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - reviewers: &775 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + reviewers: &781 type: array items: type: object @@ -125742,7 +126219,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &776 + workflow_job_run: &782 type: object properties: conclusion: @@ -126488,18 +126965,18 @@ webhooks: type: string enum: - rejected - approver: *774 + approver: *780 comment: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - reviewers: *775 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + reviewers: *781 sender: *4 since: type: string - workflow_job_run: *776 + workflow_job_run: *782 workflow_job_runs: type: array items: @@ -127216,13 +127693,13 @@ webhooks: type: string enum: - requested - enterprise: *755 + enterprise: *761 environment: type: string - installation: *756 - organization: *757 - repository: *758 - requestor: &782 + installation: *762 + organization: *763 + repository: *764 + requestor: &788 title: User type: - object @@ -129165,12 +129642,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - workflow: *777 + workflow: *783 workflow_run: title: Deployment Workflow Run type: @@ -129861,7 +130338,7 @@ webhooks: type: string enum: - answered - answer: &780 + answer: &786 type: object properties: author_association: @@ -130021,7 +130498,7 @@ webhooks: - created_at - updated_at - body - discussion: &778 + discussion: &784 title: Discussion description: A Discussion in a repository. type: object @@ -130317,7 +130794,7 @@ webhooks: - id labels: type: array - items: *556 + items: *562 required: - repository_url - category @@ -130339,10 +130816,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -130469,11 +130946,11 @@ webhooks: - from required: - category - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -130556,11 +131033,11 @@ webhooks: type: string enum: - closed - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -130642,7 +131119,7 @@ webhooks: type: string enum: - created - comment: &779 + comment: &785 type: object properties: author_association: @@ -130802,11 +131279,11 @@ webhooks: - updated_at - body - reactions - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -130889,12 +131366,12 @@ webhooks: type: string enum: - deleted - comment: *779 - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + comment: *785 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -130989,12 +131466,12 @@ webhooks: - from required: - body - comment: *779 - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + comment: *785 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131078,11 +131555,11 @@ webhooks: type: string enum: - created - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131164,11 +131641,11 @@ webhooks: type: string enum: - deleted - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131268,11 +131745,11 @@ webhooks: type: string required: - from - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131354,10 +131831,10 @@ webhooks: type: string enum: - labeled - discussion: *778 - enterprise: *755 - installation: *756 - label: &781 + discussion: *784 + enterprise: *761 + installation: *762 + label: &787 title: Label type: object properties: @@ -131390,8 +131867,8 @@ webhooks: - color - default - description - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131474,11 +131951,11 @@ webhooks: type: string enum: - locked - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131560,11 +132037,11 @@ webhooks: type: string enum: - pinned - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131646,11 +132123,11 @@ webhooks: type: string enum: - reopened - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131735,16 +132212,16 @@ webhooks: changes: type: object properties: - new_discussion: *778 - new_repository: *758 + new_discussion: *784 + new_repository: *764 required: - new_discussion - new_repository - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131827,10 +132304,10 @@ webhooks: type: string enum: - unanswered - discussion: *778 - old_answer: *780 - organization: *757 - repository: *758 + discussion: *784 + old_answer: *786 + organization: *763 + repository: *764 sender: *4 required: - action @@ -131912,12 +132389,12 @@ webhooks: type: string enum: - unlabeled - discussion: *778 - enterprise: *755 - installation: *756 - label: *781 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -132000,11 +132477,11 @@ webhooks: type: string enum: - unlocked - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -132086,11 +132563,11 @@ webhooks: type: string enum: - unpinned - discussion: *778 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + discussion: *784 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -132159,7 +132636,7 @@ webhooks: required: true content: application/json: - schema: *764 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132222,7 +132699,7 @@ webhooks: required: true content: application/json: - schema: *766 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132288,7 +132765,7 @@ webhooks: required: true content: application/json: - schema: *762 + schema: *768 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132354,7 +132831,7 @@ webhooks: required: true content: application/json: - schema: *763 + schema: *769 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132420,7 +132897,7 @@ webhooks: required: true content: application/json: - schema: *764 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132486,7 +132963,7 @@ webhooks: required: true content: application/json: - schema: *765 + schema: *771 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132552,7 +133029,7 @@ webhooks: required: true content: application/json: - schema: *766 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132619,7 +133096,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *755 + enterprise: *761 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -133297,9 +133774,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - forkee @@ -133445,9 +133922,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pages: description: The pages that were updated. type: array @@ -133485,7 +133962,7 @@ webhooks: - action - sha - html_url - repository: *758 + repository: *764 sender: *4 required: - pages @@ -133561,10 +134038,10 @@ webhooks: type: string enum: - created - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories: &783 + organization: *763 + repositories: &789 description: An array of repository objects that the installation can access. type: array @@ -133590,8 +134067,8 @@ webhooks: - name - full_name - private - repository: *758 - requester: *782 + repository: *764 + requester: *788 sender: *4 required: - action @@ -133666,11 +134143,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories: *783 - repository: *758 + organization: *763 + repositories: *789 + repository: *764 requester: type: - 'null' @@ -133747,11 +134224,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories: *783 - repository: *758 + organization: *763 + repositories: *789 + repository: *764 requester: type: - 'null' @@ -133828,10 +134305,10 @@ webhooks: type: string enum: - added - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories_added: &784 + organization: *763 + repositories_added: &790 description: An array of repository objects, which were added to the installation. type: array @@ -133877,15 +134354,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *758 - repository_selection: &785 + repository: *764 + repository_selection: &791 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *782 + requester: *788 sender: *4 required: - action @@ -133964,10 +134441,10 @@ webhooks: type: string enum: - removed - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories_added: *784 + organization: *763 + repositories_added: *790 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -133994,9 +134471,9 @@ webhooks: - name - full_name - private - repository: *758 - repository_selection: *785 - requester: *782 + repository: *764 + repository_selection: *791 + requester: *788 sender: *4 required: - action @@ -134075,11 +134552,11 @@ webhooks: type: string enum: - suspend - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories: *783 - repository: *758 + organization: *763 + repositories: *789 + repository: *764 requester: type: - 'null' @@ -134262,10 +134739,10 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 target_type: type: string @@ -134344,11 +134821,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *755 + enterprise: *761 installation: *20 - organization: *757 - repositories: *783 - repository: *758 + organization: *763 + repositories: *789 + repository: *764 requester: type: - 'null' @@ -134596,8 +135073,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135788,8 +136265,8 @@ webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -135869,7 +136346,7 @@ webhooks: type: string enum: - deleted - comment: &786 + comment: &792 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -136036,8 +136513,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -137226,8 +137703,8 @@ webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -137307,7 +137784,7 @@ webhooks: type: string enum: - edited - changes: &811 + changes: &817 description: The changes to the comment. type: object properties: @@ -137319,9 +137796,9 @@ webhooks: type: string required: - from - comment: *786 - enterprise: *755 - installation: *756 + comment: *792 + enterprise: *761 + installation: *762 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -138511,8 +138988,8 @@ webhooks: - state - locked - assignee - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -138594,10 +139071,10 @@ webhooks: type: string enum: - assigned - assignee: *782 - enterprise: *755 - installation: *756 - issue: &789 + assignee: *788 + enterprise: *761 + installation: *762 + issue: &795 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139542,8 +140019,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -139623,8 +140100,8 @@ webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -140717,8 +141194,8 @@ webhooks: required: - state - closed_at - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -140797,8 +141274,8 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141738,8 +142215,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -141818,8 +142295,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142761,7 +143238,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &787 + milestone: &793 title: Milestone description: A collection of related issues and pull requests. type: object @@ -142904,8 +143381,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -143004,8 +143481,8 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143950,9 +144427,9 @@ webhooks: - active_lock_reason - body - reactions - label: *781 - organization: *757 - repository: *758 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -144032,8 +144509,8 @@ webhooks: type: string enum: - labeled - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144977,9 +145454,9 @@ webhooks: - active_lock_reason - body - reactions - label: *781 - organization: *757 - repository: *758 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -145059,8 +145536,8 @@ webhooks: type: string enum: - locked - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146006,8 +146483,8 @@ webhooks: format: uri user_view_type: type: string - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -146086,8 +146563,8 @@ webhooks: type: string enum: - milestoned - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147027,9 +147504,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *787 - organization: *757 - repository: *758 + milestone: *793 + organization: *763 + repository: *764 sender: *4 required: - action @@ -148511,8 +148988,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149456,8 +149933,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -149537,9 +150014,9 @@ webhooks: type: string enum: - pinned - enterprise: *755 - installation: *756 - issue: &788 + enterprise: *761 + installation: *762 + issue: &794 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150477,8 +150954,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -150557,8 +151034,8 @@ webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151503,8 +151980,8 @@ webhooks: user_view_type: type: string type: *280 - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -153005,11 +153482,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *755 - installation: *756 - issue: *788 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + issue: *794 + organization: *763 + repository: *764 sender: *4 required: - action @@ -153089,12 +153566,12 @@ webhooks: type: string enum: - typed - enterprise: *755 - installation: *756 - issue: *789 + enterprise: *761 + installation: *762 + issue: *795 type: *280 - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -153175,7 +153652,7 @@ webhooks: type: string enum: - unassigned - assignee: &814 + assignee: &820 title: User type: - object @@ -153247,11 +153724,11 @@ webhooks: required: - login - id - enterprise: *755 - installation: *756 - issue: *789 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + issue: *795 + organization: *763 + repository: *764 sender: *4 required: - action @@ -153330,12 +153807,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *755 - installation: *756 - issue: *789 - label: *781 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + issue: *795 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -153415,8 +153892,8 @@ webhooks: type: string enum: - unlocked - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154360,8 +154837,8 @@ webhooks: format: uri user_view_type: type: string - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154441,11 +154918,11 @@ webhooks: type: string enum: - unpinned - enterprise: *755 - installation: *756 - issue: *788 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + issue: *794 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154524,12 +155001,12 @@ webhooks: type: string enum: - untyped - enterprise: *755 - installation: *756 - issue: *789 + enterprise: *761 + installation: *762 + issue: *795 type: *280 - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154609,11 +155086,11 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - label: *781 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154691,11 +155168,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - label: *781 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154805,11 +155282,11 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - label: *781 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + label: *787 + organization: *763 + repository: *764 sender: *4 required: - action @@ -154891,9 +155368,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: &790 + enterprise: *761 + installation: *762 + marketplace_purchase: &796 title: Marketplace Purchase type: object required: @@ -154981,8 +155458,8 @@ webhooks: type: integer unit_count: type: integer - organization: *757 - previous_marketplace_purchase: &791 + organization: *763 + previous_marketplace_purchase: &797 title: Marketplace Purchase type: object properties: @@ -155066,7 +155543,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *764 sender: *4 required: - action @@ -155146,10 +155623,10 @@ webhooks: - changed effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *790 - organization: *757 + enterprise: *761 + installation: *762 + marketplace_purchase: *796 + organization: *763 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -155237,7 +155714,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *764 sender: *4 required: - action @@ -155319,10 +155796,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *790 - organization: *757 + enterprise: *761 + installation: *762 + marketplace_purchase: *796 + organization: *763 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -155408,7 +155885,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *758 + repository: *764 sender: *4 required: - action @@ -155489,8 +155966,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 marketplace_purchase: title: Marketplace Purchase type: object @@ -155576,9 +156053,9 @@ webhooks: type: integer unit_count: type: integer - organization: *757 - previous_marketplace_purchase: *791 - repository: *758 + organization: *763 + previous_marketplace_purchase: *797 + repository: *764 sender: *4 required: - action @@ -155658,12 +156135,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *755 - installation: *756 - marketplace_purchase: *790 - organization: *757 - previous_marketplace_purchase: *791 - repository: *758 + enterprise: *761 + installation: *762 + marketplace_purchase: *796 + organization: *763 + previous_marketplace_purchase: *797 + repository: *764 sender: *4 required: - action @@ -155765,11 +156242,11 @@ webhooks: type: string required: - to - enterprise: *755 - installation: *756 - member: *782 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + member: *788 + organization: *763 + repository: *764 sender: *4 required: - action @@ -155871,11 +156348,11 @@ webhooks: type: - string - 'null' - enterprise: *755 - installation: *756 - member: *782 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + member: *788 + organization: *763 + repository: *764 sender: *4 required: - action @@ -155954,11 +156431,11 @@ webhooks: type: string enum: - removed - enterprise: *755 - installation: *756 - member: *782 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + member: *788 + organization: *763 + repository: *764 sender: *4 required: - action @@ -156036,11 +156513,11 @@ webhooks: type: string enum: - added - enterprise: *755 - installation: *756 - member: *782 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + member: *788 + organization: *763 + repository: *764 scope: description: The scope of the membership. Currently, can only be `team`. @@ -156118,7 +156595,7 @@ webhooks: required: - login - id - team: &792 + team: &798 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -156311,11 +156788,11 @@ webhooks: type: string enum: - removed - enterprise: *755 - installation: *756 - member: *782 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + member: *788 + organization: *763 + repository: *764 scope: description: The scope of the membership. Currently, can only be `team`. @@ -156394,7 +156871,7 @@ webhooks: required: - login - id - team: *792 + team: *798 required: - action - scope @@ -156476,8 +156953,8 @@ webhooks: type: string enum: - checks_requested - installation: *756 - merge_group: &793 + installation: *762 + merge_group: &799 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -156503,8 +156980,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -156590,10 +157067,10 @@ webhooks: - merged - invalidated - dequeued - installation: *756 - merge_group: *793 - organization: *757 - repository: *758 + installation: *762 + merge_group: *799 + organization: *763 + repository: *764 sender: *4 required: - action @@ -156666,7 +157143,7 @@ webhooks: type: string enum: - deleted - enterprise: *755 + enterprise: *761 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -156775,12 +157252,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *756 - organization: *757 + installation: *762 + organization: *763 repository: anyOf: - type: 'null' - - *758 + - *764 sender: *4 required: - action @@ -156860,11 +157337,11 @@ webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - milestone: *787 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + milestone: *793 + organization: *763 + repository: *764 sender: *4 required: - action @@ -156943,9 +157420,9 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - milestone: &794 + enterprise: *761 + installation: *762 + milestone: &800 title: Milestone description: A collection of related issues and pull requests. type: object @@ -157087,8 +157564,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157167,11 +157644,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - milestone: *787 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + milestone: *793 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157281,11 +157758,11 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - milestone: *787 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + milestone: *793 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157365,11 +157842,11 @@ webhooks: type: string enum: - opened - enterprise: *755 - installation: *756 - milestone: *794 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + milestone: *800 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157448,11 +157925,11 @@ webhooks: type: string enum: - blocked - blocked_user: *782 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + blocked_user: *788 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157531,11 +158008,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *782 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + blocked_user: *788 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157614,9 +158091,9 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - membership: &795 + enterprise: *761 + installation: *762 + membership: &801 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -157710,8 +158187,8 @@ webhooks: - role - organization_url - user - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157789,11 +158266,11 @@ webhooks: type: string enum: - member_added - enterprise: *755 - installation: *756 - membership: *795 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + membership: *801 + organization: *763 + repository: *764 sender: *4 required: - action @@ -157872,8 +158349,8 @@ webhooks: type: string enum: - member_invited - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -157995,10 +158472,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 - user: *782 + user: *788 required: - action - invitation @@ -158076,11 +158553,11 @@ webhooks: type: string enum: - member_removed - enterprise: *755 - installation: *756 - membership: *795 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + membership: *801 + organization: *763 + repository: *764 sender: *4 required: - action @@ -158167,11 +158644,11 @@ webhooks: properties: from: type: string - enterprise: *755 - installation: *756 - membership: *795 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + membership: *801 + organization: *763 + repository: *764 sender: *4 required: - action @@ -158247,9 +158724,9 @@ webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 package: description: Information about the package. type: object @@ -158772,7 +159249,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &796 + items: &802 title: Ruby Gems metadata type: object properties: @@ -158869,7 +159346,7 @@ webhooks: - owner - package_version - registry - repository: *758 + repository: *764 sender: *4 required: - action @@ -158945,9 +159422,9 @@ webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 package: description: Information about the package. type: object @@ -159309,7 +159786,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *802 source_url: type: string format: uri @@ -159380,7 +159857,7 @@ webhooks: - owner - package_version - registry - repository: *758 + repository: *764 sender: *4 required: - action @@ -159561,12 +160038,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *755 + enterprise: *761 id: type: integer - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - id @@ -159643,7 +160120,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &797 + personal_access_token_request: &803 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -159793,10 +160270,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *755 - organization: *757 + enterprise: *761 + organization: *763 sender: *4 - installation: *756 + installation: *762 required: - action - personal_access_token_request @@ -159873,11 +160350,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *797 - enterprise: *755 - organization: *757 + personal_access_token_request: *803 + enterprise: *761 + organization: *763 sender: *4 - installation: *756 + installation: *762 required: - action - personal_access_token_request @@ -159953,11 +160430,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *797 - enterprise: *755 - organization: *757 + personal_access_token_request: *803 + enterprise: *761 + organization: *763 sender: *4 - installation: *756 + installation: *762 required: - action - personal_access_token_request @@ -160032,11 +160509,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *797 - organization: *757 - enterprise: *755 + personal_access_token_request: *803 + organization: *763 + enterprise: *761 sender: *4 - installation: *756 + installation: *762 required: - action - personal_access_token_request @@ -160141,7 +160618,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *798 + last_response: *804 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -160173,8 +160650,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 zen: description: Random string of GitHub zen. @@ -160419,10 +160896,10 @@ webhooks: - from required: - note - enterprise: *755 - installation: *756 - organization: *757 - project_card: &799 + enterprise: *761 + installation: *762 + organization: *763 + project_card: &805 title: Project Card type: object properties: @@ -160545,7 +161022,7 @@ webhooks: - creator - created_at - updated_at - repository: *758 + repository: *764 sender: *4 required: - action @@ -160626,11 +161103,11 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project_card: *799 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project_card: *805 + repository: *764 sender: *4 required: - action @@ -160710,9 +161187,9 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 project_card: title: Project Card type: object @@ -160842,7 +161319,7 @@ webhooks: repository: anyOf: - type: 'null' - - *758 + - *764 sender: *4 required: - action @@ -160936,11 +161413,11 @@ webhooks: - from required: - note - enterprise: *755 - installation: *756 - organization: *757 - project_card: *799 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project_card: *805 + repository: *764 sender: *4 required: - action @@ -161034,9 +161511,9 @@ webhooks: - from required: - column_id - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 project_card: allOf: - title: Project Card @@ -161233,7 +161710,7 @@ webhooks: type: string required: - after_id - repository: *758 + repository: *764 sender: *4 required: - action @@ -161313,10 +161790,10 @@ webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - organization: *757 - project: &801 + enterprise: *761 + installation: *762 + organization: *763 + project: &807 title: Project type: object properties: @@ -161443,7 +161920,7 @@ webhooks: - creator - created_at - updated_at - repository: *758 + repository: *764 sender: *4 required: - action @@ -161523,10 +162000,10 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project_column: &800 + enterprise: *761 + installation: *762 + organization: *763 + project_column: &806 title: Project Column type: object properties: @@ -161566,7 +162043,7 @@ webhooks: - name - created_at - updated_at - repository: *758 + repository: *764 sender: *4 required: - action @@ -161645,14 +162122,14 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - project_column: *800 + enterprise: *761 + installation: *762 + organization: *763 + project_column: *806 repository: anyOf: - type: 'null' - - *758 + - *764 sender: *4 required: - action @@ -161741,11 +162218,11 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - project_column: *800 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project_column: *806 + repository: *764 sender: *4 required: - action @@ -161825,11 +162302,11 @@ webhooks: type: string enum: - moved - enterprise: *755 - installation: *756 - organization: *757 - project_column: *800 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project_column: *806 + repository: *764 sender: *4 required: - action @@ -161909,11 +162386,11 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - project: *801 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project: *807 + repository: *764 sender: *4 required: - action @@ -161993,14 +162470,14 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - project: *801 + enterprise: *761 + installation: *762 + organization: *763 + project: *807 repository: anyOf: - type: 'null' - - *758 + - *764 sender: *4 required: - action @@ -162101,11 +162578,11 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - project: *801 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project: *807 + repository: *764 sender: *4 required: - action @@ -162184,11 +162661,11 @@ webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 - organization: *757 - project: *801 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + project: *807 + repository: *764 sender: *4 required: - action @@ -162269,9 +162746,9 @@ webhooks: type: string enum: - closed - installation: *756 - organization: *757 - projects_v2: &802 + installation: *762 + organization: *763 + projects_v2: &808 title: Projects v2 Project description: A projects v2 project type: object @@ -162419,9 +162896,9 @@ webhooks: type: string enum: - created - installation: *756 - organization: *757 - projects_v2: *802 + installation: *762 + organization: *763 + projects_v2: *808 sender: *4 required: - action @@ -162502,9 +162979,9 @@ webhooks: type: string enum: - deleted - installation: *756 - organization: *757 - projects_v2: *802 + installation: *762 + organization: *763 + projects_v2: *808 sender: *4 required: - action @@ -162625,9 +163102,9 @@ webhooks: type: string to: type: string - installation: *756 - organization: *757 - projects_v2: *802 + installation: *762 + organization: *763 + projects_v2: *808 sender: *4 required: - action @@ -162710,7 +163187,7 @@ webhooks: type: string enum: - archived - changes: &806 + changes: &812 type: object properties: archived_at: @@ -162726,9 +163203,9 @@ webhooks: - string - 'null' format: date-time - installation: *756 - organization: *757 - projects_v2_item: &803 + installation: *762 + organization: *763 + projects_v2_item: &809 title: Projects v2 Item description: An item belonging to a project type: object @@ -162867,9 +163344,9 @@ webhooks: - 'null' to: type: string - installation: *756 - organization: *757 - projects_v2_item: *803 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -162951,9 +163428,9 @@ webhooks: type: string enum: - created - installation: *756 - organization: *757 - projects_v2_item: *803 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -163034,9 +163511,9 @@ webhooks: type: string enum: - deleted - installation: *756 - organization: *757 - projects_v2_item: *803 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -163141,7 +163618,7 @@ webhooks: oneOf: - type: string - type: integer - - &804 + - &810 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -163161,7 +163638,7 @@ webhooks: required: - id - name - - &805 + - &811 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -163190,8 +163667,8 @@ webhooks: oneOf: - type: string - type: integer - - *804 - - *805 + - *810 + - *811 type: - 'null' - string @@ -163214,9 +163691,9 @@ webhooks: - 'null' required: - body - installation: *756 - organization: *757 - projects_v2_item: *803 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -163313,9 +163790,9 @@ webhooks: type: - string - 'null' - installation: *756 - organization: *757 - projects_v2_item: *803 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -163398,10 +163875,10 @@ webhooks: type: string enum: - restored - changes: *806 - installation: *756 - organization: *757 - projects_v2_item: *803 + changes: *812 + installation: *762 + organization: *763 + projects_v2_item: *809 sender: *4 required: - action @@ -163483,9 +163960,9 @@ webhooks: type: string enum: - reopened - installation: *756 - organization: *757 - projects_v2: *802 + installation: *762 + organization: *763 + projects_v2: *808 sender: *4 required: - action @@ -163566,9 +164043,9 @@ webhooks: type: string enum: - created - installation: *756 - organization: *757 - projects_v2_status_update: &807 + installation: *762 + organization: *763 + projects_v2_status_update: &813 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -163703,9 +164180,9 @@ webhooks: type: string enum: - deleted - installation: *756 - organization: *757 - projects_v2_status_update: *807 + installation: *762 + organization: *763 + projects_v2_status_update: *813 sender: *4 required: - action @@ -163851,9 +164328,9 @@ webhooks: - string - 'null' format: date - installation: *756 - organization: *757 - projects_v2_status_update: *807 + installation: *762 + organization: *763 + projects_v2_status_update: *813 sender: *4 required: - action @@ -163924,10 +164401,10 @@ webhooks: title: public event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - repository @@ -164004,13 +164481,13 @@ webhooks: type: string enum: - assigned - assignee: *782 - enterprise: *755 - installation: *756 - number: &808 + assignee: *788 + enterprise: *761 + installation: *762 + number: &814 description: The pull request number. type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -166359,7 +166836,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -166441,11 +166918,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -168787,7 +169264,7 @@ webhooks: - draft reason: type: string - repository: *758 + repository: *764 sender: *4 required: - action @@ -168869,11 +169346,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -171215,7 +171692,7 @@ webhooks: - draft reason: type: string - repository: *758 + repository: *764 sender: *4 required: - action @@ -171297,13 +171774,13 @@ webhooks: type: string enum: - closed - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: &809 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: &815 allOf: - - *593 + - *599 - type: object properties: allow_auto_merge: @@ -171365,7 +171842,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *758 + repository: *764 sender: *4 required: - action @@ -171446,12 +171923,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: *815 + repository: *764 sender: *4 required: - action @@ -171531,11 +172008,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *755 + enterprise: *761 milestone: *488 - number: *808 - organization: *757 - pull_request: &810 + number: *814 + organization: *763 + pull_request: &816 title: Pull Request type: object properties: @@ -173862,7 +174339,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -173941,11 +174418,11 @@ webhooks: type: string enum: - dequeued - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -176291,7 +176768,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *758 + repository: *764 sender: *4 required: - action @@ -176415,12 +176892,12 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: *815 + repository: *764 sender: *4 required: - action @@ -176500,11 +176977,11 @@ webhooks: type: string enum: - enqueued - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -178835,7 +179312,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -178915,11 +179392,11 @@ webhooks: type: string enum: - labeled - enterprise: *755 - installation: *756 - label: *781 - number: *808 - organization: *757 + enterprise: *761 + installation: *762 + label: *787 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -181267,7 +181744,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -181348,10 +181825,10 @@ webhooks: type: string enum: - locked - enterprise: *755 - installation: *756 - number: *808 - organization: *757 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -183697,7 +184174,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -183777,12 +184254,12 @@ webhooks: type: string enum: - milestoned - enterprise: *755 + enterprise: *761 milestone: *488 - number: *808 - organization: *757 - pull_request: *810 - repository: *758 + number: *814 + organization: *763 + pull_request: *816 + repository: *764 sender: *4 required: - action @@ -183861,12 +184338,12 @@ webhooks: type: string enum: - opened - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: *815 + repository: *764 sender: *4 required: - action @@ -183947,12 +184424,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: *815 + repository: *764 sender: *4 required: - action @@ -184032,12 +184509,12 @@ webhooks: type: string enum: - reopened - enterprise: *755 - installation: *756 - number: *808 - organization: *757 - pull_request: *809 - repository: *758 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 + pull_request: *815 + repository: *764 sender: *4 required: - action @@ -184412,9 +184889,9 @@ webhooks: - start_side - side - reactions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: type: object properties: @@ -186644,7 +187121,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *764 sender: *4 required: - action @@ -186724,7 +187201,7 @@ webhooks: type: string enum: - deleted - comment: &812 + comment: &818 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. @@ -187017,9 +187494,9 @@ webhooks: - start_side - side - reactions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: type: object properties: @@ -189237,7 +189714,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *764 sender: *4 required: - action @@ -189317,11 +189794,11 @@ webhooks: type: string enum: - edited - changes: *811 - comment: *812 - enterprise: *755 - installation: *756 - organization: *757 + changes: *817 + comment: *818 + enterprise: *761 + installation: *762 + organization: *763 pull_request: type: object properties: @@ -191542,7 +192019,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *758 + repository: *764 sender: *4 required: - action @@ -191623,9 +192100,9 @@ webhooks: type: string enum: - dismissed - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: title: Simple Pull Request type: object @@ -193858,7 +194335,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *764 review: description: The review that was affected. type: object @@ -194104,9 +194581,9 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: title: Simple Pull Request type: object @@ -196220,8 +196697,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 - review: &813 + repository: *764 + review: &819 description: The review that was affected. type: object properties: @@ -196454,12 +196931,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: description: The pull request number. type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -198806,7 +199283,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 requested_reviewer: title: User type: @@ -198892,12 +199369,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: description: The pull request number. type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -201251,7 +201728,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201446,12 +201923,12 @@ webhooks: type: string enum: - review_requested - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: description: The pull request number. type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -203800,7 +204277,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 requested_reviewer: title: User type: @@ -203887,12 +204364,12 @@ webhooks: type: string enum: - review_requested - enterprise: *755 - installation: *756 + enterprise: *761 + installation: *762 number: description: The pull request number. type: integer - organization: *757 + organization: *763 pull_request: title: Pull Request type: object @@ -206232,7 +206709,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206416,9 +206893,9 @@ webhooks: type: string enum: - submitted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: title: Simple Pull Request type: object @@ -208654,8 +209131,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 - review: *813 + repository: *764 + review: *819 sender: *4 required: - action @@ -208735,9 +209212,9 @@ webhooks: type: string enum: - resolved - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: title: Simple Pull Request type: object @@ -210868,7 +211345,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *764 sender: *4 thread: type: object @@ -211260,9 +211737,9 @@ webhooks: type: string enum: - unresolved - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 pull_request: title: Simple Pull Request type: object @@ -213376,7 +213853,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *758 + repository: *764 sender: *4 thread: type: object @@ -213770,10 +214247,10 @@ webhooks: type: string before: type: string - enterprise: *755 - installation: *756 - number: *808 - organization: *757 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -216108,7 +216585,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -216190,11 +216667,11 @@ webhooks: type: string enum: - unassigned - assignee: *814 - enterprise: *755 - installation: *756 - number: *808 - organization: *757 + assignee: *820 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -218544,7 +219021,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -218623,11 +219100,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *755 - installation: *756 - label: *781 - number: *808 - organization: *757 + enterprise: *761 + installation: *762 + label: *787 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -220966,7 +221443,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -221047,10 +221524,10 @@ webhooks: type: string enum: - unlocked - enterprise: *755 - installation: *756 - number: *808 - organization: *757 + enterprise: *761 + installation: *762 + number: *814 + organization: *763 pull_request: title: Pull Request type: object @@ -223379,7 +223856,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *758 + repository: *764 sender: *4 required: - action @@ -223582,7 +224059,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *755 + enterprise: *761 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -223677,8 +224154,8 @@ webhooks: - url - author - committer - installation: *756 - organization: *757 + installation: *762 + organization: *763 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -224266,9 +224743,9 @@ webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 registry_package: type: object properties: @@ -224745,7 +225222,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *796 + items: *802 summary: type: string tag_name: @@ -224801,7 +225278,7 @@ webhooks: - owner - package_version - registry - repository: *758 + repository: *764 sender: *4 required: - action @@ -224879,9 +225356,9 @@ webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 registry_package: type: object properties: @@ -225193,7 +225670,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *802 summary: type: string tag_name: @@ -225243,7 +225720,7 @@ webhooks: - owner - package_version - registry - repository: *758 + repository: *764 sender: *4 required: - action @@ -225320,10 +225797,10 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - release: &815 + enterprise: *761 + installation: *762 + organization: *763 + release: &821 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -225644,7 +226121,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *758 + repository: *764 sender: *4 required: - action @@ -225721,11 +226198,11 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - release: *815 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + release: *821 + repository: *764 sender: *4 required: - action @@ -225842,11 +226319,11 @@ webhooks: type: boolean required: - to - enterprise: *755 - installation: *756 - organization: *757 - release: *815 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + release: *821 + repository: *764 sender: *4 required: - action @@ -225924,9 +226401,9 @@ webhooks: type: string enum: - prereleased - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -226252,7 +226729,7 @@ webhooks: - string - 'null' format: uri - repository: *758 + repository: *764 sender: *4 required: - action @@ -226328,10 +226805,10 @@ webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - release: &816 + enterprise: *761 + installation: *762 + organization: *763 + release: &822 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -226654,7 +227131,7 @@ webhooks: - string - 'null' format: uri - repository: *758 + repository: *764 sender: *4 required: - action @@ -226730,11 +227207,11 @@ webhooks: type: string enum: - released - enterprise: *755 - installation: *756 - organization: *757 - release: *815 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + release: *821 + repository: *764 sender: *4 required: - action @@ -226810,11 +227287,11 @@ webhooks: type: string enum: - unpublished - enterprise: *755 - installation: *756 - organization: *757 - release: *816 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + release: *822 + repository: *764 sender: *4 required: - action @@ -226890,11 +227367,11 @@ webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - repository_advisory: *664 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + repository_advisory: *670 sender: *4 required: - action @@ -226970,11 +227447,11 @@ webhooks: type: string enum: - reported - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - repository_advisory: *664 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + repository_advisory: *670 sender: *4 required: - action @@ -227050,10 +227527,10 @@ webhooks: type: string enum: - archived - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227130,10 +227607,10 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227211,10 +227688,10 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227299,10 +227776,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227417,10 +227894,10 @@ webhooks: - 'null' items: type: string - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227492,10 +227969,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 status: type: string @@ -227576,10 +228053,10 @@ webhooks: type: string enum: - privatized - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227656,10 +228133,10 @@ webhooks: type: string enum: - publicized - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227753,10 +228230,10 @@ webhooks: - name required: - repository - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -227836,10 +228313,10 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 repository_ruleset: *126 sender: *4 required: @@ -227918,10 +228395,10 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 repository_ruleset: *126 sender: *4 required: @@ -228000,10 +228477,10 @@ webhooks: type: string enum: - edited - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 repository_ruleset: *126 changes: type: object @@ -228311,10 +228788,10 @@ webhooks: - from required: - owner - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -228392,10 +228869,10 @@ webhooks: type: string enum: - unarchived - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -228473,7 +228950,7 @@ webhooks: type: string enum: - create - alert: &817 + alert: &823 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -228597,10 +229074,10 @@ webhooks: type: string enum: - open - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -228810,10 +229287,10 @@ webhooks: type: string enum: - dismissed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -228891,11 +229368,11 @@ webhooks: type: string enum: - reopen - alert: *817 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *823 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229097,10 +229574,10 @@ webhooks: enum: - fixed - open - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229178,7 +229655,7 @@ webhooks: type: string enum: - created - alert: &818 + alert: &824 type: object properties: number: *96 @@ -229288,10 +229765,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229372,11 +229849,11 @@ webhooks: type: string enum: - created - alert: *818 - installation: *756 - location: *819 - organization: *757 - repository: *758 + alert: *824 + installation: *762 + location: *825 + organization: *763 + repository: *764 sender: *4 required: - location @@ -229614,11 +230091,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *818 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *824 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229696,11 +230173,11 @@ webhooks: type: string enum: - reopened - alert: *818 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *824 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229778,11 +230255,11 @@ webhooks: type: string enum: - resolved - alert: *818 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *824 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229860,11 +230337,11 @@ webhooks: type: string enum: - validated - alert: *818 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + alert: *824 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -229994,10 +230471,10 @@ webhooks: - organization - enterprise - - repository: *758 - enterprise: *755 - installation: *756 - organization: *757 + repository: *764 + enterprise: *761 + installation: *762 + organization: *763 sender: *4 required: - action @@ -230075,11 +230552,11 @@ webhooks: type: string enum: - published - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - security_advisory: &820 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + security_advisory: &826 description: The details of the security advisory, including summary, description, and severity. type: object @@ -230265,11 +230742,11 @@ webhooks: type: string enum: - updated - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 - security_advisory: *820 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 + security_advisory: *826 sender: *4 required: - action @@ -230342,10 +230819,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -230532,9 +231009,9 @@ webhooks: type: object properties: security_and_analysis: *316 - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: *379 sender: *4 required: @@ -230613,12 +231090,12 @@ webhooks: type: string enum: - cancelled - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: &821 + sponsorship: &827 type: object properties: created_at: @@ -230923,12 +231400,12 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: *821 + sponsorship: *827 required: - action - sponsorship @@ -231016,12 +231493,12 @@ webhooks: type: string required: - from - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: *821 + sponsorship: *827 required: - action - changes @@ -231098,17 +231575,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &822 + effective_date: &828 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: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: *821 + sponsorship: *827 required: - action - sponsorship @@ -231182,7 +231659,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &823 + changes: &829 type: object properties: tier: @@ -231226,13 +231703,13 @@ webhooks: - from required: - tier - effective_date: *822 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + effective_date: *828 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: *821 + sponsorship: *827 required: - action - changes @@ -231309,13 +231786,13 @@ webhooks: type: string enum: - tier_changed - changes: *823 - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + changes: *829 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - sponsorship: *821 + sponsorship: *827 required: - action - changes @@ -231389,10 +231866,10 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231476,10 +231953,10 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231913,15 +232390,15 @@ webhooks: type: - string - 'null' - enterprise: *755 + enterprise: *761 id: description: The unique identifier of the status. type: integer - installation: *756 + installation: *762 name: type: string - organization: *757 - repository: *758 + organization: *763 + repository: *764 sender: *4 sha: description: The Commit SHA. @@ -232037,9 +232514,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -232129,9 +232606,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -232221,9 +232698,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -232313,9 +232790,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *756 - organization: *757 - repository: *758 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -232392,12 +232869,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - team: &824 + team: &830 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -232590,9 +233067,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: title: Repository description: A git repository @@ -233062,7 +233539,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *830 required: - action - team @@ -233138,9 +233615,9 @@ webhooks: type: string enum: - created - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: title: Repository description: A git repository @@ -233610,7 +234087,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *830 required: - action - team @@ -233687,9 +234164,9 @@ webhooks: type: string enum: - deleted - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: title: Repository description: A git repository @@ -234159,7 +234636,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *830 required: - action - team @@ -234303,9 +234780,9 @@ webhooks: - from required: - permissions - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: title: Repository description: A git repository @@ -234775,7 +235252,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *830 required: - action - changes @@ -234853,9 +235330,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *755 - installation: *756 - organization: *757 + enterprise: *761 + installation: *762 + organization: *763 repository: title: Repository description: A git repository @@ -235325,7 +235802,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *830 required: - action - team @@ -235401,10 +235878,10 @@ webhooks: type: string enum: - started - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 required: - action @@ -235477,17 +235954,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *755 + enterprise: *761 inputs: type: - object - 'null' additionalProperties: true - installation: *756 - organization: *757 + installation: *762 + organization: *763 ref: type: string - repository: *758 + repository: *764 sender: *4 workflow: type: string @@ -235569,10 +236046,10 @@ webhooks: type: string enum: - completed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 workflow_job: allOf: @@ -235907,10 +236384,10 @@ webhooks: type: string enum: - in_progress - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 workflow_job: allOf: @@ -236271,10 +236748,10 @@ webhooks: type: string enum: - queued - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 workflow_job: type: object @@ -236499,10 +236976,10 @@ webhooks: type: string enum: - waiting - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 workflow_job: type: object @@ -236729,12 +237206,12 @@ webhooks: type: string enum: - completed - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - workflow: *777 + workflow: *783 workflow_run: title: Workflow Run type: object @@ -237753,12 +238230,12 @@ webhooks: type: string enum: - in_progress - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - workflow: *777 + workflow: *783 workflow_run: title: Workflow Run type: object @@ -238762,12 +239239,12 @@ webhooks: type: string enum: - requested - enterprise: *755 - installation: *756 - organization: *757 - repository: *758 + enterprise: *761 + installation: *762 + organization: *763 + repository: *764 sender: *4 - workflow: *777 + workflow: *783 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 8109697903..5952fe6e2b 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -21945,6 +21945,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", @@ -51177,6 +51255,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", @@ -124327,6 +124631,207 @@ "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", + "null" + ], + "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": { + "type": [ + "array", + "null" + ], + "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.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "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", + "null" + ], + "description": "The responses to the dismissal request.", + "items": { + "$ref": "#/components/schemas/dismissal-request-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "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", + "examples": [ + "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.", @@ -303341,6 +303846,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": [ { @@ -315059,6 +315652,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, @@ -328403,6 +329040,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-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index f747e34b8b..d8e078851f 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -15941,6 +15941,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 @@ -37246,6 +37294,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 @@ -90231,6 +90432,164 @@ 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 + - 'null' + 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: + type: + - array + - 'null' + 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. + examples: + - 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: + - string + - 'null' + description: The comment the requester provided when creating the dismissal + request. + 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 + - 'null' + description: The responses to the dismissal request. + items: + "$ref": "#/components/schemas/dismissal-request-response" + url: + type: string + format: uri + examples: + - 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 + examples: + - 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 @@ -223856,6 +224215,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 @@ -233827,6 +234248,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 @@ -245398,6 +245851,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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 8109697903..5952fe6e2b 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -21945,6 +21945,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", @@ -51177,6 +51255,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", @@ -124327,6 +124631,207 @@ "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", + "null" + ], + "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": { + "type": [ + "array", + "null" + ], + "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.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "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", + "null" + ], + "description": "The responses to the dismissal request.", + "items": { + "$ref": "#/components/schemas/dismissal-request-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "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", + "examples": [ + "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.", @@ -303341,6 +303846,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": [ { @@ -315059,6 +315652,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, @@ -328403,6 +329040,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-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index f747e34b8b..d8e078851f 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -15941,6 +15941,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 @@ -37246,6 +37294,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 @@ -90231,6 +90432,164 @@ 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 + - 'null' + 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: + type: + - array + - 'null' + 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. + examples: + - 827efc6d56897b048c772eb4087f854f46256132 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: + - string + - 'null' + description: The comment the requester provided when creating the dismissal + request. + 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 + - 'null' + description: The responses to the dismissal request. + items: + "$ref": "#/components/schemas/dismissal-request-response" + url: + type: string + format: uri + examples: + - 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 + examples: + - 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 @@ -223856,6 +224215,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 @@ -233827,6 +234248,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 @@ -245398,6 +245851,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-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json index b14adc2d8f..b74d242cbe 100644 --- a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json @@ -244937,10 +244937,6 @@ ], "description": "The dismissal comment associated with the dismissal of the alert.", "maxLength": 280 - }, - "create_request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." } }, "required": [ @@ -244952,8 +244948,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-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml index 080cc9e78b..b875288b8c 100644 --- a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml @@ -52312,9 +52312,6 @@ paths: - dismissed dismissed_reason: *352 dismissed_comment: *353 - create_request: - type: boolean - description: If `true`, attempt to create an alert dismissal request. required: - state examples: @@ -52324,7 +52321,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-next/ghes-3.13/dereferenced/ghes-3.13.deref.json b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.json index b14adc2d8f..b74d242cbe 100644 --- a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.json +++ b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.json @@ -244937,10 +244937,6 @@ ], "description": "The dismissal comment associated with the dismissal of the alert.", "maxLength": 280 - }, - "create_request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." } }, "required": [ @@ -244952,8 +244948,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-next/ghes-3.13/dereferenced/ghes-3.13.deref.yaml b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.yaml index 080cc9e78b..b875288b8c 100644 --- a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.yaml +++ b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.yaml @@ -52312,9 +52312,6 @@ paths: - dismissed dismissed_reason: *352 dismissed_comment: *353 - create_request: - type: boolean - description: If `true`, attempt to create an alert dismissal request. required: - state examples: @@ -52324,7 +52321,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-next/ghes-3.13/ghes-3.13.2022-11-28.json b/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.json index 29a87b7d48..d83d54deaf 100644 --- a/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.json +++ b/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.json @@ -35296,9 +35296,6 @@ }, "dismissed_comment": { "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "create_request": { - "$ref": "#/components/schemas/code-scanning-alert-create-request" } }, "required": [ @@ -35310,8 +35307,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." } } } @@ -111957,10 +111953,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-next/ghes-3.13/ghes-3.13.2022-11-28.yaml b/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.yaml index d06e0766fe..c6ba7486e9 100644 --- a/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.yaml +++ b/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.yaml @@ -25318,8 +25318,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: @@ -25329,7 +25327,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 @@ -80448,9 +80445,6 @@ components: enum: - open - dismissed - code-scanning-alert-create-request: - type: boolean - description: If `true`, attempt to create an alert dismissal request. code{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}