diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 51cdd1d1a..086b11fe5 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -155189,6 +155189,482 @@ } } }, + "/orgs/{org}/dismissal-requests/dependabot": { + "get": { + "summary": "List dismissal requests for Dependabot alerts for an organization", + "description": "Lists dismissal requests for Dependabot alerts in an organization.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the appropriate permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/list-dismissal-requests-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "dependabot", + "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": "repository_name", + "description": "The name of the repository to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "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 rule suites that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "denied", + "open", + "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": "Dependabot alert dismissal request", + "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "The alert number." + }, + "alert_title": { + "type": "string", + "description": "The title of the alert." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "123" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "no_bandwidth", + "alert_number": "1", + "alert_title": "lodash - GHSA-1234-abcd-5678" + } + ], + "resource_identifier": "1", + "status": "denied", + "requester_comment": "No bandwidth to fix this right now", + "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/dependabot/1", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "tolerable_risk", + "alert_number": "2", + "alert_title": "axios - GHSA-5678-efgh-9012" + } + ], + "resource_identifier": "2", + "status": "approved", + "requester_comment": "Risk is acceptable for this internal tool", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 43, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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" + } + } + } + } + } + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 766d10d93..d82fef55d 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &438 + type: &440 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,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: - - &754 + - &755 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &347 + - &349 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &348 + items: &350 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &349 + default: &351 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &764 + schema: &765 title: Scim Error description: Scim Error type: object @@ -1809,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &352 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1923,7 @@ paths: - request - response examples: - default: &351 + default: &353 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2918,7 +2918,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &415 + properties: &417 id: description: Unique identifier of the repository example: 42 @@ -3356,7 +3356,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &416 + required: &418 - archive_url - assignees_url - blobs_url @@ -8897,7 +8897,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &765 + '401': &766 description: Authorization failure '404': *6 x-github: @@ -13100,7 +13100,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &538 + instances_url: &540 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13135,7 +13135,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &539 + dismissed_reason: &541 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -13144,13 +13144,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &540 + dismissed_comment: &542 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &541 + rule: &543 type: object properties: id: @@ -13203,7 +13203,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &542 + tool: &544 type: object properties: name: *111 @@ -13213,15 +13213,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &543 + most_recent_instance: &545 type: object properties: - ref: &536 + ref: &538 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &553 + analysis_key: &555 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13232,7 +13232,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &554 + category: &556 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15570,7 +15570,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &382 + properties: &384 id: description: Unique identifier of the team type: integer @@ -15642,7 +15642,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &383 + required: &385 - id - node_id - url @@ -16921,7 +16921,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &593 + - &595 name: has in: query description: |- @@ -17034,7 +17034,7 @@ paths: - unknown - direct - transitive - security_advisory: &594 + security_advisory: &596 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17266,14 +17266,14 @@ paths: nullable: true maxLength: 280 fixed_at: *137 - auto_dismissed_at: &595 + auto_dismissed_at: &597 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &596 + dismissal_request: &598 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -18442,7 +18442,7 @@ paths: - name - created_on examples: - default: &443 + default: &445 value: total_count: 2 network_configurations: @@ -18665,7 +18665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &444 + - &446 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18677,7 +18677,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &447 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18711,7 +18711,7 @@ paths: - subnet_id - region examples: - default: &446 + default: &448 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19523,7 +19523,7 @@ paths: required: true content: application/json: - schema: &414 + schema: &416 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20707,7 +20707,7 @@ paths: nullable: true anyOf: - *161 - - &420 + - &422 title: Organization ruleset conditions type: object description: |- @@ -20754,7 +20754,7 @@ paths: - *164 rules: type: array - items: &720 + items: &721 title: Repository Rule type: object description: A repository rule. @@ -20763,7 +20763,7 @@ paths: - *170 - *171 - *172 - - &718 + - &719 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21091,7 +21091,7 @@ paths: type: string format: date-time examples: - default: &423 + default: &425 value: - version_id: 3 actor: @@ -21144,7 +21144,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &426 allOf: - *194 - type: object @@ -21199,7 +21199,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &425 + - &427 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21210,7 +21210,7 @@ paths: enum: - open - resolved - - &426 + - &428 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21220,7 +21220,7 @@ paths: required: false schema: type: string - - &427 + - &429 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21229,7 +21229,7 @@ paths: required: false schema: type: string - - &428 + - &430 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -21248,7 +21248,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &429 + - &431 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -21264,7 +21264,7 @@ paths: - *17 - *108 - *109 - - &430 + - &432 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21273,7 +21273,7 @@ paths: required: false schema: type: string - - &431 + - &433 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21282,7 +21282,7 @@ paths: schema: type: boolean default: false - - &432 + - &434 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21291,7 +21291,7 @@ paths: schema: type: boolean default: false - - &433 + - &435 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21307,7 +21307,7 @@ paths: application/json: schema: type: array - items: &434 + items: &436 type: object properties: number: *127 @@ -21326,14 +21326,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &732 + state: &733 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: &733 + resolution: &734 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21440,8 +21440,8 @@ paths: pull request. ' - oneOf: &734 - - &736 + oneOf: &735 + - &737 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21493,7 +21493,7 @@ paths: - blob_url - commit_sha - commit_url - - &737 + - &738 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. @@ -21548,7 +21548,7 @@ paths: - page_url - commit_sha - commit_url - - &738 + - &739 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21562,7 +21562,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &739 + - &740 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21576,7 +21576,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &740 + - &741 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21590,7 +21590,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &741 + - &742 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21604,7 +21604,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &742 + - &743 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21618,7 +21618,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &743 + - &744 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21632,7 +21632,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &744 + - &745 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. @@ -21646,7 +21646,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &745 + - &746 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. @@ -21660,7 +21660,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &746 + - &747 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. @@ -21674,7 +21674,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &747 + - &748 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. @@ -21688,7 +21688,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &748 + - &749 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21715,7 +21715,7 @@ paths: required: *21 nullable: true examples: - default: &435 + default: &437 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21924,7 +21924,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &438 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22007,7 +22007,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *196 examples: - default: &437 + default: &439 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22143,7 +22143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &440 + - &442 name: advanced_security_product in: query description: | @@ -22163,7 +22163,7 @@ paths: description: Success content: application/json: - schema: &441 + schema: &443 type: object properties: total_advanced_security_committers: @@ -22218,7 +22218,7 @@ paths: required: - repositories examples: - default: &442 + default: &444 value: total_advanced_security_committers: 2 total_count: 2 @@ -24982,7 +24982,7 @@ paths: properties: action: type: string - discussion: &873 + discussion: &874 title: Discussion description: A Discussion in a repository. type: object @@ -25349,7 +25349,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &656 + properties: &657 id: type: integer format: int64 @@ -25463,7 +25463,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &404 + properties: &406 url: type: string format: uri @@ -25533,7 +25533,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &405 + required: &407 - closed_issues - creator - description @@ -25612,7 +25612,7 @@ paths: timeline_url: type: string format: uri - type: &369 + type: &371 title: Issue Type description: The type of issue. type: object @@ -25726,7 +25726,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &792 + sub_issues_summary: &793 title: Sub-issues Summary type: object properties: @@ -25746,7 +25746,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &793 + issue_dependencies_summary: &794 title: Issue Dependencies Summary type: object properties: @@ -25765,7 +25765,7 @@ paths: - total_blocking issue_field_values: type: array - items: &794 + items: &795 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25826,7 +25826,7 @@ paths: - node_id - data_type - value - required: &657 + required: &658 - assignee - closed_at - comments @@ -25864,7 +25864,7 @@ paths: action: type: string issue: *220 - comment: &654 + comment: &655 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -26583,7 +26583,7 @@ paths: type: string release: allOf: - - &711 + - &712 title: Release description: A release. type: object @@ -26654,7 +26654,7 @@ paths: author: *4 assets: type: array - items: &712 + items: &713 title: Release Asset description: Data related to a release. type: object @@ -27233,7 +27233,7 @@ paths: url: type: string format: uri - user: &804 + user: &805 title: Public User description: Public User type: object @@ -29103,7 +29103,7 @@ paths: - closed - all default: open - - &372 + - &374 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -29154,7 +29154,7 @@ paths: type: array items: *220 examples: - default: &373 + default: &375 value: - id: 1 node_id: MDU6SXNzdWUx @@ -30538,14 +30538,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &464 + - &466 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &465 + - &467 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -30607,7 +30607,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &470 + '301': &472 description: Moved permanently content: application/json: @@ -30629,7 +30629,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &685 + - &686 name: all description: If `true`, show notifications marked as read. in: query @@ -30637,7 +30637,7 @@ paths: schema: type: boolean default: false - - &686 + - &687 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -30647,7 +30647,7 @@ paths: type: boolean default: false - *227 - - &687 + - &688 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: @@ -30683,7 +30683,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &342 + properties: &344 id: type: integer format: int64 @@ -30959,7 +30959,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &417 + security_and_analysis: &419 nullable: true type: object properties: @@ -31041,7 +31041,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &343 + required: &345 - archive_url - assignees_url - blobs_url @@ -31129,7 +31129,7 @@ paths: - url - subscription_url examples: - default: &688 + default: &689 value: - id: '1' repository: @@ -32246,7 +32246,7 @@ paths: type: array items: *155 examples: - default: &694 + default: &695 value: - property_name: environment value: production @@ -32296,7 +32296,7 @@ paths: required: - properties examples: - default: &695 + default: &696 value: properties: - property_name: environment @@ -33109,7 +33109,7 @@ paths: type: integer repository_cache_usages: type: array - items: &477 + items: &479 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -35223,7 +35223,7 @@ paths: type: array items: *283 examples: - default: &807 + default: &808 value: total_count: 1 repositories: @@ -36265,7 +36265,7 @@ paths: description: Response content: application/json: - schema: &497 + schema: &499 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -36294,7 +36294,7 @@ paths: - key_id - key examples: - default: &498 + default: &500 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36707,7 +36707,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *87 - - &482 + - &484 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -37905,12 +37905,12 @@ paths: required: - subject_digests examples: - default: &835 + default: &836 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &836 + withPredicateType: &837 value: subject_digests: - sha256:abc123 @@ -37968,7 +37968,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &837 + default: &838 value: attestations_subject_digests: - sha256:abc: @@ -38317,7 +38317,7 @@ paths: initiator: type: string examples: - default: &511 + default: &513 value: attestations: - bundle: @@ -39234,7 +39234,7 @@ paths: be returned. in: query required: false - schema: &537 + schema: &539 type: string description: Severity of a code scanning alert. enum: @@ -40250,7 +40250,7 @@ paths: type: integer codespaces: type: array - items: &374 + items: &376 type: object title: Codespace description: A codespace. @@ -40280,7 +40280,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &566 + properties: &568 name: type: string description: The name of the machine. @@ -40322,7 +40322,7 @@ paths: - ready - in_progress nullable: true - required: &567 + required: &569 - name - display_name - operating_system @@ -40527,7 +40527,7 @@ paths: - pulls_url - recent_folders examples: - default: &375 + default: &377 value: total_count: 3 codespaces: @@ -41190,7 +41190,7 @@ paths: - updated_at - visibility examples: - default: &568 + default: &570 value: total_count: 2 secrets: @@ -41228,7 +41228,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &571 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -41257,7 +41257,7 @@ paths: - key_id - key examples: - default: &570 + default: &572 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41289,7 +41289,7 @@ paths: application/json: schema: *327 examples: - default: &572 + default: &574 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42998,7 +42998,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &601 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -43015,7 +43015,7 @@ paths: - key_id - key examples: - default: &600 + default: &602 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43345,7 +43345,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &608 + - &610 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -43353,7 +43353,7 @@ paths: required: false schema: type: string - - &609 + - &611 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -43361,7 +43361,7 @@ paths: required: false schema: type: string - - &610 + - &612 name: time_period description: |- The time period to filter by. @@ -43377,7 +43377,7 @@ paths: - week - month default: month - - &611 + - &613 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -43402,7 +43402,7 @@ paths: application/json: schema: type: array - items: &612 + items: &614 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -43508,7 +43508,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &614 + items: &342 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -43558,7 +43558,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &613 + default: &615 value: - id: 21 number: 42 @@ -43624,24 +43624,25 @@ paths: '403': *29 '422': *15 '500': *40 - "/orgs/{org}/dismissal-requests/secret-scanning": + "/orgs/{org}/dismissal-requests/dependabot": get: - summary: List alert dismissal requests for secret scanning for an org + summary: List dismissal requests for Dependabot alerts for an organization description: |- - Lists requests to dismiss secret scanning alerts in an org. + Lists dismissal requests for Dependabot alerts in an organization. Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, - or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + or have the appropriate permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. tags: - - secret-scanning - operationId: secret-scanning/list-org-dismissal-requests + - dependabot + operationId: dependabot/list-dismissal-requests-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization x-github: githubCloudOnly: true enabledForGitHubApps: true - category: secret-scanning + category: dependabot subcategory: alert-dismissal-requests parameters: - *87 @@ -43649,7 +43650,7 @@ paths: - *103 - *104 - *105 - - &616 + - &343 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -43668,6 +43669,225 @@ paths: default: all - *17 - *19 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: &616 + title: Dependabot alert dismissal request + description: Alert dismissal request made by a user asking to dismiss + a Dependabot alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request + within its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request + is for. + name: + type: string + description: The name of the repository the dismissal request + is for. + full_name: + type: string + description: The full name of the repository the dismissal + request is for. + organization: + type: object + description: The organization associated with the repository + the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the + dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the + dismissal request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: The alert number. + alert_title: + type: string + description: The title of the alert. + resource_identifier: + type: string + description: The unique identifier for the request type of the + dismissal request. + example: '123' + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating + the dismissal request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: *342 + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/security/dependabot/1 + examples: + default: &617 + 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: dependabot_alert_dismissal + data: + - reason: no_bandwidth + alert_number: '1' + alert_title: lodash - GHSA-1234-abcd-5678 + resource_identifier: '1' + status: denied + requester_comment: No bandwidth to fix this right now + 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/dependabot/1 + html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal + data: + - reason: tolerable_risk + alert_number: '2' + alert_title: axios - GHSA-5678-efgh-9012 + resource_identifier: '2' + status: approved + requester_comment: Risk is acceptable for this internal tool + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 43 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 + html_url: https://github.com/octo-org/smile/security/dependabot/2 + '404': *6 + '403': *29 + '500': *40 + "/orgs/{org}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for an org + description: |- + Lists requests to dismiss secret scanning alerts in an org. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *87 + - *309 + - *103 + - *104 + - *105 + - *343 + - *17 + - *19 responses: '200': description: A list of the alert dismissal requests. @@ -43675,7 +43895,7 @@ paths: application/json: schema: type: array - items: &617 + items: &618 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -43796,7 +44016,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &618 + default: &619 value: - id: 21 number: 42 @@ -43884,7 +44104,7 @@ paths: application/json: schema: type: array - items: &385 + items: &387 title: Package description: A software package type: object @@ -43934,8 +44154,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *342 - required: *343 + properties: *344 + required: *345 nullable: true created_at: type: string @@ -43954,7 +44174,7 @@ paths: - created_at - updated_at examples: - default: &386 + default: &388 value: - id: 197 name: hello_docker @@ -44141,7 +44361,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &463 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -44222,7 +44442,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &462 + default: &464 value: group_id: '123' group_name: Octocat admins @@ -44277,7 +44497,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &461 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -44314,7 +44534,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &460 + default: &462 value: groups: - group_id: '123' @@ -44358,7 +44578,7 @@ paths: application/json: schema: type: array - items: &366 + items: &368 title: Organization Invitation description: Organization Invitation type: object @@ -44405,7 +44625,7 @@ paths: - invitation_teams_url - node_id examples: - default: &367 + default: &369 value: - id: 1 login: monalisa @@ -44472,7 +44692,7 @@ paths: application/json: schema: type: array - items: &418 + items: &420 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -44486,7 +44706,7 @@ paths: - name - description examples: - default: &419 + default: &421 value: - name: add_assignee description: Assign or remove a user @@ -44527,7 +44747,7 @@ paths: application/json: schema: type: array - items: &344 + items: &346 title: Org Hook description: Org Hook type: object @@ -44696,9 +44916,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: &345 + default: &347 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -44743,7 +44963,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &346 + - &348 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -44756,9 +44976,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 '404': *6 x-github: githubCloudOnly: false @@ -44780,7 +45000,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *346 + - *348 requestBody: required: false content: @@ -44825,7 +45045,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: default: value: @@ -44865,7 +45085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *346 + - *348 responses: '204': description: Response @@ -44891,7 +45111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *346 + - *348 responses: '200': description: Response @@ -44920,7 +45140,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *346 + - *348 requestBody: required: false content: @@ -44969,9 +45189,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *346 + - *348 - *17 - - *347 + - *349 responses: '200': description: Response @@ -44979,9 +45199,9 @@ paths: application/json: schema: type: array - items: *348 + items: *350 examples: - default: *349 + default: *351 '400': *14 '422': *15 x-github: @@ -45005,16 +45225,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *346 + - *348 - *16 responses: '200': description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: *351 + default: *353 '400': *14 '422': *15 x-github: @@ -45038,7 +45258,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *346 + - *348 - *16 responses: '202': *39 @@ -45065,7 +45285,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *346 + - *348 responses: '204': description: Response @@ -45088,7 +45308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &356 + - &358 name: actor_type in: path description: The type of the actor @@ -45101,14 +45321,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &357 + - &359 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &352 + - &354 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -45116,7 +45336,7 @@ paths: required: true schema: type: string - - &353 + - &355 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -45210,12 +45430,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *352 - - *353 + - *354 + - *355 - *19 - *17 - *110 - - &362 + - &364 name: sort description: The property to sort the results by. in: query @@ -45294,14 +45514,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *352 - - *353 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &354 + schema: &356 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -45317,7 +45537,7 @@ paths: type: integer format: int64 examples: - default: &355 + default: &357 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -45338,23 +45558,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &358 + - &360 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *352 - - *353 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: enabledForGitHubApps: true category: orgs @@ -45373,18 +45593,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *352 - - *353 - - *356 - - *357 + - *354 + - *355 + - *358 + - *359 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: enabledForGitHubApps: true category: orgs @@ -45402,9 +45622,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *87 - - *352 - - *353 - - &359 + - *354 + - *355 + - &361 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -45417,7 +45637,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &362 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -45433,7 +45653,7 @@ paths: type: integer format: int64 examples: - default: &361 + default: &363 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -45470,18 +45690,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *358 - - *352 - - *353 - - *359 + - *360 + - *354 + - *355 + - *361 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 x-github: enabledForGitHubApps: true category: orgs @@ -45499,19 +45719,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *356 - - *357 - - *352 - - *353 + - *358 - *359 + - *354 + - *355 + - *361 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 x-github: enabledForGitHubApps: true category: orgs @@ -45529,13 +45749,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *87 - - *358 - - *352 - - *353 + - *360 + - *354 + - *355 - *19 - *17 - *110 - - *362 + - *364 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -45616,7 +45836,7 @@ paths: application/json: schema: *22 examples: - default: &649 + default: &650 value: id: 1 account: @@ -45782,12 +46002,12 @@ paths: application/json: schema: anyOf: - - &364 + - &366 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &363 + limit: &365 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -45812,7 +46032,7 @@ paths: properties: {} additionalProperties: false examples: - default: &365 + default: &367 value: limit: collaborators_only origin: organization @@ -45841,13 +46061,13 @@ paths: required: true content: application/json: - schema: &650 + schema: &651 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *363 + limit: *365 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -45871,9 +46091,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -45951,9 +46171,9 @@ paths: application/json: schema: type: array - items: *366 + items: *368 examples: - default: *367 + default: *369 headers: Link: *47 '404': *6 @@ -46031,7 +46251,7 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: default: value: @@ -46088,7 +46308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &368 + - &370 name: invitation_id description: The unique identifier of the invitation. in: path @@ -46122,7 +46342,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *368 + - *370 - *17 - *19 responses: @@ -46134,7 +46354,7 @@ paths: type: array items: *312 examples: - default: &384 + default: &386 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -46177,7 +46397,7 @@ paths: application/json: schema: type: array - items: *369 + items: *371 examples: default: value: @@ -46262,9 +46482,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: &370 + default: &372 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -46297,7 +46517,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &371 + - &373 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -46350,9 +46570,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: *370 + default: *372 '404': *6 '422': *7 x-github: @@ -46377,7 +46597,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *371 + - *373 responses: '204': description: Response @@ -46440,7 +46660,7 @@ paths: - closed - all default: open - - *372 + - *374 - name: type description: Can be the name of an issue type. in: query @@ -46471,7 +46691,7 @@ paths: type: array items: *220 examples: - default: *373 + default: *375 headers: Link: *47 '404': *6 @@ -46630,9 +46850,9 @@ paths: type: integer codespaces: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 '304': *37 '500': *40 '401': *25 @@ -46659,7 +46879,7 @@ paths: parameters: - *87 - *142 - - &376 + - &378 name: codespace_name in: path required: true @@ -46694,15 +46914,15 @@ paths: parameters: - *87 - *142 - - *376 + - *378 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: &565 + default: &567 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -46958,7 +47178,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &379 title: Org Membership description: Org Membership type: object @@ -47025,7 +47245,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &378 + response-if-user-has-an-active-admin-membership-with-organization: &380 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -47122,9 +47342,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: - response-if-user-already-had-membership-with-organization: *378 + response-if-user-already-had-membership-with-organization: *380 '422': *15 '403': *29 x-github: @@ -47195,7 +47415,7 @@ paths: application/json: schema: type: array - items: &379 + items: &381 title: Migration description: A migration. type: object @@ -47524,7 +47744,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -47703,7 +47923,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &380 + - &382 name: migration_id description: The unique identifier of the migration. in: path @@ -47730,7 +47950,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -47900,7 +48120,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *380 + - *382 responses: '302': description: Response @@ -47922,7 +48142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *380 + - *382 responses: '204': description: Response @@ -47946,8 +48166,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *380 - - &820 + - *382 + - &821 name: repo_name description: repo_name parameter in: path @@ -47975,7 +48195,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *380 + - *382 - *17 - *19 responses: @@ -47987,7 +48207,7 @@ paths: type: array items: *283 examples: - default: &391 + default: &393 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -48196,7 +48416,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &381 + items: &383 title: Organization Role description: Organization roles type: object @@ -48403,7 +48623,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -48633,7 +48853,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -48730,7 +48950,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -48888,8 +49108,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *382 - required: *383 + properties: *384 + required: *385 nullable: true type: description: The ownership type of the team @@ -48921,7 +49141,7 @@ paths: - type - parent examples: - default: *384 + default: *386 headers: Link: *47 '404': @@ -48979,13 +49199,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &439 + items: &441 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *382 - required: *383 + properties: *384 + required: *385 name: nullable: true type: string @@ -49273,7 +49493,7 @@ paths: - nuget - container - *87 - - &821 + - &822 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -49309,12 +49529,12 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: - default: *386 + default: *388 '403': *29 '401': *25 - '400': &823 + '400': &824 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -49336,7 +49556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &387 + - &389 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -49354,7 +49574,7 @@ paths: - docker - nuget - container - - &388 + - &390 name: package_name description: The name of the package. in: path @@ -49367,7 +49587,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: default: value: @@ -49419,8 +49639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *387 - - *388 + - *389 + - *390 - *87 responses: '204': @@ -49453,8 +49673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *387 - - *388 + - *389 + - *390 - *87 - name: token description: package token @@ -49487,8 +49707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *387 - - *388 + - *389 + - *390 - *87 - *19 - *17 @@ -49509,7 +49729,7 @@ paths: application/json: schema: type: array - items: &389 + items: &391 title: Package Version description: A version of a software package type: object @@ -49634,10 +49854,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *387 - - *388 + - *389 + - *390 - *87 - - &390 + - &392 name: package_version_id description: Unique identifier of the package version. in: path @@ -49649,7 +49869,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: default: value: @@ -49685,10 +49905,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *387 - - *388 - - *87 + - *389 - *390 + - *87 + - *392 responses: '204': description: Response @@ -49720,10 +49940,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *387 - - *388 - - *87 + - *389 - *390 + - *87 + - *392 responses: '204': description: Response @@ -49753,7 +49973,7 @@ paths: - *87 - *17 - *19 - - &392 + - &394 name: sort description: The property by which to sort the results. in: query @@ -49764,7 +49984,7 @@ paths: - created_at default: created_at - *110 - - &393 + - &395 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -49775,7 +49995,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &394 + - &396 name: repository description: The name of the repository to use to filter the results. in: query @@ -49783,7 +50003,7 @@ paths: schema: type: string example: Hello-World - - &395 + - &397 name: permission description: The permission to use to filter the results. in: query @@ -49791,7 +50011,7 @@ paths: schema: type: string example: issues_read - - &396 + - &398 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -49801,7 +50021,7 @@ paths: schema: type: string format: date-time - - &397 + - &399 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -49811,7 +50031,7 @@ paths: schema: type: string format: date-time - - &398 + - &400 name: token_id description: The ID of the token in: query @@ -50124,7 +50344,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -50150,14 +50370,14 @@ paths: - *87 - *17 - *19 - - *392 - - *110 - - *393 - *394 + - *110 - *395 - *396 - *397 - *398 + - *399 + - *400 responses: '500': *40 '422': *15 @@ -50439,7 +50659,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -50481,7 +50701,7 @@ paths: type: integer configurations: type: array - items: &399 + items: &401 title: Organization private registry description: Private registry configuration for an organization type: object @@ -50771,7 +50991,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &400 + org-private-registry-with-selected-visibility: &402 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -50867,9 +51087,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -51036,7 +51256,7 @@ paths: application/json: schema: type: array - items: &401 + items: &403 title: Projects v2 Project description: A projects v2 project type: object @@ -51106,7 +51326,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &909 + properties: &910 id: type: number description: The unique identifier of the status update. @@ -51154,7 +51374,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &910 + required: &911 - id - node_id - created_at @@ -51179,7 +51399,7 @@ paths: - deleted_at - deleted_by examples: - default: &402 + default: &404 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -51282,7 +51502,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &403 + - &405 name: project_number description: The project's number. in: path @@ -51295,9 +51515,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 headers: Link: *47 '304': *37 @@ -51320,7 +51540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *403 + - *405 requestBody: required: true description: Details of the draft item to create in the project. @@ -51354,7 +51574,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &411 title: Projects v2 Item description: An item belonging to a project type: object @@ -51368,7 +51588,7 @@ paths: content: oneOf: - *220 - - &580 + - &582 title: Pull Request Simple description: Pull Request Simple type: object @@ -51474,8 +51694,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *404 - required: *405 + properties: *406 + required: *407 nullable: true active_lock_reason: type: string @@ -51571,7 +51791,7 @@ paths: _links: type: object properties: - comments: &406 + comments: &408 title: Link description: Hypermedia Link type: object @@ -51580,13 +51800,13 @@ paths: type: string required: - href - commits: *406 - statuses: *406 - html: *406 - issue: *406 - review_comments: *406 - review_comment: *406 - self: *406 + commits: *408 + statuses: *408 + html: *408 + issue: *408 + review_comments: *408 + review_comment: *408 + self: *408 required: - comments - commits @@ -51597,7 +51817,7 @@ paths: - review_comment - self author_association: *221 - auto_merge: &697 + auto_merge: &698 title: Auto merge description: The status of auto merging a pull request. type: object @@ -51699,7 +51919,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &408 + content_type: &410 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -51739,7 +51959,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &410 + draft_issue: &412 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -51813,7 +52033,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *403 + - *405 - *87 - *17 - *108 @@ -51825,7 +52045,7 @@ paths: application/json: schema: type: array - items: &407 + items: &409 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -51972,7 +52192,7 @@ paths: - updated_at - project_url examples: - default: &840 + default: &841 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52102,7 +52322,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *403 + - *405 - *87 requestBody: required: true @@ -52149,7 +52369,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &841 + items: &842 type: object properties: name: @@ -52185,7 +52405,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &842 + iteration_configuration: &843 type: object description: The configuration for iteration fields. properties: @@ -52234,7 +52454,7 @@ paths: value: name: Due date data_type: date - single_select_field: &843 + single_select_field: &844 summary: Create a single select field value: name: Priority @@ -52261,7 +52481,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &844 + iteration_field: &845 summary: Create an iteration field value: name: Sprint @@ -52285,9 +52505,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *407 + schema: *409 examples: - text_field: &845 + text_field: &846 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -52296,7 +52516,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &846 + number_field: &847 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -52305,7 +52525,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &847 + date_field: &848 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -52314,7 +52534,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &848 + single_select_field: &849 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52348,7 +52568,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &849 + iteration_field: &850 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -52393,8 +52613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *403 - - &850 + - *405 + - &851 name: field_id description: The unique identifier of the field. in: path @@ -52407,9 +52627,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: &851 + default: &852 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52465,7 +52685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *403 + - *405 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -52498,7 +52718,7 @@ paths: application/json: schema: type: array - items: &411 + items: &413 title: Projects v2 Item description: An item belonging to a project type: object @@ -52514,7 +52734,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *408 + content_type: *410 content: type: object additionalProperties: true @@ -52557,7 +52777,7 @@ paths: - updated_at - archived_at examples: - default: &412 + default: &414 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -53254,7 +53474,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *403 + - *405 requestBody: required: true description: Details of the item to add to the project. @@ -53291,10 +53511,10 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - issue: *410 - pull_request: *410 + issue: *412 + pull_request: *412 '304': *37 '403': *29 '401': *25 @@ -53314,9 +53534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *403 + - *405 - *87 - - &413 + - &415 name: item_id description: The unique identifier of the project item. in: path @@ -53342,9 +53562,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 headers: Link: *47 '304': *37 @@ -53365,9 +53585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *403 + - *405 - *87 - - *413 + - *415 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -53437,13 +53657,13 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - text_field: *412 - number_field: *412 - date_field: *412 - single_select_field: *412 - iteration_field: *412 + text_field: *414 + number_field: *414 + date_field: *414 + single_select_field: *414 + iteration_field: *414 '401': *25 '403': *29 '404': *6 @@ -53463,9 +53683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *403 + - *405 - *87 - - *413 + - *415 responses: '204': description: Response @@ -53628,7 +53848,7 @@ paths: required: true content: application/json: - schema: *414 + schema: *416 examples: default: value: @@ -53993,7 +54213,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -54196,7 +54416,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &471 title: Full Repository description: Full Repository type: object @@ -54473,8 +54693,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *415 - required: *416 + properties: *417 + required: *418 nullable: true temp_clone_token: type: string @@ -54589,7 +54809,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &585 + properties: &587 url: type: string format: uri @@ -54605,12 +54825,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &586 + required: &588 - url - key - name - html_url - security_and_analysis: *417 + security_and_analysis: *419 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -54694,7 +54914,7 @@ paths: - network_count - subscribers_count examples: - default: &471 + default: &473 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -55220,9 +55440,9 @@ paths: application/json: schema: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55247,7 +55467,7 @@ paths: - *87 - *17 - *19 - - &719 + - &720 name: targets description: | A comma-separated list of rule targets to filter by. @@ -55338,11 +55558,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *168 - conditions: *420 + conditions: *422 rules: type: array description: An array of rules within the ruleset. - items: &422 + items: &424 title: Repository Rule type: object description: A repository rule. @@ -55407,7 +55627,7 @@ paths: application/json: schema: *190 examples: - default: &421 + default: &423 value: id: 21 name: super cool ruleset @@ -55462,7 +55682,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &721 + - &722 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 @@ -55474,14 +55694,14 @@ paths: x-multi-segment: true - *309 - *105 - - &722 + - &723 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 - - &723 + - &724 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -55501,7 +55721,7 @@ paths: description: Response content: application/json: - schema: &724 + schema: &725 title: Rule Suites description: Response type: array @@ -55556,7 +55776,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &725 + default: &726 value: - id: 21 actor_id: 12 @@ -55600,7 +55820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &726 + - &727 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -55616,7 +55836,7 @@ paths: description: Response content: application/json: - schema: &727 + schema: &728 title: Rule Suite description: Response type: object @@ -55715,7 +55935,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &728 + default: &729 value: id: 21 actor_id: 12 @@ -55790,7 +56010,7 @@ paths: application/json: schema: *190 examples: - default: *421 + default: *423 '404': *6 '500': *40 put: @@ -55839,11 +56059,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *168 - conditions: *420 + conditions: *422 rules: description: An array of rules within the ruleset. type: array - items: *422 + items: *424 examples: default: value: @@ -55880,7 +56100,7 @@ paths: application/json: schema: *190 examples: - default: *421 + default: *423 '404': *6 '500': *40 delete: @@ -55939,7 +56159,7 @@ paths: type: array items: *194 examples: - default: *423 + default: *425 '404': *6 '500': *40 x-github: @@ -55976,7 +56196,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -56039,15 +56259,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *425 - - *426 - *427 - *428 - *429 + - *430 + - *431 - *110 - *19 - *17 - - &730 + - &731 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 @@ -56057,7 +56277,7 @@ paths: required: false schema: type: string - - &731 + - &732 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 @@ -56067,10 +56287,10 @@ paths: required: false schema: type: string - - *430 - - *431 - *432 - *433 + - *434 + - *435 responses: '200': description: Response @@ -56078,9 +56298,9 @@ paths: application/json: schema: type: array - items: *434 + items: *436 examples: - default: *435 + default: *437 headers: Link: *47 '404': *6 @@ -56115,9 +56335,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '403': *29 '404': *6 patch: @@ -56270,7 +56490,7 @@ paths: application/json: schema: type: array - items: &752 + items: &753 description: A repository security advisory. type: object properties: @@ -56490,7 +56710,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *440 credits_detailed: type: array nullable: true @@ -56500,7 +56720,7 @@ paths: type: object properties: user: *4 - type: *438 + type: *440 state: type: string description: The state of the user's acceptance of the @@ -56561,7 +56781,7 @@ paths: - private_fork additionalProperties: false examples: - default: &753 + default: &754 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -56948,9 +57168,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *384 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57032,7 +57252,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *440 + - *442 - *17 - *19 responses: @@ -57040,9 +57260,9 @@ paths: description: Success content: application/json: - schema: *441 + schema: *443 examples: - default: *442 + default: *444 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57323,7 +57543,7 @@ paths: type: array items: *147 examples: - default: *443 + default: *445 headers: Link: *47 x-github: @@ -57524,15 +57744,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *444 + - *446 responses: '200': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 headers: Link: *47 x-github: @@ -57570,7 +57790,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &468 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -57616,7 +57836,7 @@ paths: type: string nullable: true examples: - default: &467 + default: &469 value: groups: - group_id: '123' @@ -57730,7 +57950,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 headers: Link: *47 '403': *29 @@ -57824,7 +58044,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &449 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -57887,8 +58107,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *382 - required: *383 + properties: *384 + required: *385 nullable: true members_count: type: integer @@ -58151,7 +58371,7 @@ paths: - repos_count - organization examples: - default: &448 + default: &450 value: id: 1 node_id: MDQ6VGVhbTE= @@ -58228,9 +58448,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '404': *6 x-github: githubCloudOnly: false @@ -58314,16 +58534,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '201': description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '404': *6 '422': *15 '403': *29 @@ -58393,7 +58613,7 @@ paths: application/json: schema: type: array - items: &449 + items: &451 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -58492,7 +58712,7 @@ paths: - updated_at - url examples: - default: &796 + default: &797 value: - author: login: octocat @@ -58601,9 +58821,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: &450 + default: &452 value: author: login: octocat @@ -58677,7 +58897,7 @@ paths: parameters: - *87 - *215 - - &451 + - &453 name: discussion_number description: The number that identifies the discussion. in: path @@ -58689,9 +58909,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58715,7 +58935,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 requestBody: required: false content: @@ -58738,9 +58958,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: &797 + default: &798 value: author: login: octocat @@ -58812,7 +59032,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 responses: '204': description: Response @@ -58840,7 +59060,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 - *110 - *17 - *19 @@ -58851,7 +59071,7 @@ paths: application/json: schema: type: array - items: &452 + items: &454 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -58923,7 +59143,7 @@ paths: - updated_at - url examples: - default: &798 + default: &799 value: - author: login: octocat @@ -58993,7 +59213,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 requestBody: required: true content: @@ -59015,9 +59235,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: &453 + default: &455 value: author: login: octocat @@ -59085,8 +59305,8 @@ paths: parameters: - *87 - *215 - - *451 - - &454 + - *453 + - &456 name: comment_number description: The number that identifies the comment. in: path @@ -59098,9 +59318,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *453 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59124,8 +59344,8 @@ paths: parameters: - *87 - *215 - - *451 - - *454 + - *453 + - *456 requestBody: required: true content: @@ -59147,9 +59367,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: &799 + default: &800 value: author: login: octocat @@ -59215,8 +59435,8 @@ paths: parameters: - *87 - *215 - - *451 - - *454 + - *453 + - *456 responses: '204': description: Response @@ -59244,8 +59464,8 @@ paths: parameters: - *87 - *215 - - *451 - - *454 + - *453 + - *456 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -59271,7 +59491,7 @@ paths: application/json: schema: type: array - items: &455 + items: &457 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -59314,7 +59534,7 @@ paths: - content - created_at examples: - default: &457 + default: &459 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -59366,8 +59586,8 @@ paths: parameters: - *87 - *215 - - *451 - - *454 + - *453 + - *456 requestBody: required: true content: @@ -59400,9 +59620,9 @@ paths: team discussion comment content: application/json: - schema: *455 + schema: *457 examples: - default: &456 + default: &458 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -59431,9 +59651,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59458,9 +59678,9 @@ paths: parameters: - *87 - *215 - - *451 - - *454 - - &458 + - *453 + - *456 + - &460 name: reaction_id description: The unique identifier of the reaction. in: path @@ -59494,7 +59714,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -59520,9 +59740,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 x-github: @@ -59550,7 +59770,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 requestBody: required: true content: @@ -59582,16 +59802,16 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -59616,8 +59836,8 @@ paths: parameters: - *87 - *215 - - *451 - - *458 + - *453 + - *460 responses: '204': description: Response @@ -59647,9 +59867,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59692,9 +59912,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: *462 + default: *464 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59749,9 +59969,9 @@ paths: application/json: schema: type: array - items: *366 + items: *368 examples: - default: *367 + default: *369 headers: Link: *47 x-github: @@ -59835,7 +60055,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &465 title: Team Membership description: Team Membership type: object @@ -59862,7 +60082,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &800 + response-if-user-is-a-team-maintainer: &801 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -59925,9 +60145,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *465 examples: - response-if-users-membership-with-team-is-now-pending: &801 + response-if-users-membership-with-team-is-now-pending: &802 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -60003,7 +60223,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -60034,14 +60254,14 @@ paths: parameters: - *87 - *215 - - *464 - - *465 + - *466 + - *467 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &802 + schema: &803 title: Team Repository description: A team's access to a repository. type: object @@ -60612,8 +60832,8 @@ paths: parameters: - *87 - *215 - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -60660,8 +60880,8 @@ paths: parameters: - *87 - *215 - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -60694,9 +60914,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *467 + default: *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60762,7 +60982,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -60807,7 +61027,7 @@ paths: type: array items: *312 examples: - response-if-child-teams-exist: &803 + response-if-child-teams-exist: &804 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60961,7 +61181,7 @@ paths: resources: type: object properties: - core: &468 + core: &470 title: Rate Limit type: object properties: @@ -60978,21 +61198,21 @@ paths: - remaining - reset - used - graphql: *468 - search: *468 - code_search: *468 - source_import: *468 - integration_manifest: *468 - code_scanning_upload: *468 - actions_runner_registration: *468 - scim: *468 - dependency_snapshots: *468 - dependency_sbom: *468 - code_scanning_autofix: *468 + graphql: *470 + search: *470 + code_search: *470 + source_import: *470 + integration_manifest: *470 + code_scanning_upload: *470 + actions_runner_registration: *470 + scim: *470 + dependency_snapshots: *470 + dependency_sbom: *470 + code_scanning_autofix: *470 required: - core - search - rate: *468 + rate: *470 required: - rate - resources @@ -61097,14 +61317,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *469 + schema: *471 examples: default-response: summary: Default response @@ -61609,7 +61829,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *470 + '301': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61627,8 +61847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -61885,10 +62105,10 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *471 - '307': &472 + default: *473 + '307': &474 description: Temporary Redirect content: application/json: @@ -61917,8 +62137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -61940,7 +62160,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *472 + '307': *474 '404': *6 '409': *118 x-github: @@ -61964,11 +62184,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - - &489 + - &491 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61991,7 +62211,7 @@ paths: type: integer artifacts: type: array - items: &473 + items: &475 title: Artifact description: An artifact type: object @@ -62069,7 +62289,7 @@ paths: - expires_at - updated_at examples: - default: &490 + default: &492 value: total_count: 2 artifacts: @@ -62130,9 +62350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *464 - - *465 - - &474 + - *466 + - *467 + - &476 name: artifact_id description: The unique identifier of the artifact. in: path @@ -62144,7 +62364,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: default: value: @@ -62182,9 +62402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *464 - - *465 - - *474 + - *466 + - *467 + - *476 responses: '204': description: Response @@ -62208,9 +62428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *464 - - *465 - - *474 + - *466 + - *467 + - *476 - name: archive_format in: path required: true @@ -62224,7 +62444,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &653 + '410': &654 description: Gone content: application/json: @@ -62249,14 +62469,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &475 + schema: &477 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -62289,13 +62509,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *475 + schema: *477 examples: selected_actions: *44 responses: @@ -62324,14 +62544,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &476 + schema: &478 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -62364,13 +62584,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *476 + schema: *478 examples: selected_actions: *46 responses: @@ -62401,14 +62621,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -62434,11 +62654,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - - &478 + - &480 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -62472,7 +62692,7 @@ paths: description: Response content: application/json: - schema: &479 + schema: &481 title: Repository actions caches description: Repository actions caches type: object @@ -62514,7 +62734,7 @@ paths: - total_count - actions_caches examples: - default: &480 + default: &482 value: total_count: 1 actions_caches: @@ -62546,23 +62766,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *464 - - *465 + - *466 + - *467 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *478 + - *480 responses: '200': description: Response content: application/json: - schema: *479 + schema: *481 examples: - default: *480 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62582,8 +62802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *464 - - *465 + - *466 + - *467 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -62614,9 +62834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *464 - - *465 - - &481 + - *466 + - *467 + - &483 name: job_id description: The unique identifier of the job. in: path @@ -62628,7 +62848,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &495 title: Job description: Information of a job execution in a workflow run type: object @@ -62935,9 +63155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *464 - - *465 - - *481 + - *466 + - *467 + - *483 responses: '302': description: Response @@ -62965,9 +63185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *464 - - *465 - - *481 + - *466 + - *467 + - *483 requestBody: required: false content: @@ -63012,8 +63232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Status response @@ -63063,8 +63283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -63127,8 +63347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -63146,7 +63366,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &497 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -63166,7 +63386,7 @@ paths: - created_at - updated_at examples: - default: &496 + default: &498 value: total_count: 2 secrets: @@ -63199,9 +63419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *464 - - *465 - - *482 + - *466 + - *467 + - *484 - *19 responses: '200': @@ -63218,7 +63438,7 @@ paths: type: integer variables: type: array - items: &499 + items: &501 title: Actions Variable type: object properties: @@ -63248,7 +63468,7 @@ paths: - created_at - updated_at examples: - default: &500 + default: &502 value: total_count: 2 variables: @@ -63281,8 +63501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63291,7 +63511,7 @@ paths: schema: type: object properties: - enabled: &483 + enabled: &485 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -63326,8 +63546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -63338,7 +63558,7 @@ paths: schema: type: object properties: - enabled: *483 + enabled: *485 allowed_actions: *60 sha_pinning_required: *61 required: @@ -63371,14 +63591,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &484 + schema: &486 type: object properties: access_level: @@ -63396,7 +63616,7 @@ paths: required: - access_level examples: - default: &485 + default: &487 value: access_level: organization x-github: @@ -63421,15 +63641,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *484 + schema: *486 examples: - default: *485 + default: *487 responses: '204': description: Response @@ -63453,8 +63673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63484,8 +63704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Empty response for successful settings update @@ -63519,8 +63739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63547,8 +63767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -63582,8 +63802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63611,8 +63831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -63643,8 +63863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63675,8 +63895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -63708,8 +63928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63738,8 +63958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Success response @@ -63779,8 +63999,8 @@ paths: in: query schema: type: string - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -63824,8 +64044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63857,8 +64077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -63932,8 +64152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -63969,8 +64189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -64000,8 +64220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 responses: '200': @@ -64031,8 +64251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 responses: '204': @@ -64059,8 +64279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 responses: '200': *81 @@ -64085,8 +64305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 requestBody: required: true @@ -64135,8 +64355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 requestBody: required: true @@ -64186,8 +64406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 responses: '200': *290 @@ -64217,8 +64437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 - *291 responses: @@ -64248,9 +64468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *464 - - *465 - - &503 + - *466 + - *467 + - &505 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -64258,7 +64478,7 @@ paths: required: false schema: type: string - - &504 + - &506 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -64266,7 +64486,7 @@ paths: required: false schema: type: string - - &505 + - &507 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -64275,7 +64495,7 @@ paths: required: false schema: type: string - - &506 + - &508 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -64302,7 +64522,7 @@ paths: - pending - *17 - *19 - - &507 + - &509 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -64311,7 +64531,7 @@ paths: schema: type: string format: date-time - - &486 + - &488 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -64320,13 +64540,13 @@ paths: schema: type: boolean default: false - - &508 + - &510 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &509 + - &511 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -64349,7 +64569,7 @@ paths: type: integer workflow_runs: type: array - items: &487 + items: &489 title: Workflow Run description: An invocation of a workflow type: object @@ -64497,7 +64717,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &531 + properties: &533 id: type: string description: SHA for the commit @@ -64548,7 +64768,7 @@ paths: - name - email nullable: true - required: &532 + required: &534 - id - tree_id - message @@ -64595,7 +64815,7 @@ paths: - workflow_url - pull_requests examples: - default: &510 + default: &512 value: total_count: 1 workflow_runs: @@ -64831,24 +65051,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *464 - - *465 - - &488 + - *466 + - *467 + - &490 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *486 + - *488 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: &491 + default: &493 value: id: 30433642 name: Build @@ -65089,9 +65309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '204': description: Response @@ -65114,9 +65334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '200': description: Response @@ -65235,9 +65455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '201': description: Response @@ -65270,12 +65490,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 - *17 - *19 - - *489 + - *491 responses: '200': description: Response @@ -65291,9 +65511,9 @@ paths: type: integer artifacts: type: array - items: *473 + items: *475 examples: - default: *490 + default: *492 headers: Link: *47 x-github: @@ -65317,25 +65537,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *464 - - *465 - - *488 - - &492 + - *466 + - *467 + - *490 + - &494 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *486 + - *488 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *491 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65358,10 +65578,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *464 - - *465 - - *488 - - *492 + - *466 + - *467 + - *490 + - *494 - *17 - *19 responses: @@ -65379,9 +65599,9 @@ paths: type: integer jobs: type: array - items: *493 + items: *495 examples: - default: &494 + default: &496 value: total_count: 1 jobs: @@ -65494,10 +65714,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *464 - - *465 - - *488 - - *492 + - *466 + - *467 + - *490 + - *494 responses: '302': description: Response @@ -65525,9 +65745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '202': description: Response @@ -65560,9 +65780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 requestBody: required: true content: @@ -65629,9 +65849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '202': description: Response @@ -65664,9 +65884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -65696,9 +65916,9 @@ paths: type: integer jobs: type: array - items: *493 + items: *495 examples: - default: *494 + default: *496 headers: Link: *47 x-github: @@ -65723,9 +65943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '302': description: Response @@ -65752,9 +65972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '204': description: Response @@ -65781,9 +66001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '200': description: Response @@ -65843,7 +66063,7 @@ paths: items: type: object properties: - type: &619 + type: &620 type: string description: The type of reviewer. enum: @@ -65928,9 +66148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 requestBody: required: true content: @@ -65977,7 +66197,7 @@ paths: application/json: schema: type: array - items: &603 + items: &605 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -66083,7 +66303,7 @@ paths: - created_at - updated_at examples: - default: &604 + default: &606 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66139,9 +66359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 requestBody: required: false content: @@ -66185,9 +66405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 requestBody: required: false content: @@ -66241,9 +66461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '200': description: Response @@ -66380,8 +66600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -66399,9 +66619,9 @@ paths: type: integer secrets: type: array - items: *495 + items: *497 examples: - default: *496 + default: *498 headers: Link: *47 x-github: @@ -66426,16 +66646,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66457,17 +66677,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: &632 + default: &633 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -66493,8 +66713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 requestBody: required: true @@ -66552,8 +66772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '204': @@ -66579,9 +66799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *464 - - *465 - - *482 + - *466 + - *467 + - *484 - *19 responses: '200': @@ -66598,9 +66818,9 @@ paths: type: integer variables: type: array - items: *499 + items: *501 examples: - default: *500 + default: *502 headers: Link: *47 x-github: @@ -66623,8 +66843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -66676,17 +66896,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *464 - - *465 + - *466 + - *467 - *296 responses: '200': description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: &633 + default: &634 value: name: USERNAME value: octocat @@ -66712,8 +66932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *464 - - *465 + - *466 + - *467 - *296 requestBody: required: true @@ -66756,8 +66976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *464 - - *465 + - *466 + - *467 - *296 responses: '204': @@ -66783,8 +67003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -66802,7 +67022,7 @@ paths: type: integer workflows: type: array - items: &501 + items: &503 title: Workflow description: A GitHub Actions workflow type: object @@ -66909,9 +67129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *464 - - *465 - - &502 + - *466 + - *467 + - &504 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66926,7 +67146,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -66959,9 +67179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *464 - - *465 - - *502 + - *466 + - *467 + - *504 responses: '204': description: Response @@ -66986,9 +67206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *464 - - *465 - - *502 + - *466 + - *467 + - *504 responses: '204': description: Response @@ -67039,9 +67259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *464 - - *465 - - *502 + - *466 + - *467 + - *504 responses: '204': description: Response @@ -67068,19 +67288,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *464 - - *465 - - *502 - - *503 + - *466 + - *467 - *504 - *505 - *506 - - *17 - - *19 - *507 - - *486 - *508 + - *17 + - *19 - *509 + - *488 + - *510 + - *511 responses: '200': description: Response @@ -67096,9 +67316,9 @@ paths: type: integer workflow_runs: type: array - items: *487 + items: *489 examples: - default: *510 + default: *512 headers: Link: *47 x-github: @@ -67131,9 +67351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *464 - - *465 - - *502 + - *466 + - *467 + - *504 responses: '200': description: Response @@ -67194,8 +67414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *464 - - *465 + - *466 + - *467 - *110 - *17 - *108 @@ -67359,8 +67579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -67397,8 +67617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *464 - - *465 + - *466 + - *467 - name: assignee in: path required: true @@ -67434,8 +67654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -67547,8 +67767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *108 - *109 @@ -67605,7 +67825,7 @@ paths: initiator: type: string examples: - default: *511 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67625,8 +67845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -67634,7 +67854,7 @@ paths: application/json: schema: type: array - items: &512 + items: &514 title: Autolink reference description: An autolink reference. type: object @@ -67688,8 +67908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -67728,9 +67948,9 @@ paths: description: response content: application/json: - schema: *512 + schema: *514 examples: - default: &513 + default: &515 value: id: 1 key_prefix: TICKET- @@ -67761,9 +67981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *464 - - *465 - - &514 + - *466 + - *467 + - &516 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67775,9 +67995,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: *513 + default: *515 '404': *6 x-github: githubCloudOnly: false @@ -67797,9 +68017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *464 - - *465 - - *514 + - *466 + - *467 + - *516 responses: '204': description: Response @@ -67823,8 +68043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response if Dependabot is enabled @@ -67872,8 +68092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -67894,8 +68114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -67915,8 +68135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *464 - - *465 + - *466 + - *467 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67954,7 +68174,7 @@ paths: - url protected: type: boolean - protection: &516 + protection: &518 title: Branch Protection description: Branch Protection type: object @@ -67996,7 +68216,7 @@ paths: required: - contexts - checks - enforce_admins: &519 + enforce_admins: &521 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -68011,7 +68231,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &521 + required_pull_request_reviews: &523 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -68087,7 +68307,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &518 + restrictions: &520 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -68364,9 +68584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *464 - - *465 - - &517 + - *466 + - *467 + - &519 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -68380,14 +68600,14 @@ paths: description: Response content: application/json: - schema: &527 + schema: &529 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &576 + commit: &578 title: Commit description: Commit type: object @@ -68421,7 +68641,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &515 + properties: &517 name: type: string example: '"Chris Wanstrath"' @@ -68437,7 +68657,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *515 + properties: *517 nullable: true message: type: string @@ -68458,7 +68678,7 @@ paths: required: - sha - url - verification: &639 + verification: &640 title: Verification type: object properties: @@ -68528,7 +68748,7 @@ paths: type: integer files: type: array - items: &589 + items: &591 title: Diff Entry description: Diff Entry type: object @@ -68612,7 +68832,7 @@ paths: - self protected: type: boolean - protection: *516 + protection: *518 protection_url: type: string format: uri @@ -68719,7 +68939,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *470 + '301': *472 '404': *6 x-github: githubCloudOnly: false @@ -68741,15 +68961,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *516 + schema: *518 examples: default: value: @@ -68943,9 +69163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -69200,7 +69420,7 @@ paths: url: type: string format: uri - required_status_checks: &524 + required_status_checks: &526 title: Status Check Policy description: Status Check Policy type: object @@ -69352,7 +69572,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *518 + restrictions: *520 required_conversation_resolution: type: object properties: @@ -69464,9 +69684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -69491,17 +69711,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: &520 + default: &522 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69523,17 +69743,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *520 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69552,9 +69772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -69579,17 +69799,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: &522 + default: &524 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69685,9 +69905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -69785,9 +70005,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: *522 + default: *524 '422': *15 x-github: githubCloudOnly: false @@ -69808,9 +70028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -69837,17 +70057,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: &523 + default: &525 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69870,17 +70090,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *523 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -69900,9 +70120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -69927,17 +70147,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: &525 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69963,9 +70183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -70017,9 +70237,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: *525 + default: *527 '404': *6 '422': *15 x-github: @@ -70041,9 +70261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -70067,9 +70287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response @@ -70103,9 +70323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -70172,9 +70392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -70238,9 +70458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: content: application/json: @@ -70306,15 +70526,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *518 + schema: *520 examples: default: value: @@ -70405,9 +70625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -70430,9 +70650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response @@ -70442,7 +70662,7 @@ paths: type: array items: *5 examples: - default: &526 + default: &528 value: - id: 1 slug: octoapp @@ -70499,9 +70719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -70535,7 +70755,7 @@ paths: type: array items: *5 examples: - default: *526 + default: *528 '422': *15 x-github: githubCloudOnly: false @@ -70556,9 +70776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -70592,7 +70812,7 @@ paths: type: array items: *5 examples: - default: *526 + default: *528 '422': *15 x-github: githubCloudOnly: false @@ -70613,9 +70833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -70649,7 +70869,7 @@ paths: type: array items: *5 examples: - default: *526 + default: *528 '422': *15 x-github: githubCloudOnly: false @@ -70671,9 +70891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response @@ -70683,7 +70903,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 '404': *6 x-github: githubCloudOnly: false @@ -70703,9 +70923,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -70743,7 +70963,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -70764,9 +70984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -70804,7 +71024,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -70825,9 +71045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: content: application/json: @@ -70864,7 +71084,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -70886,9 +71106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response @@ -70922,9 +71142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -70982,9 +71202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -71042,9 +71262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -71104,9 +71324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -71128,7 +71348,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -71242,8 +71462,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *464 - - *465 + - *466 + - *467 - *103 - *104 - *105 @@ -71279,8 +71499,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -71353,8 +71573,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - *103 - *104 - *105 @@ -71394,8 +71614,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -71465,8 +71685,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -71537,8 +71757,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_response_id in: path required: true @@ -71571,8 +71791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -71851,7 +72071,7 @@ paths: description: Response content: application/json: - schema: &528 + schema: &530 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71971,7 +72191,7 @@ paths: check. type: array items: *225 - deployment: &862 + deployment: &863 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -72251,9 +72471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *464 - - *465 - - &529 + - *466 + - *467 + - &531 name: check_run_id description: The unique identifier of the check run. in: path @@ -72265,9 +72485,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: &530 + default: &532 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -72367,9 +72587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *464 - - *465 - - *529 + - *466 + - *467 + - *531 requestBody: required: true content: @@ -72609,9 +72829,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *530 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72631,9 +72851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *464 - - *465 - - *529 + - *466 + - *467 + - *531 - *17 - *19 responses: @@ -72728,9 +72948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *464 - - *465 - - *529 + - *466 + - *467 + - *531 responses: '201': description: Response @@ -72774,8 +72994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -72797,7 +73017,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &533 + schema: &535 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72883,12 +73103,12 @@ paths: type: string format: date-time nullable: true - head_commit: &893 + head_commit: &894 title: Simple Commit description: A commit. type: object - properties: *531 - required: *532 + properties: *533 + required: *534 latest_check_runs_count: type: integer check_runs_url: @@ -72916,7 +73136,7 @@ paths: - check_runs_url - pull_requests examples: - default: &534 + default: &536 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -73207,9 +73427,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *533 + schema: *535 examples: - default: *534 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73228,8 +73448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -73538,9 +73758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *464 - - *465 - - &535 + - *466 + - *467 + - &537 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73552,9 +73772,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: - default: *534 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73577,17 +73797,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *464 - - *465 - - *535 - - &582 + - *466 + - *467 + - *537 + - &584 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &583 + - &585 name: status description: Returns check runs with the specified `status`. in: query @@ -73626,9 +73846,9 @@ paths: type: integer check_runs: type: array - items: *528 + items: *530 examples: - default: &584 + default: &586 value: total_count: 1 check_runs: @@ -73730,9 +73950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *464 - - *465 - - *535 + - *466 + - *467 + - *537 responses: '201': description: Response @@ -73765,21 +73985,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *316 - *317 - *19 - *17 - - &551 + - &553 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *536 - - &552 + schema: *538 + - &554 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73810,7 +74030,7 @@ paths: be returned. in: query required: false - schema: *537 + schema: *539 responses: '200': description: Response @@ -73826,7 +74046,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *538 + instances_url: *540 state: *113 fixed_at: *137 dismissed_by: @@ -73837,11 +74057,11 @@ paths: required: *21 nullable: true dismissed_at: *136 - dismissed_reason: *539 - dismissed_comment: *540 - rule: *541 - tool: *542 - most_recent_instance: *543 + dismissed_reason: *541 + dismissed_comment: *542 + rule: *543 + tool: *544 + most_recent_instance: *545 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73967,7 +74187,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &544 + '403': &546 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -73994,9 +74214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *464 - - *465 - - &545 + - *466 + - *467 + - &547 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -74010,7 +74230,7 @@ paths: description: Response content: application/json: - schema: &546 + schema: &548 type: object properties: number: *127 @@ -74018,7 +74238,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *538 + instances_url: *540 state: *113 fixed_at: *137 dismissed_by: @@ -74029,8 +74249,8 @@ paths: required: *21 nullable: true dismissed_at: *136 - dismissed_reason: *539 - dismissed_comment: *540 + dismissed_reason: *541 + dismissed_comment: *542 rule: type: object properties: @@ -74084,8 +74304,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *542 - most_recent_instance: *543 + tool: *544 + most_recent_instance: *545 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -74184,7 +74404,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -74204,9 +74424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 requestBody: required: true content: @@ -74221,8 +74441,8 @@ paths: enum: - open - dismissed - dismissed_reason: *539 - dismissed_comment: *540 + dismissed_reason: *541 + dismissed_comment: *542 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -74242,7 +74462,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: default: value: @@ -74318,7 +74538,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &550 + '403': &552 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -74345,15 +74565,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 responses: '200': description: Response content: application/json: - schema: &547 + schema: &549 type: object properties: status: @@ -74379,13 +74599,13 @@ paths: - description - started_at examples: - default: &548 + default: &550 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &549 + '400': &551 description: Bad Request content: application/json: @@ -74396,7 +74616,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -74421,29 +74641,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 responses: '200': description: OK content: application/json: - schema: *547 + schema: *549 examples: - default: *548 + default: *550 '202': description: Accepted content: application/json: - schema: *547 + schema: *549 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *549 + '400': *551 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74475,9 +74695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 requestBody: required: false content: @@ -74522,8 +74742,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *549 - '403': *550 + '400': *551 + '403': *552 '404': *6 '422': description: Unprocessable Entity @@ -74547,13 +74767,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 - *19 - *17 - - *551 - - *552 + - *553 + - *554 responses: '200': description: Response @@ -74561,7 +74781,7 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: default: value: @@ -74600,7 +74820,7 @@ paths: end_column: 50 classifications: - source - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -74634,25 +74854,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *316 - *317 - *19 - *17 - - *552 + - *554 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *536 + schema: *538 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &555 + schema: &557 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -74673,23 +74893,23 @@ paths: application/json: schema: type: array - items: &556 + items: &558 type: object properties: - ref: *536 - commit_sha: &564 + ref: *538 + commit_sha: &566 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *553 + analysis_key: *555 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *554 + category: *556 error: type: string example: error reading field xyz @@ -74713,8 +74933,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *555 - tool: *542 + sarif_id: *557 + tool: *544 deletable: type: boolean warning: @@ -74775,7 +74995,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -74811,8 +75031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74825,7 +75045,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: response: summary: application/json response @@ -74879,7 +75099,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *544 + '403': *546 '404': *6 '422': description: Response if analysis could not be processed @@ -74966,8 +75186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75020,7 +75240,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *550 + '403': *552 '404': *6 '503': *195 x-github: @@ -75042,8 +75262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -75051,7 +75271,7 @@ paths: application/json: schema: type: array - items: &557 + items: &559 title: CodeQL Database description: A CodeQL database. type: object @@ -75162,7 +75382,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -75191,8 +75411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: language in: path description: The language of the CodeQL database. @@ -75204,7 +75424,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: default: value: @@ -75236,9 +75456,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &591 + '302': &593 description: Found - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -75260,8 +75480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *464 - - *465 + - *466 + - *467 - name: language in: path description: The language of the CodeQL database. @@ -75271,7 +75491,7 @@ paths: responses: '204': description: Response - '403': *550 + '403': *552 '404': *6 '503': *195 x-github: @@ -75299,8 +75519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -75309,7 +75529,7 @@ paths: type: object additionalProperties: false properties: - language: &558 + language: &560 type: string description: The language targeted by the CodeQL query enum: @@ -75389,7 +75609,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &562 + schema: &564 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -75399,7 +75619,7 @@ paths: description: The ID of the variant analysis. controller_repo: *119 actor: *4 - query_language: *558 + query_language: *560 query_pack_url: type: string description: The download url for the query pack. @@ -75446,7 +75666,7 @@ paths: items: type: object properties: - repository: &559 + repository: &561 title: Repository Identifier description: Repository Identifier type: object @@ -75482,7 +75702,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &563 + analysis_status: &565 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75514,7 +75734,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &560 + access_mismatch_repos: &562 type: object properties: repository_count: @@ -75528,7 +75748,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *559 + items: *561 required: - repository_count - repositories @@ -75550,8 +75770,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *560 - over_limit_repos: *560 + no_codeql_db_repos: *562 + over_limit_repos: *562 required: - access_mismatch_repos - not_found_repos @@ -75567,7 +75787,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &561 + value: &563 summary: Default response value: id: 1 @@ -75719,10 +75939,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *561 + value: *563 repository_lists: summary: Response for a successful variant analysis submission - value: *561 + value: *563 '404': *6 '422': description: Unable to process variant analysis submission @@ -75750,8 +75970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *464 - - *465 + - *466 + - *467 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75763,9 +75983,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: *561 + default: *563 '404': *6 '503': *195 x-github: @@ -75788,7 +76008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *464 + - *466 - name: repo in: path description: The name of the controller repository. @@ -75823,7 +76043,7 @@ paths: type: object properties: repository: *119 - analysis_status: *563 + analysis_status: *565 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75948,8 +76168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -76034,7 +76254,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -76055,8 +76275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -76148,7 +76368,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *550 + '403': *552 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -76219,8 +76439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -76228,7 +76448,7 @@ paths: schema: type: object properties: - commit_sha: *564 + commit_sha: *566 ref: type: string description: |- @@ -76286,7 +76506,7 @@ paths: schema: type: object properties: - id: *555 + id: *557 url: type: string description: The REST API URL for checking the status of the upload. @@ -76300,7 +76520,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *550 + '403': *552 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -76323,8 +76543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *464 - - *465 + - *466 + - *467 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -76370,7 +76590,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *544 + '403': *546 '404': description: Not Found if the sarif id does not match any upload '503': *195 @@ -76395,8 +76615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -76477,8 +76697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -76598,8 +76818,8 @@ paths: parameters: - *17 - *19 - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -76615,7 +76835,7 @@ paths: type: integer codespaces: type: array - items: *374 + items: *376 examples: default: value: @@ -76913,8 +77133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -76977,17 +77197,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '400': *14 '401': *25 '403': *29 @@ -77016,8 +77236,8 @@ paths: parameters: - *17 - *19 - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -77081,8 +77301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -77117,14 +77337,14 @@ paths: type: integer machines: type: array - items: &810 + items: &811 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *566 - required: *567 + properties: *568 + required: *569 examples: - default: &811 + default: &812 value: total_count: 2 machines: @@ -77164,8 +77384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -77249,8 +77469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -77316,8 +77536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -77335,7 +77555,7 @@ paths: type: integer secrets: type: array - items: &571 + items: &573 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -77355,7 +77575,7 @@ paths: - created_at - updated_at examples: - default: *568 + default: *570 headers: Link: *47 x-github: @@ -77378,16 +77598,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77407,17 +77627,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '200': description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77437,8 +77657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 requestBody: required: true @@ -77491,8 +77711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '204': @@ -77521,8 +77741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *464 - - *465 + - *466 + - *467 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77564,7 +77784,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &573 + properties: &575 login: type: string example: octocat @@ -77657,7 +77877,7 @@ paths: user_view_type: type: string example: public - required: &574 + required: &576 - avatar_url - events_url - followers_url @@ -77731,8 +77951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *464 - - *465 + - *466 + - *467 - *142 responses: '204': @@ -77779,8 +77999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *464 - - *465 + - *466 + - *467 - *142 requestBody: required: false @@ -77807,7 +78027,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &652 + schema: &653 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -78036,8 +78256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *464 - - *465 + - *466 + - *467 - *142 responses: '204': @@ -78069,8 +78289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *464 - - *465 + - *466 + - *467 - *142 responses: '200': @@ -78091,8 +78311,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *573 - required: *574 + properties: *575 + required: *576 nullable: true required: - permission @@ -78147,8 +78367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -78158,7 +78378,7 @@ paths: application/json: schema: type: array - items: &575 + items: &577 title: Commit Comment description: Commit Comment type: object @@ -78216,7 +78436,7 @@ paths: - created_at - updated_at examples: - default: &578 + default: &580 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78275,17 +78495,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '200': description: Response content: application/json: - schema: *575 + schema: *577 examples: - default: &579 + default: &581 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78342,8 +78562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -78366,7 +78586,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: default: value: @@ -78417,8 +78637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '204': @@ -78440,8 +78660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78468,9 +78688,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 '404': *6 @@ -78491,8 +78711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -78525,16 +78745,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Reaction created content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -78556,10 +78776,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *464 - - *465 + - *466 + - *467 - *236 - - *458 + - *460 responses: '204': description: Response @@ -78608,8 +78828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *464 - - *465 + - *466 + - *467 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78665,9 +78885,9 @@ paths: application/json: schema: type: array - items: *576 + items: *578 examples: - default: &704 + default: &705 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78761,9 +78981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *464 - - *465 - - &577 + - *466 + - *467 + - &579 name: commit_sha description: The SHA of the commit. in: path @@ -78835,9 +79055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *464 - - *465 - - *577 + - *466 + - *467 + - *579 - *17 - *19 responses: @@ -78847,9 +79067,9 @@ paths: application/json: schema: type: array - items: *575 + items: *577 examples: - default: *578 + default: *580 headers: Link: *47 x-github: @@ -78877,9 +79097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *464 - - *465 - - *577 + - *466 + - *467 + - *579 requestBody: required: true content: @@ -78914,9 +79134,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: - default: *579 + default: *581 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78944,9 +79164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *464 - - *465 - - *577 + - *466 + - *467 + - *579 - *17 - *19 responses: @@ -78956,9 +79176,9 @@ paths: application/json: schema: type: array - items: *580 + items: *582 examples: - default: &696 + default: &697 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79495,11 +79715,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 - - &581 + - &583 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -79514,9 +79734,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: - default: &681 + default: &682 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79629,11 +79849,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *464 - - *465 - - *581 - - *582 + - *466 + - *467 - *583 + - *584 + - *585 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79667,9 +79887,9 @@ paths: type: integer check_runs: type: array - items: *528 + items: *530 examples: - default: *584 + default: *586 headers: Link: *47 x-github: @@ -79694,9 +79914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *464 - - *465 - - *581 + - *466 + - *467 + - *583 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79704,7 +79924,7 @@ paths: schema: type: integer example: 1 - - *582 + - *584 - *17 - *19 responses: @@ -79722,7 +79942,7 @@ paths: type: integer check_suites: type: array - items: *533 + items: *535 examples: default: value: @@ -79922,9 +80142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *464 - - *465 - - *581 + - *466 + - *467 + - *583 - *17 - *19 responses: @@ -80122,9 +80342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *464 - - *465 - - *581 + - *466 + - *467 + - *583 - *17 - *19 responses: @@ -80134,7 +80354,7 @@ paths: application/json: schema: type: array - items: &757 + items: &758 title: Status description: The status of a commit. type: object @@ -80215,7 +80435,7 @@ paths: site_admin: false headers: Link: *47 - '301': *470 + '301': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80243,8 +80463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -80273,20 +80493,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *585 - required: *586 + properties: *587 + required: *588 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &587 + properties: &589 url: type: string format: uri html_url: type: string format: uri - required: &588 + required: &590 - url - html_url nullable: true @@ -80300,26 +80520,26 @@ paths: contributing: title: Community Health File type: object - properties: *587 - required: *588 + properties: *589 + required: *590 nullable: true readme: title: Community Health File type: object - properties: *587 - required: *588 + properties: *589 + required: *590 nullable: true issue_template: title: Community Health File type: object - properties: *587 - required: *588 + properties: *589 + required: *590 nullable: true pull_request_template: title: Community Health File type: object - properties: *587 - required: *588 + properties: *589 + required: *590 nullable: true required: - code_of_conduct @@ -80446,8 +80666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 - name: basehead @@ -80490,8 +80710,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *576 - merge_base_commit: *576 + base_commit: *578 + merge_base_commit: *578 status: type: string enum: @@ -80511,10 +80731,10 @@ paths: example: 6 commits: type: array - items: *576 + items: *578 files: type: array - items: *589 + items: *591 required: - url - html_url @@ -80800,8 +81020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -80944,7 +81164,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &590 + response-if-content-is-a-file: &592 summary: Response if content is a file value: type: file @@ -81076,7 +81296,7 @@ paths: - size - type - url - - &709 + - &710 title: Content File description: Content File type: object @@ -81277,7 +81497,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *590 + response-if-content-is-a-file: *592 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -81346,7 +81566,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *591 + '302': *593 '304': *37 x-github: githubCloudOnly: false @@ -81369,8 +81589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -81463,7 +81683,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &594 title: File Commit description: File Commit type: object @@ -81615,7 +81835,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: example-for-creating-a-file: value: @@ -81669,7 +81889,7 @@ paths: schema: oneOf: - *3 - - &634 + - &635 description: Repository rule violation was detected type: object properties: @@ -81690,7 +81910,7 @@ paths: items: type: object properties: - placeholder_id: &749 + placeholder_id: &750 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81722,8 +81942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -81784,7 +82004,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: default: value: @@ -81839,8 +82059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *464 - - *465 + - *466 + - *467 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81963,8 +82183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *332 - *333 - *334 @@ -81976,7 +82196,7 @@ paths: schema: type: string - *336 - - *593 + - *595 - *337 - *338 - *110 @@ -81997,7 +82217,7 @@ paths: application/json: schema: type: array - items: &597 + items: &599 type: object description: A Dependabot alert. properties: @@ -82043,7 +82263,7 @@ paths: - unknown - direct - transitive - security_advisory: *594 + security_advisory: *596 security_vulnerability: *131 url: *132 html_url: *133 @@ -82074,8 +82294,8 @@ paths: nullable: true maxLength: 280 fixed_at: *137 - auto_dismissed_at: *595 - dismissal_request: *596 + auto_dismissed_at: *597 + dismissal_request: *598 required: - number - state @@ -82305,9 +82525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *464 - - *465 - - &598 + - *466 + - *467 + - &600 name: alert_number in: path description: |- @@ -82322,7 +82542,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: default: value: @@ -82435,9 +82655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *464 - - *465 - - *598 + - *466 + - *467 + - *600 requestBody: required: true content: @@ -82482,7 +82702,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: default: value: @@ -82611,8 +82831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -82630,7 +82850,7 @@ paths: type: integer secrets: type: array - items: &601 + items: &603 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82683,16 +82903,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *599 + schema: *601 examples: - default: *600 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82712,15 +82932,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '200': description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -82746,8 +82966,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 requestBody: required: true @@ -82800,8 +83020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '204': @@ -82824,8 +83044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *464 - - *465 + - *466 + - *467 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -82985,8 +83205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -83225,8 +83445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -83301,7 +83521,7 @@ paths: - version - url additionalProperties: false - metadata: &602 + metadata: &604 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83334,7 +83554,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *602 + metadata: *604 resolved: type: object description: A collection of resolved package dependencies. @@ -83347,7 +83567,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *602 + metadata: *604 relationship: type: string description: A notation of whether a dependency is requested @@ -83476,8 +83696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *464 - - *465 + - *466 + - *467 - name: sha description: The SHA recorded at creation time. in: query @@ -83517,9 +83737,9 @@ paths: application/json: schema: type: array - items: *603 + items: *605 examples: - default: *604 + default: *606 headers: Link: *47 x-github: @@ -83585,8 +83805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -83667,7 +83887,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: simple-example: summary: Simple example @@ -83740,9 +83960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *464 - - *465 - - &605 + - *466 + - *467 + - &607 name: deployment_id description: deployment_id parameter in: path @@ -83754,7 +83974,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: default: value: @@ -83819,9 +84039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *464 - - *465 - - *605 + - *466 + - *467 + - *607 responses: '204': description: Response @@ -83843,9 +84063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *464 - - *465 - - *605 + - *466 + - *467 + - *607 - *17 - *19 responses: @@ -83855,7 +84075,7 @@ paths: application/json: schema: type: array - items: &606 + items: &608 title: Deployment Status description: The status of a deployment. type: object @@ -84016,9 +84236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *464 - - *465 - - *605 + - *466 + - *467 + - *607 requestBody: required: true content: @@ -84093,9 +84313,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: &607 + default: &609 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -84151,9 +84371,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *464 - - *465 - - *605 + - *466 + - *467 + - *607 - name: status_id in: path required: true @@ -84164,9 +84384,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 '404': *6 x-github: githubCloudOnly: false @@ -84193,12 +84413,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 - - *608 - - *609 + - *466 + - *467 - *610 - *611 + - *612 + - *613 - *17 - *19 responses: @@ -84208,9 +84428,9 @@ paths: application/json: schema: type: array - items: *612 + items: *614 examples: - default: *613 + default: *615 '404': *6 '403': *29 '500': *40 @@ -84234,8 +84454,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84247,7 +84467,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *612 + schema: *614 examples: default: value: @@ -84303,8 +84523,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84363,12 +84583,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *464 - - *465 - - *608 - - *609 + - *466 + - *467 - *610 - *611 + - *612 + - *613 - *17 - *19 responses: @@ -84378,187 +84598,9 @@ paths: application/json: schema: type: array - items: &615 - title: Dependabot alert dismissal request - description: Alert dismissal request made by a user asking to dismiss - a Dependabot alert. - type: object - properties: - id: - type: integer - format: int64 - description: The unique identifier of the dismissal request. - number: - type: integer - format: int64 - description: The number uniquely identifying the dismissal request - within its repository. - repository: - type: object - description: The repository the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the repository the dismissal request - is for. - name: - type: string - description: The name of the repository the dismissal request - is for. - full_name: - type: string - description: The full name of the repository the dismissal - request is for. - organization: - type: object - description: The organization associated with the repository - the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the dismissal request. - properties: - actor_id: - type: integer - format: int64 - description: The ID of the GitHub user who requested the - dismissal request. - actor_name: - type: string - description: The name of the GitHub user who requested the - dismissal request. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the dismissal request metadata. - items: - type: object - properties: - reason: - type: string - description: The reason for the dismissal request. - alert_number: - type: string - description: The alert number. - alert_title: - type: string - description: The title of the alert. - resource_identifier: - type: string - description: The unique identifier for the request type of the - dismissal request. - example: '123' - status: - type: string - description: The status of the dismissal request. - enum: - - pending - - denied - - approved - - expired - requester_comment: - type: string - description: The comment the requester provided when creating - the dismissal request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the dismissal request will expire. - created_at: - type: string - format: date-time - description: The date and time the dismissal request was created. - responses: - type: array - description: The responses to the dismissal request. - nullable: true - items: *614 - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 - html_url: - type: string - description: The URL to view the dismissal request in a browser. - format: uri - example: https://github.com/octo-org/smile/security/dependabot/1 + items: *616 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: dependabot_alert_dismissal - data: - - reason: no_bandwidth - alert_number: '1' - alert_title: lodash - GHSA-1234-abcd-5678 - resource_identifier: '1' - status: denied - requester_comment: No bandwidth to fix this right now - 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/dependabot/1 - html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal - data: - - reason: tolerable_risk - alert_number: '2' - alert_title: axios - GHSA-5678-efgh-9012 - resource_identifier: '2' - status: approved - requester_comment: Risk is acceptable for this internal tool - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 43 - reviewer: - actor_id: 4 - actor_name: octocat - status: approved - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 - html_url: https://github.com/octo-org/smile/security/dependabot/2 + default: *617 '404': *6 '403': *29 '500': *40 @@ -84582,8 +84624,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84595,7 +84637,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -84646,8 +84688,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84718,12 +84760,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - *103 - *104 - *105 - - *616 + - *343 - *17 - *19 responses: @@ -84733,9 +84775,9 @@ paths: application/json: schema: type: array - items: *617 + items: *618 examples: - default: *618 + default: *619 '404': *6 '403': *29 '500': *40 @@ -84760,8 +84802,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84773,7 +84815,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *617 + schema: *618 examples: default: value: @@ -84831,8 +84873,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84901,8 +84943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -84959,8 +85001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -84977,7 +85019,7 @@ paths: type: integer environments: type: array - items: &620 + items: &621 title: Environment description: Details of a deployment environment type: object @@ -85029,7 +85071,7 @@ paths: type: type: string example: wait_timer - wait_timer: &622 + wait_timer: &623 type: integer example: 30 description: The amount of time to delay a job after @@ -85066,7 +85108,7 @@ paths: items: type: object properties: - type: *619 + type: *620 reviewer: anyOf: - *4 @@ -85090,7 +85132,7 @@ paths: - id - node_id - type - deployment_branch_policy: &623 + deployment_branch_policy: &624 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -85206,9 +85248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *464 - - *465 - - &621 + - *466 + - *467 + - &622 name: environment_name in: path required: true @@ -85221,9 +85263,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: - default: &624 + default: &625 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -85307,9 +85349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 requestBody: required: false content: @@ -85318,7 +85360,7 @@ paths: type: object nullable: true properties: - wait_timer: *622 + wait_timer: *623 prevent_self_review: type: boolean example: false @@ -85335,13 +85377,13 @@ paths: items: type: object properties: - type: *619 + type: *620 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *623 + deployment_branch_policy: *624 additionalProperties: false examples: default: @@ -85361,9 +85403,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: - default: *624 + default: *625 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -85387,9 +85429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 responses: '204': description: Default response @@ -85414,9 +85456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *17 - *19 responses: @@ -85434,7 +85476,7 @@ paths: example: 2 branch_policies: type: array - items: &625 + items: &626 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -85491,9 +85533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 requestBody: required: true content: @@ -85539,9 +85581,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: - example-wildcard: &626 + example-wildcard: &627 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -85583,10 +85625,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *464 - - *465 - - *621 - - &627 + - *466 + - *467 + - *622 + - &628 name: branch_policy_id in: path required: true @@ -85598,9 +85640,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85619,10 +85661,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *464 - - *465 - - *621 - - *627 + - *466 + - *467 + - *622 + - *628 requestBody: required: true content: @@ -85650,9 +85692,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85671,10 +85713,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *464 - - *465 - - *621 - - *627 + - *466 + - *467 + - *622 + - *628 responses: '204': description: Response @@ -85699,9 +85741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *621 - - *465 - - *464 + - *622 + - *467 + - *466 responses: '200': description: List of deployment protection rules @@ -85717,7 +85759,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &628 + items: &629 title: Deployment protection rule description: Deployment protection rule type: object @@ -85736,7 +85778,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &629 + app: &630 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85835,9 +85877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *621 - - *465 - - *464 + - *622 + - *467 + - *466 requestBody: content: application/json: @@ -85858,9 +85900,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *628 + schema: *629 examples: - default: &630 + default: &631 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85895,9 +85937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *621 - - *465 - - *464 + - *622 + - *467 + - *466 - *19 - *17 responses: @@ -85916,7 +85958,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *629 + items: *630 examples: default: value: @@ -85951,10 +85993,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *464 - - *465 - - *621 - - &631 + - *466 + - *467 + - *622 + - &632 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85966,9 +86008,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *629 examples: - default: *630 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85989,10 +86031,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: - - *621 - - *465 - - *464 - - *631 + - *622 + - *467 + - *466 + - *632 responses: '204': description: Response @@ -86018,9 +86060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *17 - *19 responses: @@ -86038,9 +86080,9 @@ paths: type: integer secrets: type: array - items: *495 + items: *497 examples: - default: *496 + default: *498 headers: Link: *47 x-github: @@ -86065,17 +86107,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 responses: '200': description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86097,18 +86139,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *293 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *632 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86130,9 +86172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *293 requestBody: required: true @@ -86190,9 +86232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *293 responses: '204': @@ -86218,10 +86260,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *464 - - *465 - - *621 - - *482 + - *466 + - *467 + - *622 + - *484 - *19 responses: '200': @@ -86238,9 +86280,9 @@ paths: type: integer variables: type: array - items: *499 + items: *501 examples: - default: *500 + default: *502 headers: Link: *47 x-github: @@ -86263,9 +86305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 requestBody: required: true content: @@ -86317,18 +86359,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *296 responses: '200': description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *633 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86349,10 +86391,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *464 - - *465 + - *466 + - *467 - *296 - - *621 + - *622 requestBody: required: true content: @@ -86394,10 +86436,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *464 - - *465 + - *466 + - *467 - *296 - - *621 + - *622 responses: '204': description: Response @@ -86419,8 +86461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -86488,8 +86530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *464 - - *465 + - *466 + - *467 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86648,8 +86690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -86681,9 +86723,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *471 + default: *473 '400': *14 '422': *15 '403': *29 @@ -86704,8 +86746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -86765,7 +86807,7 @@ paths: schema: oneOf: - *258 - - *634 + - *635 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86790,8 +86832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *464 - - *465 + - *466 + - *467 - name: file_sha in: path required: true @@ -86890,8 +86932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87000,7 +87042,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &636 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -87214,15 +87256,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *464 - - *465 - - *577 + - *466 + - *467 + - *579 responses: '200': description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -87278,9 +87320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *464 - - *465 - - &636 + - *466 + - *467 + - &637 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. @@ -87297,7 +87339,7 @@ paths: application/json: schema: type: array - items: &637 + items: &638 title: Git Reference description: Git references within a repository type: object @@ -87372,17 +87414,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *464 - - *465 - - *636 + - *466 + - *467 + - *637 responses: '200': description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: &638 + default: &639 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -87411,8 +87453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87441,9 +87483,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: *638 + default: *639 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -87469,9 +87511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *464 - - *465 - - *636 + - *466 + - *467 + - *637 requestBody: required: true content: @@ -87500,9 +87542,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: *638 + default: *639 '422': *15 '409': *118 x-github: @@ -87520,9 +87562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *464 - - *465 - - *636 + - *466 + - *467 + - *637 responses: '204': description: Response @@ -87577,8 +87619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87645,7 +87687,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &641 title: Git Tag description: Metadata for a Git tag type: object @@ -87696,7 +87738,7 @@ paths: - sha - type - url - verification: *639 + verification: *640 required: - sha - url @@ -87706,7 +87748,7 @@ paths: - tag - message examples: - default: &641 + default: &642 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87779,8 +87821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *464 - - *465 + - *466 + - *467 - name: tag_sha in: path required: true @@ -87791,9 +87833,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 '409': *118 x-github: @@ -87817,8 +87859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87891,7 +87933,7 @@ paths: description: Response content: application/json: - schema: &642 + schema: &643 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87987,8 +88029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *464 - - *465 + - *466 + - *467 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -88011,7 +88053,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: default-response: summary: Default response @@ -88070,8 +88112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -88081,7 +88123,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Webhook description: Webhooks for repositories. type: object @@ -88135,7 +88177,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &901 + last_response: &902 title: Hook Response type: object properties: @@ -88209,8 +88251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -88262,9 +88304,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: &644 + default: &645 value: type: Repository id: 12345678 @@ -88312,17 +88354,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 responses: '200': description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 x-github: githubCloudOnly: false @@ -88342,9 +88384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 requestBody: required: true content: @@ -88389,9 +88431,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '422': *15 '404': *6 x-github: @@ -88412,9 +88454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 responses: '204': description: Response @@ -88438,9 +88480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 responses: '200': description: Response @@ -88467,9 +88509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 requestBody: required: false content: @@ -88513,11 +88555,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 - *17 - - *347 + - *349 responses: '200': description: Response @@ -88525,9 +88567,9 @@ paths: application/json: schema: type: array - items: *348 + items: *350 examples: - default: *349 + default: *351 '400': *14 '422': *15 x-github: @@ -88546,18 +88588,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 - *16 responses: '200': description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: *351 + default: *353 '400': *14 '422': *15 x-github: @@ -88576,9 +88618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 - *16 responses: '202': *39 @@ -88601,9 +88643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 responses: '204': description: Response @@ -88628,9 +88670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 responses: '204': description: Response @@ -88653,8 +88695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response if immutable releases are enabled @@ -88700,8 +88742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *154 '409': *118 @@ -88721,8 +88763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *154 '409': *118 @@ -88779,14 +88821,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &645 + schema: &646 title: Import description: A repository import from an external source. type: object @@ -88885,7 +88927,7 @@ paths: - html_url - authors_url examples: - default: &648 + default: &649 value: vcs: subversion use_lfs: true @@ -88901,7 +88943,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': &646 + '503': &647 description: Unavailable due to service under maintenance. content: application/json: @@ -88930,8 +88972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -88979,7 +89021,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: default: value: @@ -89004,7 +89046,7 @@ paths: type: string '422': *15 '404': *6 - '503': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89032,8 +89074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -89082,7 +89124,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: example-1: summary: Example 1 @@ -89130,7 +89172,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': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89153,12 +89195,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response - '503': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89184,9 +89226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *464 - - *465 - - &832 + - *466 + - *467 + - &833 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -89200,7 +89242,7 @@ paths: application/json: schema: type: array - items: &647 + items: &648 title: Porter Author description: Porter Author type: object @@ -89254,7 +89296,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': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89279,8 +89321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *464 - - *465 + - *466 + - *467 - name: author_id in: path required: true @@ -89310,7 +89352,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *648 examples: default: value: @@ -89323,7 +89365,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89347,8 +89389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -89389,7 +89431,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89417,8 +89459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -89445,11 +89487,11 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: - default: *648 + default: *649 '422': *15 - '503': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89472,8 +89514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -89481,8 +89523,8 @@ paths: application/json: schema: *22 examples: - default: *649 - '301': *470 + default: *650 + '301': *472 '404': *6 x-github: githubCloudOnly: false @@ -89502,8 +89544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -89511,12 +89553,12 @@ paths: application/json: schema: anyOf: - - *364 + - *366 - type: object properties: {} additionalProperties: false examples: - default: &651 + default: &652 value: limit: collaborators_only origin: repository @@ -89541,13 +89583,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *650 + schema: *651 examples: default: summary: Example request body @@ -89559,9 +89601,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *651 + default: *652 '409': description: Response x-github: @@ -89583,8 +89625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -89607,8 +89649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -89618,9 +89660,9 @@ paths: application/json: schema: type: array - items: *652 + items: *653 examples: - default: &825 + default: &826 value: - id: 1 repository: @@ -89751,9 +89793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *464 - - *465 - - *368 + - *466 + - *467 + - *370 requestBody: required: false content: @@ -89782,7 +89824,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *653 examples: default: value: @@ -89913,9 +89955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *464 - - *465 - - *368 + - *466 + - *467 + - *370 responses: '204': description: Response @@ -89946,8 +89988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *464 - - *465 + - *466 + - *467 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -89995,7 +90037,7 @@ paths: required: false schema: type: string - - *372 + - *374 - name: sort description: What to sort results by. in: query @@ -90020,7 +90062,7 @@ paths: type: array items: *220 examples: - default: &662 + default: &663 value: - id: 1 node_id: MDU6SXNzdWUx @@ -90168,7 +90210,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *470 + '301': *472 '422': *15 '404': *6 x-github: @@ -90197,8 +90239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -90282,7 +90324,7 @@ paths: application/json: schema: *220 examples: - default: &659 + default: &660 value: id: 1 node_id: MDU6SXNzdWUx @@ -90438,7 +90480,7 @@ paths: '422': *15 '503': *195 '404': *6 - '410': *653 + '410': *654 x-github: triggersNotification: true githubCloudOnly: false @@ -90466,8 +90508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *244 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -90488,9 +90530,9 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: &661 + default: &662 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90548,17 +90590,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '200': description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: &655 + default: &656 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90612,8 +90654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -90636,9 +90678,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: *655 + default: *656 '422': *15 x-github: githubCloudOnly: false @@ -90656,8 +90698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '204': @@ -90678,8 +90720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -90706,9 +90748,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 '404': *6 @@ -90729,8 +90771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -90763,16 +90805,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Reaction created content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -90794,10 +90836,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *464 - - *465 + - *466 + - *467 - *236 - - *458 + - *460 responses: '204': description: Response @@ -90817,8 +90859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -90828,7 +90870,7 @@ paths: application/json: schema: type: array - items: &658 + items: &659 title: Issue Event description: Issue Event type: object @@ -90871,8 +90913,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *656 - required: *657 + properties: *657 + required: *658 nullable: true label: title: Issue Event Label @@ -91179,8 +91221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *464 - - *465 + - *466 + - *467 - name: event_id in: path required: true @@ -91191,7 +91233,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -91383,7 +91425,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *653 + '410': *654 '403': *29 x-github: githubCloudOnly: false @@ -91417,9 +91459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *464 - - *465 - - &660 + - *466 + - *467 + - &661 name: issue_number description: The number that identifies the issue. in: path @@ -91433,10 +91475,10 @@ paths: application/json: schema: *220 examples: - default: *659 - '301': *470 + default: *660 + '301': *472 '404': *6 - '410': *653 + '410': *654 '304': *37 x-github: githubCloudOnly: false @@ -91461,9 +91503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: false content: @@ -91569,13 +91611,13 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 '422': *15 '503': *195 '403': *29 - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91593,9 +91635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: false content: @@ -91623,7 +91665,7 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91639,9 +91681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: content: application/json: @@ -91668,7 +91710,7 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91690,9 +91732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - name: assignee in: path required: true @@ -91732,9 +91774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *227 - *17 - *19 @@ -91745,13 +91787,13 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: *661 + default: *662 headers: Link: *47 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91780,9 +91822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -91804,16 +91846,16 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: *655 + default: *656 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *653 + '410': *654 '422': *15 '404': *6 x-github: @@ -91841,9 +91883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -91855,12 +91897,12 @@ paths: type: array items: *220 examples: - default: *662 + default: *663 headers: Link: *47 - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91888,9 +91930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -91914,15 +91956,15 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *470 + '301': *472 '403': *29 - '410': *653 + '410': *654 '422': *15 '404': *6 x-github: @@ -91953,9 +91995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91969,13 +92011,13 @@ paths: application/json: schema: *220 examples: - default: *659 - '301': *470 + default: *660 + '301': *472 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *653 + '410': *654 x-github: triggersNotification: true githubCloudOnly: false @@ -92001,9 +92043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -92015,12 +92057,12 @@ paths: type: array items: *220 examples: - default: *662 + default: *663 headers: Link: *47 - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92037,9 +92079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -92053,7 +92095,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &664 + - &665 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -92107,7 +92149,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &665 + - &666 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -92243,7 +92285,7 @@ paths: - performed_via_github_app - assignee - assigner - - &666 + - &667 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -92294,7 +92336,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &667 + - &668 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -92345,7 +92387,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &668 + - &669 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -92399,7 +92441,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &669 + - &670 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -92446,7 +92488,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &671 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -92493,7 +92535,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &672 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -92553,7 +92595,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &673 title: Locked Issue Event description: Locked Issue Event type: object @@ -92601,7 +92643,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &674 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92667,7 +92709,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &675 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92733,7 +92775,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &676 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92799,7 +92841,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &677 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92890,7 +92932,7 @@ paths: color: red headers: Link: *47 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92907,9 +92949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -92921,7 +92963,7 @@ paths: type: array items: *219 examples: - default: &663 + default: &664 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92939,9 +92981,9 @@ paths: default: false headers: Link: *47 - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92958,9 +93000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: false content: @@ -93021,10 +93063,10 @@ paths: type: array items: *219 examples: - default: *663 - '301': *470 + default: *664 + '301': *472 '404': *6 - '410': *653 + '410': *654 '422': *15 x-github: githubCloudOnly: false @@ -93041,9 +93083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: false content: @@ -93105,10 +93147,10 @@ paths: type: array items: *219 examples: - default: *663 - '301': *470 + default: *664 + '301': *472 '404': *6 - '410': *653 + '410': *654 '422': *15 x-github: githubCloudOnly: false @@ -93125,15 +93167,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 responses: '204': description: Response - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93152,9 +93194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - name: name in: path required: true @@ -93178,9 +93220,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93200,9 +93242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: false content: @@ -93230,7 +93272,7 @@ paths: '204': description: Response '403': *29 - '410': *653 + '410': *654 '404': *6 '422': *15 x-github: @@ -93248,9 +93290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 responses: '204': description: Response @@ -93280,9 +93322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 responses: '200': description: Response @@ -93290,10 +93332,10 @@ paths: application/json: schema: *220 examples: - default: *659 - '301': *470 + default: *660 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93310,9 +93352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - 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. @@ -93338,13 +93380,13 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93362,9 +93404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -93396,16 +93438,16 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -93427,10 +93469,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *464 - - *465 - - *660 - - *458 + - *466 + - *467 + - *661 + - *460 responses: '204': description: Response @@ -93459,9 +93501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -93485,7 +93527,7 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -93518,9 +93560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -93532,11 +93574,11 @@ paths: type: array items: *220 examples: - default: *662 + default: *663 headers: Link: *47 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93564,9 +93606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -93595,14 +93637,14 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *653 + '410': *654 '422': *15 '404': *6 x-github: @@ -93622,9 +93664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -93657,7 +93699,7 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 '403': *29 '404': *6 '422': *7 @@ -93679,9 +93721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -93696,7 +93738,6 @@ paths: description: Timeline Event type: object anyOf: - - *664 - *665 - *666 - *667 @@ -93709,6 +93750,7 @@ paths: - *674 - *675 - *676 + - *677 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -94017,7 +94059,7 @@ paths: type: string comments: type: array - items: &698 + items: &699 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -94226,7 +94268,7 @@ paths: type: string comments: type: array - items: *575 + items: *577 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -94515,7 +94557,7 @@ paths: headers: Link: *47 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94532,8 +94574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -94543,7 +94585,7 @@ paths: application/json: schema: type: array - items: &677 + items: &678 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94609,8 +94651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -94646,9 +94688,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &678 + default: &679 value: id: 1 key: ssh-rsa AAA... @@ -94682,9 +94724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *464 - - *465 - - &679 + - *466 + - *467 + - &680 name: key_id description: The unique identifier of the key. in: path @@ -94696,9 +94738,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: *678 + default: *679 '404': *6 x-github: githubCloudOnly: false @@ -94716,9 +94758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *464 - - *465 - - *679 + - *466 + - *467 + - *680 responses: '204': description: Response @@ -94738,8 +94780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -94751,7 +94793,7 @@ paths: type: array items: *219 examples: - default: *663 + default: *664 headers: Link: *47 '404': *6 @@ -94772,8 +94814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -94811,7 +94853,7 @@ paths: application/json: schema: *219 examples: - default: &680 + default: &681 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94843,8 +94885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -94857,7 +94899,7 @@ paths: application/json: schema: *219 examples: - default: *680 + default: *681 '404': *6 x-github: githubCloudOnly: false @@ -94874,8 +94916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -94940,8 +94982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -94967,8 +95009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -95004,8 +95046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '202': *39 '403': @@ -95033,8 +95075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -95060,9 +95102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *464 - - *465 - - *551 + - *466 + - *467 + - *553 responses: '200': description: Response @@ -95207,8 +95249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95273,8 +95315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95308,9 +95350,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *576 + schema: *578 examples: - default: *681 + default: *682 '204': description: Response when already merged '404': @@ -95335,8 +95377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *464 - - *465 + - *466 + - *467 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -95377,12 +95419,12 @@ paths: application/json: schema: type: array - items: &682 + items: &683 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *404 - required: *405 + properties: *406 + required: *407 examples: default: value: @@ -95438,8 +95480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95479,9 +95521,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: &683 + default: &684 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -95540,9 +95582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *464 - - *465 - - &684 + - *466 + - *467 + - &685 name: milestone_number description: The number that identifies the milestone. in: path @@ -95554,9 +95596,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *683 + default: *684 '404': *6 x-github: githubCloudOnly: false @@ -95573,9 +95615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *464 - - *465 - - *684 + - *466 + - *467 + - *685 requestBody: required: false content: @@ -95613,9 +95655,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *683 + default: *684 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95631,9 +95673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *464 - - *465 - - *684 + - *466 + - *467 + - *685 responses: '204': description: Response @@ -95654,9 +95696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *464 - - *465 - - *684 + - *466 + - *467 + - *685 - *17 - *19 responses: @@ -95668,7 +95710,7 @@ paths: type: array items: *219 examples: - default: *663 + default: *664 headers: Link: *47 x-github: @@ -95687,12 +95729,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *464 - - *465 - - *685 + - *466 + - *467 - *686 - - *227 - *687 + - *227 + - *688 - *17 - *19 responses: @@ -95704,7 +95746,7 @@ paths: type: array items: *247 examples: - default: *688 + default: *689 headers: Link: *47 x-github: @@ -95728,8 +95770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -95787,14 +95829,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &689 + schema: &690 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95919,7 +95961,7 @@ paths: - custom_404 - public examples: - default: &690 + default: &691 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95960,8 +96002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -96015,9 +96057,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *690 examples: - default: *690 + default: *691 '422': *15 '409': *118 x-github: @@ -96040,8 +96082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -96148,8 +96190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -96175,8 +96217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -96186,7 +96228,7 @@ paths: application/json: schema: type: array - items: &691 + items: &692 title: Page Build description: Page Build type: object @@ -96280,8 +96322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -96326,16 +96368,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: &692 + default: &693 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -96383,8 +96425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *464 - - *465 + - *466 + - *467 - name: build_id in: path required: true @@ -96395,9 +96437,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: *692 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96417,8 +96459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -96523,9 +96565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *464 - - *465 - - &693 + - *466 + - *467 + - &694 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -96583,9 +96625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *464 - - *465 - - *693 + - *466 + - *467 + - *694 responses: '204': *154 '404': *6 @@ -96612,8 +96654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -96871,8 +96913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Private vulnerability reporting status @@ -96909,8 +96951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *154 '422': *14 @@ -96931,8 +96973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *154 '422': *14 @@ -96954,8 +96996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -96965,7 +97007,7 @@ paths: type: array items: *155 examples: - default: *694 + default: *695 '403': *29 '404': *6 x-github: @@ -96987,8 +97029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -97004,7 +97046,7 @@ paths: required: - properties examples: - default: *695 + default: *696 responses: '204': description: No Content when custom property values are successfully created @@ -97042,8 +97084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -97103,9 +97145,9 @@ paths: application/json: schema: type: array - items: *580 + items: *582 examples: - default: *696 + default: *697 headers: Link: *47 '304': *37 @@ -97137,8 +97179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -97203,7 +97245,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &701 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97314,8 +97356,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *404 - required: *405 + properties: *406 + required: *407 nullable: true active_lock_reason: type: string @@ -97360,7 +97402,7 @@ paths: nullable: true requested_teams: type: array - items: *439 + items: *441 nullable: true head: type: object @@ -97399,14 +97441,14 @@ paths: _links: type: object properties: - comments: *406 - commits: *406 - statuses: *406 - html: *406 - issue: *406 - review_comments: *406 - review_comment: *406 - self: *406 + comments: *408 + commits: *408 + statuses: *408 + html: *408 + issue: *408 + review_comments: *408 + review_comment: *408 + self: *408 required: - comments - commits @@ -97417,7 +97459,7 @@ paths: - review_comment - self author_association: *221 - auto_merge: *697 + auto_merge: *698 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -97509,7 +97551,7 @@ paths: - merged_by - review_comments examples: - default: &701 + default: &702 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -98036,8 +98078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: sort in: query required: false @@ -98066,9 +98108,9 @@ paths: application/json: schema: type: array - items: *698 + items: *699 examples: - default: &703 + default: &704 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98145,17 +98187,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '200': description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: &699 + default: &700 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98230,8 +98272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -98254,9 +98296,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98272,8 +98314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '204': @@ -98295,8 +98337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -98323,9 +98365,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 '404': *6 @@ -98346,8 +98388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -98380,16 +98422,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Reaction created content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -98411,10 +98453,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *464 - - *465 + - *466 + - *467 - *236 - - *458 + - *460 responses: '204': description: Response @@ -98457,9 +98499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *464 - - *465 - - &702 + - *466 + - *467 + - &703 name: pull_number description: The number that identifies the pull request. in: path @@ -98472,9 +98514,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *700 + schema: *701 examples: - default: *701 + default: *702 '304': *37 '404': *6 '406': @@ -98509,9 +98551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: false content: @@ -98553,9 +98595,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *701 examples: - default: *701 + default: *702 '422': *15 '403': *29 x-github: @@ -98577,9 +98619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: true content: @@ -98639,17 +98681,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '401': *25 '403': *29 '404': *6 @@ -98679,9 +98721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 - *244 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98702,9 +98744,9 @@ paths: application/json: schema: type: array - items: *698 + items: *699 examples: - default: *703 + default: *704 headers: Link: *47 x-github: @@ -98737,9 +98779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: true content: @@ -98844,7 +98886,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: example-for-a-multi-line-comment: value: @@ -98932,9 +98974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 - *236 requestBody: required: true @@ -98957,7 +98999,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: default: value: @@ -99043,9 +99085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 - *17 - *19 responses: @@ -99055,9 +99097,9 @@ paths: application/json: schema: type: array - items: *576 + items: *578 examples: - default: *704 + default: *705 headers: Link: *47 x-github: @@ -99087,9 +99129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 - *17 - *19 responses: @@ -99099,7 +99141,7 @@ paths: application/json: schema: type: array - items: *589 + items: *591 examples: default: value: @@ -99137,9 +99179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 responses: '204': description: Response if pull request has been merged @@ -99162,9 +99204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: false content: @@ -99275,9 +99317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 responses: '200': description: Response @@ -99352,9 +99394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: false content: @@ -99391,7 +99433,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: default: value: @@ -99927,9 +99969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: true content: @@ -99963,7 +100005,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: default: value: @@ -100468,9 +100510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 - *17 - *19 responses: @@ -100480,7 +100522,7 @@ paths: application/json: schema: type: array - items: &705 + items: &706 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100631,9 +100673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: false content: @@ -100719,9 +100761,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: - default: &707 + default: &708 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100784,10 +100826,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 - - &706 + - *466 + - *467 + - *703 + - &707 name: review_id description: The unique identifier of the review. in: path @@ -100799,9 +100841,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: - default: &708 + default: &709 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100860,10 +100902,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 - - *706 + - *466 + - *467 + - *703 + - *707 requestBody: required: true content: @@ -100886,7 +100928,7 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: default: value: @@ -100948,18 +100990,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 - - *706 + - *466 + - *467 + - *703 + - *707 responses: '200': description: Response content: application/json: - schema: *705 + schema: *706 examples: - default: *707 + default: *708 '422': *7 '404': *6 x-github: @@ -100986,10 +101028,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *464 - - *465 - - *702 - - *706 + - *466 + - *467 + - *703 + - *707 - *17 - *19 responses: @@ -101072,9 +101114,9 @@ paths: _links: type: object properties: - self: *406 - html: *406 - pull_request: *406 + self: *408 + html: *408 + pull_request: *408 required: - self - html @@ -101224,10 +101266,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 - - *706 + - *466 + - *467 + - *703 + - *707 requestBody: required: true content: @@ -101255,7 +101297,7 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: default: value: @@ -101318,10 +101360,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 - - *706 + - *466 + - *467 + - *703 + - *707 requestBody: required: true content: @@ -101356,9 +101398,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: - default: *708 + default: *709 '404': *6 '422': *7 '403': *29 @@ -101380,9 +101422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: false content: @@ -101445,8 +101487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101459,9 +101501,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: &710 + default: &711 value: type: file encoding: base64 @@ -101503,8 +101545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *464 - - *465 + - *466 + - *467 - name: dir description: The alternate path to look for a README file in: path @@ -101524,9 +101566,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *710 + default: *711 '404': *6 '422': *15 x-github: @@ -101548,8 +101590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -101559,7 +101601,7 @@ paths: application/json: schema: type: array - items: *711 + items: *712 examples: default: value: @@ -101653,8 +101695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -101730,9 +101772,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: - default: &715 + default: &716 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101837,9 +101879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *464 - - *465 - - &713 + - *466 + - *467 + - &714 name: asset_id description: The unique identifier of the asset. in: path @@ -101851,9 +101893,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: &714 + default: &715 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 @@ -101888,7 +101930,7 @@ paths: type: User site_admin: false '404': *6 - '302': *591 + '302': *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101904,9 +101946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *464 - - *465 - - *713 + - *466 + - *467 + - *714 requestBody: required: false content: @@ -101934,9 +101976,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: *714 + default: *715 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101952,9 +101994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *464 - - *465 - - *713 + - *466 + - *467 + - *714 responses: '204': description: Response @@ -101978,8 +102020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -102064,16 +102106,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *711 + schema: *712 examples: - default: *715 + default: *716 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102090,8 +102132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *464 - - *465 + - *466 + - *467 - name: tag description: tag parameter in: path @@ -102104,9 +102146,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: - default: *715 + default: *716 '404': *6 x-github: githubCloudOnly: false @@ -102128,9 +102170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *464 - - *465 - - &716 + - *466 + - *467 + - &717 name: release_id description: The unique identifier of the release. in: path @@ -102144,9 +102186,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: *711 + schema: *712 examples: - default: *715 + default: *716 '401': description: Unauthorized x-github: @@ -102164,9 +102206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 requestBody: required: false content: @@ -102230,9 +102272,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: - default: *715 + default: *716 '404': description: Not Found if the discussion category name is invalid content: @@ -102253,9 +102295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 responses: '204': description: Response @@ -102275,9 +102317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 - *17 - *19 responses: @@ -102287,7 +102329,7 @@ paths: application/json: schema: type: array - items: *712 + items: *713 examples: default: value: @@ -102369,9 +102411,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 - name: name in: query required: true @@ -102397,7 +102439,7 @@ paths: description: Response for successful upload content: application/json: - schema: *712 + schema: *713 examples: response-for-successful-upload: value: @@ -102452,9 +102494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 - 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. @@ -102478,9 +102520,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 '404': *6 @@ -102501,9 +102543,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 requestBody: required: true content: @@ -102533,16 +102575,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Reaction created content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -102564,10 +102606,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *464 - - *465 - - *716 - - *458 + - *466 + - *467 + - *717 + - *460 responses: '204': description: Response @@ -102591,9 +102633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 - *17 - *19 responses: @@ -102610,7 +102652,7 @@ paths: oneOf: - allOf: - *169 - - &717 + - &718 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102631,67 +102673,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *170 - - *717 + - *718 - allOf: - *171 - - *717 + - *718 - allOf: - *172 - - *717 + - *718 - allOf: + - *719 - *718 - - *717 - allOf: - *173 - - *717 + - *718 - allOf: - *174 - - *717 + - *718 - allOf: - *175 - - *717 + - *718 - allOf: - *176 - - *717 + - *718 - allOf: - *177 - - *717 + - *718 - allOf: - *178 - - *717 + - *718 - allOf: - *179 - - *717 + - *718 - allOf: - *180 - - *717 + - *718 - allOf: - *181 - - *717 + - *718 - allOf: - *182 - - *717 + - *718 - allOf: - *183 - - *717 + - *718 - allOf: - *184 - - *717 + - *718 - allOf: - *185 - - *717 + - *718 - allOf: - *186 - - *717 + - *718 - allOf: - *187 - - *717 + - *718 - allOf: - *188 - - *717 + - *718 - allOf: - *189 - - *717 + - *718 examples: default: value: @@ -102730,8 +102772,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - name: includes_parents @@ -102742,7 +102784,7 @@ paths: schema: type: boolean default: true - - *719 + - *720 responses: '200': description: Response @@ -102797,8 +102839,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 requestBody: description: Request body required: true @@ -102827,7 +102869,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *720 + items: *721 required: - name - enforcement @@ -102860,7 +102902,7 @@ paths: application/json: schema: *190 examples: - default: &729 + default: &730 value: id: 42 name: super cool ruleset @@ -102907,12 +102949,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *464 - - *465 - - *721 - - *105 + - *466 + - *467 - *722 + - *105 - *723 + - *724 - *17 - *19 responses: @@ -102920,9 +102962,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: *725 + default: *726 '404': *6 '500': *40 x-github: @@ -102943,17 +102985,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *464 - - *465 - - *726 + - *466 + - *467 + - *727 responses: '200': description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: *728 + default: *729 '404': *6 '500': *40 x-github: @@ -102981,8 +103023,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103004,7 +103046,7 @@ paths: application/json: schema: *190 examples: - default: *729 + default: *730 '404': *6 '500': *40 put: @@ -103022,8 +103064,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103057,7 +103099,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *720 + items: *721 examples: default: value: @@ -103087,7 +103129,7 @@ paths: application/json: schema: *190 examples: - default: *729 + default: *730 '404': *6 '500': *40 delete: @@ -103105,8 +103147,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103129,8 +103171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - name: ruleset_id @@ -103148,7 +103190,7 @@ paths: type: array items: *194 examples: - default: *423 + default: *425 '404': *6 '500': *40 x-github: @@ -103167,8 +103209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103186,7 +103228,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -103241,22 +103283,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *464 - - *465 - - *425 - - *426 + - *466 + - *467 - *427 - *428 - *429 + - *430 + - *431 - *110 - *19 - *17 - - *730 - *731 - - *430 - - *431 + - *732 - *432 - *433 + - *434 + - *435 responses: '200': description: Response @@ -103264,7 +103306,7 @@ paths: application/json: schema: type: array - items: &735 + items: &736 type: object properties: number: *127 @@ -103283,8 +103325,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *732 - resolution: *733 + state: *733 + resolution: *734 resolved_at: type: string format: date-time @@ -103380,7 +103422,7 @@ paths: pull request. ' - oneOf: *734 + oneOf: *735 nullable: true has_more_locations: type: boolean @@ -103529,16 +103571,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *464 - - *465 - - *545 - - *433 + - *466 + - *467 + - *547 + - *435 responses: '200': description: Response content: application/json: - schema: *735 + schema: *736 examples: default: value: @@ -103592,9 +103634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 requestBody: required: true content: @@ -103602,8 +103644,8 @@ paths: schema: type: object properties: - state: *732 - resolution: *733 + state: *733 + resolution: *734 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103637,7 +103679,7 @@ paths: description: Response content: application/json: - schema: *735 + schema: *736 examples: default: value: @@ -103732,9 +103774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 - *19 - *17 responses: @@ -103745,7 +103787,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &923 + items: &924 type: object properties: type: @@ -103771,7 +103813,6 @@ paths: example: commit details: oneOf: - - *736 - *737 - *738 - *739 @@ -103784,6 +103825,7 @@ paths: - *746 - *747 - *748 + - *749 examples: default: value: @@ -103869,8 +103911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -103878,14 +103920,14 @@ paths: schema: type: object properties: - reason: &750 + reason: &751 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *749 + placeholder_id: *750 required: - reason - placeholder_id @@ -103902,7 +103944,7 @@ paths: schema: type: object properties: - reason: *750 + reason: *751 expire_at: type: string format: date-time @@ -103948,8 +103990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103964,7 +104006,7 @@ paths: properties: incremental_scans: type: array - items: &751 + items: &752 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103990,15 +104032,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *751 + items: *752 backfill_scans: type: array - items: *751 + items: *752 custom_pattern_backfill_scans: type: array items: allOf: - - *751 + - *752 - type: object properties: pattern_name: @@ -104068,8 +104110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *464 - - *465 + - *466 + - *467 - *110 - name: sort description: The property to sort the results by. @@ -104113,9 +104155,9 @@ paths: application/json: schema: type: array - items: *752 + items: *753 examples: - default: *753 + default: *754 '400': *14 '404': *6 x-github: @@ -104138,8 +104180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -104212,7 +104254,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *440 required: - login - type @@ -104299,9 +104341,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *753 examples: - default: &755 + default: &756 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104534,8 +104576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -104639,7 +104681,7 @@ paths: description: Response content: application/json: - schema: *752 + schema: *753 examples: default: value: @@ -104786,17 +104828,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *464 - - *465 - - *754 + - *466 + - *467 + - *755 responses: '200': description: Response content: application/json: - schema: *752 + schema: *753 examples: - default: *755 + default: *756 '403': *29 '404': *6 x-github: @@ -104820,9 +104862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *464 - - *465 - - *754 + - *466 + - *467 + - *755 requestBody: required: true content: @@ -104895,7 +104937,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *440 required: - login - type @@ -104981,10 +105023,10 @@ paths: description: Response content: application/json: - schema: *752 + schema: *753 examples: - default: *755 - add_credit: *755 + default: *756 + add_credit: *756 '403': *29 '404': *6 '422': @@ -105022,9 +105064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *464 - - *465 - - *754 + - *466 + - *467 + - *755 responses: '202': *39 '400': *14 @@ -105051,17 +105093,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *464 - - *465 - - *754 + - *466 + - *467 + - *755 responses: '202': description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *471 + default: *473 '400': *14 '422': *15 '403': *29 @@ -105087,8 +105129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -105187,8 +105229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -105197,7 +105239,7 @@ paths: application/json: schema: type: array - items: &756 + items: &757 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -105230,8 +105272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -105307,8 +105349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -105404,8 +105446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105559,8 +105601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105570,7 +105612,7 @@ paths: application/json: schema: type: array - items: *756 + items: *757 examples: default: value: @@ -105603,8 +105645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *464 - - *465 + - *466 + - *467 - name: sha in: path required: true @@ -105658,7 +105700,7 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: default: value: @@ -105712,8 +105754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -105745,14 +105787,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &758 + schema: &759 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105820,8 +105862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -105847,7 +105889,7 @@ paths: description: Response content: application/json: - schema: *758 + schema: *759 examples: default: value: @@ -105874,8 +105916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -105895,8 +105937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -105975,8 +106017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -105984,7 +106026,7 @@ paths: application/json: schema: type: array - items: &759 + items: &760 title: Tag protection description: Tag protection type: object @@ -106036,8 +106078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -106060,7 +106102,7 @@ paths: description: Response content: application/json: - schema: *759 + schema: *760 examples: default: value: @@ -106091,8 +106133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -106129,8 +106171,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *464 - - *465 + - *466 + - *467 - name: ref in: path required: true @@ -106166,8 +106208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -106179,7 +106221,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 headers: Link: *47 '404': *6 @@ -106199,8 +106241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 responses: @@ -106208,7 +106250,7 @@ paths: description: Response content: application/json: - schema: &760 + schema: &761 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -106220,7 +106262,7 @@ paths: required: - names examples: - default: &761 + default: &762 value: names: - octocat @@ -106243,8 +106285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -106275,9 +106317,9 @@ paths: description: Response content: application/json: - schema: *760 + schema: *761 examples: - default: *761 + default: *762 '404': *6 '422': *7 x-github: @@ -106298,9 +106340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *464 - - *465 - - &762 + - *466 + - *467 + - &763 name: per description: The time frame to display results for. in: query @@ -106329,7 +106371,7 @@ paths: example: 128 clones: type: array - items: &763 + items: &764 title: Traffic type: object properties: @@ -106416,8 +106458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -106507,8 +106549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -106568,9 +106610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *464 - - *465 - - *762 + - *466 + - *467 + - *763 responses: '200': description: Response @@ -106589,7 +106631,7 @@ paths: example: 3782 views: type: array - items: *763 + items: *764 required: - uniques - count @@ -106666,8 +106708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -106941,8 +106983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106965,8 +107007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -106988,8 +107030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -107015,8 +107057,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *464 - - *465 + - *466 + - *467 - name: ref in: path required: true @@ -107108,9 +107150,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *471 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107261,7 +107303,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &771 + - &772 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107270,7 +107312,7 @@ paths: schema: type: string example: members - - &776 + - &777 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107281,7 +107323,7 @@ paths: default: 1 format: int32 example: 1 - - &777 + - &778 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107323,7 +107365,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &766 + items: &767 allOf: - type: object required: @@ -107398,7 +107440,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: &778 + meta: &779 type: object description: The metadata associated with the creation/updates to the user. @@ -107458,30 +107500,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &767 + '400': &768 description: Bad request content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 - '401': *765 - '403': &768 + schema: *765 + '401': *766 + '403': &769 description: Permission denied - '429': &769 + '429': &770 description: Too many requests content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 - '500': &770 + schema: *765 + '500': &771 description: Internal server error content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 + schema: *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107505,7 +107547,7 @@ paths: required: true content: application/json: - schema: &774 + schema: &775 type: object required: - schemas @@ -107565,9 +107607,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *766 + schema: *767 examples: - group: &772 + group: &773 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -107586,13 +107628,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': *767 - '401': *765 - '403': *768 - '409': &775 + '400': *768 + '401': *766 + '403': *769 + '409': &776 description: Duplicate record detected - '429': *769 - '500': *770 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107609,7 +107651,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: - - &773 + - &774 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -107617,22 +107659,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *771 + - *772 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *766 + schema: *767 examples: - default: *772 - '400': *767 - '401': *765 - '403': *768 + default: *773 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '429': *769 - '500': *770 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107651,13 +107693,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: - - *773 + - *774 - *41 requestBody: required: true content: application/json: - schema: *774 + schema: *775 examples: group: summary: Group @@ -107683,17 +107725,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *766 + schema: *767 examples: - group: *772 - groupWithMembers: *772 - '400': *767 - '401': *765 - '403': *768 + group: *773 + groupWithMembers: *773 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '409': *775 - '429': *769 - '500': *770 + '409': *776 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107717,13 +107759,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: - - *773 + - *774 - *41 requestBody: required: true content: application/json: - schema: &785 + schema: &786 type: object required: - Operations @@ -107783,17 +107825,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *766 + schema: *767 examples: - updateGroup: *772 - addMembers: *772 - '400': *767 - '401': *765 - '403': *768 + updateGroup: *773 + addMembers: *773 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '409': *775 - '429': *769 - '500': *770 + '409': *776 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107809,17 +107851,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: - - *773 + - *774 - *41 responses: '204': description: Group was deleted, no content - '400': *767 - '401': *765 - '403': *768 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '429': *769 - '500': *770 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107853,8 +107895,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *776 - *777 + - *778 - *41 responses: '200': @@ -107887,7 +107929,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &780 + items: &781 allOf: - type: object required: @@ -107966,7 +108008,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &779 + roles: &780 type: array description: The roles assigned to the user. items: @@ -108022,7 +108064,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *778 + meta: *779 startIndex: type: integer description: A starting index for the returned page @@ -108059,11 +108101,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *767 - '401': *765 - '403': *768 - '429': *769 - '500': *770 + '400': *768 + '401': *766 + '403': *769 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108087,7 +108129,7 @@ paths: required: true content: application/json: - schema: &783 + schema: &784 type: object required: - schemas @@ -108169,9 +108211,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *779 + roles: *780 examples: - user: &784 + user: &785 summary: User value: schemas: @@ -108218,9 +108260,9 @@ paths: description: User has been created content: application/scim+json: - schema: *780 + schema: *781 examples: - user: &781 + user: &782 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108246,13 +108288,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: *781 - '400': *767 - '401': *765 - '403': *768 - '409': *775 - '429': *769 - '500': *770 + enterpriseOwner: *782 + '400': *768 + '401': *766 + '403': *769 + '409': *776 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108269,7 +108311,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: - - &782 + - &783 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108282,15 +108324,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *780 + schema: *781 examples: - default: *781 - '400': *767 - '401': *765 - '403': *768 + default: *782 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '429': *769 - '500': *770 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108312,30 +108354,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: - - *782 + - *783 - *41 requestBody: required: true content: application/json: - schema: *783 + schema: *784 examples: - user: *784 + user: *785 responses: '200': description: User was updated content: application/scim+json: - schema: *780 + schema: *781 examples: - user: *781 - '400': *767 - '401': *765 - '403': *768 + user: *782 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '409': *775 - '429': *769 - '500': *770 + '409': *776 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108370,13 +108412,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: - - *782 + - *783 - *41 requestBody: required: true content: application/json: - schema: *785 + schema: *786 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108416,18 +108458,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *780 + schema: *781 examples: - userMultiValuedProperties: *781 - userSingleValuedProperties: *781 - disableUser: *781 - '400': *767 - '401': *765 - '403': *768 + userMultiValuedProperties: *782 + userSingleValuedProperties: *782 + disableUser: *782 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '409': *775 - '429': *769 - '500': *770 + '409': *776 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108447,17 +108489,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: - - *782 + - *783 - *41 responses: '204': description: User was deleted, no content - '400': *767 - '401': *765 - '403': *768 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '429': *769 - '500': *770 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108544,7 +108586,7 @@ paths: example: 1 Resources: type: array - items: &786 + items: &787 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108775,22 +108817,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &787 + '404': &788 description: Resource not found content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 - '403': &788 + schema: *765 + '403': &789 description: Forbidden content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 - '400': *767 - '429': *769 + schema: *765 + '400': *768 + '429': *770 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108816,9 +108858,9 @@ paths: description: Response content: application/scim+json: - schema: *786 + schema: *787 examples: - default: &789 + default: &790 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108841,17 +108883,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *787 - '403': *788 - '500': *770 + '404': *788 + '403': *789 + '500': *771 '409': description: Conflict content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 - '400': *767 + schema: *765 + '400': *768 requestBody: required: true content: @@ -108949,17 +108991,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *782 + - *783 responses: '200': description: Response content: application/scim+json: - schema: *786 + schema: *787 examples: - default: *789 - '404': *787 - '403': *788 + default: *790 + '404': *788 + '403': *789 '304': *37 x-github: githubCloudOnly: true @@ -108983,18 +109025,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *782 + - *783 responses: '200': description: Response content: application/scim+json: - schema: *786 + schema: *787 examples: - default: *789 + default: *790 '304': *37 - '404': *787 - '403': *788 + '404': *788 + '403': *789 requestBody: required: true content: @@ -109107,19 +109149,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *782 + - *783 responses: '200': description: Response content: application/scim+json: - schema: *786 + schema: *787 examples: - default: *789 + default: *790 '304': *37 - '404': *787 - '403': *788 - '400': *767 + '404': *788 + '403': *789 + '400': *768 '429': description: Response content: @@ -109210,12 +109252,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *782 + - *783 responses: '204': description: Response - '404': *787 - '403': *788 + '404': *788 + '403': *789 '304': *37 x-github: githubCloudOnly: true @@ -109348,7 +109390,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &790 + text_matches: &791 title: Search Result Text Matches type: array items: @@ -109511,7 +109553,7 @@ paths: enum: - author-date - committer-date - - &791 + - &792 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 @@ -109582,7 +109624,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *515 + properties: *517 nullable: true comment_count: type: integer @@ -109602,7 +109644,7 @@ paths: url: type: string format: uri - verification: *639 + verification: *640 required: - author - committer @@ -109621,7 +109663,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *515 + properties: *517 nullable: true parents: type: array @@ -109639,7 +109681,7 @@ paths: type: number node_id: type: string - text_matches: *790 + text_matches: *791 required: - sha - node_id @@ -109832,7 +109874,7 @@ paths: - interactions - created - updated - - *791 + - *792 - *17 - *19 - name: advanced_search @@ -109929,11 +109971,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: type: string state_reason: @@ -109950,8 +109992,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *404 - required: *405 + properties: *406 + required: *407 nullable: true comments: type: integer @@ -109965,7 +110007,7 @@ paths: type: string format: date-time nullable: true - text_matches: *790 + text_matches: *791 pull_request: type: object properties: @@ -110009,7 +110051,7 @@ paths: timeline_url: type: string format: uri - type: *369 + type: *371 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -110190,7 +110232,7 @@ paths: enum: - created - updated - - *791 + - *792 - *17 - *19 responses: @@ -110234,7 +110276,7 @@ paths: nullable: true score: type: number - text_matches: *790 + text_matches: *791 required: - id - node_id @@ -110320,7 +110362,7 @@ paths: - forks - help-wanted-issues - updated - - *791 + - *792 - *17 - *19 responses: @@ -110559,7 +110601,7 @@ paths: - admin - pull - push - text_matches: *790 + text_matches: *791 temp_clone_token: type: string allow_merge_commit: @@ -110860,7 +110902,7 @@ paths: type: string format: uri nullable: true - text_matches: *790 + text_matches: *791 related: type: array nullable: true @@ -111053,7 +111095,7 @@ paths: - followers - repositories - joined - - *791 + - *792 - *17 - *19 responses: @@ -111157,7 +111199,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *790 + text_matches: *791 blog: type: string nullable: true @@ -111236,7 +111278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &795 + - &796 name: team_id description: The unique identifier of the team. in: path @@ -111248,9 +111290,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '404': *6 x-github: githubCloudOnly: false @@ -111277,7 +111319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *795 + - *796 requestBody: required: true content: @@ -111340,16 +111382,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '201': description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '404': *6 '422': *15 '403': *29 @@ -111377,7 +111419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *795 + - *796 responses: '204': description: Response @@ -111408,7 +111450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *795 + - *796 - *110 - *17 - *19 @@ -111419,9 +111461,9 @@ paths: application/json: schema: type: array - items: *449 + items: *451 examples: - default: *796 + default: *797 headers: Link: *47 x-github: @@ -111450,7 +111492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *795 + - *796 requestBody: required: true content: @@ -111484,9 +111526,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 x-github: triggersNotification: true githubCloudOnly: false @@ -111513,16 +111555,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *795 - - *451 + - *796 + - *453 responses: '200': description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111547,8 +111589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *795 - - *451 + - *796 + - *453 requestBody: required: false content: @@ -111571,9 +111613,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *797 + default: *798 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111598,8 +111640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *795 - - *451 + - *796 + - *453 responses: '204': description: Response @@ -111628,8 +111670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *795 - - *451 + - *796 + - *453 - *110 - *17 - *19 @@ -111640,9 +111682,9 @@ paths: application/json: schema: type: array - items: *452 + items: *454 examples: - default: *798 + default: *799 headers: Link: *47 x-github: @@ -111671,8 +111713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *795 - - *451 + - *796 + - *453 requestBody: required: true content: @@ -111694,9 +111736,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *453 + default: *455 x-github: triggersNotification: true githubCloudOnly: false @@ -111723,17 +111765,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *795 - - *451 - - *454 + - *796 + - *453 + - *456 responses: '200': description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *453 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111758,9 +111800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *795 - - *451 - - *454 + - *796 + - *453 + - *456 requestBody: required: true content: @@ -111782,9 +111824,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *799 + default: *800 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111809,9 +111851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *795 - - *451 - - *454 + - *796 + - *453 + - *456 responses: '204': description: Response @@ -111840,9 +111882,9 @@ 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: - - *795 - - *451 - - *454 + - *796 + - *453 + - *456 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -111868,9 +111910,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 x-github: @@ -111899,9 +111941,9 @@ 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: - - *795 - - *451 - - *454 + - *796 + - *453 + - *456 requestBody: required: true content: @@ -111933,9 +111975,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111961,8 +112003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *795 - - *451 + - *796 + - *453 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -111988,9 +112030,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 x-github: @@ -112019,8 +112061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *795 - - *451 + - *796 + - *453 requestBody: required: true content: @@ -112052,9 +112094,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112078,7 +112120,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *795 + - *796 - *17 - *19 responses: @@ -112088,9 +112130,9 @@ paths: application/json: schema: type: array - items: *366 + items: *368 examples: - default: *367 + default: *369 headers: Link: *47 x-github: @@ -112116,7 +112158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *795 + - *796 - name: role description: Filters members returned by their role in the team. in: query @@ -112167,7 +112209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *795 + - *796 - *142 responses: '204': @@ -112204,7 +112246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *795 + - *796 - *142 responses: '204': @@ -112244,7 +112286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *795 + - *796 - *142 responses: '204': @@ -112281,16 +112323,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *795 + - *796 - *142 responses: '200': description: Response content: application/json: - schema: *463 + schema: *465 examples: - response-if-user-is-a-team-maintainer: *800 + response-if-user-is-a-team-maintainer: *801 '404': *6 x-github: githubCloudOnly: false @@ -112323,7 +112365,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: - - *795 + - *796 - *142 requestBody: required: false @@ -112349,9 +112391,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *465 examples: - response-if-users-membership-with-team-is-now-pending: *801 + response-if-users-membership-with-team-is-now-pending: *802 '403': description: Forbidden if team synchronization is set up '422': @@ -112385,7 +112427,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: - - *795 + - *796 - *142 responses: '204': @@ -112413,7 +112455,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *795 + - *796 - *17 - *19 responses: @@ -112425,7 +112467,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 '404': *6 @@ -112455,15 +112497,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *795 - - *464 - - *465 + - *796 + - *466 + - *467 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *802 + schema: *803 examples: alternative-response-with-extra-repository-information: value: @@ -112614,9 +112656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *795 - - *464 - - *465 + - *796 + - *466 + - *467 requestBody: required: false content: @@ -112666,9 +112708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *795 - - *464 - - *465 + - *796 + - *466 + - *467 responses: '204': description: Response @@ -112697,15 +112739,15 @@ 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: - - *795 + - *796 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *467 + default: *469 '403': *29 '404': *6 x-github: @@ -112732,7 +112774,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: - - *795 + - *796 requestBody: required: true content: @@ -112789,7 +112831,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -112820,7 +112862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *795 + - *796 - *17 - *19 responses: @@ -112832,7 +112874,7 @@ paths: type: array items: *312 examples: - response-if-child-teams-exist: *803 + response-if-child-teams-exist: *804 headers: Link: *47 '404': *6 @@ -112865,7 +112907,7 @@ paths: application/json: schema: oneOf: - - &805 + - &806 title: Private User description: Private User type: object @@ -113068,7 +113110,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *804 + - *805 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113221,7 +113263,7 @@ paths: description: Response content: application/json: - schema: *805 + schema: *806 examples: default: value: @@ -113424,9 +113466,9 @@ paths: type: integer codespaces: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 '304': *37 '500': *40 '401': *25 @@ -113565,17 +113607,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '401': *25 '403': *29 '404': *6 @@ -113619,7 +113661,7 @@ paths: type: integer secrets: type: array - items: &806 + items: &807 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113659,7 +113701,7 @@ paths: - visibility - selected_repositories_url examples: - default: *568 + default: *570 headers: Link: *47 x-github: @@ -113735,7 +113777,7 @@ paths: description: Response content: application/json: - schema: *806 + schema: *807 examples: default: value: @@ -113881,7 +113923,7 @@ paths: type: array items: *283 examples: - default: *807 + default: *808 '401': *25 '403': *29 '404': *6 @@ -114025,15 +114067,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '304': *37 '500': *40 '401': *25 @@ -114059,7 +114101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 requestBody: required: false content: @@ -114089,9 +114131,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '401': *25 '403': *29 '404': *6 @@ -114113,7 +114155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 responses: '202': *39 '304': *37 @@ -114142,13 +114184,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 responses: '202': description: Response content: application/json: - schema: &808 + schema: &809 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114189,7 +114231,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &809 + default: &810 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114221,7 +114263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *376 + - *378 - name: export_id in: path required: true @@ -114234,9 +114276,9 @@ paths: description: Response content: application/json: - schema: *808 + schema: *809 examples: - default: *809 + default: *810 '404': *6 x-github: githubCloudOnly: false @@ -114257,7 +114299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *376 + - *378 responses: '200': description: Response @@ -114273,9 +114315,9 @@ paths: type: integer machines: type: array - items: *810 + items: *811 examples: - default: *811 + default: *812 '304': *37 '500': *40 '401': *25 @@ -114304,7 +114346,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *376 + - *378 requestBody: required: true content: @@ -114354,13 +114396,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *469 + repository: *471 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *566 - required: *567 + properties: *568 + required: *569 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -115134,15 +115176,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '304': *37 '500': *40 '400': *14 @@ -115174,15 +115216,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '500': *40 '401': *25 '403': *29 @@ -115212,9 +115254,9 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: - default: &822 + default: &823 value: - id: 197 name: hello_docker @@ -115315,7 +115357,7 @@ paths: application/json: schema: type: array - items: &812 + items: &813 title: Email description: Email type: object @@ -115380,9 +115422,9 @@ paths: application/json: schema: type: array - items: *812 + items: *813 examples: - default: &824 + default: &825 value: - email: octocat@github.com verified: true @@ -115457,7 +115499,7 @@ paths: application/json: schema: type: array - items: *812 + items: *813 examples: default: value: @@ -115713,7 +115755,7 @@ paths: application/json: schema: type: array - items: &813 + items: &814 title: GPG Key description: A unique encryption key type: object @@ -115844,7 +115886,7 @@ paths: - subkeys - revoked examples: - default: &838 + default: &839 value: - id: 3 name: Octocat's GPG Key @@ -115929,9 +115971,9 @@ paths: description: Response content: application/json: - schema: *813 + schema: *814 examples: - default: &814 + default: &815 value: id: 3 name: Octocat's GPG Key @@ -115988,7 +116030,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: - - &815 + - &816 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116000,9 +116042,9 @@ paths: description: Response content: application/json: - schema: *813 + schema: *814 examples: - default: *814 + default: *815 '404': *6 '304': *37 '403': *29 @@ -116025,7 +116067,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: - - *815 + - *816 responses: '204': description: Response @@ -116301,12 +116343,12 @@ paths: application/json: schema: anyOf: - - *364 + - *366 - type: object properties: {} additionalProperties: false examples: - default: *365 + default: *367 '204': description: Response when there are no restrictions x-github: @@ -116330,7 +116372,7 @@ paths: required: true content: application/json: - schema: *650 + schema: *651 examples: default: value: @@ -116341,7 +116383,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: default: value: @@ -116422,7 +116464,7 @@ paths: - closed - all default: open - - *372 + - *374 - name: sort description: What to sort results by. in: query @@ -116447,7 +116489,7 @@ paths: type: array items: *220 examples: - default: *373 + default: *375 headers: Link: *47 '404': *6 @@ -116480,7 +116522,7 @@ paths: application/json: schema: type: array - items: &816 + items: &817 title: Key description: Key type: object @@ -116581,9 +116623,9 @@ paths: description: Response content: application/json: - schema: *816 + schema: *817 examples: - default: &817 + default: &818 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116616,15 +116658,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: - - *679 + - *680 responses: '200': description: Response content: application/json: - schema: *816 + schema: *817 examples: - default: *817 + default: *818 '404': *6 '304': *37 '403': *29 @@ -116647,7 +116689,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: - - *679 + - *680 responses: '204': description: Response @@ -116680,7 +116722,7 @@ paths: application/json: schema: type: array - items: &818 + items: &819 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116748,7 +116790,7 @@ paths: - account - plan examples: - default: &819 + default: &820 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116810,9 +116852,9 @@ paths: application/json: schema: type: array - items: *818 + items: *819 examples: - default: *819 + default: *820 headers: Link: *47 '304': *37 @@ -116852,7 +116894,7 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: default: value: @@ -116960,7 +117002,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: default: value: @@ -117043,7 +117085,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: default: value: @@ -117111,7 +117153,7 @@ paths: application/json: schema: type: array - items: *379 + items: *381 examples: default: value: @@ -117364,7 +117406,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -117544,7 +117586,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *380 + - *382 - name: exclude in: query required: false @@ -117557,7 +117599,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -117751,7 +117793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *380 + - *382 responses: '302': description: Response @@ -117777,7 +117819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *380 + - *382 responses: '204': description: Response @@ -117806,8 +117848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *380 - - *820 + - *382 + - *821 responses: '204': description: Response @@ -117831,7 +117873,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *380 + - *382 - *17 - *19 responses: @@ -117843,7 +117885,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 '404': *6 @@ -117922,7 +117964,7 @@ paths: - docker - nuget - container - - *821 + - *822 - *19 - *17 responses: @@ -117932,10 +117974,10 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: - default: *822 - '400': *823 + default: *823 + '400': *824 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117955,16 +117997,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 + - *390 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: &839 + default: &840 value: id: 40201 name: octo-name @@ -118077,8 +118119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 + - *390 responses: '204': description: Response @@ -118108,8 +118150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 + - *390 - name: token description: package token schema: @@ -118141,8 +118183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *387 - - *388 + - *389 + - *390 - *19 - *17 - name: state @@ -118162,7 +118204,7 @@ paths: application/json: schema: type: array - items: *389 + items: *391 examples: default: value: @@ -118211,15 +118253,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 - *390 + - *392 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: default: value: @@ -118255,9 +118297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 - *390 + - *392 responses: '204': description: Response @@ -118287,9 +118329,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 - *390 + - *392 responses: '204': description: Response @@ -118326,9 +118368,9 @@ paths: application/json: schema: type: array - items: *812 + items: *813 examples: - default: *824 + default: *825 headers: Link: *47 '304': *37 @@ -118441,7 +118483,7 @@ paths: type: array items: *78 examples: - default: &831 + default: &832 summary: Default response value: - id: 1296269 @@ -118745,9 +118787,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *471 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -118785,9 +118827,9 @@ paths: application/json: schema: type: array - items: *652 + items: *653 examples: - default: *825 + default: *826 headers: Link: *47 '304': *37 @@ -118810,7 +118852,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *368 + - *370 responses: '204': description: Response @@ -118833,7 +118875,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *368 + - *370 responses: '204': description: Response @@ -118866,7 +118908,7 @@ paths: application/json: schema: type: array - items: &826 + items: &827 title: Social account description: Social media account type: object @@ -118881,7 +118923,7 @@ paths: - provider - url examples: - default: &827 + default: &828 value: - provider: twitter url: https://twitter.com/github @@ -118943,9 +118985,9 @@ paths: application/json: schema: type: array - items: *826 + items: *827 examples: - default: *827 + default: *828 '422': *15 '304': *37 '404': *6 @@ -119032,7 +119074,7 @@ paths: application/json: schema: type: array - items: &828 + items: &829 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119052,7 +119094,7 @@ paths: - title - created_at examples: - default: &852 + default: &853 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119116,9 +119158,9 @@ paths: description: Response content: application/json: - schema: *828 + schema: *829 examples: - default: &829 + default: &830 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119148,7 +119190,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: - - &830 + - &831 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119160,9 +119202,9 @@ paths: description: Response content: application/json: - schema: *828 + schema: *829 examples: - default: *829 + default: *830 '404': *6 '304': *37 '403': *29 @@ -119185,7 +119227,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: - - *830 + - *831 responses: '204': description: Response @@ -119214,7 +119256,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: - - &853 + - &854 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 @@ -119239,11 +119281,11 @@ paths: type: array items: *78 examples: - default-response: *831 + default-response: *832 application/vnd.github.v3.star+json: schema: type: array - items: &854 + items: &855 title: Starred Repository description: Starred Repository type: object @@ -119399,8 +119441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response if this repository is starred by you @@ -119428,8 +119470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -119453,8 +119495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -119489,7 +119531,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 '304': *37 @@ -119526,7 +119568,7 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: default: value: @@ -119612,10 +119654,10 @@ paths: application/json: schema: oneOf: + - *806 - *805 - - *804 examples: - default-response: &833 + default-response: &834 summary: Default response value: login: octocat @@ -119650,7 +119692,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &834 + response-with-git-hub-plan-information: &835 summary: Response with GitHub plan information value: login: octocat @@ -119713,7 +119755,7 @@ paths: required: true schema: type: string - - *403 + - *405 requestBody: required: true description: Details of the draft item to create in the project. @@ -119747,9 +119789,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - draft_issue: *410 + draft_issue: *412 '304': *37 '403': *29 '401': *25 @@ -119772,7 +119814,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *832 + - *833 - *17 responses: '200': @@ -119821,11 +119863,11 @@ paths: application/json: schema: oneOf: + - *806 - *805 - - *804 examples: - default-response: *833 - response-with-git-hub-plan-information: *834 + default-response: *834 + response-with-git-hub-plan-information: *835 '404': *6 x-github: githubCloudOnly: false @@ -119875,8 +119917,8 @@ paths: required: - subject_digests examples: - default: *835 - withPredicateType: *836 + default: *836 + withPredicateType: *837 responses: '200': description: Response @@ -119929,7 +119971,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *837 + default: *838 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120134,7 +120176,7 @@ paths: initiator: type: string examples: - default: *511 + default: *513 '201': description: Response content: @@ -120173,9 +120215,9 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: - default: *822 + default: *823 '403': *29 '401': *25 x-github: @@ -120559,9 +120601,9 @@ paths: application/json: schema: type: array - items: *813 + items: *814 examples: - default: *838 + default: *839 headers: Link: *47 x-github: @@ -120665,7 +120707,7 @@ paths: application/json: schema: *22 examples: - default: *649 + default: *650 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120789,7 +120831,7 @@ paths: - docker - nuget - container - - *821 + - *822 - *142 - *19 - *17 @@ -120800,12 +120842,12 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: - default: *822 + default: *823 '403': *29 '401': *25 - '400': *823 + '400': *824 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120825,17 +120867,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *387 - - *388 + - *389 + - *390 - *142 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *839 + default: *840 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120856,8 +120898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *387 - - *388 + - *389 + - *390 - *142 responses: '204': @@ -120890,8 +120932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *387 - - *388 + - *389 + - *390 - *142 - name: token description: package token @@ -120924,8 +120966,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *387 - - *388 + - *389 + - *390 - *142 responses: '200': @@ -120934,7 +120976,7 @@ paths: application/json: schema: type: array - items: *389 + items: *391 examples: default: value: @@ -120992,16 +121034,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *387 - - *388 + - *389 - *390 + - *392 - *142 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: default: value: @@ -121036,10 +121078,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *387 - - *388 - - *142 + - *389 - *390 + - *142 + - *392 responses: '204': description: Response @@ -121071,10 +121113,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *387 - - *388 - - *142 + - *389 - *390 + - *142 + - *392 responses: '204': description: Response @@ -121115,9 +121157,9 @@ paths: application/json: schema: type: array - items: *401 + items: *403 examples: - default: *402 + default: *404 headers: Link: *47 '304': *37 @@ -121139,16 +121181,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *403 + - *405 - *142 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 headers: Link: *47 '304': *37 @@ -121170,7 +121212,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *403 + - *405 - *142 - *17 - *108 @@ -121182,9 +121224,9 @@ paths: application/json: schema: type: array - items: *407 + items: *409 examples: - default: *840 + default: *841 headers: Link: *47 '304': *37 @@ -121206,7 +121248,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *142 - - *403 + - *405 requestBody: required: true content: @@ -121244,7 +121286,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *841 + items: *842 required: - name - data_type @@ -121260,7 +121302,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *842 + iteration_configuration: *843 required: - name - data_type @@ -121282,20 +121324,20 @@ paths: value: name: Due date data_type: date - single_select_field: *843 - iteration_field: *844 + single_select_field: *844 + iteration_field: *845 responses: '201': description: Response content: application/json: - schema: *407 + schema: *409 examples: - text_field: *845 - number_field: *846 - date_field: *847 - single_select_field: *848 - iteration_field: *849 + text_field: *846 + number_field: *847 + date_field: *848 + single_select_field: *849 + iteration_field: *850 '304': *37 '403': *29 '401': *25 @@ -121316,17 +121358,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *403 - - *850 + - *405 + - *851 - *142 responses: '200': description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: *851 + default: *852 headers: Link: *47 '304': *37 @@ -121349,7 +121391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *403 + - *405 - *142 - *108 - *109 @@ -121382,9 +121424,9 @@ paths: application/json: schema: type: array - items: *411 + items: *413 examples: - default: *412 + default: *414 headers: Link: *47 '304': *37 @@ -121406,7 +121448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *142 - - *403 + - *405 requestBody: required: true description: Details of the item to add to the project. @@ -121443,10 +121485,10 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - issue: *410 - pull_request: *410 + issue: *412 + pull_request: *412 '304': *37 '403': *29 '401': *25 @@ -121466,9 +121508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *403 + - *405 - *142 - - *413 + - *415 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -121488,9 +121530,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 headers: Link: *47 '304': *37 @@ -121511,9 +121553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *403 + - *405 - *142 - - *413 + - *415 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121583,13 +121625,13 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - text_field: *412 - number_field: *412 - date_field: *412 - single_select_field: *412 - iteration_field: *412 + text_field: *414 + number_field: *414 + date_field: *414 + single_select_field: *414 + iteration_field: *414 '401': *25 '403': *29 '404': *6 @@ -121609,9 +121651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *403 + - *405 - *142 - - *413 + - *415 responses: '204': description: Response @@ -121831,7 +121873,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -121861,9 +121903,9 @@ paths: application/json: schema: type: array - items: *826 + items: *827 examples: - default: *827 + default: *828 headers: Link: *47 x-github: @@ -121893,9 +121935,9 @@ paths: application/json: schema: type: array - items: *828 + items: *829 examples: - default: *852 + default: *853 headers: Link: *47 x-github: @@ -121920,7 +121962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *142 - - *853 + - *854 - *110 - *17 - *19 @@ -121932,11 +121974,11 @@ paths: schema: anyOf: - type: array - items: *854 + items: *855 - type: array items: *78 examples: - default-response: *831 + default-response: *832 headers: Link: *47 x-github: @@ -121967,7 +122009,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -122095,7 +122137,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &855 + enterprise: &856 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122153,7 +122195,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &856 + installation: &857 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122172,7 +122214,7 @@ x-webhooks: required: - id - node_id - organization: &857 + organization: &858 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122232,13 +122274,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &858 + repository: &859 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &895 + properties: &896 id: description: Unique identifier of the repository example: 42 @@ -122921,7 +122963,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &896 + required: &897 - archive_url - assignees_url - blobs_url @@ -123072,10 +123114,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -123151,11 +123193,11 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - rule: &859 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: &860 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) @@ -123378,11 +123420,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - rule: *859 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: *860 sender: *4 required: - action @@ -123565,11 +123607,11 @@ x-webhooks: - everyone required: - from - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - rule: *859 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: *860 sender: *4 required: - action @@ -123642,7 +123684,7 @@ x-webhooks: required: true content: application/json: - schema: &879 + schema: &880 title: Exemption request cancellation event type: object properties: @@ -123650,11 +123692,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - exemption_request: &860 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: &861 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -123923,7 +123965,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &861 + items: &862 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124033,7 +124075,7 @@ x-webhooks: required: true content: application/json: - schema: &880 + schema: &881 title: Exemption request completed event type: object properties: @@ -124041,11 +124083,11 @@ x-webhooks: type: string enum: - completed - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - exemption_request: *860 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 sender: *4 required: - action @@ -124117,7 +124159,7 @@ x-webhooks: required: true content: application/json: - schema: &877 + schema: &878 title: Exemption request created event type: object properties: @@ -124125,11 +124167,11 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - exemption_request: *860 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 sender: *4 required: - action @@ -124201,7 +124243,7 @@ x-webhooks: required: true content: application/json: - schema: &881 + schema: &882 title: Exemption response dismissed event type: object properties: @@ -124209,12 +124251,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - exemption_request: *860 - exemption_response: *861 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 + exemption_response: *862 sender: *4 required: - action @@ -124288,7 +124330,7 @@ x-webhooks: required: true content: application/json: - schema: &878 + schema: &879 title: Exemption response submitted event type: object properties: @@ -124296,12 +124338,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - exemption_request: *860 - exemption_response: *861 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 + exemption_response: *862 sender: *4 required: - action @@ -124385,7 +124427,7 @@ x-webhooks: type: string enum: - completed - check_run: &863 + check_run: &864 title: CheckRun description: A check performed on the code of a given code change type: object @@ -124476,7 +124518,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *862 + deployment: *863 details_url: example: https://example.com type: string @@ -124561,10 +124603,10 @@ x-webhooks: - output - app - pull_requests - installation: *856 - enterprise: *855 - organization: *857 - repository: *858 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -124957,11 +124999,11 @@ x-webhooks: type: string enum: - created - check_run: *863 - installation: *856 - enterprise: *855 - organization: *857 - repository: *858 + check_run: *864 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -125357,11 +125399,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *863 - installation: *856 - enterprise: *855 - organization: *857 - repository: *858 + check_run: *864 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 requested_action: description: The action requested by the user. type: object @@ -125766,11 +125808,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *863 - installation: *856 - enterprise: *855 - organization: *857 - repository: *858 + check_run: *864 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -126747,10 +126789,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -127444,10 +127486,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -128135,10 +128177,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -128304,7 +128346,7 @@ x-webhooks: required: - login - id - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128449,20 +128491,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &864 + commit_oid: &865 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: *855 - installation: *856 - organization: *857 - ref: &865 + enterprise: *856 + installation: *857 + organization: *858 + ref: &866 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: *858 + repository: *859 sender: *4 required: - action @@ -128627,7 +128669,7 @@ x-webhooks: required: - login - id - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128857,12 +128899,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *864 - enterprise: *855 - installation: *856 - organization: *857 - ref: *865 - repository: *858 + commit_oid: *865 + enterprise: *856 + installation: *857 + organization: *858 + ref: *866 + repository: *859 sender: *4 required: - action @@ -128957,7 +128999,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129128,12 +129170,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *864 - enterprise: *855 - installation: *856 - organization: *857 - ref: *865 - repository: *858 + commit_oid: *865 + enterprise: *856 + installation: *857 + organization: *858 + ref: *866 + repository: *859 sender: *4 required: - action @@ -129299,7 +129341,7 @@ x-webhooks: required: - login - id - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129465,12 +129507,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *864 - enterprise: *855 - installation: *856 - organization: *857 - ref: *865 - repository: *858 + commit_oid: *865 + enterprise: *856 + installation: *857 + organization: *858 + ref: *866 + repository: *859 sender: *4 required: - action @@ -129569,7 +129611,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129744,16 +129786,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *858 + repository: *859 sender: *4 required: - action @@ -129850,7 +129892,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129990,12 +130032,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *864 - enterprise: *855 - installation: *856 - organization: *857 - ref: *865 - repository: *858 + commit_oid: *865 + enterprise: *856 + installation: *857 + organization: *858 + ref: *866 + repository: *859 sender: *4 required: - action @@ -130252,10 +130294,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -130335,18 +130377,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *857 - pusher_type: &866 + organization: *858 + pusher_type: &867 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &867 + ref: &868 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -130356,7 +130398,7 @@ x-webhooks: enum: - tag - branch - repository: *858 + repository: *859 sender: *4 required: - ref @@ -130439,9 +130481,9 @@ x-webhooks: enum: - created definition: *156 - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130526,9 +130568,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130606,9 +130648,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *156 - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130686,9 +130728,9 @@ x-webhooks: enum: - updated definition: *156 - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130765,10 +130807,10 @@ x-webhooks: type: string enum: - updated - enterprise: *855 - installation: *856 - repository: *858 - organization: *857 + enterprise: *856 + installation: *857 + repository: *859 + organization: *858 sender: *4 new_property_values: type: array @@ -130853,18 +130895,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *855 - installation: *856 - organization: *857 - pusher_type: *866 - ref: *867 + enterprise: *856 + installation: *857 + organization: *858 + pusher_type: *867 + ref: *868 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *858 + repository: *859 sender: *4 required: - ref @@ -130948,11 +130990,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131036,11 +131078,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131124,11 +131166,11 @@ x-webhooks: type: string enum: - created - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131210,11 +131252,11 @@ x-webhooks: type: string enum: - dismissed - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131296,11 +131338,11 @@ x-webhooks: type: string enum: - fixed - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131383,11 +131425,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131469,11 +131511,11 @@ x-webhooks: type: string enum: - reopened - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131550,9 +131592,9 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - key: &868 + enterprise: *856 + installation: *857 + key: &869 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131588,8 +131630,8 @@ x-webhooks: - verified - created_at - read_only - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -131666,11 +131708,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - key: *868 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + key: *869 + organization: *858 + repository: *859 sender: *4 required: - action @@ -132231,12 +132273,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: &872 + workflow: &873 title: Workflow type: object nullable: true @@ -132962,13 +133004,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *603 + deployment: *605 pull_requests: type: array - items: *700 - repository: *858 - organization: *857 - installation: *856 + items: *701 + repository: *859 + organization: *858 + installation: *857 sender: *4 responses: '200': @@ -133039,7 +133081,7 @@ x-webhooks: type: string enum: - approved - approver: &869 + approver: &870 type: object properties: avatar_url: @@ -133082,11 +133124,11 @@ x-webhooks: type: string comment: type: string - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - reviewers: &870 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + reviewers: &871 type: array items: type: object @@ -133165,7 +133207,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &871 + workflow_job_run: &872 type: object properties: conclusion: @@ -133896,18 +133938,18 @@ x-webhooks: type: string enum: - rejected - approver: *869 + approver: *870 comment: type: string - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - reviewers: *870 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + reviewers: *871 sender: *4 since: type: string - workflow_job_run: *871 + workflow_job_run: *872 workflow_job_runs: type: array items: @@ -134611,13 +134653,13 @@ x-webhooks: type: string enum: - requested - enterprise: *855 + enterprise: *856 environment: type: string - installation: *856 - organization: *857 - repository: *858 - requestor: &882 + installation: *857 + organization: *858 + repository: *859 + requestor: &883 title: User type: object nullable: true @@ -136516,12 +136558,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *872 + workflow: *873 workflow_run: title: Deployment Workflow Run type: object @@ -137201,7 +137243,7 @@ x-webhooks: type: string enum: - answered - answer: &875 + answer: &876 type: object properties: author_association: @@ -137358,11 +137400,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137489,11 +137531,11 @@ x-webhooks: - from required: - category - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137576,11 +137618,11 @@ x-webhooks: type: string enum: - closed - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137662,7 +137704,7 @@ x-webhooks: type: string enum: - created - comment: &874 + comment: &875 type: object properties: author_association: @@ -137819,11 +137861,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137906,12 +137948,12 @@ x-webhooks: type: string enum: - deleted - comment: *874 - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + comment: *875 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138006,12 +138048,12 @@ x-webhooks: - from required: - body - comment: *874 - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + comment: *875 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138095,11 +138137,11 @@ x-webhooks: type: string enum: - created - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138181,11 +138223,11 @@ x-webhooks: type: string enum: - deleted - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138285,11 +138327,11 @@ x-webhooks: type: string required: - from - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138371,10 +138413,10 @@ x-webhooks: type: string enum: - labeled - discussion: *873 - enterprise: *855 - installation: *856 - label: &876 + discussion: *874 + enterprise: *856 + installation: *857 + label: &877 title: Label type: object properties: @@ -138406,8 +138448,8 @@ x-webhooks: - color - default - description - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138490,11 +138532,11 @@ x-webhooks: type: string enum: - locked - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138576,11 +138618,11 @@ x-webhooks: type: string enum: - pinned - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138662,11 +138704,11 @@ x-webhooks: type: string enum: - reopened - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138751,16 +138793,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *873 - new_repository: *858 + new_discussion: *874 + new_repository: *859 required: - new_discussion - new_repository - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138843,10 +138885,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *873 - old_answer: *875 - organization: *857 - repository: *858 + discussion: *874 + old_answer: *876 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138928,12 +138970,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *873 - enterprise: *855 - installation: *856 - label: *876 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -139016,11 +139058,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -139102,11 +139144,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -139175,7 +139217,7 @@ x-webhooks: required: true content: application/json: - schema: *877 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139238,7 +139280,7 @@ x-webhooks: required: true content: application/json: - schema: *878 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139301,7 +139343,7 @@ x-webhooks: required: true content: application/json: - schema: *879 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139364,7 +139406,7 @@ x-webhooks: required: true content: application/json: - schema: *877 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139427,7 +139469,7 @@ x-webhooks: required: true content: application/json: - schema: *878 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139493,7 +139535,7 @@ x-webhooks: required: true content: application/json: - schema: *879 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139559,7 +139601,7 @@ x-webhooks: required: true content: application/json: - schema: *880 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139625,7 +139667,7 @@ x-webhooks: required: true content: application/json: - schema: *877 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139691,7 +139733,7 @@ x-webhooks: required: true content: application/json: - schema: *881 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139757,7 +139799,7 @@ x-webhooks: required: true content: application/json: - schema: *878 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139822,7 +139864,7 @@ x-webhooks: required: true content: application/json: - schema: *879 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139887,7 +139929,7 @@ x-webhooks: required: true content: application/json: - schema: *880 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139952,7 +139994,7 @@ x-webhooks: required: true content: application/json: - schema: *877 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140017,7 +140059,7 @@ x-webhooks: required: true content: application/json: - schema: *881 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140083,7 +140125,7 @@ x-webhooks: required: true content: application/json: - schema: *878 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140150,7 +140192,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *855 + enterprise: *856 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -140810,9 +140852,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - forkee @@ -140958,9 +141000,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pages: description: The pages that were updated. type: array @@ -140997,7 +141039,7 @@ x-webhooks: - action - sha - html_url - repository: *858 + repository: *859 sender: *4 required: - pages @@ -141073,10 +141115,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories: &883 + organization: *858 + repositories: &884 description: An array of repository objects that the installation can access. type: array @@ -141102,8 +141144,8 @@ x-webhooks: - name - full_name - private - repository: *858 - requester: *882 + repository: *859 + requester: *883 sender: *4 required: - action @@ -141178,11 +141220,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories: *883 - repository: *858 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -141258,11 +141300,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories: *883 - repository: *858 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -141338,10 +141380,10 @@ x-webhooks: type: string enum: - added - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories_added: &884 + organization: *858 + repositories_added: &885 description: An array of repository objects, which were added to the installation. type: array @@ -141387,15 +141429,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *858 - repository_selection: &885 + repository: *859 + repository_selection: &886 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *882 + requester: *883 sender: *4 required: - action @@ -141474,10 +141516,10 @@ x-webhooks: type: string enum: - removed - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories_added: *884 + organization: *858 + repositories_added: *885 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -141504,9 +141546,9 @@ x-webhooks: - name - full_name - private - repository: *858 - repository_selection: *885 - requester: *882 + repository: *859 + repository_selection: *886 + requester: *883 sender: *4 required: - action @@ -141585,11 +141627,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories: *883 - repository: *858 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -141768,10 +141810,10 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 target_type: type: string @@ -141850,11 +141892,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories: *883 - repository: *858 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -142106,8 +142148,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142901,8 +142943,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142918,7 +142960,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -143251,8 +143293,8 @@ x-webhooks: - state - locked - assignee - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -143332,7 +143374,7 @@ x-webhooks: type: string enum: - deleted - comment: &886 + comment: &887 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -143497,8 +143539,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144288,8 +144330,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144305,7 +144347,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -144640,8 +144682,8 @@ x-webhooks: - state - locked - assignee - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -144721,7 +144763,7 @@ x-webhooks: type: string enum: - edited - changes: &915 + changes: &916 description: The changes to the comment. type: object properties: @@ -144733,9 +144775,9 @@ x-webhooks: type: string required: - from - comment: *886 - enterprise: *855 - installation: *856 + comment: *887 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145528,8 +145570,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145545,7 +145587,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -145878,8 +145920,8 @@ x-webhooks: - state - locked - assignee - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145969,9 +146011,9 @@ x-webhooks: type: number blocking_issue: *220 blocking_issue_repo: *78 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -146060,9 +146102,9 @@ x-webhooks: type: number blocking_issue: *220 blocking_issue_repo: *78 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -146150,9 +146192,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -146241,9 +146283,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -146323,10 +146365,10 @@ x-webhooks: type: string enum: - assigned - assignee: *882 - enterprise: *855 - installation: *856 - issue: &889 + assignee: *883 + enterprise: *856 + installation: *857 + issue: &890 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147115,11 +147157,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147135,7 +147177,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -147236,8 +147278,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -147317,8 +147359,8 @@ x-webhooks: type: string enum: - closed - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148112,11 +148154,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148132,7 +148174,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -148368,8 +148410,8 @@ x-webhooks: required: - state - closed_at - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -148448,8 +148490,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149234,11 +149276,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149254,7 +149296,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -149354,8 +149396,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -149434,8 +149476,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150242,11 +150284,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150262,7 +150304,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -150341,7 +150383,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &887 + milestone: &888 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150479,8 +150521,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -150579,8 +150621,8 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151369,11 +151411,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151386,7 +151428,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *369 + type: *371 title: description: Title of the issue type: string @@ -151490,9 +151532,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *876 - organization: *857 - repository: *858 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -151572,8 +151614,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152361,11 +152403,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152378,7 +152420,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *369 + type: *371 title: description: Title of the issue type: string @@ -152482,9 +152524,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *876 - organization: *857 - repository: *858 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -152564,8 +152606,8 @@ x-webhooks: type: string enum: - locked - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153377,11 +153419,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153394,7 +153436,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *369 + type: *371 title: description: Title of the issue type: string @@ -153475,8 +153517,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -153555,8 +153597,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154362,11 +154404,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154382,7 +154424,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -154460,9 +154502,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *887 - organization: *857 - repository: *858 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -155330,11 +155372,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155427,7 +155469,7 @@ x-webhooks: required: - login - id - type: *369 + type: *371 required: - id - number @@ -155896,8 +155938,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156686,11 +156728,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156706,7 +156748,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -156806,8 +156848,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -156887,9 +156929,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *855 - installation: *856 - issue: &888 + enterprise: *856 + installation: *857 + issue: &889 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -157672,11 +157714,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157692,7 +157734,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -157792,8 +157834,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -157872,8 +157914,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158683,11 +158725,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158781,9 +158823,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *369 - organization: *857 - repository: *858 + type: *371 + organization: *858 + repository: *859 sender: *4 required: - action @@ -159649,11 +159691,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159669,7 +159711,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -160237,11 +160279,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *855 - installation: *856 - issue: *888 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *889 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160321,12 +160363,12 @@ x-webhooks: type: string enum: - typed - enterprise: *855 - installation: *856 - issue: *889 - type: *369 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *890 + type: *371 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160407,7 +160449,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &918 + assignee: &919 title: User type: object nullable: true @@ -160477,11 +160519,11 @@ x-webhooks: required: - login - id - enterprise: *855 - installation: *856 - issue: *889 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *890 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160560,12 +160602,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *855 - installation: *856 - issue: *889 - label: *876 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *890 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160645,8 +160687,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161456,11 +161498,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161476,7 +161518,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -161554,8 +161596,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161635,11 +161677,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *855 - installation: *856 - issue: *888 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *889 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161718,12 +161760,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *855 - installation: *856 - issue: *889 - type: *369 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *890 + type: *371 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161803,11 +161845,11 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - label: *876 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161885,11 +161927,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - label: *876 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161999,11 +162041,11 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - label: *876 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -162085,9 +162127,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *855 - installation: *856 - marketplace_purchase: &890 + enterprise: *856 + installation: *857 + marketplace_purchase: &891 title: Marketplace Purchase type: object required: @@ -162170,8 +162212,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *857 - previous_marketplace_purchase: &891 + organization: *858 + previous_marketplace_purchase: &892 title: Marketplace Purchase type: object properties: @@ -162251,7 +162293,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *858 + repository: *859 sender: *4 required: - action @@ -162331,10 +162373,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *855 - installation: *856 - marketplace_purchase: *890 - organization: *857 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162417,7 +162459,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *858 + repository: *859 sender: *4 required: - action @@ -162499,10 +162541,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *855 - installation: *856 - marketplace_purchase: *890 - organization: *857 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162584,7 +162626,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *858 + repository: *859 sender: *4 required: - action @@ -162665,8 +162707,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 marketplace_purchase: title: Marketplace Purchase type: object @@ -162748,9 +162790,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *857 - previous_marketplace_purchase: *891 - repository: *858 + organization: *858 + previous_marketplace_purchase: *892 + repository: *859 sender: *4 required: - action @@ -162830,12 +162872,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *855 - installation: *856 - marketplace_purchase: *890 - organization: *857 - previous_marketplace_purchase: *891 - repository: *858 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 + previous_marketplace_purchase: *892 + repository: *859 sender: *4 required: - action @@ -162937,11 +162979,11 @@ x-webhooks: type: string required: - to - enterprise: *855 - installation: *856 - member: *882 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163041,11 +163083,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *855 - installation: *856 - member: *882 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163124,11 +163166,11 @@ x-webhooks: type: string enum: - removed - enterprise: *855 - installation: *856 - member: *882 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163206,11 +163248,11 @@ x-webhooks: type: string enum: - added - enterprise: *855 - installation: *856 - member: *882 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163286,7 +163328,7 @@ x-webhooks: required: - login - id - team: &892 + team: &893 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -163509,11 +163551,11 @@ x-webhooks: type: string enum: - removed - enterprise: *855 - installation: *856 - member: *882 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163590,7 +163632,7 @@ x-webhooks: required: - login - id - team: *892 + team: *893 required: - action - scope @@ -163672,8 +163714,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *856 - merge_group: &894 + installation: *857 + merge_group: &895 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -163692,15 +163734,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *893 + head_commit: *894 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163786,10 +163828,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *856 - merge_group: *894 - organization: *857 - repository: *858 + installation: *857 + merge_group: *895 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163862,7 +163904,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 + enterprise: *856 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163971,16 +164013,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *856 - organization: *857 + installation: *857 + organization: *858 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *895 - required: *896 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -164061,11 +164103,11 @@ x-webhooks: type: string enum: - closed - enterprise: *855 - installation: *856 - milestone: *887 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164144,9 +164186,9 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - milestone: &897 + enterprise: *856 + installation: *857 + milestone: &898 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164283,8 +164325,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164363,11 +164405,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - milestone: *887 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164477,11 +164519,11 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - milestone: *887 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164561,11 +164603,11 @@ x-webhooks: type: string enum: - opened - enterprise: *855 - installation: *856 - milestone: *897 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + milestone: *898 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164644,11 +164686,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *882 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + blocked_user: *883 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164727,11 +164769,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *882 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + blocked_user: *883 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164807,7 +164849,7 @@ x-webhooks: enum: - created definition: *150 - enterprise: *855 + enterprise: *856 sender: *4 required: - action @@ -164887,8 +164929,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 sender: *4 required: - action @@ -164961,8 +165003,8 @@ x-webhooks: enum: - updated definition: *150 - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 sender: *4 required: - action @@ -165034,9 +165076,9 @@ x-webhooks: type: string enum: - updated - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 new_property_values: type: array @@ -165124,9 +165166,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - membership: &898 + enterprise: *856 + installation: *857 + membership: &899 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -165233,8 +165275,8 @@ x-webhooks: - role - organization_url - user - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -165312,11 +165354,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *855 - installation: *856 - membership: *898 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -165395,8 +165437,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -165512,10 +165554,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 - user: *882 + user: *883 required: - action - invitation @@ -165593,11 +165635,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *855 - installation: *856 - membership: *898 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -165684,11 +165726,11 @@ x-webhooks: properties: from: type: string - enterprise: *855 - installation: *856 - membership: *898 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -165764,9 +165806,9 @@ x-webhooks: type: string enum: - published - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 package: description: Information about the package. type: object @@ -166265,7 +166307,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &899 + items: &900 title: Ruby Gems metadata type: object properties: @@ -166360,7 +166402,7 @@ x-webhooks: - owner - package_version - registry - repository: *858 + repository: *859 sender: *4 required: - action @@ -166436,9 +166478,9 @@ x-webhooks: type: string enum: - updated - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 package: description: Information about the package. type: object @@ -166791,7 +166833,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *899 + items: *900 source_url: type: string format: uri @@ -166861,7 +166903,7 @@ x-webhooks: - owner - package_version - registry - repository: *858 + repository: *859 sender: *4 required: - action @@ -167038,12 +167080,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *855 + enterprise: *856 id: type: integer - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - id @@ -167120,7 +167162,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &900 + personal_access_token_request: &901 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -167266,10 +167308,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *855 - organization: *857 + enterprise: *856 + organization: *858 sender: *4 - installation: *856 + installation: *857 required: - action - personal_access_token_request @@ -167346,11 +167388,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *900 - enterprise: *855 - organization: *857 + personal_access_token_request: *901 + enterprise: *856 + organization: *858 sender: *4 - installation: *856 + installation: *857 required: - action - personal_access_token_request @@ -167426,11 +167468,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *900 - enterprise: *855 - organization: *857 + personal_access_token_request: *901 + enterprise: *856 + organization: *858 sender: *4 - installation: *856 + installation: *857 required: - action - personal_access_token_request @@ -167505,11 +167547,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *900 - organization: *857 - enterprise: *855 + personal_access_token_request: *901 + organization: *858 + enterprise: *856 sender: *4 - installation: *856 + installation: *857 required: - action - personal_access_token_request @@ -167614,7 +167656,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *901 + last_response: *902 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -167646,8 +167688,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 zen: description: Random string of GitHub zen. @@ -167892,10 +167934,10 @@ x-webhooks: - from required: - note - enterprise: *855 - installation: *856 - organization: *857 - project_card: &902 + enterprise: *856 + installation: *857 + organization: *858 + project_card: &903 title: Project Card type: object properties: @@ -168014,7 +168056,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *858 + repository: *859 sender: *4 required: - action @@ -168095,11 +168137,11 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - project_card: *902 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project_card: *903 + repository: *859 sender: *4 required: - action @@ -168179,9 +168221,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 project_card: title: Project Card type: object @@ -168309,8 +168351,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *895 - required: *896 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -168404,11 +168446,11 @@ x-webhooks: - from required: - note - enterprise: *855 - installation: *856 - organization: *857 - project_card: *902 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project_card: *903 + repository: *859 sender: *4 required: - action @@ -168502,9 +168544,9 @@ x-webhooks: - from required: - column_id - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 project_card: allOf: - title: Project Card @@ -168694,7 +168736,7 @@ x-webhooks: type: string required: - after_id - repository: *858 + repository: *859 sender: *4 required: - action @@ -168774,10 +168816,10 @@ x-webhooks: type: string enum: - closed - enterprise: *855 - installation: *856 - organization: *857 - project: &904 + enterprise: *856 + installation: *857 + organization: *858 + project: &905 title: Project type: object properties: @@ -168901,7 +168943,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *858 + repository: *859 sender: *4 required: - action @@ -168981,10 +169023,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - project_column: &903 + enterprise: *856 + installation: *857 + organization: *858 + project_column: &904 title: Project Column type: object properties: @@ -169023,7 +169065,7 @@ x-webhooks: - name - created_at - updated_at - repository: *858 + repository: *859 sender: *4 required: - action @@ -169102,18 +169144,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - project_column: *903 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *895 - required: *896 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -169203,11 +169245,11 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - organization: *857 - project_column: *903 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 + repository: *859 sender: *4 required: - action @@ -169287,11 +169329,11 @@ x-webhooks: type: string enum: - moved - enterprise: *855 - installation: *856 - organization: *857 - project_column: *903 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 + repository: *859 sender: *4 required: - action @@ -169371,11 +169413,11 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - project: *904 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -169455,18 +169497,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - project: *904 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *895 - required: *896 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -169568,11 +169610,11 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - organization: *857 - project: *904 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -169651,11 +169693,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *855 - installation: *856 - organization: *857 - project: *904 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -169736,9 +169778,9 @@ x-webhooks: type: string enum: - closed - installation: *856 - organization: *857 - projects_v2: *401 + installation: *857 + organization: *858 + projects_v2: *403 sender: *4 required: - action @@ -169819,9 +169861,9 @@ x-webhooks: type: string enum: - created - installation: *856 - organization: *857 - projects_v2: *401 + installation: *857 + organization: *858 + projects_v2: *403 sender: *4 required: - action @@ -169902,9 +169944,9 @@ x-webhooks: type: string enum: - deleted - installation: *856 - organization: *857 - projects_v2: *401 + installation: *857 + organization: *858 + projects_v2: *403 sender: *4 required: - action @@ -170021,9 +170063,9 @@ x-webhooks: type: string to: type: string - installation: *856 - organization: *857 - projects_v2: *401 + installation: *857 + organization: *858 + projects_v2: *403 sender: *4 required: - action @@ -170106,7 +170148,7 @@ x-webhooks: type: string enum: - archived - changes: &908 + changes: &909 type: object properties: archived_at: @@ -170120,9 +170162,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *856 - organization: *857 - projects_v2_item: &905 + installation: *857 + organization: *858 + projects_v2_item: &906 title: Projects v2 Item description: An item belonging to a project type: object @@ -170140,7 +170182,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *408 + content_type: *410 creator: *4 created_at: type: string @@ -170257,9 +170299,9 @@ x-webhooks: nullable: true to: type: string - installation: *856 - organization: *857 - projects_v2_item: *905 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170341,9 +170383,9 @@ x-webhooks: type: string enum: - created - installation: *856 - organization: *857 - projects_v2_item: *905 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170424,9 +170466,9 @@ x-webhooks: type: string enum: - deleted - installation: *856 - organization: *857 - projects_v2_item: *905 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170532,7 +170574,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &906 + - &907 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -170554,7 +170596,7 @@ x-webhooks: required: - id - name - - &907 + - &908 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -170588,8 +170630,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *906 - *907 + - *908 required: - field_value - type: object @@ -170605,9 +170647,9 @@ x-webhooks: nullable: true required: - body - installation: *856 - organization: *857 - projects_v2_item: *905 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170702,9 +170744,9 @@ x-webhooks: to: type: string nullable: true - installation: *856 - organization: *857 - projects_v2_item: *905 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170787,10 +170829,10 @@ x-webhooks: type: string enum: - restored - changes: *908 - installation: *856 - organization: *857 - projects_v2_item: *905 + changes: *909 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170872,9 +170914,9 @@ x-webhooks: type: string enum: - reopened - installation: *856 - organization: *857 - projects_v2: *401 + installation: *857 + organization: *858 + projects_v2: *403 sender: *4 required: - action @@ -170955,14 +170997,14 @@ x-webhooks: type: string enum: - created - installation: *856 - organization: *857 - projects_v2_status_update: &911 + installation: *857 + organization: *858 + projects_v2_status_update: &912 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *909 - required: *910 + properties: *910 + required: *911 sender: *4 required: - action @@ -171043,9 +171085,9 @@ x-webhooks: type: string enum: - deleted - installation: *856 - organization: *857 - projects_v2_status_update: *911 + installation: *857 + organization: *858 + projects_v2_status_update: *912 sender: *4 required: - action @@ -171181,9 +171223,9 @@ x-webhooks: type: string format: date nullable: true - installation: *856 - organization: *857 - projects_v2_status_update: *911 + installation: *857 + organization: *858 + projects_v2_status_update: *912 sender: *4 required: - action @@ -171254,10 +171296,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - repository @@ -171334,13 +171376,13 @@ x-webhooks: type: string enum: - assigned - assignee: *882 - enterprise: *855 - installation: *856 - number: &912 + assignee: *883 + enterprise: *856 + installation: *857 + number: &913 description: The pull request number. type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -173623,7 +173665,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -173705,11 +173747,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -175987,7 +176029,7 @@ x-webhooks: - draft reason: type: string - repository: *858 + repository: *859 sender: *4 required: - action @@ -176069,11 +176111,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -178351,7 +178393,7 @@ x-webhooks: - draft reason: type: string - repository: *858 + repository: *859 sender: *4 required: - action @@ -178433,13 +178475,13 @@ x-webhooks: type: string enum: - closed - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: &913 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: &914 allOf: - - *700 + - *701 - type: object properties: allow_auto_merge: @@ -178501,7 +178543,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *858 + repository: *859 sender: *4 required: - action @@ -178582,12 +178624,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: *913 - repository: *858 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -178667,11 +178709,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *855 - milestone: *682 - number: *912 - organization: *857 - pull_request: &914 + enterprise: *856 + milestone: *683 + number: *913 + organization: *858 + pull_request: &915 title: Pull Request type: object properties: @@ -180934,7 +180976,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -181013,11 +181055,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -183299,7 +183341,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *858 + repository: *859 sender: *4 required: - action @@ -183423,12 +183465,12 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: *913 - repository: *858 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -183508,11 +183550,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -185779,7 +185821,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -185859,11 +185901,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *855 - installation: *856 - label: *876 - number: *912 - organization: *857 + enterprise: *856 + installation: *857 + label: *877 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -188145,7 +188187,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -188226,10 +188268,10 @@ x-webhooks: type: string enum: - locked - enterprise: *855 - installation: *856 - number: *912 - organization: *857 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -190509,7 +190551,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -190589,12 +190631,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *855 - milestone: *682 - number: *912 - organization: *857 - pull_request: *914 - repository: *858 + enterprise: *856 + milestone: *683 + number: *913 + organization: *858 + pull_request: *915 + repository: *859 sender: *4 required: - action @@ -190673,12 +190715,12 @@ x-webhooks: type: string enum: - opened - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: *913 - repository: *858 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -190759,12 +190801,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: *913 - repository: *858 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -190844,12 +190886,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: *913 - repository: *858 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -191215,9 +191257,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -193387,7 +193429,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *858 + repository: *859 sender: *4 required: - action @@ -193467,7 +193509,7 @@ x-webhooks: type: string enum: - deleted - comment: &916 + comment: &917 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. @@ -193752,9 +193794,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -195912,7 +195954,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *858 + repository: *859 sender: *4 required: - action @@ -195992,11 +196034,11 @@ x-webhooks: type: string enum: - edited - changes: *915 - comment: *916 - enterprise: *855 - installation: *856 - organization: *857 + changes: *916 + comment: *917 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -198157,7 +198199,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *858 + repository: *859 sender: *4 required: - action @@ -198238,9 +198280,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -200413,7 +200455,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *858 + repository: *859 review: description: The review that was affected. type: object @@ -200660,9 +200702,9 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -202716,8 +202758,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *858 - review: &917 + repository: *859 + review: &918 description: The review that was affected. type: object properties: @@ -202950,12 +202992,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -205238,7 +205280,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 requested_reviewer: title: User type: object @@ -205322,12 +205364,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -207617,7 +207659,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207809,12 +207851,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -210099,7 +210141,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 requested_reviewer: title: User type: object @@ -210184,12 +210226,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -212465,7 +212507,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212646,9 +212688,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -214823,8 +214865,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *858 - review: *917 + repository: *859 + review: *918 sender: *4 required: - action @@ -214904,9 +214946,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -216976,7 +217018,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *858 + repository: *859 sender: *4 thread: type: object @@ -217363,9 +217405,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -219421,7 +219463,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *858 + repository: *859 sender: *4 thread: type: object @@ -219811,10 +219853,10 @@ x-webhooks: type: string before: type: string - enterprise: *855 - installation: *856 - number: *912 - organization: *857 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -222085,7 +222127,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -222167,11 +222209,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *918 - enterprise: *855 - installation: *856 - number: *912 - organization: *857 + assignee: *919 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -224454,7 +224496,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -224533,11 +224575,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *855 - installation: *856 - label: *876 - number: *912 - organization: *857 + enterprise: *856 + installation: *857 + label: *877 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -226810,7 +226852,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -226891,10 +226933,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *855 - installation: *856 - number: *912 - organization: *857 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -229159,7 +229201,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -229359,7 +229401,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *855 + enterprise: *856 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -229451,8 +229493,8 @@ x-webhooks: - url - author - committer - installation: *856 - organization: *857 + installation: *857 + organization: *858 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -230027,9 +230069,9 @@ x-webhooks: type: string enum: - published - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 registry_package: type: object properties: @@ -230475,7 +230517,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *899 + items: *900 summary: type: string tag_name: @@ -230529,7 +230571,7 @@ x-webhooks: - owner - package_version - registry - repository: *858 + repository: *859 sender: *4 required: - action @@ -230607,9 +230649,9 @@ x-webhooks: type: string enum: - updated - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 registry_package: type: object properties: @@ -230917,7 +230959,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *899 + items: *900 summary: type: string tag_name: @@ -230966,7 +231008,7 @@ x-webhooks: - owner - package_version - registry - repository: *858 + repository: *859 sender: *4 required: - action @@ -231043,10 +231085,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - release: &919 + enterprise: *856 + installation: *857 + organization: *858 + release: &920 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231364,7 +231406,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *858 + repository: *859 sender: *4 required: - action @@ -231441,11 +231483,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - release: *919 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -231562,11 +231604,11 @@ x-webhooks: type: boolean required: - to - enterprise: *855 - installation: *856 - organization: *857 - release: *919 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -231644,9 +231686,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231968,7 +232010,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *858 + repository: *859 sender: *4 required: - action @@ -232044,10 +232086,10 @@ x-webhooks: type: string enum: - published - enterprise: *855 - installation: *856 - organization: *857 - release: &920 + enterprise: *856 + installation: *857 + organization: *858 + release: &921 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -232366,7 +232408,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *858 + repository: *859 sender: *4 required: - action @@ -232442,11 +232484,11 @@ x-webhooks: type: string enum: - released - enterprise: *855 - installation: *856 - organization: *857 - release: *919 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -232522,11 +232564,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *855 - installation: *856 - organization: *857 - release: *920 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + release: *921 + repository: *859 sender: *4 required: - action @@ -232602,11 +232644,11 @@ x-webhooks: type: string enum: - published - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - repository_advisory: *752 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + repository_advisory: *753 sender: *4 required: - action @@ -232682,11 +232724,11 @@ x-webhooks: type: string enum: - reported - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - repository_advisory: *752 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + repository_advisory: *753 sender: *4 required: - action @@ -232762,10 +232804,10 @@ x-webhooks: type: string enum: - archived - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232842,10 +232884,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232923,10 +232965,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233010,10 +233052,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233125,10 +233167,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233200,10 +233242,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 status: type: string @@ -233284,10 +233326,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233364,10 +233406,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233461,10 +233503,10 @@ x-webhooks: - name required: - repository - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233544,10 +233586,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *190 sender: *4 required: @@ -233626,10 +233668,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *190 sender: *4 required: @@ -233708,10 +233750,10 @@ x-webhooks: type: string enum: - edited - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *190 changes: type: object @@ -233773,16 +233815,16 @@ x-webhooks: properties: added: type: array - items: *720 + items: *721 deleted: type: array - items: *720 + items: *721 updated: type: array items: type: object properties: - rule: *720 + rule: *721 changes: type: object properties: @@ -234016,10 +234058,10 @@ x-webhooks: - from required: - owner - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234097,10 +234139,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234178,7 +234220,7 @@ x-webhooks: type: string enum: - create - alert: &921 + alert: &922 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -234299,10 +234341,10 @@ x-webhooks: type: string enum: - open - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234508,10 +234550,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234589,11 +234631,11 @@ x-webhooks: type: string enum: - reopen - alert: *921 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *922 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234792,10 +234834,10 @@ x-webhooks: enum: - fixed - open - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234873,7 +234915,7 @@ x-webhooks: type: string enum: - assigned - alert: &922 + alert: &923 type: object properties: number: *127 @@ -234992,10 +235034,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235073,11 +235115,11 @@ x-webhooks: type: string enum: - created - alert: *922 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235158,11 +235200,11 @@ x-webhooks: type: string enum: - created - alert: *922 - installation: *856 - location: *923 - organization: *857 - repository: *858 + alert: *923 + installation: *857 + location: *924 + organization: *858 + repository: *859 sender: *4 required: - location @@ -235400,11 +235442,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *922 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235482,11 +235524,11 @@ x-webhooks: type: string enum: - reopened - alert: *922 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235564,11 +235606,11 @@ x-webhooks: type: string enum: - resolved - alert: *922 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235646,12 +235688,12 @@ x-webhooks: type: string enum: - unassigned - alert: *922 + alert: *923 assignee: *4 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235729,11 +235771,11 @@ x-webhooks: type: string enum: - validated - alert: *922 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235859,10 +235901,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *858 - enterprise: *855 - installation: *856 - organization: *857 + repository: *859 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -235940,11 +235982,11 @@ x-webhooks: type: string enum: - published - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - security_advisory: &924 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + security_advisory: &925 description: The details of the security advisory, including summary, description, and severity. type: object @@ -236127,11 +236169,11 @@ x-webhooks: type: string enum: - updated - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - security_advisory: *924 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + security_advisory: *925 sender: *4 required: - action @@ -236204,10 +236246,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -236391,11 +236433,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *417 - enterprise: *855 - installation: *856 - organization: *857 - repository: *469 + security_and_analysis: *419 + enterprise: *856 + installation: *857 + organization: *858 + repository: *471 sender: *4 required: - changes @@ -236473,12 +236515,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: &925 + sponsorship: &926 type: object properties: created_at: @@ -236779,12 +236821,12 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *925 + sponsorship: *926 required: - action - sponsorship @@ -236872,12 +236914,12 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *925 + sponsorship: *926 required: - action - changes @@ -236954,17 +236996,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &926 + effective_date: &927 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: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *925 + sponsorship: *926 required: - action - sponsorship @@ -237038,7 +237080,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &927 + changes: &928 type: object properties: tier: @@ -237082,13 +237124,13 @@ x-webhooks: - from required: - tier - effective_date: *926 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + effective_date: *927 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *925 + sponsorship: *926 required: - action - changes @@ -237165,13 +237207,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *927 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + changes: *928 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *925 + sponsorship: *926 required: - action - changes @@ -237245,10 +237287,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237331,10 +237373,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237754,15 +237796,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *855 + enterprise: *856 id: description: The unique identifier of the status. type: integer - installation: *856 + installation: *857 name: type: string - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 sha: description: The Commit SHA. @@ -237877,9 +237919,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -237969,9 +238011,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -238061,9 +238103,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -238153,9 +238195,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -238232,12 +238274,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - team: &928 + team: &929 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -238460,9 +238502,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -238920,7 +238962,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *928 + team: *929 required: - action - team @@ -238996,9 +239038,9 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -239456,7 +239498,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *928 + team: *929 required: - action - team @@ -239533,9 +239575,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -239993,7 +240035,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *928 + team: *929 required: - action - team @@ -240137,9 +240179,9 @@ x-webhooks: - from required: - permissions - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -240597,7 +240639,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *928 + team: *929 required: - action - changes @@ -240675,9 +240717,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -241135,7 +241177,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *928 + team: *929 required: - action - team @@ -241211,10 +241253,10 @@ x-webhooks: type: string enum: - started - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -241287,16 +241329,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *855 + enterprise: *856 inputs: type: object nullable: true additionalProperties: true - installation: *856 - organization: *857 + installation: *857 + organization: *858 ref: type: string - repository: *858 + repository: *859 sender: *4 workflow: type: string @@ -241378,10 +241420,10 @@ x-webhooks: type: string enum: - completed - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: allOf: @@ -241618,7 +241660,7 @@ x-webhooks: type: string required: - conclusion - deployment: *603 + deployment: *605 required: - action - repository @@ -241697,10 +241739,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: allOf: @@ -241960,7 +242002,7 @@ x-webhooks: required: - status - steps - deployment: *603 + deployment: *605 required: - action - repository @@ -242039,10 +242081,10 @@ x-webhooks: type: string enum: - queued - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: type: object @@ -242177,7 +242219,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *603 + deployment: *605 required: - action - repository @@ -242256,10 +242298,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: type: object @@ -242395,7 +242437,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *603 + deployment: *605 required: - action - repository @@ -242475,12 +242517,12 @@ x-webhooks: type: string enum: - completed - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *872 + workflow: *873 workflow_run: title: Workflow Run type: object @@ -243479,12 +243521,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *872 + workflow: *873 workflow_run: title: Workflow Run type: object @@ -244468,12 +244510,12 @@ x-webhooks: type: string enum: - requested - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *872 + workflow: *873 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 51cdd1d1a..086b11fe5 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -155189,6 +155189,482 @@ } } }, + "/orgs/{org}/dismissal-requests/dependabot": { + "get": { + "summary": "List dismissal requests for Dependabot alerts for an organization", + "description": "Lists dismissal requests for Dependabot alerts in an organization.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the appropriate permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/list-dismissal-requests-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "dependabot", + "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": "repository_name", + "description": "The name of the repository to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "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 rule suites that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "denied", + "open", + "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": "Dependabot alert dismissal request", + "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "The alert number." + }, + "alert_title": { + "type": "string", + "description": "The title of the alert." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "123" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "no_bandwidth", + "alert_number": "1", + "alert_title": "lodash - GHSA-1234-abcd-5678" + } + ], + "resource_identifier": "1", + "status": "denied", + "requester_comment": "No bandwidth to fix this right now", + "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/dependabot/1", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "tolerable_risk", + "alert_number": "2", + "alert_title": "axios - GHSA-5678-efgh-9012" + } + ], + "resource_identifier": "2", + "status": "approved", + "requester_comment": "Risk is acceptable for this internal tool", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 43, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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" + } + } + } + } + } + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 766d10d93..d82fef55d 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &438 + type: &440 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,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: - - &754 + - &755 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &347 + - &349 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &348 + items: &350 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &349 + default: &351 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &764 + schema: &765 title: Scim Error description: Scim Error type: object @@ -1809,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &352 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1923,7 @@ paths: - request - response examples: - default: &351 + default: &353 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2918,7 +2918,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &415 + properties: &417 id: description: Unique identifier of the repository example: 42 @@ -3356,7 +3356,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &416 + required: &418 - archive_url - assignees_url - blobs_url @@ -8897,7 +8897,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &765 + '401': &766 description: Authorization failure '404': *6 x-github: @@ -13100,7 +13100,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &538 + instances_url: &540 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13135,7 +13135,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &539 + dismissed_reason: &541 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -13144,13 +13144,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &540 + dismissed_comment: &542 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &541 + rule: &543 type: object properties: id: @@ -13203,7 +13203,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &542 + tool: &544 type: object properties: name: *111 @@ -13213,15 +13213,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &543 + most_recent_instance: &545 type: object properties: - ref: &536 + ref: &538 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &553 + analysis_key: &555 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13232,7 +13232,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &554 + category: &556 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15570,7 +15570,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &382 + properties: &384 id: description: Unique identifier of the team type: integer @@ -15642,7 +15642,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &383 + required: &385 - id - node_id - url @@ -16921,7 +16921,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &593 + - &595 name: has in: query description: |- @@ -17034,7 +17034,7 @@ paths: - unknown - direct - transitive - security_advisory: &594 + security_advisory: &596 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17266,14 +17266,14 @@ paths: nullable: true maxLength: 280 fixed_at: *137 - auto_dismissed_at: &595 + auto_dismissed_at: &597 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &596 + dismissal_request: &598 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -18442,7 +18442,7 @@ paths: - name - created_on examples: - default: &443 + default: &445 value: total_count: 2 network_configurations: @@ -18665,7 +18665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &444 + - &446 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18677,7 +18677,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &447 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18711,7 +18711,7 @@ paths: - subnet_id - region examples: - default: &446 + default: &448 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19523,7 +19523,7 @@ paths: required: true content: application/json: - schema: &414 + schema: &416 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20707,7 +20707,7 @@ paths: nullable: true anyOf: - *161 - - &420 + - &422 title: Organization ruleset conditions type: object description: |- @@ -20754,7 +20754,7 @@ paths: - *164 rules: type: array - items: &720 + items: &721 title: Repository Rule type: object description: A repository rule. @@ -20763,7 +20763,7 @@ paths: - *170 - *171 - *172 - - &718 + - &719 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21091,7 +21091,7 @@ paths: type: string format: date-time examples: - default: &423 + default: &425 value: - version_id: 3 actor: @@ -21144,7 +21144,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &426 allOf: - *194 - type: object @@ -21199,7 +21199,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &425 + - &427 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21210,7 +21210,7 @@ paths: enum: - open - resolved - - &426 + - &428 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21220,7 +21220,7 @@ paths: required: false schema: type: string - - &427 + - &429 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21229,7 +21229,7 @@ paths: required: false schema: type: string - - &428 + - &430 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -21248,7 +21248,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &429 + - &431 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -21264,7 +21264,7 @@ paths: - *17 - *108 - *109 - - &430 + - &432 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21273,7 +21273,7 @@ paths: required: false schema: type: string - - &431 + - &433 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21282,7 +21282,7 @@ paths: schema: type: boolean default: false - - &432 + - &434 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21291,7 +21291,7 @@ paths: schema: type: boolean default: false - - &433 + - &435 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21307,7 +21307,7 @@ paths: application/json: schema: type: array - items: &434 + items: &436 type: object properties: number: *127 @@ -21326,14 +21326,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &732 + state: &733 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: &733 + resolution: &734 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21440,8 +21440,8 @@ paths: pull request. ' - oneOf: &734 - - &736 + oneOf: &735 + - &737 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21493,7 +21493,7 @@ paths: - blob_url - commit_sha - commit_url - - &737 + - &738 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. @@ -21548,7 +21548,7 @@ paths: - page_url - commit_sha - commit_url - - &738 + - &739 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21562,7 +21562,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &739 + - &740 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21576,7 +21576,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &740 + - &741 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21590,7 +21590,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &741 + - &742 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21604,7 +21604,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &742 + - &743 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21618,7 +21618,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &743 + - &744 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21632,7 +21632,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &744 + - &745 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. @@ -21646,7 +21646,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &745 + - &746 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. @@ -21660,7 +21660,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &746 + - &747 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. @@ -21674,7 +21674,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &747 + - &748 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. @@ -21688,7 +21688,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &748 + - &749 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21715,7 +21715,7 @@ paths: required: *21 nullable: true examples: - default: &435 + default: &437 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21924,7 +21924,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &438 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22007,7 +22007,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *196 examples: - default: &437 + default: &439 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22143,7 +22143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &440 + - &442 name: advanced_security_product in: query description: | @@ -22163,7 +22163,7 @@ paths: description: Success content: application/json: - schema: &441 + schema: &443 type: object properties: total_advanced_security_committers: @@ -22218,7 +22218,7 @@ paths: required: - repositories examples: - default: &442 + default: &444 value: total_advanced_security_committers: 2 total_count: 2 @@ -24982,7 +24982,7 @@ paths: properties: action: type: string - discussion: &873 + discussion: &874 title: Discussion description: A Discussion in a repository. type: object @@ -25349,7 +25349,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &656 + properties: &657 id: type: integer format: int64 @@ -25463,7 +25463,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &404 + properties: &406 url: type: string format: uri @@ -25533,7 +25533,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &405 + required: &407 - closed_issues - creator - description @@ -25612,7 +25612,7 @@ paths: timeline_url: type: string format: uri - type: &369 + type: &371 title: Issue Type description: The type of issue. type: object @@ -25726,7 +25726,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &792 + sub_issues_summary: &793 title: Sub-issues Summary type: object properties: @@ -25746,7 +25746,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &793 + issue_dependencies_summary: &794 title: Issue Dependencies Summary type: object properties: @@ -25765,7 +25765,7 @@ paths: - total_blocking issue_field_values: type: array - items: &794 + items: &795 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25826,7 +25826,7 @@ paths: - node_id - data_type - value - required: &657 + required: &658 - assignee - closed_at - comments @@ -25864,7 +25864,7 @@ paths: action: type: string issue: *220 - comment: &654 + comment: &655 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -26583,7 +26583,7 @@ paths: type: string release: allOf: - - &711 + - &712 title: Release description: A release. type: object @@ -26654,7 +26654,7 @@ paths: author: *4 assets: type: array - items: &712 + items: &713 title: Release Asset description: Data related to a release. type: object @@ -27233,7 +27233,7 @@ paths: url: type: string format: uri - user: &804 + user: &805 title: Public User description: Public User type: object @@ -29103,7 +29103,7 @@ paths: - closed - all default: open - - &372 + - &374 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -29154,7 +29154,7 @@ paths: type: array items: *220 examples: - default: &373 + default: &375 value: - id: 1 node_id: MDU6SXNzdWUx @@ -30538,14 +30538,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &464 + - &466 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &465 + - &467 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -30607,7 +30607,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &470 + '301': &472 description: Moved permanently content: application/json: @@ -30629,7 +30629,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &685 + - &686 name: all description: If `true`, show notifications marked as read. in: query @@ -30637,7 +30637,7 @@ paths: schema: type: boolean default: false - - &686 + - &687 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -30647,7 +30647,7 @@ paths: type: boolean default: false - *227 - - &687 + - &688 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: @@ -30683,7 +30683,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &342 + properties: &344 id: type: integer format: int64 @@ -30959,7 +30959,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &417 + security_and_analysis: &419 nullable: true type: object properties: @@ -31041,7 +31041,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &343 + required: &345 - archive_url - assignees_url - blobs_url @@ -31129,7 +31129,7 @@ paths: - url - subscription_url examples: - default: &688 + default: &689 value: - id: '1' repository: @@ -32246,7 +32246,7 @@ paths: type: array items: *155 examples: - default: &694 + default: &695 value: - property_name: environment value: production @@ -32296,7 +32296,7 @@ paths: required: - properties examples: - default: &695 + default: &696 value: properties: - property_name: environment @@ -33109,7 +33109,7 @@ paths: type: integer repository_cache_usages: type: array - items: &477 + items: &479 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -35223,7 +35223,7 @@ paths: type: array items: *283 examples: - default: &807 + default: &808 value: total_count: 1 repositories: @@ -36265,7 +36265,7 @@ paths: description: Response content: application/json: - schema: &497 + schema: &499 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -36294,7 +36294,7 @@ paths: - key_id - key examples: - default: &498 + default: &500 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36707,7 +36707,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *87 - - &482 + - &484 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -37905,12 +37905,12 @@ paths: required: - subject_digests examples: - default: &835 + default: &836 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &836 + withPredicateType: &837 value: subject_digests: - sha256:abc123 @@ -37968,7 +37968,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &837 + default: &838 value: attestations_subject_digests: - sha256:abc: @@ -38317,7 +38317,7 @@ paths: initiator: type: string examples: - default: &511 + default: &513 value: attestations: - bundle: @@ -39234,7 +39234,7 @@ paths: be returned. in: query required: false - schema: &537 + schema: &539 type: string description: Severity of a code scanning alert. enum: @@ -40250,7 +40250,7 @@ paths: type: integer codespaces: type: array - items: &374 + items: &376 type: object title: Codespace description: A codespace. @@ -40280,7 +40280,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &566 + properties: &568 name: type: string description: The name of the machine. @@ -40322,7 +40322,7 @@ paths: - ready - in_progress nullable: true - required: &567 + required: &569 - name - display_name - operating_system @@ -40527,7 +40527,7 @@ paths: - pulls_url - recent_folders examples: - default: &375 + default: &377 value: total_count: 3 codespaces: @@ -41190,7 +41190,7 @@ paths: - updated_at - visibility examples: - default: &568 + default: &570 value: total_count: 2 secrets: @@ -41228,7 +41228,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &571 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -41257,7 +41257,7 @@ paths: - key_id - key examples: - default: &570 + default: &572 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41289,7 +41289,7 @@ paths: application/json: schema: *327 examples: - default: &572 + default: &574 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42998,7 +42998,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &601 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -43015,7 +43015,7 @@ paths: - key_id - key examples: - default: &600 + default: &602 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43345,7 +43345,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &608 + - &610 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -43353,7 +43353,7 @@ paths: required: false schema: type: string - - &609 + - &611 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -43361,7 +43361,7 @@ paths: required: false schema: type: string - - &610 + - &612 name: time_period description: |- The time period to filter by. @@ -43377,7 +43377,7 @@ paths: - week - month default: month - - &611 + - &613 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -43402,7 +43402,7 @@ paths: application/json: schema: type: array - items: &612 + items: &614 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -43508,7 +43508,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &614 + items: &342 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -43558,7 +43558,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &613 + default: &615 value: - id: 21 number: 42 @@ -43624,24 +43624,25 @@ paths: '403': *29 '422': *15 '500': *40 - "/orgs/{org}/dismissal-requests/secret-scanning": + "/orgs/{org}/dismissal-requests/dependabot": get: - summary: List alert dismissal requests for secret scanning for an org + summary: List dismissal requests for Dependabot alerts for an organization description: |- - Lists requests to dismiss secret scanning alerts in an org. + Lists dismissal requests for Dependabot alerts in an organization. Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, - or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + or have the appropriate permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. tags: - - secret-scanning - operationId: secret-scanning/list-org-dismissal-requests + - dependabot + operationId: dependabot/list-dismissal-requests-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization x-github: githubCloudOnly: true enabledForGitHubApps: true - category: secret-scanning + category: dependabot subcategory: alert-dismissal-requests parameters: - *87 @@ -43649,7 +43650,7 @@ paths: - *103 - *104 - *105 - - &616 + - &343 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -43668,6 +43669,225 @@ paths: default: all - *17 - *19 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: &616 + title: Dependabot alert dismissal request + description: Alert dismissal request made by a user asking to dismiss + a Dependabot alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request + within its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request + is for. + name: + type: string + description: The name of the repository the dismissal request + is for. + full_name: + type: string + description: The full name of the repository the dismissal + request is for. + organization: + type: object + description: The organization associated with the repository + the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the + dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the + dismissal request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: The alert number. + alert_title: + type: string + description: The title of the alert. + resource_identifier: + type: string + description: The unique identifier for the request type of the + dismissal request. + example: '123' + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating + the dismissal request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: *342 + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/security/dependabot/1 + examples: + default: &617 + 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: dependabot_alert_dismissal + data: + - reason: no_bandwidth + alert_number: '1' + alert_title: lodash - GHSA-1234-abcd-5678 + resource_identifier: '1' + status: denied + requester_comment: No bandwidth to fix this right now + 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/dependabot/1 + html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal + data: + - reason: tolerable_risk + alert_number: '2' + alert_title: axios - GHSA-5678-efgh-9012 + resource_identifier: '2' + status: approved + requester_comment: Risk is acceptable for this internal tool + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 43 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 + html_url: https://github.com/octo-org/smile/security/dependabot/2 + '404': *6 + '403': *29 + '500': *40 + "/orgs/{org}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for an org + description: |- + Lists requests to dismiss secret scanning alerts in an org. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *87 + - *309 + - *103 + - *104 + - *105 + - *343 + - *17 + - *19 responses: '200': description: A list of the alert dismissal requests. @@ -43675,7 +43895,7 @@ paths: application/json: schema: type: array - items: &617 + items: &618 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -43796,7 +44016,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &618 + default: &619 value: - id: 21 number: 42 @@ -43884,7 +44104,7 @@ paths: application/json: schema: type: array - items: &385 + items: &387 title: Package description: A software package type: object @@ -43934,8 +44154,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *342 - required: *343 + properties: *344 + required: *345 nullable: true created_at: type: string @@ -43954,7 +44174,7 @@ paths: - created_at - updated_at examples: - default: &386 + default: &388 value: - id: 197 name: hello_docker @@ -44141,7 +44361,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &463 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -44222,7 +44442,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &462 + default: &464 value: group_id: '123' group_name: Octocat admins @@ -44277,7 +44497,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &461 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -44314,7 +44534,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &460 + default: &462 value: groups: - group_id: '123' @@ -44358,7 +44578,7 @@ paths: application/json: schema: type: array - items: &366 + items: &368 title: Organization Invitation description: Organization Invitation type: object @@ -44405,7 +44625,7 @@ paths: - invitation_teams_url - node_id examples: - default: &367 + default: &369 value: - id: 1 login: monalisa @@ -44472,7 +44692,7 @@ paths: application/json: schema: type: array - items: &418 + items: &420 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -44486,7 +44706,7 @@ paths: - name - description examples: - default: &419 + default: &421 value: - name: add_assignee description: Assign or remove a user @@ -44527,7 +44747,7 @@ paths: application/json: schema: type: array - items: &344 + items: &346 title: Org Hook description: Org Hook type: object @@ -44696,9 +44916,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: &345 + default: &347 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -44743,7 +44963,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &346 + - &348 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -44756,9 +44976,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 '404': *6 x-github: githubCloudOnly: false @@ -44780,7 +45000,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *346 + - *348 requestBody: required: false content: @@ -44825,7 +45045,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: default: value: @@ -44865,7 +45085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *346 + - *348 responses: '204': description: Response @@ -44891,7 +45111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *346 + - *348 responses: '200': description: Response @@ -44920,7 +45140,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *346 + - *348 requestBody: required: false content: @@ -44969,9 +45189,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *346 + - *348 - *17 - - *347 + - *349 responses: '200': description: Response @@ -44979,9 +45199,9 @@ paths: application/json: schema: type: array - items: *348 + items: *350 examples: - default: *349 + default: *351 '400': *14 '422': *15 x-github: @@ -45005,16 +45225,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *346 + - *348 - *16 responses: '200': description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: *351 + default: *353 '400': *14 '422': *15 x-github: @@ -45038,7 +45258,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *346 + - *348 - *16 responses: '202': *39 @@ -45065,7 +45285,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *346 + - *348 responses: '204': description: Response @@ -45088,7 +45308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &356 + - &358 name: actor_type in: path description: The type of the actor @@ -45101,14 +45321,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &357 + - &359 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &352 + - &354 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -45116,7 +45336,7 @@ paths: required: true schema: type: string - - &353 + - &355 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -45210,12 +45430,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *352 - - *353 + - *354 + - *355 - *19 - *17 - *110 - - &362 + - &364 name: sort description: The property to sort the results by. in: query @@ -45294,14 +45514,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *352 - - *353 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: &354 + schema: &356 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -45317,7 +45537,7 @@ paths: type: integer format: int64 examples: - default: &355 + default: &357 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -45338,23 +45558,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &358 + - &360 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *352 - - *353 + - *354 + - *355 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: enabledForGitHubApps: true category: orgs @@ -45373,18 +45593,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *352 - - *353 - - *356 - - *357 + - *354 + - *355 + - *358 + - *359 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: enabledForGitHubApps: true category: orgs @@ -45402,9 +45622,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *87 - - *352 - - *353 - - &359 + - *354 + - *355 + - &361 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -45417,7 +45637,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &362 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -45433,7 +45653,7 @@ paths: type: integer format: int64 examples: - default: &361 + default: &363 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -45470,18 +45690,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *358 - - *352 - - *353 - - *359 + - *360 + - *354 + - *355 + - *361 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 x-github: enabledForGitHubApps: true category: orgs @@ -45499,19 +45719,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *356 - - *357 - - *352 - - *353 + - *358 - *359 + - *354 + - *355 + - *361 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 x-github: enabledForGitHubApps: true category: orgs @@ -45529,13 +45749,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *87 - - *358 - - *352 - - *353 + - *360 + - *354 + - *355 - *19 - *17 - *110 - - *362 + - *364 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -45616,7 +45836,7 @@ paths: application/json: schema: *22 examples: - default: &649 + default: &650 value: id: 1 account: @@ -45782,12 +46002,12 @@ paths: application/json: schema: anyOf: - - &364 + - &366 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &363 + limit: &365 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -45812,7 +46032,7 @@ paths: properties: {} additionalProperties: false examples: - default: &365 + default: &367 value: limit: collaborators_only origin: organization @@ -45841,13 +46061,13 @@ paths: required: true content: application/json: - schema: &650 + schema: &651 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *363 + limit: *365 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -45871,9 +46091,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -45951,9 +46171,9 @@ paths: application/json: schema: type: array - items: *366 + items: *368 examples: - default: *367 + default: *369 headers: Link: *47 '404': *6 @@ -46031,7 +46251,7 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: default: value: @@ -46088,7 +46308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &368 + - &370 name: invitation_id description: The unique identifier of the invitation. in: path @@ -46122,7 +46342,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *368 + - *370 - *17 - *19 responses: @@ -46134,7 +46354,7 @@ paths: type: array items: *312 examples: - default: &384 + default: &386 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -46177,7 +46397,7 @@ paths: application/json: schema: type: array - items: *369 + items: *371 examples: default: value: @@ -46262,9 +46482,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: &370 + default: &372 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -46297,7 +46517,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &371 + - &373 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -46350,9 +46570,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: *370 + default: *372 '404': *6 '422': *7 x-github: @@ -46377,7 +46597,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *371 + - *373 responses: '204': description: Response @@ -46440,7 +46660,7 @@ paths: - closed - all default: open - - *372 + - *374 - name: type description: Can be the name of an issue type. in: query @@ -46471,7 +46691,7 @@ paths: type: array items: *220 examples: - default: *373 + default: *375 headers: Link: *47 '404': *6 @@ -46630,9 +46850,9 @@ paths: type: integer codespaces: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 '304': *37 '500': *40 '401': *25 @@ -46659,7 +46879,7 @@ paths: parameters: - *87 - *142 - - &376 + - &378 name: codespace_name in: path required: true @@ -46694,15 +46914,15 @@ paths: parameters: - *87 - *142 - - *376 + - *378 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: &565 + default: &567 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -46958,7 +47178,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &379 title: Org Membership description: Org Membership type: object @@ -47025,7 +47245,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &378 + response-if-user-has-an-active-admin-membership-with-organization: &380 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -47122,9 +47342,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: - response-if-user-already-had-membership-with-organization: *378 + response-if-user-already-had-membership-with-organization: *380 '422': *15 '403': *29 x-github: @@ -47195,7 +47415,7 @@ paths: application/json: schema: type: array - items: &379 + items: &381 title: Migration description: A migration. type: object @@ -47524,7 +47744,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -47703,7 +47923,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &380 + - &382 name: migration_id description: The unique identifier of the migration. in: path @@ -47730,7 +47950,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -47900,7 +48120,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *380 + - *382 responses: '302': description: Response @@ -47922,7 +48142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *380 + - *382 responses: '204': description: Response @@ -47946,8 +48166,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *380 - - &820 + - *382 + - &821 name: repo_name description: repo_name parameter in: path @@ -47975,7 +48195,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *380 + - *382 - *17 - *19 responses: @@ -47987,7 +48207,7 @@ paths: type: array items: *283 examples: - default: &391 + default: &393 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -48196,7 +48416,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &381 + items: &383 title: Organization Role description: Organization roles type: object @@ -48403,7 +48623,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -48633,7 +48853,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -48730,7 +48950,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -48888,8 +49108,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *382 - required: *383 + properties: *384 + required: *385 nullable: true type: description: The ownership type of the team @@ -48921,7 +49141,7 @@ paths: - type - parent examples: - default: *384 + default: *386 headers: Link: *47 '404': @@ -48979,13 +49199,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &439 + items: &441 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *382 - required: *383 + properties: *384 + required: *385 name: nullable: true type: string @@ -49273,7 +49493,7 @@ paths: - nuget - container - *87 - - &821 + - &822 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -49309,12 +49529,12 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: - default: *386 + default: *388 '403': *29 '401': *25 - '400': &823 + '400': &824 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -49336,7 +49556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &387 + - &389 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -49354,7 +49574,7 @@ paths: - docker - nuget - container - - &388 + - &390 name: package_name description: The name of the package. in: path @@ -49367,7 +49587,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: default: value: @@ -49419,8 +49639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *387 - - *388 + - *389 + - *390 - *87 responses: '204': @@ -49453,8 +49673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *387 - - *388 + - *389 + - *390 - *87 - name: token description: package token @@ -49487,8 +49707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *387 - - *388 + - *389 + - *390 - *87 - *19 - *17 @@ -49509,7 +49729,7 @@ paths: application/json: schema: type: array - items: &389 + items: &391 title: Package Version description: A version of a software package type: object @@ -49634,10 +49854,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *387 - - *388 + - *389 + - *390 - *87 - - &390 + - &392 name: package_version_id description: Unique identifier of the package version. in: path @@ -49649,7 +49869,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: default: value: @@ -49685,10 +49905,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *387 - - *388 - - *87 + - *389 - *390 + - *87 + - *392 responses: '204': description: Response @@ -49720,10 +49940,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *387 - - *388 - - *87 + - *389 - *390 + - *87 + - *392 responses: '204': description: Response @@ -49753,7 +49973,7 @@ paths: - *87 - *17 - *19 - - &392 + - &394 name: sort description: The property by which to sort the results. in: query @@ -49764,7 +49984,7 @@ paths: - created_at default: created_at - *110 - - &393 + - &395 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -49775,7 +49995,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &394 + - &396 name: repository description: The name of the repository to use to filter the results. in: query @@ -49783,7 +50003,7 @@ paths: schema: type: string example: Hello-World - - &395 + - &397 name: permission description: The permission to use to filter the results. in: query @@ -49791,7 +50011,7 @@ paths: schema: type: string example: issues_read - - &396 + - &398 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -49801,7 +50021,7 @@ paths: schema: type: string format: date-time - - &397 + - &399 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -49811,7 +50031,7 @@ paths: schema: type: string format: date-time - - &398 + - &400 name: token_id description: The ID of the token in: query @@ -50124,7 +50344,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -50150,14 +50370,14 @@ paths: - *87 - *17 - *19 - - *392 - - *110 - - *393 - *394 + - *110 - *395 - *396 - *397 - *398 + - *399 + - *400 responses: '500': *40 '422': *15 @@ -50439,7 +50659,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -50481,7 +50701,7 @@ paths: type: integer configurations: type: array - items: &399 + items: &401 title: Organization private registry description: Private registry configuration for an organization type: object @@ -50771,7 +50991,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &400 + org-private-registry-with-selected-visibility: &402 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -50867,9 +51087,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -51036,7 +51256,7 @@ paths: application/json: schema: type: array - items: &401 + items: &403 title: Projects v2 Project description: A projects v2 project type: object @@ -51106,7 +51326,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &909 + properties: &910 id: type: number description: The unique identifier of the status update. @@ -51154,7 +51374,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &910 + required: &911 - id - node_id - created_at @@ -51179,7 +51399,7 @@ paths: - deleted_at - deleted_by examples: - default: &402 + default: &404 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -51282,7 +51502,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &403 + - &405 name: project_number description: The project's number. in: path @@ -51295,9 +51515,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 headers: Link: *47 '304': *37 @@ -51320,7 +51540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *403 + - *405 requestBody: required: true description: Details of the draft item to create in the project. @@ -51354,7 +51574,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &411 title: Projects v2 Item description: An item belonging to a project type: object @@ -51368,7 +51588,7 @@ paths: content: oneOf: - *220 - - &580 + - &582 title: Pull Request Simple description: Pull Request Simple type: object @@ -51474,8 +51694,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *404 - required: *405 + properties: *406 + required: *407 nullable: true active_lock_reason: type: string @@ -51571,7 +51791,7 @@ paths: _links: type: object properties: - comments: &406 + comments: &408 title: Link description: Hypermedia Link type: object @@ -51580,13 +51800,13 @@ paths: type: string required: - href - commits: *406 - statuses: *406 - html: *406 - issue: *406 - review_comments: *406 - review_comment: *406 - self: *406 + commits: *408 + statuses: *408 + html: *408 + issue: *408 + review_comments: *408 + review_comment: *408 + self: *408 required: - comments - commits @@ -51597,7 +51817,7 @@ paths: - review_comment - self author_association: *221 - auto_merge: &697 + auto_merge: &698 title: Auto merge description: The status of auto merging a pull request. type: object @@ -51699,7 +51919,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &408 + content_type: &410 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -51739,7 +51959,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &410 + draft_issue: &412 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -51813,7 +52033,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *403 + - *405 - *87 - *17 - *108 @@ -51825,7 +52045,7 @@ paths: application/json: schema: type: array - items: &407 + items: &409 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -51972,7 +52192,7 @@ paths: - updated_at - project_url examples: - default: &840 + default: &841 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52102,7 +52322,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *403 + - *405 - *87 requestBody: required: true @@ -52149,7 +52369,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &841 + items: &842 type: object properties: name: @@ -52185,7 +52405,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &842 + iteration_configuration: &843 type: object description: The configuration for iteration fields. properties: @@ -52234,7 +52454,7 @@ paths: value: name: Due date data_type: date - single_select_field: &843 + single_select_field: &844 summary: Create a single select field value: name: Priority @@ -52261,7 +52481,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &844 + iteration_field: &845 summary: Create an iteration field value: name: Sprint @@ -52285,9 +52505,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *407 + schema: *409 examples: - text_field: &845 + text_field: &846 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -52296,7 +52516,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &846 + number_field: &847 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -52305,7 +52525,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &847 + date_field: &848 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -52314,7 +52534,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &848 + single_select_field: &849 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52348,7 +52568,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &849 + iteration_field: &850 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -52393,8 +52613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *403 - - &850 + - *405 + - &851 name: field_id description: The unique identifier of the field. in: path @@ -52407,9 +52627,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: &851 + default: &852 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52465,7 +52685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *403 + - *405 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -52498,7 +52718,7 @@ paths: application/json: schema: type: array - items: &411 + items: &413 title: Projects v2 Item description: An item belonging to a project type: object @@ -52514,7 +52734,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *408 + content_type: *410 content: type: object additionalProperties: true @@ -52557,7 +52777,7 @@ paths: - updated_at - archived_at examples: - default: &412 + default: &414 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -53254,7 +53474,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *403 + - *405 requestBody: required: true description: Details of the item to add to the project. @@ -53291,10 +53511,10 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - issue: *410 - pull_request: *410 + issue: *412 + pull_request: *412 '304': *37 '403': *29 '401': *25 @@ -53314,9 +53534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *403 + - *405 - *87 - - &413 + - &415 name: item_id description: The unique identifier of the project item. in: path @@ -53342,9 +53562,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 headers: Link: *47 '304': *37 @@ -53365,9 +53585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *403 + - *405 - *87 - - *413 + - *415 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -53437,13 +53657,13 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - text_field: *412 - number_field: *412 - date_field: *412 - single_select_field: *412 - iteration_field: *412 + text_field: *414 + number_field: *414 + date_field: *414 + single_select_field: *414 + iteration_field: *414 '401': *25 '403': *29 '404': *6 @@ -53463,9 +53683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *403 + - *405 - *87 - - *413 + - *415 responses: '204': description: Response @@ -53628,7 +53848,7 @@ paths: required: true content: application/json: - schema: *414 + schema: *416 examples: default: value: @@ -53993,7 +54213,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -54196,7 +54416,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &471 title: Full Repository description: Full Repository type: object @@ -54473,8 +54693,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *415 - required: *416 + properties: *417 + required: *418 nullable: true temp_clone_token: type: string @@ -54589,7 +54809,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &585 + properties: &587 url: type: string format: uri @@ -54605,12 +54825,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &586 + required: &588 - url - key - name - html_url - security_and_analysis: *417 + security_and_analysis: *419 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -54694,7 +54914,7 @@ paths: - network_count - subscribers_count examples: - default: &471 + default: &473 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -55220,9 +55440,9 @@ paths: application/json: schema: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55247,7 +55467,7 @@ paths: - *87 - *17 - *19 - - &719 + - &720 name: targets description: | A comma-separated list of rule targets to filter by. @@ -55338,11 +55558,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *168 - conditions: *420 + conditions: *422 rules: type: array description: An array of rules within the ruleset. - items: &422 + items: &424 title: Repository Rule type: object description: A repository rule. @@ -55407,7 +55627,7 @@ paths: application/json: schema: *190 examples: - default: &421 + default: &423 value: id: 21 name: super cool ruleset @@ -55462,7 +55682,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &721 + - &722 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 @@ -55474,14 +55694,14 @@ paths: x-multi-segment: true - *309 - *105 - - &722 + - &723 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 - - &723 + - &724 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -55501,7 +55721,7 @@ paths: description: Response content: application/json: - schema: &724 + schema: &725 title: Rule Suites description: Response type: array @@ -55556,7 +55776,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &725 + default: &726 value: - id: 21 actor_id: 12 @@ -55600,7 +55820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &726 + - &727 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -55616,7 +55836,7 @@ paths: description: Response content: application/json: - schema: &727 + schema: &728 title: Rule Suite description: Response type: object @@ -55715,7 +55935,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &728 + default: &729 value: id: 21 actor_id: 12 @@ -55790,7 +56010,7 @@ paths: application/json: schema: *190 examples: - default: *421 + default: *423 '404': *6 '500': *40 put: @@ -55839,11 +56059,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *168 - conditions: *420 + conditions: *422 rules: description: An array of rules within the ruleset. type: array - items: *422 + items: *424 examples: default: value: @@ -55880,7 +56100,7 @@ paths: application/json: schema: *190 examples: - default: *421 + default: *423 '404': *6 '500': *40 delete: @@ -55939,7 +56159,7 @@ paths: type: array items: *194 examples: - default: *423 + default: *425 '404': *6 '500': *40 x-github: @@ -55976,7 +56196,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -56039,15 +56259,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *425 - - *426 - *427 - *428 - *429 + - *430 + - *431 - *110 - *19 - *17 - - &730 + - &731 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 @@ -56057,7 +56277,7 @@ paths: required: false schema: type: string - - &731 + - &732 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 @@ -56067,10 +56287,10 @@ paths: required: false schema: type: string - - *430 - - *431 - *432 - *433 + - *434 + - *435 responses: '200': description: Response @@ -56078,9 +56298,9 @@ paths: application/json: schema: type: array - items: *434 + items: *436 examples: - default: *435 + default: *437 headers: Link: *47 '404': *6 @@ -56115,9 +56335,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '403': *29 '404': *6 patch: @@ -56270,7 +56490,7 @@ paths: application/json: schema: type: array - items: &752 + items: &753 description: A repository security advisory. type: object properties: @@ -56490,7 +56710,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *440 credits_detailed: type: array nullable: true @@ -56500,7 +56720,7 @@ paths: type: object properties: user: *4 - type: *438 + type: *440 state: type: string description: The state of the user's acceptance of the @@ -56561,7 +56781,7 @@ paths: - private_fork additionalProperties: false examples: - default: &753 + default: &754 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -56948,9 +57168,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *384 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57032,7 +57252,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *440 + - *442 - *17 - *19 responses: @@ -57040,9 +57260,9 @@ paths: description: Success content: application/json: - schema: *441 + schema: *443 examples: - default: *442 + default: *444 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57323,7 +57543,7 @@ paths: type: array items: *147 examples: - default: *443 + default: *445 headers: Link: *47 x-github: @@ -57524,15 +57744,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *444 + - *446 responses: '200': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 headers: Link: *47 x-github: @@ -57570,7 +57790,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &468 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -57616,7 +57836,7 @@ paths: type: string nullable: true examples: - default: &467 + default: &469 value: groups: - group_id: '123' @@ -57730,7 +57950,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 headers: Link: *47 '403': *29 @@ -57824,7 +58044,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &449 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -57887,8 +58107,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *382 - required: *383 + properties: *384 + required: *385 nullable: true members_count: type: integer @@ -58151,7 +58371,7 @@ paths: - repos_count - organization examples: - default: &448 + default: &450 value: id: 1 node_id: MDQ6VGVhbTE= @@ -58228,9 +58448,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '404': *6 x-github: githubCloudOnly: false @@ -58314,16 +58534,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '201': description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '404': *6 '422': *15 '403': *29 @@ -58393,7 +58613,7 @@ paths: application/json: schema: type: array - items: &449 + items: &451 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -58492,7 +58712,7 @@ paths: - updated_at - url examples: - default: &796 + default: &797 value: - author: login: octocat @@ -58601,9 +58821,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: &450 + default: &452 value: author: login: octocat @@ -58677,7 +58897,7 @@ paths: parameters: - *87 - *215 - - &451 + - &453 name: discussion_number description: The number that identifies the discussion. in: path @@ -58689,9 +58909,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58715,7 +58935,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 requestBody: required: false content: @@ -58738,9 +58958,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: &797 + default: &798 value: author: login: octocat @@ -58812,7 +59032,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 responses: '204': description: Response @@ -58840,7 +59060,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 - *110 - *17 - *19 @@ -58851,7 +59071,7 @@ paths: application/json: schema: type: array - items: &452 + items: &454 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -58923,7 +59143,7 @@ paths: - updated_at - url examples: - default: &798 + default: &799 value: - author: login: octocat @@ -58993,7 +59213,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 requestBody: required: true content: @@ -59015,9 +59235,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: &453 + default: &455 value: author: login: octocat @@ -59085,8 +59305,8 @@ paths: parameters: - *87 - *215 - - *451 - - &454 + - *453 + - &456 name: comment_number description: The number that identifies the comment. in: path @@ -59098,9 +59318,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *453 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59124,8 +59344,8 @@ paths: parameters: - *87 - *215 - - *451 - - *454 + - *453 + - *456 requestBody: required: true content: @@ -59147,9 +59367,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: &799 + default: &800 value: author: login: octocat @@ -59215,8 +59435,8 @@ paths: parameters: - *87 - *215 - - *451 - - *454 + - *453 + - *456 responses: '204': description: Response @@ -59244,8 +59464,8 @@ paths: parameters: - *87 - *215 - - *451 - - *454 + - *453 + - *456 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -59271,7 +59491,7 @@ paths: application/json: schema: type: array - items: &455 + items: &457 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -59314,7 +59534,7 @@ paths: - content - created_at examples: - default: &457 + default: &459 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -59366,8 +59586,8 @@ paths: parameters: - *87 - *215 - - *451 - - *454 + - *453 + - *456 requestBody: required: true content: @@ -59400,9 +59620,9 @@ paths: team discussion comment content: application/json: - schema: *455 + schema: *457 examples: - default: &456 + default: &458 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -59431,9 +59651,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59458,9 +59678,9 @@ paths: parameters: - *87 - *215 - - *451 - - *454 - - &458 + - *453 + - *456 + - &460 name: reaction_id description: The unique identifier of the reaction. in: path @@ -59494,7 +59714,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -59520,9 +59740,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 x-github: @@ -59550,7 +59770,7 @@ paths: parameters: - *87 - *215 - - *451 + - *453 requestBody: required: true content: @@ -59582,16 +59802,16 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -59616,8 +59836,8 @@ paths: parameters: - *87 - *215 - - *451 - - *458 + - *453 + - *460 responses: '204': description: Response @@ -59647,9 +59867,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59692,9 +59912,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: *462 + default: *464 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59749,9 +59969,9 @@ paths: application/json: schema: type: array - items: *366 + items: *368 examples: - default: *367 + default: *369 headers: Link: *47 x-github: @@ -59835,7 +60055,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &465 title: Team Membership description: Team Membership type: object @@ -59862,7 +60082,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &800 + response-if-user-is-a-team-maintainer: &801 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -59925,9 +60145,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *465 examples: - response-if-users-membership-with-team-is-now-pending: &801 + response-if-users-membership-with-team-is-now-pending: &802 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -60003,7 +60223,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -60034,14 +60254,14 @@ paths: parameters: - *87 - *215 - - *464 - - *465 + - *466 + - *467 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &802 + schema: &803 title: Team Repository description: A team's access to a repository. type: object @@ -60612,8 +60832,8 @@ paths: parameters: - *87 - *215 - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -60660,8 +60880,8 @@ paths: parameters: - *87 - *215 - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -60694,9 +60914,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *467 + default: *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60762,7 +60982,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -60807,7 +61027,7 @@ paths: type: array items: *312 examples: - response-if-child-teams-exist: &803 + response-if-child-teams-exist: &804 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60961,7 +61181,7 @@ paths: resources: type: object properties: - core: &468 + core: &470 title: Rate Limit type: object properties: @@ -60978,21 +61198,21 @@ paths: - remaining - reset - used - graphql: *468 - search: *468 - code_search: *468 - source_import: *468 - integration_manifest: *468 - code_scanning_upload: *468 - actions_runner_registration: *468 - scim: *468 - dependency_snapshots: *468 - dependency_sbom: *468 - code_scanning_autofix: *468 + graphql: *470 + search: *470 + code_search: *470 + source_import: *470 + integration_manifest: *470 + code_scanning_upload: *470 + actions_runner_registration: *470 + scim: *470 + dependency_snapshots: *470 + dependency_sbom: *470 + code_scanning_autofix: *470 required: - core - search - rate: *468 + rate: *470 required: - rate - resources @@ -61097,14 +61317,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *469 + schema: *471 examples: default-response: summary: Default response @@ -61609,7 +61829,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *470 + '301': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61627,8 +61847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -61885,10 +62105,10 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *471 - '307': &472 + default: *473 + '307': &474 description: Temporary Redirect content: application/json: @@ -61917,8 +62137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -61940,7 +62160,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *472 + '307': *474 '404': *6 '409': *118 x-github: @@ -61964,11 +62184,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - - &489 + - &491 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61991,7 +62211,7 @@ paths: type: integer artifacts: type: array - items: &473 + items: &475 title: Artifact description: An artifact type: object @@ -62069,7 +62289,7 @@ paths: - expires_at - updated_at examples: - default: &490 + default: &492 value: total_count: 2 artifacts: @@ -62130,9 +62350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *464 - - *465 - - &474 + - *466 + - *467 + - &476 name: artifact_id description: The unique identifier of the artifact. in: path @@ -62144,7 +62364,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: default: value: @@ -62182,9 +62402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *464 - - *465 - - *474 + - *466 + - *467 + - *476 responses: '204': description: Response @@ -62208,9 +62428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *464 - - *465 - - *474 + - *466 + - *467 + - *476 - name: archive_format in: path required: true @@ -62224,7 +62444,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &653 + '410': &654 description: Gone content: application/json: @@ -62249,14 +62469,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &475 + schema: &477 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -62289,13 +62509,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *475 + schema: *477 examples: selected_actions: *44 responses: @@ -62324,14 +62544,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &476 + schema: &478 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -62364,13 +62584,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *476 + schema: *478 examples: selected_actions: *46 responses: @@ -62401,14 +62621,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -62434,11 +62654,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - - &478 + - &480 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -62472,7 +62692,7 @@ paths: description: Response content: application/json: - schema: &479 + schema: &481 title: Repository actions caches description: Repository actions caches type: object @@ -62514,7 +62734,7 @@ paths: - total_count - actions_caches examples: - default: &480 + default: &482 value: total_count: 1 actions_caches: @@ -62546,23 +62766,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *464 - - *465 + - *466 + - *467 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *478 + - *480 responses: '200': description: Response content: application/json: - schema: *479 + schema: *481 examples: - default: *480 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62582,8 +62802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *464 - - *465 + - *466 + - *467 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -62614,9 +62834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *464 - - *465 - - &481 + - *466 + - *467 + - &483 name: job_id description: The unique identifier of the job. in: path @@ -62628,7 +62848,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &495 title: Job description: Information of a job execution in a workflow run type: object @@ -62935,9 +63155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *464 - - *465 - - *481 + - *466 + - *467 + - *483 responses: '302': description: Response @@ -62965,9 +63185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *464 - - *465 - - *481 + - *466 + - *467 + - *483 requestBody: required: false content: @@ -63012,8 +63232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Status response @@ -63063,8 +63283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -63127,8 +63347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -63146,7 +63366,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &497 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -63166,7 +63386,7 @@ paths: - created_at - updated_at examples: - default: &496 + default: &498 value: total_count: 2 secrets: @@ -63199,9 +63419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *464 - - *465 - - *482 + - *466 + - *467 + - *484 - *19 responses: '200': @@ -63218,7 +63438,7 @@ paths: type: integer variables: type: array - items: &499 + items: &501 title: Actions Variable type: object properties: @@ -63248,7 +63468,7 @@ paths: - created_at - updated_at examples: - default: &500 + default: &502 value: total_count: 2 variables: @@ -63281,8 +63501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63291,7 +63511,7 @@ paths: schema: type: object properties: - enabled: &483 + enabled: &485 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -63326,8 +63546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -63338,7 +63558,7 @@ paths: schema: type: object properties: - enabled: *483 + enabled: *485 allowed_actions: *60 sha_pinning_required: *61 required: @@ -63371,14 +63591,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &484 + schema: &486 type: object properties: access_level: @@ -63396,7 +63616,7 @@ paths: required: - access_level examples: - default: &485 + default: &487 value: access_level: organization x-github: @@ -63421,15 +63641,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *484 + schema: *486 examples: - default: *485 + default: *487 responses: '204': description: Response @@ -63453,8 +63673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63484,8 +63704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Empty response for successful settings update @@ -63519,8 +63739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63547,8 +63767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -63582,8 +63802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63611,8 +63831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -63643,8 +63863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63675,8 +63895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -63708,8 +63928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63738,8 +63958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Success response @@ -63779,8 +63999,8 @@ paths: in: query schema: type: string - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -63824,8 +64044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -63857,8 +64077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -63932,8 +64152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -63969,8 +64189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -64000,8 +64220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 responses: '200': @@ -64031,8 +64251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 responses: '204': @@ -64059,8 +64279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 responses: '200': *81 @@ -64085,8 +64305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 requestBody: required: true @@ -64135,8 +64355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 requestBody: required: true @@ -64186,8 +64406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 responses: '200': *290 @@ -64217,8 +64437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *75 - *291 responses: @@ -64248,9 +64468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *464 - - *465 - - &503 + - *466 + - *467 + - &505 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -64258,7 +64478,7 @@ paths: required: false schema: type: string - - &504 + - &506 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -64266,7 +64486,7 @@ paths: required: false schema: type: string - - &505 + - &507 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -64275,7 +64495,7 @@ paths: required: false schema: type: string - - &506 + - &508 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -64302,7 +64522,7 @@ paths: - pending - *17 - *19 - - &507 + - &509 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -64311,7 +64531,7 @@ paths: schema: type: string format: date-time - - &486 + - &488 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -64320,13 +64540,13 @@ paths: schema: type: boolean default: false - - &508 + - &510 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &509 + - &511 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -64349,7 +64569,7 @@ paths: type: integer workflow_runs: type: array - items: &487 + items: &489 title: Workflow Run description: An invocation of a workflow type: object @@ -64497,7 +64717,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &531 + properties: &533 id: type: string description: SHA for the commit @@ -64548,7 +64768,7 @@ paths: - name - email nullable: true - required: &532 + required: &534 - id - tree_id - message @@ -64595,7 +64815,7 @@ paths: - workflow_url - pull_requests examples: - default: &510 + default: &512 value: total_count: 1 workflow_runs: @@ -64831,24 +65051,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *464 - - *465 - - &488 + - *466 + - *467 + - &490 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *486 + - *488 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: &491 + default: &493 value: id: 30433642 name: Build @@ -65089,9 +65309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '204': description: Response @@ -65114,9 +65334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '200': description: Response @@ -65235,9 +65455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '201': description: Response @@ -65270,12 +65490,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 - *17 - *19 - - *489 + - *491 responses: '200': description: Response @@ -65291,9 +65511,9 @@ paths: type: integer artifacts: type: array - items: *473 + items: *475 examples: - default: *490 + default: *492 headers: Link: *47 x-github: @@ -65317,25 +65537,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *464 - - *465 - - *488 - - &492 + - *466 + - *467 + - *490 + - &494 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *486 + - *488 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *491 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65358,10 +65578,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *464 - - *465 - - *488 - - *492 + - *466 + - *467 + - *490 + - *494 - *17 - *19 responses: @@ -65379,9 +65599,9 @@ paths: type: integer jobs: type: array - items: *493 + items: *495 examples: - default: &494 + default: &496 value: total_count: 1 jobs: @@ -65494,10 +65714,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *464 - - *465 - - *488 - - *492 + - *466 + - *467 + - *490 + - *494 responses: '302': description: Response @@ -65525,9 +65745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '202': description: Response @@ -65560,9 +65780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 requestBody: required: true content: @@ -65629,9 +65849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '202': description: Response @@ -65664,9 +65884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -65696,9 +65916,9 @@ paths: type: integer jobs: type: array - items: *493 + items: *495 examples: - default: *494 + default: *496 headers: Link: *47 x-github: @@ -65723,9 +65943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '302': description: Response @@ -65752,9 +65972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '204': description: Response @@ -65781,9 +66001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '200': description: Response @@ -65843,7 +66063,7 @@ paths: items: type: object properties: - type: &619 + type: &620 type: string description: The type of reviewer. enum: @@ -65928,9 +66148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 requestBody: required: true content: @@ -65977,7 +66197,7 @@ paths: application/json: schema: type: array - items: &603 + items: &605 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -66083,7 +66303,7 @@ paths: - created_at - updated_at examples: - default: &604 + default: &606 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66139,9 +66359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 requestBody: required: false content: @@ -66185,9 +66405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 requestBody: required: false content: @@ -66241,9 +66461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 responses: '200': description: Response @@ -66380,8 +66600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -66399,9 +66619,9 @@ paths: type: integer secrets: type: array - items: *495 + items: *497 examples: - default: *496 + default: *498 headers: Link: *47 x-github: @@ -66426,16 +66646,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66457,17 +66677,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: &632 + default: &633 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -66493,8 +66713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 requestBody: required: true @@ -66552,8 +66772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '204': @@ -66579,9 +66799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *464 - - *465 - - *482 + - *466 + - *467 + - *484 - *19 responses: '200': @@ -66598,9 +66818,9 @@ paths: type: integer variables: type: array - items: *499 + items: *501 examples: - default: *500 + default: *502 headers: Link: *47 x-github: @@ -66623,8 +66843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -66676,17 +66896,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *464 - - *465 + - *466 + - *467 - *296 responses: '200': description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: &633 + default: &634 value: name: USERNAME value: octocat @@ -66712,8 +66932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *464 - - *465 + - *466 + - *467 - *296 requestBody: required: true @@ -66756,8 +66976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *464 - - *465 + - *466 + - *467 - *296 responses: '204': @@ -66783,8 +67003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -66802,7 +67022,7 @@ paths: type: integer workflows: type: array - items: &501 + items: &503 title: Workflow description: A GitHub Actions workflow type: object @@ -66909,9 +67129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *464 - - *465 - - &502 + - *466 + - *467 + - &504 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66926,7 +67146,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -66959,9 +67179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *464 - - *465 - - *502 + - *466 + - *467 + - *504 responses: '204': description: Response @@ -66986,9 +67206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *464 - - *465 - - *502 + - *466 + - *467 + - *504 responses: '204': description: Response @@ -67039,9 +67259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *464 - - *465 - - *502 + - *466 + - *467 + - *504 responses: '204': description: Response @@ -67068,19 +67288,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *464 - - *465 - - *502 - - *503 + - *466 + - *467 - *504 - *505 - *506 - - *17 - - *19 - *507 - - *486 - *508 + - *17 + - *19 - *509 + - *488 + - *510 + - *511 responses: '200': description: Response @@ -67096,9 +67316,9 @@ paths: type: integer workflow_runs: type: array - items: *487 + items: *489 examples: - default: *510 + default: *512 headers: Link: *47 x-github: @@ -67131,9 +67351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *464 - - *465 - - *502 + - *466 + - *467 + - *504 responses: '200': description: Response @@ -67194,8 +67414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *464 - - *465 + - *466 + - *467 - *110 - *17 - *108 @@ -67359,8 +67579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -67397,8 +67617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *464 - - *465 + - *466 + - *467 - name: assignee in: path required: true @@ -67434,8 +67654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -67547,8 +67767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *108 - *109 @@ -67605,7 +67825,7 @@ paths: initiator: type: string examples: - default: *511 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67625,8 +67845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -67634,7 +67854,7 @@ paths: application/json: schema: type: array - items: &512 + items: &514 title: Autolink reference description: An autolink reference. type: object @@ -67688,8 +67908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -67728,9 +67948,9 @@ paths: description: response content: application/json: - schema: *512 + schema: *514 examples: - default: &513 + default: &515 value: id: 1 key_prefix: TICKET- @@ -67761,9 +67981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *464 - - *465 - - &514 + - *466 + - *467 + - &516 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67775,9 +67995,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: *513 + default: *515 '404': *6 x-github: githubCloudOnly: false @@ -67797,9 +68017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *464 - - *465 - - *514 + - *466 + - *467 + - *516 responses: '204': description: Response @@ -67823,8 +68043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response if Dependabot is enabled @@ -67872,8 +68092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -67894,8 +68114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -67915,8 +68135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *464 - - *465 + - *466 + - *467 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67954,7 +68174,7 @@ paths: - url protected: type: boolean - protection: &516 + protection: &518 title: Branch Protection description: Branch Protection type: object @@ -67996,7 +68216,7 @@ paths: required: - contexts - checks - enforce_admins: &519 + enforce_admins: &521 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -68011,7 +68231,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &521 + required_pull_request_reviews: &523 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -68087,7 +68307,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &518 + restrictions: &520 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -68364,9 +68584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *464 - - *465 - - &517 + - *466 + - *467 + - &519 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -68380,14 +68600,14 @@ paths: description: Response content: application/json: - schema: &527 + schema: &529 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &576 + commit: &578 title: Commit description: Commit type: object @@ -68421,7 +68641,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &515 + properties: &517 name: type: string example: '"Chris Wanstrath"' @@ -68437,7 +68657,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *515 + properties: *517 nullable: true message: type: string @@ -68458,7 +68678,7 @@ paths: required: - sha - url - verification: &639 + verification: &640 title: Verification type: object properties: @@ -68528,7 +68748,7 @@ paths: type: integer files: type: array - items: &589 + items: &591 title: Diff Entry description: Diff Entry type: object @@ -68612,7 +68832,7 @@ paths: - self protected: type: boolean - protection: *516 + protection: *518 protection_url: type: string format: uri @@ -68719,7 +68939,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *470 + '301': *472 '404': *6 x-github: githubCloudOnly: false @@ -68741,15 +68961,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *516 + schema: *518 examples: default: value: @@ -68943,9 +69163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -69200,7 +69420,7 @@ paths: url: type: string format: uri - required_status_checks: &524 + required_status_checks: &526 title: Status Check Policy description: Status Check Policy type: object @@ -69352,7 +69572,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *518 + restrictions: *520 required_conversation_resolution: type: object properties: @@ -69464,9 +69684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -69491,17 +69711,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: &520 + default: &522 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69523,17 +69743,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *520 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69552,9 +69772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -69579,17 +69799,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: &522 + default: &524 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69685,9 +69905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -69785,9 +70005,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: *522 + default: *524 '422': *15 x-github: githubCloudOnly: false @@ -69808,9 +70028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -69837,17 +70057,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: &523 + default: &525 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69870,17 +70090,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *523 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -69900,9 +70120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -69927,17 +70147,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: &525 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69963,9 +70183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -70017,9 +70237,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: *525 + default: *527 '404': *6 '422': *15 x-github: @@ -70041,9 +70261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -70067,9 +70287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response @@ -70103,9 +70323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -70172,9 +70392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -70238,9 +70458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: content: application/json: @@ -70306,15 +70526,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response content: application/json: - schema: *518 + schema: *520 examples: default: value: @@ -70405,9 +70625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '204': description: Response @@ -70430,9 +70650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response @@ -70442,7 +70662,7 @@ paths: type: array items: *5 examples: - default: &526 + default: &528 value: - id: 1 slug: octoapp @@ -70499,9 +70719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -70535,7 +70755,7 @@ paths: type: array items: *5 examples: - default: *526 + default: *528 '422': *15 x-github: githubCloudOnly: false @@ -70556,9 +70776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -70592,7 +70812,7 @@ paths: type: array items: *5 examples: - default: *526 + default: *528 '422': *15 x-github: githubCloudOnly: false @@ -70613,9 +70833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -70649,7 +70869,7 @@ paths: type: array items: *5 examples: - default: *526 + default: *528 '422': *15 x-github: githubCloudOnly: false @@ -70671,9 +70891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response @@ -70683,7 +70903,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 '404': *6 x-github: githubCloudOnly: false @@ -70703,9 +70923,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -70743,7 +70963,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -70764,9 +70984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: false content: @@ -70804,7 +71024,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -70825,9 +71045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: content: application/json: @@ -70864,7 +71084,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 '422': *15 x-github: githubCloudOnly: false @@ -70886,9 +71106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 responses: '200': description: Response @@ -70922,9 +71142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -70982,9 +71202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -71042,9 +71262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -71104,9 +71324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 requestBody: required: true content: @@ -71128,7 +71348,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -71242,8 +71462,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *464 - - *465 + - *466 + - *467 - *103 - *104 - *105 @@ -71279,8 +71499,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -71353,8 +71573,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - *103 - *104 - *105 @@ -71394,8 +71614,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -71465,8 +71685,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -71537,8 +71757,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_response_id in: path required: true @@ -71571,8 +71791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -71851,7 +72071,7 @@ paths: description: Response content: application/json: - schema: &528 + schema: &530 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71971,7 +72191,7 @@ paths: check. type: array items: *225 - deployment: &862 + deployment: &863 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -72251,9 +72471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *464 - - *465 - - &529 + - *466 + - *467 + - &531 name: check_run_id description: The unique identifier of the check run. in: path @@ -72265,9 +72485,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: &530 + default: &532 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -72367,9 +72587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *464 - - *465 - - *529 + - *466 + - *467 + - *531 requestBody: required: true content: @@ -72609,9 +72829,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *530 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72631,9 +72851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *464 - - *465 - - *529 + - *466 + - *467 + - *531 - *17 - *19 responses: @@ -72728,9 +72948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *464 - - *465 - - *529 + - *466 + - *467 + - *531 responses: '201': description: Response @@ -72774,8 +72994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -72797,7 +73017,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &533 + schema: &535 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72883,12 +73103,12 @@ paths: type: string format: date-time nullable: true - head_commit: &893 + head_commit: &894 title: Simple Commit description: A commit. type: object - properties: *531 - required: *532 + properties: *533 + required: *534 latest_check_runs_count: type: integer check_runs_url: @@ -72916,7 +73136,7 @@ paths: - check_runs_url - pull_requests examples: - default: &534 + default: &536 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -73207,9 +73427,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *533 + schema: *535 examples: - default: *534 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73228,8 +73448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -73538,9 +73758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *464 - - *465 - - &535 + - *466 + - *467 + - &537 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73552,9 +73772,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: - default: *534 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73577,17 +73797,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *464 - - *465 - - *535 - - &582 + - *466 + - *467 + - *537 + - &584 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &583 + - &585 name: status description: Returns check runs with the specified `status`. in: query @@ -73626,9 +73846,9 @@ paths: type: integer check_runs: type: array - items: *528 + items: *530 examples: - default: &584 + default: &586 value: total_count: 1 check_runs: @@ -73730,9 +73950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *464 - - *465 - - *535 + - *466 + - *467 + - *537 responses: '201': description: Response @@ -73765,21 +73985,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *316 - *317 - *19 - *17 - - &551 + - &553 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *536 - - &552 + schema: *538 + - &554 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73810,7 +74030,7 @@ paths: be returned. in: query required: false - schema: *537 + schema: *539 responses: '200': description: Response @@ -73826,7 +74046,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *538 + instances_url: *540 state: *113 fixed_at: *137 dismissed_by: @@ -73837,11 +74057,11 @@ paths: required: *21 nullable: true dismissed_at: *136 - dismissed_reason: *539 - dismissed_comment: *540 - rule: *541 - tool: *542 - most_recent_instance: *543 + dismissed_reason: *541 + dismissed_comment: *542 + rule: *543 + tool: *544 + most_recent_instance: *545 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73967,7 +74187,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &544 + '403': &546 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -73994,9 +74214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *464 - - *465 - - &545 + - *466 + - *467 + - &547 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -74010,7 +74230,7 @@ paths: description: Response content: application/json: - schema: &546 + schema: &548 type: object properties: number: *127 @@ -74018,7 +74238,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *538 + instances_url: *540 state: *113 fixed_at: *137 dismissed_by: @@ -74029,8 +74249,8 @@ paths: required: *21 nullable: true dismissed_at: *136 - dismissed_reason: *539 - dismissed_comment: *540 + dismissed_reason: *541 + dismissed_comment: *542 rule: type: object properties: @@ -74084,8 +74304,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *542 - most_recent_instance: *543 + tool: *544 + most_recent_instance: *545 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -74184,7 +74404,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -74204,9 +74424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 requestBody: required: true content: @@ -74221,8 +74441,8 @@ paths: enum: - open - dismissed - dismissed_reason: *539 - dismissed_comment: *540 + dismissed_reason: *541 + dismissed_comment: *542 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -74242,7 +74462,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: default: value: @@ -74318,7 +74538,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &550 + '403': &552 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -74345,15 +74565,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 responses: '200': description: Response content: application/json: - schema: &547 + schema: &549 type: object properties: status: @@ -74379,13 +74599,13 @@ paths: - description - started_at examples: - default: &548 + default: &550 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &549 + '400': &551 description: Bad Request content: application/json: @@ -74396,7 +74616,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -74421,29 +74641,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 responses: '200': description: OK content: application/json: - schema: *547 + schema: *549 examples: - default: *548 + default: *550 '202': description: Accepted content: application/json: - schema: *547 + schema: *549 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *549 + '400': *551 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74475,9 +74695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 requestBody: required: false content: @@ -74522,8 +74742,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *549 - '403': *550 + '400': *551 + '403': *552 '404': *6 '422': description: Unprocessable Entity @@ -74547,13 +74767,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 - *19 - *17 - - *551 - - *552 + - *553 + - *554 responses: '200': description: Response @@ -74561,7 +74781,7 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: default: value: @@ -74600,7 +74820,7 @@ paths: end_column: 50 classifications: - source - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -74634,25 +74854,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *316 - *317 - *19 - *17 - - *552 + - *554 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *536 + schema: *538 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &555 + schema: &557 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -74673,23 +74893,23 @@ paths: application/json: schema: type: array - items: &556 + items: &558 type: object properties: - ref: *536 - commit_sha: &564 + ref: *538 + commit_sha: &566 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *553 + analysis_key: *555 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *554 + category: *556 error: type: string example: error reading field xyz @@ -74713,8 +74933,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *555 - tool: *542 + sarif_id: *557 + tool: *544 deletable: type: boolean warning: @@ -74775,7 +74995,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -74811,8 +75031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74825,7 +75045,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: response: summary: application/json response @@ -74879,7 +75099,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *544 + '403': *546 '404': *6 '422': description: Response if analysis could not be processed @@ -74966,8 +75186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75020,7 +75240,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *550 + '403': *552 '404': *6 '503': *195 x-github: @@ -75042,8 +75262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -75051,7 +75271,7 @@ paths: application/json: schema: type: array - items: &557 + items: &559 title: CodeQL Database description: A CodeQL database. type: object @@ -75162,7 +75382,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -75191,8 +75411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: language in: path description: The language of the CodeQL database. @@ -75204,7 +75424,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: default: value: @@ -75236,9 +75456,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &591 + '302': &593 description: Found - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -75260,8 +75480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *464 - - *465 + - *466 + - *467 - name: language in: path description: The language of the CodeQL database. @@ -75271,7 +75491,7 @@ paths: responses: '204': description: Response - '403': *550 + '403': *552 '404': *6 '503': *195 x-github: @@ -75299,8 +75519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -75309,7 +75529,7 @@ paths: type: object additionalProperties: false properties: - language: &558 + language: &560 type: string description: The language targeted by the CodeQL query enum: @@ -75389,7 +75609,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &562 + schema: &564 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -75399,7 +75619,7 @@ paths: description: The ID of the variant analysis. controller_repo: *119 actor: *4 - query_language: *558 + query_language: *560 query_pack_url: type: string description: The download url for the query pack. @@ -75446,7 +75666,7 @@ paths: items: type: object properties: - repository: &559 + repository: &561 title: Repository Identifier description: Repository Identifier type: object @@ -75482,7 +75702,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &563 + analysis_status: &565 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75514,7 +75734,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &560 + access_mismatch_repos: &562 type: object properties: repository_count: @@ -75528,7 +75748,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *559 + items: *561 required: - repository_count - repositories @@ -75550,8 +75770,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *560 - over_limit_repos: *560 + no_codeql_db_repos: *562 + over_limit_repos: *562 required: - access_mismatch_repos - not_found_repos @@ -75567,7 +75787,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &561 + value: &563 summary: Default response value: id: 1 @@ -75719,10 +75939,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *561 + value: *563 repository_lists: summary: Response for a successful variant analysis submission - value: *561 + value: *563 '404': *6 '422': description: Unable to process variant analysis submission @@ -75750,8 +75970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *464 - - *465 + - *466 + - *467 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75763,9 +75983,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: *561 + default: *563 '404': *6 '503': *195 x-github: @@ -75788,7 +76008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *464 + - *466 - name: repo in: path description: The name of the controller repository. @@ -75823,7 +76043,7 @@ paths: type: object properties: repository: *119 - analysis_status: *563 + analysis_status: *565 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75948,8 +76168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -76034,7 +76254,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *544 + '403': *546 '404': *6 '503': *195 x-github: @@ -76055,8 +76275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -76148,7 +76368,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *550 + '403': *552 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -76219,8 +76439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -76228,7 +76448,7 @@ paths: schema: type: object properties: - commit_sha: *564 + commit_sha: *566 ref: type: string description: |- @@ -76286,7 +76506,7 @@ paths: schema: type: object properties: - id: *555 + id: *557 url: type: string description: The REST API URL for checking the status of the upload. @@ -76300,7 +76520,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *550 + '403': *552 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -76323,8 +76543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *464 - - *465 + - *466 + - *467 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -76370,7 +76590,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *544 + '403': *546 '404': description: Not Found if the sarif id does not match any upload '503': *195 @@ -76395,8 +76615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -76477,8 +76697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -76598,8 +76818,8 @@ paths: parameters: - *17 - *19 - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -76615,7 +76835,7 @@ paths: type: integer codespaces: type: array - items: *374 + items: *376 examples: default: value: @@ -76913,8 +77133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -76977,17 +77197,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '400': *14 '401': *25 '403': *29 @@ -77016,8 +77236,8 @@ paths: parameters: - *17 - *19 - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -77081,8 +77301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -77117,14 +77337,14 @@ paths: type: integer machines: type: array - items: &810 + items: &811 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *566 - required: *567 + properties: *568 + required: *569 examples: - default: &811 + default: &812 value: total_count: 2 machines: @@ -77164,8 +77384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -77249,8 +77469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -77316,8 +77536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -77335,7 +77555,7 @@ paths: type: integer secrets: type: array - items: &571 + items: &573 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -77355,7 +77575,7 @@ paths: - created_at - updated_at examples: - default: *568 + default: *570 headers: Link: *47 x-github: @@ -77378,16 +77598,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77407,17 +77627,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '200': description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77437,8 +77657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 requestBody: required: true @@ -77491,8 +77711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '204': @@ -77521,8 +77741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *464 - - *465 + - *466 + - *467 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77564,7 +77784,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &573 + properties: &575 login: type: string example: octocat @@ -77657,7 +77877,7 @@ paths: user_view_type: type: string example: public - required: &574 + required: &576 - avatar_url - events_url - followers_url @@ -77731,8 +77951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *464 - - *465 + - *466 + - *467 - *142 responses: '204': @@ -77779,8 +77999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *464 - - *465 + - *466 + - *467 - *142 requestBody: required: false @@ -77807,7 +78027,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &652 + schema: &653 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -78036,8 +78256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *464 - - *465 + - *466 + - *467 - *142 responses: '204': @@ -78069,8 +78289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *464 - - *465 + - *466 + - *467 - *142 responses: '200': @@ -78091,8 +78311,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *573 - required: *574 + properties: *575 + required: *576 nullable: true required: - permission @@ -78147,8 +78367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -78158,7 +78378,7 @@ paths: application/json: schema: type: array - items: &575 + items: &577 title: Commit Comment description: Commit Comment type: object @@ -78216,7 +78436,7 @@ paths: - created_at - updated_at examples: - default: &578 + default: &580 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78275,17 +78495,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '200': description: Response content: application/json: - schema: *575 + schema: *577 examples: - default: &579 + default: &581 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78342,8 +78562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -78366,7 +78586,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: default: value: @@ -78417,8 +78637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '204': @@ -78440,8 +78660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78468,9 +78688,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 '404': *6 @@ -78491,8 +78711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -78525,16 +78745,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Reaction created content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -78556,10 +78776,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *464 - - *465 + - *466 + - *467 - *236 - - *458 + - *460 responses: '204': description: Response @@ -78608,8 +78828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *464 - - *465 + - *466 + - *467 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78665,9 +78885,9 @@ paths: application/json: schema: type: array - items: *576 + items: *578 examples: - default: &704 + default: &705 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78761,9 +78981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *464 - - *465 - - &577 + - *466 + - *467 + - &579 name: commit_sha description: The SHA of the commit. in: path @@ -78835,9 +79055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *464 - - *465 - - *577 + - *466 + - *467 + - *579 - *17 - *19 responses: @@ -78847,9 +79067,9 @@ paths: application/json: schema: type: array - items: *575 + items: *577 examples: - default: *578 + default: *580 headers: Link: *47 x-github: @@ -78877,9 +79097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *464 - - *465 - - *577 + - *466 + - *467 + - *579 requestBody: required: true content: @@ -78914,9 +79134,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: - default: *579 + default: *581 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78944,9 +79164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *464 - - *465 - - *577 + - *466 + - *467 + - *579 - *17 - *19 responses: @@ -78956,9 +79176,9 @@ paths: application/json: schema: type: array - items: *580 + items: *582 examples: - default: &696 + default: &697 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79495,11 +79715,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 - - &581 + - &583 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -79514,9 +79734,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: - default: &681 + default: &682 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79629,11 +79849,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *464 - - *465 - - *581 - - *582 + - *466 + - *467 - *583 + - *584 + - *585 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79667,9 +79887,9 @@ paths: type: integer check_runs: type: array - items: *528 + items: *530 examples: - default: *584 + default: *586 headers: Link: *47 x-github: @@ -79694,9 +79914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *464 - - *465 - - *581 + - *466 + - *467 + - *583 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79704,7 +79924,7 @@ paths: schema: type: integer example: 1 - - *582 + - *584 - *17 - *19 responses: @@ -79722,7 +79942,7 @@ paths: type: integer check_suites: type: array - items: *533 + items: *535 examples: default: value: @@ -79922,9 +80142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *464 - - *465 - - *581 + - *466 + - *467 + - *583 - *17 - *19 responses: @@ -80122,9 +80342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *464 - - *465 - - *581 + - *466 + - *467 + - *583 - *17 - *19 responses: @@ -80134,7 +80354,7 @@ paths: application/json: schema: type: array - items: &757 + items: &758 title: Status description: The status of a commit. type: object @@ -80215,7 +80435,7 @@ paths: site_admin: false headers: Link: *47 - '301': *470 + '301': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80243,8 +80463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -80273,20 +80493,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *585 - required: *586 + properties: *587 + required: *588 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &587 + properties: &589 url: type: string format: uri html_url: type: string format: uri - required: &588 + required: &590 - url - html_url nullable: true @@ -80300,26 +80520,26 @@ paths: contributing: title: Community Health File type: object - properties: *587 - required: *588 + properties: *589 + required: *590 nullable: true readme: title: Community Health File type: object - properties: *587 - required: *588 + properties: *589 + required: *590 nullable: true issue_template: title: Community Health File type: object - properties: *587 - required: *588 + properties: *589 + required: *590 nullable: true pull_request_template: title: Community Health File type: object - properties: *587 - required: *588 + properties: *589 + required: *590 nullable: true required: - code_of_conduct @@ -80446,8 +80666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 - name: basehead @@ -80490,8 +80710,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *576 - merge_base_commit: *576 + base_commit: *578 + merge_base_commit: *578 status: type: string enum: @@ -80511,10 +80731,10 @@ paths: example: 6 commits: type: array - items: *576 + items: *578 files: type: array - items: *589 + items: *591 required: - url - html_url @@ -80800,8 +81020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -80944,7 +81164,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &590 + response-if-content-is-a-file: &592 summary: Response if content is a file value: type: file @@ -81076,7 +81296,7 @@ paths: - size - type - url - - &709 + - &710 title: Content File description: Content File type: object @@ -81277,7 +81497,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *590 + response-if-content-is-a-file: *592 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -81346,7 +81566,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *591 + '302': *593 '304': *37 x-github: githubCloudOnly: false @@ -81369,8 +81589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -81463,7 +81683,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &594 title: File Commit description: File Commit type: object @@ -81615,7 +81835,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: example-for-creating-a-file: value: @@ -81669,7 +81889,7 @@ paths: schema: oneOf: - *3 - - &634 + - &635 description: Repository rule violation was detected type: object properties: @@ -81690,7 +81910,7 @@ paths: items: type: object properties: - placeholder_id: &749 + placeholder_id: &750 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81722,8 +81942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -81784,7 +82004,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: default: value: @@ -81839,8 +82059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *464 - - *465 + - *466 + - *467 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81963,8 +82183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *332 - *333 - *334 @@ -81976,7 +82196,7 @@ paths: schema: type: string - *336 - - *593 + - *595 - *337 - *338 - *110 @@ -81997,7 +82217,7 @@ paths: application/json: schema: type: array - items: &597 + items: &599 type: object description: A Dependabot alert. properties: @@ -82043,7 +82263,7 @@ paths: - unknown - direct - transitive - security_advisory: *594 + security_advisory: *596 security_vulnerability: *131 url: *132 html_url: *133 @@ -82074,8 +82294,8 @@ paths: nullable: true maxLength: 280 fixed_at: *137 - auto_dismissed_at: *595 - dismissal_request: *596 + auto_dismissed_at: *597 + dismissal_request: *598 required: - number - state @@ -82305,9 +82525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *464 - - *465 - - &598 + - *466 + - *467 + - &600 name: alert_number in: path description: |- @@ -82322,7 +82542,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: default: value: @@ -82435,9 +82655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *464 - - *465 - - *598 + - *466 + - *467 + - *600 requestBody: required: true content: @@ -82482,7 +82702,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: default: value: @@ -82611,8 +82831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -82630,7 +82850,7 @@ paths: type: integer secrets: type: array - items: &601 + items: &603 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82683,16 +82903,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *599 + schema: *601 examples: - default: *600 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82712,15 +82932,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '200': description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -82746,8 +82966,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 requestBody: required: true @@ -82800,8 +83020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *464 - - *465 + - *466 + - *467 - *293 responses: '204': @@ -82824,8 +83044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *464 - - *465 + - *466 + - *467 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -82985,8 +83205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -83225,8 +83445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -83301,7 +83521,7 @@ paths: - version - url additionalProperties: false - metadata: &602 + metadata: &604 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83334,7 +83554,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *602 + metadata: *604 resolved: type: object description: A collection of resolved package dependencies. @@ -83347,7 +83567,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *602 + metadata: *604 relationship: type: string description: A notation of whether a dependency is requested @@ -83476,8 +83696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *464 - - *465 + - *466 + - *467 - name: sha description: The SHA recorded at creation time. in: query @@ -83517,9 +83737,9 @@ paths: application/json: schema: type: array - items: *603 + items: *605 examples: - default: *604 + default: *606 headers: Link: *47 x-github: @@ -83585,8 +83805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -83667,7 +83887,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: simple-example: summary: Simple example @@ -83740,9 +83960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *464 - - *465 - - &605 + - *466 + - *467 + - &607 name: deployment_id description: deployment_id parameter in: path @@ -83754,7 +83974,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: default: value: @@ -83819,9 +84039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *464 - - *465 - - *605 + - *466 + - *467 + - *607 responses: '204': description: Response @@ -83843,9 +84063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *464 - - *465 - - *605 + - *466 + - *467 + - *607 - *17 - *19 responses: @@ -83855,7 +84075,7 @@ paths: application/json: schema: type: array - items: &606 + items: &608 title: Deployment Status description: The status of a deployment. type: object @@ -84016,9 +84236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *464 - - *465 - - *605 + - *466 + - *467 + - *607 requestBody: required: true content: @@ -84093,9 +84313,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: &607 + default: &609 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -84151,9 +84371,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *464 - - *465 - - *605 + - *466 + - *467 + - *607 - name: status_id in: path required: true @@ -84164,9 +84384,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 '404': *6 x-github: githubCloudOnly: false @@ -84193,12 +84413,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 - - *608 - - *609 + - *466 + - *467 - *610 - *611 + - *612 + - *613 - *17 - *19 responses: @@ -84208,9 +84428,9 @@ paths: application/json: schema: type: array - items: *612 + items: *614 examples: - default: *613 + default: *615 '404': *6 '403': *29 '500': *40 @@ -84234,8 +84454,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84247,7 +84467,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *612 + schema: *614 examples: default: value: @@ -84303,8 +84523,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84363,12 +84583,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *464 - - *465 - - *608 - - *609 + - *466 + - *467 - *610 - *611 + - *612 + - *613 - *17 - *19 responses: @@ -84378,187 +84598,9 @@ paths: application/json: schema: type: array - items: &615 - title: Dependabot alert dismissal request - description: Alert dismissal request made by a user asking to dismiss - a Dependabot alert. - type: object - properties: - id: - type: integer - format: int64 - description: The unique identifier of the dismissal request. - number: - type: integer - format: int64 - description: The number uniquely identifying the dismissal request - within its repository. - repository: - type: object - description: The repository the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the repository the dismissal request - is for. - name: - type: string - description: The name of the repository the dismissal request - is for. - full_name: - type: string - description: The full name of the repository the dismissal - request is for. - organization: - type: object - description: The organization associated with the repository - the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the dismissal request. - properties: - actor_id: - type: integer - format: int64 - description: The ID of the GitHub user who requested the - dismissal request. - actor_name: - type: string - description: The name of the GitHub user who requested the - dismissal request. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the dismissal request metadata. - items: - type: object - properties: - reason: - type: string - description: The reason for the dismissal request. - alert_number: - type: string - description: The alert number. - alert_title: - type: string - description: The title of the alert. - resource_identifier: - type: string - description: The unique identifier for the request type of the - dismissal request. - example: '123' - status: - type: string - description: The status of the dismissal request. - enum: - - pending - - denied - - approved - - expired - requester_comment: - type: string - description: The comment the requester provided when creating - the dismissal request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the dismissal request will expire. - created_at: - type: string - format: date-time - description: The date and time the dismissal request was created. - responses: - type: array - description: The responses to the dismissal request. - nullable: true - items: *614 - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 - html_url: - type: string - description: The URL to view the dismissal request in a browser. - format: uri - example: https://github.com/octo-org/smile/security/dependabot/1 + items: *616 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: dependabot_alert_dismissal - data: - - reason: no_bandwidth - alert_number: '1' - alert_title: lodash - GHSA-1234-abcd-5678 - resource_identifier: '1' - status: denied - requester_comment: No bandwidth to fix this right now - 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/dependabot/1 - html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal - data: - - reason: tolerable_risk - alert_number: '2' - alert_title: axios - GHSA-5678-efgh-9012 - resource_identifier: '2' - status: approved - requester_comment: Risk is acceptable for this internal tool - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 43 - reviewer: - actor_id: 4 - actor_name: octocat - status: approved - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 - html_url: https://github.com/octo-org/smile/security/dependabot/2 + default: *617 '404': *6 '403': *29 '500': *40 @@ -84582,8 +84624,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84595,7 +84637,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -84646,8 +84688,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84718,12 +84760,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - *103 - *104 - *105 - - *616 + - *343 - *17 - *19 responses: @@ -84733,9 +84775,9 @@ paths: application/json: schema: type: array - items: *617 + items: *618 examples: - default: *618 + default: *619 '404': *6 '403': *29 '500': *40 @@ -84760,8 +84802,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84773,7 +84815,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *617 + schema: *618 examples: default: value: @@ -84831,8 +84873,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -84901,8 +84943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -84959,8 +85001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -84977,7 +85019,7 @@ paths: type: integer environments: type: array - items: &620 + items: &621 title: Environment description: Details of a deployment environment type: object @@ -85029,7 +85071,7 @@ paths: type: type: string example: wait_timer - wait_timer: &622 + wait_timer: &623 type: integer example: 30 description: The amount of time to delay a job after @@ -85066,7 +85108,7 @@ paths: items: type: object properties: - type: *619 + type: *620 reviewer: anyOf: - *4 @@ -85090,7 +85132,7 @@ paths: - id - node_id - type - deployment_branch_policy: &623 + deployment_branch_policy: &624 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -85206,9 +85248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *464 - - *465 - - &621 + - *466 + - *467 + - &622 name: environment_name in: path required: true @@ -85221,9 +85263,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: - default: &624 + default: &625 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -85307,9 +85349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 requestBody: required: false content: @@ -85318,7 +85360,7 @@ paths: type: object nullable: true properties: - wait_timer: *622 + wait_timer: *623 prevent_self_review: type: boolean example: false @@ -85335,13 +85377,13 @@ paths: items: type: object properties: - type: *619 + type: *620 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *623 + deployment_branch_policy: *624 additionalProperties: false examples: default: @@ -85361,9 +85403,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: - default: *624 + default: *625 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -85387,9 +85429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 responses: '204': description: Default response @@ -85414,9 +85456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *17 - *19 responses: @@ -85434,7 +85476,7 @@ paths: example: 2 branch_policies: type: array - items: &625 + items: &626 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -85491,9 +85533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 requestBody: required: true content: @@ -85539,9 +85581,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: - example-wildcard: &626 + example-wildcard: &627 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -85583,10 +85625,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *464 - - *465 - - *621 - - &627 + - *466 + - *467 + - *622 + - &628 name: branch_policy_id in: path required: true @@ -85598,9 +85640,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85619,10 +85661,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *464 - - *465 - - *621 - - *627 + - *466 + - *467 + - *622 + - *628 requestBody: required: true content: @@ -85650,9 +85692,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85671,10 +85713,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *464 - - *465 - - *621 - - *627 + - *466 + - *467 + - *622 + - *628 responses: '204': description: Response @@ -85699,9 +85741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *621 - - *465 - - *464 + - *622 + - *467 + - *466 responses: '200': description: List of deployment protection rules @@ -85717,7 +85759,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &628 + items: &629 title: Deployment protection rule description: Deployment protection rule type: object @@ -85736,7 +85778,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &629 + app: &630 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85835,9 +85877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *621 - - *465 - - *464 + - *622 + - *467 + - *466 requestBody: content: application/json: @@ -85858,9 +85900,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *628 + schema: *629 examples: - default: &630 + default: &631 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85895,9 +85937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *621 - - *465 - - *464 + - *622 + - *467 + - *466 - *19 - *17 responses: @@ -85916,7 +85958,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *629 + items: *630 examples: default: value: @@ -85951,10 +85993,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *464 - - *465 - - *621 - - &631 + - *466 + - *467 + - *622 + - &632 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85966,9 +86008,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *629 examples: - default: *630 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85989,10 +86031,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: - - *621 - - *465 - - *464 - - *631 + - *622 + - *467 + - *466 + - *632 responses: '204': description: Response @@ -86018,9 +86060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *17 - *19 responses: @@ -86038,9 +86080,9 @@ paths: type: integer secrets: type: array - items: *495 + items: *497 examples: - default: *496 + default: *498 headers: Link: *47 x-github: @@ -86065,17 +86107,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 responses: '200': description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86097,18 +86139,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *293 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *632 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86130,9 +86172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *293 requestBody: required: true @@ -86190,9 +86232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *293 responses: '204': @@ -86218,10 +86260,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *464 - - *465 - - *621 - - *482 + - *466 + - *467 + - *622 + - *484 - *19 responses: '200': @@ -86238,9 +86280,9 @@ paths: type: integer variables: type: array - items: *499 + items: *501 examples: - default: *500 + default: *502 headers: Link: *47 x-github: @@ -86263,9 +86305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 requestBody: required: true content: @@ -86317,18 +86359,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *464 - - *465 - - *621 + - *466 + - *467 + - *622 - *296 responses: '200': description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *633 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86349,10 +86391,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *464 - - *465 + - *466 + - *467 - *296 - - *621 + - *622 requestBody: required: true content: @@ -86394,10 +86436,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *464 - - *465 + - *466 + - *467 - *296 - - *621 + - *622 responses: '204': description: Response @@ -86419,8 +86461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -86488,8 +86530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *464 - - *465 + - *466 + - *467 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86648,8 +86690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -86681,9 +86723,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *471 + default: *473 '400': *14 '422': *15 '403': *29 @@ -86704,8 +86746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -86765,7 +86807,7 @@ paths: schema: oneOf: - *258 - - *634 + - *635 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86790,8 +86832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *464 - - *465 + - *466 + - *467 - name: file_sha in: path required: true @@ -86890,8 +86932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87000,7 +87042,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &636 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -87214,15 +87256,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *464 - - *465 - - *577 + - *466 + - *467 + - *579 responses: '200': description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -87278,9 +87320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *464 - - *465 - - &636 + - *466 + - *467 + - &637 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. @@ -87297,7 +87339,7 @@ paths: application/json: schema: type: array - items: &637 + items: &638 title: Git Reference description: Git references within a repository type: object @@ -87372,17 +87414,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *464 - - *465 - - *636 + - *466 + - *467 + - *637 responses: '200': description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: &638 + default: &639 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -87411,8 +87453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87441,9 +87483,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: *638 + default: *639 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -87469,9 +87511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *464 - - *465 - - *636 + - *466 + - *467 + - *637 requestBody: required: true content: @@ -87500,9 +87542,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: *638 + default: *639 '422': *15 '409': *118 x-github: @@ -87520,9 +87562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *464 - - *465 - - *636 + - *466 + - *467 + - *637 responses: '204': description: Response @@ -87577,8 +87619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87645,7 +87687,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &641 title: Git Tag description: Metadata for a Git tag type: object @@ -87696,7 +87738,7 @@ paths: - sha - type - url - verification: *639 + verification: *640 required: - sha - url @@ -87706,7 +87748,7 @@ paths: - tag - message examples: - default: &641 + default: &642 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87779,8 +87821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *464 - - *465 + - *466 + - *467 - name: tag_sha in: path required: true @@ -87791,9 +87833,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 '409': *118 x-github: @@ -87817,8 +87859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87891,7 +87933,7 @@ paths: description: Response content: application/json: - schema: &642 + schema: &643 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87987,8 +88029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *464 - - *465 + - *466 + - *467 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -88011,7 +88053,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: default-response: summary: Default response @@ -88070,8 +88112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -88081,7 +88123,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Webhook description: Webhooks for repositories. type: object @@ -88135,7 +88177,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &901 + last_response: &902 title: Hook Response type: object properties: @@ -88209,8 +88251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -88262,9 +88304,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: &644 + default: &645 value: type: Repository id: 12345678 @@ -88312,17 +88354,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 responses: '200': description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 x-github: githubCloudOnly: false @@ -88342,9 +88384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 requestBody: required: true content: @@ -88389,9 +88431,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '422': *15 '404': *6 x-github: @@ -88412,9 +88454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 responses: '204': description: Response @@ -88438,9 +88480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 responses: '200': description: Response @@ -88467,9 +88509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 requestBody: required: false content: @@ -88513,11 +88555,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 - *17 - - *347 + - *349 responses: '200': description: Response @@ -88525,9 +88567,9 @@ paths: application/json: schema: type: array - items: *348 + items: *350 examples: - default: *349 + default: *351 '400': *14 '422': *15 x-github: @@ -88546,18 +88588,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 - *16 responses: '200': description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: *351 + default: *353 '400': *14 '422': *15 x-github: @@ -88576,9 +88618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 - *16 responses: '202': *39 @@ -88601,9 +88643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 responses: '204': description: Response @@ -88628,9 +88670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *464 - - *465 - - *346 + - *466 + - *467 + - *348 responses: '204': description: Response @@ -88653,8 +88695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response if immutable releases are enabled @@ -88700,8 +88742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *154 '409': *118 @@ -88721,8 +88763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *154 '409': *118 @@ -88779,14 +88821,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &645 + schema: &646 title: Import description: A repository import from an external source. type: object @@ -88885,7 +88927,7 @@ paths: - html_url - authors_url examples: - default: &648 + default: &649 value: vcs: subversion use_lfs: true @@ -88901,7 +88943,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': &646 + '503': &647 description: Unavailable due to service under maintenance. content: application/json: @@ -88930,8 +88972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -88979,7 +89021,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: default: value: @@ -89004,7 +89046,7 @@ paths: type: string '422': *15 '404': *6 - '503': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89032,8 +89074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -89082,7 +89124,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: example-1: summary: Example 1 @@ -89130,7 +89172,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': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89153,12 +89195,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response - '503': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89184,9 +89226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *464 - - *465 - - &832 + - *466 + - *467 + - &833 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -89200,7 +89242,7 @@ paths: application/json: schema: type: array - items: &647 + items: &648 title: Porter Author description: Porter Author type: object @@ -89254,7 +89296,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': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89279,8 +89321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *464 - - *465 + - *466 + - *467 - name: author_id in: path required: true @@ -89310,7 +89352,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *648 examples: default: value: @@ -89323,7 +89365,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89347,8 +89389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -89389,7 +89431,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89417,8 +89459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -89445,11 +89487,11 @@ paths: description: Response content: application/json: - schema: *645 + schema: *646 examples: - default: *648 + default: *649 '422': *15 - '503': *646 + '503': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89472,8 +89514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -89481,8 +89523,8 @@ paths: application/json: schema: *22 examples: - default: *649 - '301': *470 + default: *650 + '301': *472 '404': *6 x-github: githubCloudOnly: false @@ -89502,8 +89544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -89511,12 +89553,12 @@ paths: application/json: schema: anyOf: - - *364 + - *366 - type: object properties: {} additionalProperties: false examples: - default: &651 + default: &652 value: limit: collaborators_only origin: repository @@ -89541,13 +89583,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *650 + schema: *651 examples: default: summary: Example request body @@ -89559,9 +89601,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *651 + default: *652 '409': description: Response x-github: @@ -89583,8 +89625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -89607,8 +89649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -89618,9 +89660,9 @@ paths: application/json: schema: type: array - items: *652 + items: *653 examples: - default: &825 + default: &826 value: - id: 1 repository: @@ -89751,9 +89793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *464 - - *465 - - *368 + - *466 + - *467 + - *370 requestBody: required: false content: @@ -89782,7 +89824,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *653 examples: default: value: @@ -89913,9 +89955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *464 - - *465 - - *368 + - *466 + - *467 + - *370 responses: '204': description: Response @@ -89946,8 +89988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *464 - - *465 + - *466 + - *467 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -89995,7 +90037,7 @@ paths: required: false schema: type: string - - *372 + - *374 - name: sort description: What to sort results by. in: query @@ -90020,7 +90062,7 @@ paths: type: array items: *220 examples: - default: &662 + default: &663 value: - id: 1 node_id: MDU6SXNzdWUx @@ -90168,7 +90210,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *470 + '301': *472 '422': *15 '404': *6 x-github: @@ -90197,8 +90239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -90282,7 +90324,7 @@ paths: application/json: schema: *220 examples: - default: &659 + default: &660 value: id: 1 node_id: MDU6SXNzdWUx @@ -90438,7 +90480,7 @@ paths: '422': *15 '503': *195 '404': *6 - '410': *653 + '410': *654 x-github: triggersNotification: true githubCloudOnly: false @@ -90466,8 +90508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *244 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -90488,9 +90530,9 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: &661 + default: &662 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90548,17 +90590,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '200': description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: &655 + default: &656 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90612,8 +90654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -90636,9 +90678,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: *655 + default: *656 '422': *15 x-github: githubCloudOnly: false @@ -90656,8 +90698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '204': @@ -90678,8 +90720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -90706,9 +90748,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 '404': *6 @@ -90729,8 +90771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -90763,16 +90805,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Reaction created content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -90794,10 +90836,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *464 - - *465 + - *466 + - *467 - *236 - - *458 + - *460 responses: '204': description: Response @@ -90817,8 +90859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -90828,7 +90870,7 @@ paths: application/json: schema: type: array - items: &658 + items: &659 title: Issue Event description: Issue Event type: object @@ -90871,8 +90913,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *656 - required: *657 + properties: *657 + required: *658 nullable: true label: title: Issue Event Label @@ -91179,8 +91221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *464 - - *465 + - *466 + - *467 - name: event_id in: path required: true @@ -91191,7 +91233,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -91383,7 +91425,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *653 + '410': *654 '403': *29 x-github: githubCloudOnly: false @@ -91417,9 +91459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *464 - - *465 - - &660 + - *466 + - *467 + - &661 name: issue_number description: The number that identifies the issue. in: path @@ -91433,10 +91475,10 @@ paths: application/json: schema: *220 examples: - default: *659 - '301': *470 + default: *660 + '301': *472 '404': *6 - '410': *653 + '410': *654 '304': *37 x-github: githubCloudOnly: false @@ -91461,9 +91503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: false content: @@ -91569,13 +91611,13 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 '422': *15 '503': *195 '403': *29 - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91593,9 +91635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: false content: @@ -91623,7 +91665,7 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91639,9 +91681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: content: application/json: @@ -91668,7 +91710,7 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91690,9 +91732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - name: assignee in: path required: true @@ -91732,9 +91774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *227 - *17 - *19 @@ -91745,13 +91787,13 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: *661 + default: *662 headers: Link: *47 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91780,9 +91822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -91804,16 +91846,16 @@ paths: description: Response content: application/json: - schema: *654 + schema: *655 examples: - default: *655 + default: *656 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *653 + '410': *654 '422': *15 '404': *6 x-github: @@ -91841,9 +91883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -91855,12 +91897,12 @@ paths: type: array items: *220 examples: - default: *662 + default: *663 headers: Link: *47 - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91888,9 +91930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -91914,15 +91956,15 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *470 + '301': *472 '403': *29 - '410': *653 + '410': *654 '422': *15 '404': *6 x-github: @@ -91953,9 +91995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91969,13 +92011,13 @@ paths: application/json: schema: *220 examples: - default: *659 - '301': *470 + default: *660 + '301': *472 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *653 + '410': *654 x-github: triggersNotification: true githubCloudOnly: false @@ -92001,9 +92043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -92015,12 +92057,12 @@ paths: type: array items: *220 examples: - default: *662 + default: *663 headers: Link: *47 - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92037,9 +92079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -92053,7 +92095,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &664 + - &665 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -92107,7 +92149,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &665 + - &666 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -92243,7 +92285,7 @@ paths: - performed_via_github_app - assignee - assigner - - &666 + - &667 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -92294,7 +92336,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &667 + - &668 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -92345,7 +92387,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &668 + - &669 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -92399,7 +92441,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &669 + - &670 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -92446,7 +92488,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &671 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -92493,7 +92535,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &672 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -92553,7 +92595,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &673 title: Locked Issue Event description: Locked Issue Event type: object @@ -92601,7 +92643,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &674 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92667,7 +92709,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &675 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92733,7 +92775,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &676 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92799,7 +92841,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &677 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92890,7 +92932,7 @@ paths: color: red headers: Link: *47 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92907,9 +92949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -92921,7 +92963,7 @@ paths: type: array items: *219 examples: - default: &663 + default: &664 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92939,9 +92981,9 @@ paths: default: false headers: Link: *47 - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92958,9 +93000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: false content: @@ -93021,10 +93063,10 @@ paths: type: array items: *219 examples: - default: *663 - '301': *470 + default: *664 + '301': *472 '404': *6 - '410': *653 + '410': *654 '422': *15 x-github: githubCloudOnly: false @@ -93041,9 +93083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: false content: @@ -93105,10 +93147,10 @@ paths: type: array items: *219 examples: - default: *663 - '301': *470 + default: *664 + '301': *472 '404': *6 - '410': *653 + '410': *654 '422': *15 x-github: githubCloudOnly: false @@ -93125,15 +93167,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 responses: '204': description: Response - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93152,9 +93194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - name: name in: path required: true @@ -93178,9 +93220,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *470 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93200,9 +93242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: false content: @@ -93230,7 +93272,7 @@ paths: '204': description: Response '403': *29 - '410': *653 + '410': *654 '404': *6 '422': *15 x-github: @@ -93248,9 +93290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 responses: '204': description: Response @@ -93280,9 +93322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 responses: '200': description: Response @@ -93290,10 +93332,10 @@ paths: application/json: schema: *220 examples: - default: *659 - '301': *470 + default: *660 + '301': *472 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93310,9 +93352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - 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. @@ -93338,13 +93380,13 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93362,9 +93404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -93396,16 +93438,16 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -93427,10 +93469,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *464 - - *465 - - *660 - - *458 + - *466 + - *467 + - *661 + - *460 responses: '204': description: Response @@ -93459,9 +93501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -93485,7 +93527,7 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -93518,9 +93560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -93532,11 +93574,11 @@ paths: type: array items: *220 examples: - default: *662 + default: *663 headers: Link: *47 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93564,9 +93606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -93595,14 +93637,14 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *653 + '410': *654 '422': *15 '404': *6 x-github: @@ -93622,9 +93664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 requestBody: required: true content: @@ -93657,7 +93699,7 @@ paths: application/json: schema: *220 examples: - default: *659 + default: *660 '403': *29 '404': *6 '422': *7 @@ -93679,9 +93721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *464 - - *465 - - *660 + - *466 + - *467 + - *661 - *17 - *19 responses: @@ -93696,7 +93738,6 @@ paths: description: Timeline Event type: object anyOf: - - *664 - *665 - *666 - *667 @@ -93709,6 +93750,7 @@ paths: - *674 - *675 - *676 + - *677 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -94017,7 +94059,7 @@ paths: type: string comments: type: array - items: &698 + items: &699 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -94226,7 +94268,7 @@ paths: type: string comments: type: array - items: *575 + items: *577 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -94515,7 +94557,7 @@ paths: headers: Link: *47 '404': *6 - '410': *653 + '410': *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94532,8 +94574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -94543,7 +94585,7 @@ paths: application/json: schema: type: array - items: &677 + items: &678 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94609,8 +94651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -94646,9 +94688,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &678 + default: &679 value: id: 1 key: ssh-rsa AAA... @@ -94682,9 +94724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *464 - - *465 - - &679 + - *466 + - *467 + - &680 name: key_id description: The unique identifier of the key. in: path @@ -94696,9 +94738,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: *678 + default: *679 '404': *6 x-github: githubCloudOnly: false @@ -94716,9 +94758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *464 - - *465 - - *679 + - *466 + - *467 + - *680 responses: '204': description: Response @@ -94738,8 +94780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -94751,7 +94793,7 @@ paths: type: array items: *219 examples: - default: *663 + default: *664 headers: Link: *47 '404': *6 @@ -94772,8 +94814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -94811,7 +94853,7 @@ paths: application/json: schema: *219 examples: - default: &680 + default: &681 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94843,8 +94885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -94857,7 +94899,7 @@ paths: application/json: schema: *219 examples: - default: *680 + default: *681 '404': *6 x-github: githubCloudOnly: false @@ -94874,8 +94916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -94940,8 +94982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -94967,8 +95009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -95004,8 +95046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '202': *39 '403': @@ -95033,8 +95075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -95060,9 +95102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *464 - - *465 - - *551 + - *466 + - *467 + - *553 responses: '200': description: Response @@ -95207,8 +95249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95273,8 +95315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95308,9 +95350,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *576 + schema: *578 examples: - default: *681 + default: *682 '204': description: Response when already merged '404': @@ -95335,8 +95377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *464 - - *465 + - *466 + - *467 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -95377,12 +95419,12 @@ paths: application/json: schema: type: array - items: &682 + items: &683 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *404 - required: *405 + properties: *406 + required: *407 examples: default: value: @@ -95438,8 +95480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95479,9 +95521,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: &683 + default: &684 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -95540,9 +95582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *464 - - *465 - - &684 + - *466 + - *467 + - &685 name: milestone_number description: The number that identifies the milestone. in: path @@ -95554,9 +95596,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *683 + default: *684 '404': *6 x-github: githubCloudOnly: false @@ -95573,9 +95615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *464 - - *465 - - *684 + - *466 + - *467 + - *685 requestBody: required: false content: @@ -95613,9 +95655,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *683 + default: *684 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95631,9 +95673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *464 - - *465 - - *684 + - *466 + - *467 + - *685 responses: '204': description: Response @@ -95654,9 +95696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *464 - - *465 - - *684 + - *466 + - *467 + - *685 - *17 - *19 responses: @@ -95668,7 +95710,7 @@ paths: type: array items: *219 examples: - default: *663 + default: *664 headers: Link: *47 x-github: @@ -95687,12 +95729,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *464 - - *465 - - *685 + - *466 + - *467 - *686 - - *227 - *687 + - *227 + - *688 - *17 - *19 responses: @@ -95704,7 +95746,7 @@ paths: type: array items: *247 examples: - default: *688 + default: *689 headers: Link: *47 x-github: @@ -95728,8 +95770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -95787,14 +95829,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &689 + schema: &690 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95919,7 +95961,7 @@ paths: - custom_404 - public examples: - default: &690 + default: &691 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95960,8 +96002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -96015,9 +96057,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *690 examples: - default: *690 + default: *691 '422': *15 '409': *118 x-github: @@ -96040,8 +96082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -96148,8 +96190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -96175,8 +96217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -96186,7 +96228,7 @@ paths: application/json: schema: type: array - items: &691 + items: &692 title: Page Build description: Page Build type: object @@ -96280,8 +96322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -96326,16 +96368,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: &692 + default: &693 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -96383,8 +96425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *464 - - *465 + - *466 + - *467 - name: build_id in: path required: true @@ -96395,9 +96437,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *692 examples: - default: *692 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96417,8 +96459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -96523,9 +96565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *464 - - *465 - - &693 + - *466 + - *467 + - &694 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -96583,9 +96625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *464 - - *465 - - *693 + - *466 + - *467 + - *694 responses: '204': *154 '404': *6 @@ -96612,8 +96654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -96871,8 +96913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Private vulnerability reporting status @@ -96909,8 +96951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *154 '422': *14 @@ -96931,8 +96973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *154 '422': *14 @@ -96954,8 +96996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -96965,7 +97007,7 @@ paths: type: array items: *155 examples: - default: *694 + default: *695 '403': *29 '404': *6 x-github: @@ -96987,8 +97029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -97004,7 +97046,7 @@ paths: required: - properties examples: - default: *695 + default: *696 responses: '204': description: No Content when custom property values are successfully created @@ -97042,8 +97084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -97103,9 +97145,9 @@ paths: application/json: schema: type: array - items: *580 + items: *582 examples: - default: *696 + default: *697 headers: Link: *47 '304': *37 @@ -97137,8 +97179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -97203,7 +97245,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &701 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97314,8 +97356,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *404 - required: *405 + properties: *406 + required: *407 nullable: true active_lock_reason: type: string @@ -97360,7 +97402,7 @@ paths: nullable: true requested_teams: type: array - items: *439 + items: *441 nullable: true head: type: object @@ -97399,14 +97441,14 @@ paths: _links: type: object properties: - comments: *406 - commits: *406 - statuses: *406 - html: *406 - issue: *406 - review_comments: *406 - review_comment: *406 - self: *406 + comments: *408 + commits: *408 + statuses: *408 + html: *408 + issue: *408 + review_comments: *408 + review_comment: *408 + self: *408 required: - comments - commits @@ -97417,7 +97459,7 @@ paths: - review_comment - self author_association: *221 - auto_merge: *697 + auto_merge: *698 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -97509,7 +97551,7 @@ paths: - merged_by - review_comments examples: - default: &701 + default: &702 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -98036,8 +98078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: sort in: query required: false @@ -98066,9 +98108,9 @@ paths: application/json: schema: type: array - items: *698 + items: *699 examples: - default: &703 + default: &704 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98145,17 +98187,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '200': description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: &699 + default: &700 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98230,8 +98272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -98254,9 +98296,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98272,8 +98314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 + - *466 + - *467 - *236 responses: '204': @@ -98295,8 +98337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -98323,9 +98365,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 '404': *6 @@ -98346,8 +98388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *464 - - *465 + - *466 + - *467 - *236 requestBody: required: true @@ -98380,16 +98422,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Reaction created content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -98411,10 +98453,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *464 - - *465 + - *466 + - *467 - *236 - - *458 + - *460 responses: '204': description: Response @@ -98457,9 +98499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *464 - - *465 - - &702 + - *466 + - *467 + - &703 name: pull_number description: The number that identifies the pull request. in: path @@ -98472,9 +98514,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *700 + schema: *701 examples: - default: *701 + default: *702 '304': *37 '404': *6 '406': @@ -98509,9 +98551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: false content: @@ -98553,9 +98595,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *701 examples: - default: *701 + default: *702 '422': *15 '403': *29 x-github: @@ -98577,9 +98619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: true content: @@ -98639,17 +98681,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '401': *25 '403': *29 '404': *6 @@ -98679,9 +98721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 - *244 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98702,9 +98744,9 @@ paths: application/json: schema: type: array - items: *698 + items: *699 examples: - default: *703 + default: *704 headers: Link: *47 x-github: @@ -98737,9 +98779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: true content: @@ -98844,7 +98886,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: example-for-a-multi-line-comment: value: @@ -98932,9 +98974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 - *236 requestBody: required: true @@ -98957,7 +98999,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: default: value: @@ -99043,9 +99085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 - *17 - *19 responses: @@ -99055,9 +99097,9 @@ paths: application/json: schema: type: array - items: *576 + items: *578 examples: - default: *704 + default: *705 headers: Link: *47 x-github: @@ -99087,9 +99129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 - *17 - *19 responses: @@ -99099,7 +99141,7 @@ paths: application/json: schema: type: array - items: *589 + items: *591 examples: default: value: @@ -99137,9 +99179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 responses: '204': description: Response if pull request has been merged @@ -99162,9 +99204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: false content: @@ -99275,9 +99317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 responses: '200': description: Response @@ -99352,9 +99394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: false content: @@ -99391,7 +99433,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: default: value: @@ -99927,9 +99969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: true content: @@ -99963,7 +100005,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: default: value: @@ -100468,9 +100510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 - *17 - *19 responses: @@ -100480,7 +100522,7 @@ paths: application/json: schema: type: array - items: &705 + items: &706 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100631,9 +100673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: false content: @@ -100719,9 +100761,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: - default: &707 + default: &708 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100784,10 +100826,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 - - &706 + - *466 + - *467 + - *703 + - &707 name: review_id description: The unique identifier of the review. in: path @@ -100799,9 +100841,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: - default: &708 + default: &709 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100860,10 +100902,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 - - *706 + - *466 + - *467 + - *703 + - *707 requestBody: required: true content: @@ -100886,7 +100928,7 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: default: value: @@ -100948,18 +100990,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 - - *706 + - *466 + - *467 + - *703 + - *707 responses: '200': description: Response content: application/json: - schema: *705 + schema: *706 examples: - default: *707 + default: *708 '422': *7 '404': *6 x-github: @@ -100986,10 +101028,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *464 - - *465 - - *702 - - *706 + - *466 + - *467 + - *703 + - *707 - *17 - *19 responses: @@ -101072,9 +101114,9 @@ paths: _links: type: object properties: - self: *406 - html: *406 - pull_request: *406 + self: *408 + html: *408 + pull_request: *408 required: - self - html @@ -101224,10 +101266,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 - - *706 + - *466 + - *467 + - *703 + - *707 requestBody: required: true content: @@ -101255,7 +101297,7 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: default: value: @@ -101318,10 +101360,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *464 - - *465 - - *702 - - *706 + - *466 + - *467 + - *703 + - *707 requestBody: required: true content: @@ -101356,9 +101398,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: - default: *708 + default: *709 '404': *6 '422': *7 '403': *29 @@ -101380,9 +101422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *464 - - *465 - - *702 + - *466 + - *467 + - *703 requestBody: required: false content: @@ -101445,8 +101487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101459,9 +101501,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: &710 + default: &711 value: type: file encoding: base64 @@ -101503,8 +101545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *464 - - *465 + - *466 + - *467 - name: dir description: The alternate path to look for a README file in: path @@ -101524,9 +101566,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *710 + default: *711 '404': *6 '422': *15 x-github: @@ -101548,8 +101590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -101559,7 +101601,7 @@ paths: application/json: schema: type: array - items: *711 + items: *712 examples: default: value: @@ -101653,8 +101695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -101730,9 +101772,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: - default: &715 + default: &716 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101837,9 +101879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *464 - - *465 - - &713 + - *466 + - *467 + - &714 name: asset_id description: The unique identifier of the asset. in: path @@ -101851,9 +101893,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: &714 + default: &715 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 @@ -101888,7 +101930,7 @@ paths: type: User site_admin: false '404': *6 - '302': *591 + '302': *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101904,9 +101946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *464 - - *465 - - *713 + - *466 + - *467 + - *714 requestBody: required: false content: @@ -101934,9 +101976,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: *714 + default: *715 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101952,9 +101994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *464 - - *465 - - *713 + - *466 + - *467 + - *714 responses: '204': description: Response @@ -101978,8 +102020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -102064,16 +102106,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *711 + schema: *712 examples: - default: *715 + default: *716 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102090,8 +102132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *464 - - *465 + - *466 + - *467 - name: tag description: tag parameter in: path @@ -102104,9 +102146,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: - default: *715 + default: *716 '404': *6 x-github: githubCloudOnly: false @@ -102128,9 +102170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *464 - - *465 - - &716 + - *466 + - *467 + - &717 name: release_id description: The unique identifier of the release. in: path @@ -102144,9 +102186,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: *711 + schema: *712 examples: - default: *715 + default: *716 '401': description: Unauthorized x-github: @@ -102164,9 +102206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 requestBody: required: false content: @@ -102230,9 +102272,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: - default: *715 + default: *716 '404': description: Not Found if the discussion category name is invalid content: @@ -102253,9 +102295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 responses: '204': description: Response @@ -102275,9 +102317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 - *17 - *19 responses: @@ -102287,7 +102329,7 @@ paths: application/json: schema: type: array - items: *712 + items: *713 examples: default: value: @@ -102369,9 +102411,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 - name: name in: query required: true @@ -102397,7 +102439,7 @@ paths: description: Response for successful upload content: application/json: - schema: *712 + schema: *713 examples: response-for-successful-upload: value: @@ -102452,9 +102494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 - 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. @@ -102478,9 +102520,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 '404': *6 @@ -102501,9 +102543,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *464 - - *465 - - *716 + - *466 + - *467 + - *717 requestBody: required: true content: @@ -102533,16 +102575,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '201': description: Reaction created content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -102564,10 +102606,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *464 - - *465 - - *716 - - *458 + - *466 + - *467 + - *717 + - *460 responses: '204': description: Response @@ -102591,9 +102633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *464 - - *465 - - *517 + - *466 + - *467 + - *519 - *17 - *19 responses: @@ -102610,7 +102652,7 @@ paths: oneOf: - allOf: - *169 - - &717 + - &718 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102631,67 +102673,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *170 - - *717 + - *718 - allOf: - *171 - - *717 + - *718 - allOf: - *172 - - *717 + - *718 - allOf: + - *719 - *718 - - *717 - allOf: - *173 - - *717 + - *718 - allOf: - *174 - - *717 + - *718 - allOf: - *175 - - *717 + - *718 - allOf: - *176 - - *717 + - *718 - allOf: - *177 - - *717 + - *718 - allOf: - *178 - - *717 + - *718 - allOf: - *179 - - *717 + - *718 - allOf: - *180 - - *717 + - *718 - allOf: - *181 - - *717 + - *718 - allOf: - *182 - - *717 + - *718 - allOf: - *183 - - *717 + - *718 - allOf: - *184 - - *717 + - *718 - allOf: - *185 - - *717 + - *718 - allOf: - *186 - - *717 + - *718 - allOf: - *187 - - *717 + - *718 - allOf: - *188 - - *717 + - *718 - allOf: - *189 - - *717 + - *718 examples: default: value: @@ -102730,8 +102772,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - name: includes_parents @@ -102742,7 +102784,7 @@ paths: schema: type: boolean default: true - - *719 + - *720 responses: '200': description: Response @@ -102797,8 +102839,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 requestBody: description: Request body required: true @@ -102827,7 +102869,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *720 + items: *721 required: - name - enforcement @@ -102860,7 +102902,7 @@ paths: application/json: schema: *190 examples: - default: &729 + default: &730 value: id: 42 name: super cool ruleset @@ -102907,12 +102949,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *464 - - *465 - - *721 - - *105 + - *466 + - *467 - *722 + - *105 - *723 + - *724 - *17 - *19 responses: @@ -102920,9 +102962,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: *725 + default: *726 '404': *6 '500': *40 x-github: @@ -102943,17 +102985,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *464 - - *465 - - *726 + - *466 + - *467 + - *727 responses: '200': description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: *728 + default: *729 '404': *6 '500': *40 x-github: @@ -102981,8 +103023,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103004,7 +103046,7 @@ paths: application/json: schema: *190 examples: - default: *729 + default: *730 '404': *6 '500': *40 put: @@ -103022,8 +103064,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103057,7 +103099,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *720 + items: *721 examples: default: value: @@ -103087,7 +103129,7 @@ paths: application/json: schema: *190 examples: - default: *729 + default: *730 '404': *6 '500': *40 delete: @@ -103105,8 +103147,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103129,8 +103171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - name: ruleset_id @@ -103148,7 +103190,7 @@ paths: type: array items: *194 examples: - default: *423 + default: *425 '404': *6 '500': *40 x-github: @@ -103167,8 +103209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103186,7 +103228,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -103241,22 +103283,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *464 - - *465 - - *425 - - *426 + - *466 + - *467 - *427 - *428 - *429 + - *430 + - *431 - *110 - *19 - *17 - - *730 - *731 - - *430 - - *431 + - *732 - *432 - *433 + - *434 + - *435 responses: '200': description: Response @@ -103264,7 +103306,7 @@ paths: application/json: schema: type: array - items: &735 + items: &736 type: object properties: number: *127 @@ -103283,8 +103325,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *732 - resolution: *733 + state: *733 + resolution: *734 resolved_at: type: string format: date-time @@ -103380,7 +103422,7 @@ paths: pull request. ' - oneOf: *734 + oneOf: *735 nullable: true has_more_locations: type: boolean @@ -103529,16 +103571,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *464 - - *465 - - *545 - - *433 + - *466 + - *467 + - *547 + - *435 responses: '200': description: Response content: application/json: - schema: *735 + schema: *736 examples: default: value: @@ -103592,9 +103634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 requestBody: required: true content: @@ -103602,8 +103644,8 @@ paths: schema: type: object properties: - state: *732 - resolution: *733 + state: *733 + resolution: *734 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103637,7 +103679,7 @@ paths: description: Response content: application/json: - schema: *735 + schema: *736 examples: default: value: @@ -103732,9 +103774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *464 - - *465 - - *545 + - *466 + - *467 + - *547 - *19 - *17 responses: @@ -103745,7 +103787,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &923 + items: &924 type: object properties: type: @@ -103771,7 +103813,6 @@ paths: example: commit details: oneOf: - - *736 - *737 - *738 - *739 @@ -103784,6 +103825,7 @@ paths: - *746 - *747 - *748 + - *749 examples: default: value: @@ -103869,8 +103911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -103878,14 +103920,14 @@ paths: schema: type: object properties: - reason: &750 + reason: &751 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *749 + placeholder_id: *750 required: - reason - placeholder_id @@ -103902,7 +103944,7 @@ paths: schema: type: object properties: - reason: *750 + reason: *751 expire_at: type: string format: date-time @@ -103948,8 +103990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103964,7 +104006,7 @@ paths: properties: incremental_scans: type: array - items: &751 + items: &752 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103990,15 +104032,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *751 + items: *752 backfill_scans: type: array - items: *751 + items: *752 custom_pattern_backfill_scans: type: array items: allOf: - - *751 + - *752 - type: object properties: pattern_name: @@ -104068,8 +104110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *464 - - *465 + - *466 + - *467 - *110 - name: sort description: The property to sort the results by. @@ -104113,9 +104155,9 @@ paths: application/json: schema: type: array - items: *752 + items: *753 examples: - default: *753 + default: *754 '400': *14 '404': *6 x-github: @@ -104138,8 +104180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -104212,7 +104254,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *440 required: - login - type @@ -104299,9 +104341,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *753 examples: - default: &755 + default: &756 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104534,8 +104576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -104639,7 +104681,7 @@ paths: description: Response content: application/json: - schema: *752 + schema: *753 examples: default: value: @@ -104786,17 +104828,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *464 - - *465 - - *754 + - *466 + - *467 + - *755 responses: '200': description: Response content: application/json: - schema: *752 + schema: *753 examples: - default: *755 + default: *756 '403': *29 '404': *6 x-github: @@ -104820,9 +104862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *464 - - *465 - - *754 + - *466 + - *467 + - *755 requestBody: required: true content: @@ -104895,7 +104937,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *440 required: - login - type @@ -104981,10 +105023,10 @@ paths: description: Response content: application/json: - schema: *752 + schema: *753 examples: - default: *755 - add_credit: *755 + default: *756 + add_credit: *756 '403': *29 '404': *6 '422': @@ -105022,9 +105064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *464 - - *465 - - *754 + - *466 + - *467 + - *755 responses: '202': *39 '400': *14 @@ -105051,17 +105093,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *464 - - *465 - - *754 + - *466 + - *467 + - *755 responses: '202': description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *471 + default: *473 '400': *14 '422': *15 '403': *29 @@ -105087,8 +105129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -105187,8 +105229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -105197,7 +105239,7 @@ paths: application/json: schema: type: array - items: &756 + items: &757 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -105230,8 +105272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -105307,8 +105349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -105404,8 +105446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105559,8 +105601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105570,7 +105612,7 @@ paths: application/json: schema: type: array - items: *756 + items: *757 examples: default: value: @@ -105603,8 +105645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *464 - - *465 + - *466 + - *467 - name: sha in: path required: true @@ -105658,7 +105700,7 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: default: value: @@ -105712,8 +105754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -105745,14 +105787,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &758 + schema: &759 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105820,8 +105862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -105847,7 +105889,7 @@ paths: description: Response content: application/json: - schema: *758 + schema: *759 examples: default: value: @@ -105874,8 +105916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -105895,8 +105937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -105975,8 +106017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -105984,7 +106026,7 @@ paths: application/json: schema: type: array - items: &759 + items: &760 title: Tag protection description: Tag protection type: object @@ -106036,8 +106078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -106060,7 +106102,7 @@ paths: description: Response content: application/json: - schema: *759 + schema: *760 examples: default: value: @@ -106091,8 +106133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -106129,8 +106171,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *464 - - *465 + - *466 + - *467 - name: ref in: path required: true @@ -106166,8 +106208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -106179,7 +106221,7 @@ paths: type: array items: *312 examples: - default: *384 + default: *386 headers: Link: *47 '404': *6 @@ -106199,8 +106241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 responses: @@ -106208,7 +106250,7 @@ paths: description: Response content: application/json: - schema: &760 + schema: &761 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -106220,7 +106262,7 @@ paths: required: - names examples: - default: &761 + default: &762 value: names: - octocat @@ -106243,8 +106285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -106275,9 +106317,9 @@ paths: description: Response content: application/json: - schema: *760 + schema: *761 examples: - default: *761 + default: *762 '404': *6 '422': *7 x-github: @@ -106298,9 +106340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *464 - - *465 - - &762 + - *466 + - *467 + - &763 name: per description: The time frame to display results for. in: query @@ -106329,7 +106371,7 @@ paths: example: 128 clones: type: array - items: &763 + items: &764 title: Traffic type: object properties: @@ -106416,8 +106458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -106507,8 +106549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -106568,9 +106610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *464 - - *465 - - *762 + - *466 + - *467 + - *763 responses: '200': description: Response @@ -106589,7 +106631,7 @@ paths: example: 3782 views: type: array - items: *763 + items: *764 required: - uniques - count @@ -106666,8 +106708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -106941,8 +106983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106965,8 +107007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -106988,8 +107030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -107015,8 +107057,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *464 - - *465 + - *466 + - *467 - name: ref in: path required: true @@ -107108,9 +107150,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *471 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107261,7 +107303,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &771 + - &772 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107270,7 +107312,7 @@ paths: schema: type: string example: members - - &776 + - &777 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107281,7 +107323,7 @@ paths: default: 1 format: int32 example: 1 - - &777 + - &778 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107323,7 +107365,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &766 + items: &767 allOf: - type: object required: @@ -107398,7 +107440,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: &778 + meta: &779 type: object description: The metadata associated with the creation/updates to the user. @@ -107458,30 +107500,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &767 + '400': &768 description: Bad request content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 - '401': *765 - '403': &768 + schema: *765 + '401': *766 + '403': &769 description: Permission denied - '429': &769 + '429': &770 description: Too many requests content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 - '500': &770 + schema: *765 + '500': &771 description: Internal server error content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 + schema: *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107505,7 +107547,7 @@ paths: required: true content: application/json: - schema: &774 + schema: &775 type: object required: - schemas @@ -107565,9 +107607,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *766 + schema: *767 examples: - group: &772 + group: &773 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -107586,13 +107628,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': *767 - '401': *765 - '403': *768 - '409': &775 + '400': *768 + '401': *766 + '403': *769 + '409': &776 description: Duplicate record detected - '429': *769 - '500': *770 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107609,7 +107651,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: - - &773 + - &774 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -107617,22 +107659,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *771 + - *772 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *766 + schema: *767 examples: - default: *772 - '400': *767 - '401': *765 - '403': *768 + default: *773 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '429': *769 - '500': *770 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107651,13 +107693,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: - - *773 + - *774 - *41 requestBody: required: true content: application/json: - schema: *774 + schema: *775 examples: group: summary: Group @@ -107683,17 +107725,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *766 + schema: *767 examples: - group: *772 - groupWithMembers: *772 - '400': *767 - '401': *765 - '403': *768 + group: *773 + groupWithMembers: *773 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '409': *775 - '429': *769 - '500': *770 + '409': *776 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107717,13 +107759,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: - - *773 + - *774 - *41 requestBody: required: true content: application/json: - schema: &785 + schema: &786 type: object required: - Operations @@ -107783,17 +107825,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *766 + schema: *767 examples: - updateGroup: *772 - addMembers: *772 - '400': *767 - '401': *765 - '403': *768 + updateGroup: *773 + addMembers: *773 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '409': *775 - '429': *769 - '500': *770 + '409': *776 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107809,17 +107851,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: - - *773 + - *774 - *41 responses: '204': description: Group was deleted, no content - '400': *767 - '401': *765 - '403': *768 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '429': *769 - '500': *770 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107853,8 +107895,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *776 - *777 + - *778 - *41 responses: '200': @@ -107887,7 +107929,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &780 + items: &781 allOf: - type: object required: @@ -107966,7 +108008,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &779 + roles: &780 type: array description: The roles assigned to the user. items: @@ -108022,7 +108064,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *778 + meta: *779 startIndex: type: integer description: A starting index for the returned page @@ -108059,11 +108101,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *767 - '401': *765 - '403': *768 - '429': *769 - '500': *770 + '400': *768 + '401': *766 + '403': *769 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108087,7 +108129,7 @@ paths: required: true content: application/json: - schema: &783 + schema: &784 type: object required: - schemas @@ -108169,9 +108211,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *779 + roles: *780 examples: - user: &784 + user: &785 summary: User value: schemas: @@ -108218,9 +108260,9 @@ paths: description: User has been created content: application/scim+json: - schema: *780 + schema: *781 examples: - user: &781 + user: &782 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108246,13 +108288,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: *781 - '400': *767 - '401': *765 - '403': *768 - '409': *775 - '429': *769 - '500': *770 + enterpriseOwner: *782 + '400': *768 + '401': *766 + '403': *769 + '409': *776 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108269,7 +108311,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: - - &782 + - &783 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108282,15 +108324,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *780 + schema: *781 examples: - default: *781 - '400': *767 - '401': *765 - '403': *768 + default: *782 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '429': *769 - '500': *770 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108312,30 +108354,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: - - *782 + - *783 - *41 requestBody: required: true content: application/json: - schema: *783 + schema: *784 examples: - user: *784 + user: *785 responses: '200': description: User was updated content: application/scim+json: - schema: *780 + schema: *781 examples: - user: *781 - '400': *767 - '401': *765 - '403': *768 + user: *782 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '409': *775 - '429': *769 - '500': *770 + '409': *776 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108370,13 +108412,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: - - *782 + - *783 - *41 requestBody: required: true content: application/json: - schema: *785 + schema: *786 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108416,18 +108458,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *780 + schema: *781 examples: - userMultiValuedProperties: *781 - userSingleValuedProperties: *781 - disableUser: *781 - '400': *767 - '401': *765 - '403': *768 + userMultiValuedProperties: *782 + userSingleValuedProperties: *782 + disableUser: *782 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '409': *775 - '429': *769 - '500': *770 + '409': *776 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108447,17 +108489,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: - - *782 + - *783 - *41 responses: '204': description: User was deleted, no content - '400': *767 - '401': *765 - '403': *768 + '400': *768 + '401': *766 + '403': *769 '404': *6 - '429': *769 - '500': *770 + '429': *770 + '500': *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108544,7 +108586,7 @@ paths: example: 1 Resources: type: array - items: &786 + items: &787 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108775,22 +108817,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &787 + '404': &788 description: Resource not found content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 - '403': &788 + schema: *765 + '403': &789 description: Forbidden content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 - '400': *767 - '429': *769 + schema: *765 + '400': *768 + '429': *770 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108816,9 +108858,9 @@ paths: description: Response content: application/scim+json: - schema: *786 + schema: *787 examples: - default: &789 + default: &790 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108841,17 +108883,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *787 - '403': *788 - '500': *770 + '404': *788 + '403': *789 + '500': *771 '409': description: Conflict content: application/json: - schema: *764 + schema: *765 application/scim+json: - schema: *764 - '400': *767 + schema: *765 + '400': *768 requestBody: required: true content: @@ -108949,17 +108991,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *782 + - *783 responses: '200': description: Response content: application/scim+json: - schema: *786 + schema: *787 examples: - default: *789 - '404': *787 - '403': *788 + default: *790 + '404': *788 + '403': *789 '304': *37 x-github: githubCloudOnly: true @@ -108983,18 +109025,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *782 + - *783 responses: '200': description: Response content: application/scim+json: - schema: *786 + schema: *787 examples: - default: *789 + default: *790 '304': *37 - '404': *787 - '403': *788 + '404': *788 + '403': *789 requestBody: required: true content: @@ -109107,19 +109149,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *782 + - *783 responses: '200': description: Response content: application/scim+json: - schema: *786 + schema: *787 examples: - default: *789 + default: *790 '304': *37 - '404': *787 - '403': *788 - '400': *767 + '404': *788 + '403': *789 + '400': *768 '429': description: Response content: @@ -109210,12 +109252,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *782 + - *783 responses: '204': description: Response - '404': *787 - '403': *788 + '404': *788 + '403': *789 '304': *37 x-github: githubCloudOnly: true @@ -109348,7 +109390,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &790 + text_matches: &791 title: Search Result Text Matches type: array items: @@ -109511,7 +109553,7 @@ paths: enum: - author-date - committer-date - - &791 + - &792 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 @@ -109582,7 +109624,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *515 + properties: *517 nullable: true comment_count: type: integer @@ -109602,7 +109644,7 @@ paths: url: type: string format: uri - verification: *639 + verification: *640 required: - author - committer @@ -109621,7 +109663,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *515 + properties: *517 nullable: true parents: type: array @@ -109639,7 +109681,7 @@ paths: type: number node_id: type: string - text_matches: *790 + text_matches: *791 required: - sha - node_id @@ -109832,7 +109874,7 @@ paths: - interactions - created - updated - - *791 + - *792 - *17 - *19 - name: advanced_search @@ -109929,11 +109971,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: type: string state_reason: @@ -109950,8 +109992,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *404 - required: *405 + properties: *406 + required: *407 nullable: true comments: type: integer @@ -109965,7 +110007,7 @@ paths: type: string format: date-time nullable: true - text_matches: *790 + text_matches: *791 pull_request: type: object properties: @@ -110009,7 +110051,7 @@ paths: timeline_url: type: string format: uri - type: *369 + type: *371 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -110190,7 +110232,7 @@ paths: enum: - created - updated - - *791 + - *792 - *17 - *19 responses: @@ -110234,7 +110276,7 @@ paths: nullable: true score: type: number - text_matches: *790 + text_matches: *791 required: - id - node_id @@ -110320,7 +110362,7 @@ paths: - forks - help-wanted-issues - updated - - *791 + - *792 - *17 - *19 responses: @@ -110559,7 +110601,7 @@ paths: - admin - pull - push - text_matches: *790 + text_matches: *791 temp_clone_token: type: string allow_merge_commit: @@ -110860,7 +110902,7 @@ paths: type: string format: uri nullable: true - text_matches: *790 + text_matches: *791 related: type: array nullable: true @@ -111053,7 +111095,7 @@ paths: - followers - repositories - joined - - *791 + - *792 - *17 - *19 responses: @@ -111157,7 +111199,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *790 + text_matches: *791 blog: type: string nullable: true @@ -111236,7 +111278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &795 + - &796 name: team_id description: The unique identifier of the team. in: path @@ -111248,9 +111290,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '404': *6 x-github: githubCloudOnly: false @@ -111277,7 +111319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *795 + - *796 requestBody: required: true content: @@ -111340,16 +111382,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '201': description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '404': *6 '422': *15 '403': *29 @@ -111377,7 +111419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *795 + - *796 responses: '204': description: Response @@ -111408,7 +111450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *795 + - *796 - *110 - *17 - *19 @@ -111419,9 +111461,9 @@ paths: application/json: schema: type: array - items: *449 + items: *451 examples: - default: *796 + default: *797 headers: Link: *47 x-github: @@ -111450,7 +111492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *795 + - *796 requestBody: required: true content: @@ -111484,9 +111526,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 x-github: triggersNotification: true githubCloudOnly: false @@ -111513,16 +111555,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *795 - - *451 + - *796 + - *453 responses: '200': description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111547,8 +111589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *795 - - *451 + - *796 + - *453 requestBody: required: false content: @@ -111571,9 +111613,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *797 + default: *798 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111598,8 +111640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *795 - - *451 + - *796 + - *453 responses: '204': description: Response @@ -111628,8 +111670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *795 - - *451 + - *796 + - *453 - *110 - *17 - *19 @@ -111640,9 +111682,9 @@ paths: application/json: schema: type: array - items: *452 + items: *454 examples: - default: *798 + default: *799 headers: Link: *47 x-github: @@ -111671,8 +111713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *795 - - *451 + - *796 + - *453 requestBody: required: true content: @@ -111694,9 +111736,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *453 + default: *455 x-github: triggersNotification: true githubCloudOnly: false @@ -111723,17 +111765,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *795 - - *451 - - *454 + - *796 + - *453 + - *456 responses: '200': description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *453 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111758,9 +111800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *795 - - *451 - - *454 + - *796 + - *453 + - *456 requestBody: required: true content: @@ -111782,9 +111824,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *799 + default: *800 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111809,9 +111851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *795 - - *451 - - *454 + - *796 + - *453 + - *456 responses: '204': description: Response @@ -111840,9 +111882,9 @@ 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: - - *795 - - *451 - - *454 + - *796 + - *453 + - *456 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -111868,9 +111910,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 x-github: @@ -111899,9 +111941,9 @@ 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: - - *795 - - *451 - - *454 + - *796 + - *453 + - *456 requestBody: required: true content: @@ -111933,9 +111975,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111961,8 +112003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *795 - - *451 + - *796 + - *453 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -111988,9 +112030,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *457 + default: *459 headers: Link: *47 x-github: @@ -112019,8 +112061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *795 - - *451 + - *796 + - *453 requestBody: required: true content: @@ -112052,9 +112094,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112078,7 +112120,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *795 + - *796 - *17 - *19 responses: @@ -112088,9 +112130,9 @@ paths: application/json: schema: type: array - items: *366 + items: *368 examples: - default: *367 + default: *369 headers: Link: *47 x-github: @@ -112116,7 +112158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *795 + - *796 - name: role description: Filters members returned by their role in the team. in: query @@ -112167,7 +112209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *795 + - *796 - *142 responses: '204': @@ -112204,7 +112246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *795 + - *796 - *142 responses: '204': @@ -112244,7 +112286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *795 + - *796 - *142 responses: '204': @@ -112281,16 +112323,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *795 + - *796 - *142 responses: '200': description: Response content: application/json: - schema: *463 + schema: *465 examples: - response-if-user-is-a-team-maintainer: *800 + response-if-user-is-a-team-maintainer: *801 '404': *6 x-github: githubCloudOnly: false @@ -112323,7 +112365,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: - - *795 + - *796 - *142 requestBody: required: false @@ -112349,9 +112391,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *465 examples: - response-if-users-membership-with-team-is-now-pending: *801 + response-if-users-membership-with-team-is-now-pending: *802 '403': description: Forbidden if team synchronization is set up '422': @@ -112385,7 +112427,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: - - *795 + - *796 - *142 responses: '204': @@ -112413,7 +112455,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *795 + - *796 - *17 - *19 responses: @@ -112425,7 +112467,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 '404': *6 @@ -112455,15 +112497,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *795 - - *464 - - *465 + - *796 + - *466 + - *467 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *802 + schema: *803 examples: alternative-response-with-extra-repository-information: value: @@ -112614,9 +112656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *795 - - *464 - - *465 + - *796 + - *466 + - *467 requestBody: required: false content: @@ -112666,9 +112708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *795 - - *464 - - *465 + - *796 + - *466 + - *467 responses: '204': description: Response @@ -112697,15 +112739,15 @@ 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: - - *795 + - *796 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *467 + default: *469 '403': *29 '404': *6 x-github: @@ -112732,7 +112774,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: - - *795 + - *796 requestBody: required: true content: @@ -112789,7 +112831,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -112820,7 +112862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *795 + - *796 - *17 - *19 responses: @@ -112832,7 +112874,7 @@ paths: type: array items: *312 examples: - response-if-child-teams-exist: *803 + response-if-child-teams-exist: *804 headers: Link: *47 '404': *6 @@ -112865,7 +112907,7 @@ paths: application/json: schema: oneOf: - - &805 + - &806 title: Private User description: Private User type: object @@ -113068,7 +113110,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *804 + - *805 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113221,7 +113263,7 @@ paths: description: Response content: application/json: - schema: *805 + schema: *806 examples: default: value: @@ -113424,9 +113466,9 @@ paths: type: integer codespaces: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 '304': *37 '500': *40 '401': *25 @@ -113565,17 +113607,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '401': *25 '403': *29 '404': *6 @@ -113619,7 +113661,7 @@ paths: type: integer secrets: type: array - items: &806 + items: &807 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113659,7 +113701,7 @@ paths: - visibility - selected_repositories_url examples: - default: *568 + default: *570 headers: Link: *47 x-github: @@ -113735,7 +113777,7 @@ paths: description: Response content: application/json: - schema: *806 + schema: *807 examples: default: value: @@ -113881,7 +113923,7 @@ paths: type: array items: *283 examples: - default: *807 + default: *808 '401': *25 '403': *29 '404': *6 @@ -114025,15 +114067,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '304': *37 '500': *40 '401': *25 @@ -114059,7 +114101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 requestBody: required: false content: @@ -114089,9 +114131,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '401': *25 '403': *29 '404': *6 @@ -114113,7 +114155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 responses: '202': *39 '304': *37 @@ -114142,13 +114184,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 responses: '202': description: Response content: application/json: - schema: &808 + schema: &809 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114189,7 +114231,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &809 + default: &810 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114221,7 +114263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *376 + - *378 - name: export_id in: path required: true @@ -114234,9 +114276,9 @@ paths: description: Response content: application/json: - schema: *808 + schema: *809 examples: - default: *809 + default: *810 '404': *6 x-github: githubCloudOnly: false @@ -114257,7 +114299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *376 + - *378 responses: '200': description: Response @@ -114273,9 +114315,9 @@ paths: type: integer machines: type: array - items: *810 + items: *811 examples: - default: *811 + default: *812 '304': *37 '500': *40 '401': *25 @@ -114304,7 +114346,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *376 + - *378 requestBody: required: true content: @@ -114354,13 +114396,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *469 + repository: *471 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *566 - required: *567 + properties: *568 + required: *569 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -115134,15 +115176,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '304': *37 '500': *40 '400': *14 @@ -115174,15 +115216,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *376 + - *378 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *565 + default: *567 '500': *40 '401': *25 '403': *29 @@ -115212,9 +115254,9 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: - default: &822 + default: &823 value: - id: 197 name: hello_docker @@ -115315,7 +115357,7 @@ paths: application/json: schema: type: array - items: &812 + items: &813 title: Email description: Email type: object @@ -115380,9 +115422,9 @@ paths: application/json: schema: type: array - items: *812 + items: *813 examples: - default: &824 + default: &825 value: - email: octocat@github.com verified: true @@ -115457,7 +115499,7 @@ paths: application/json: schema: type: array - items: *812 + items: *813 examples: default: value: @@ -115713,7 +115755,7 @@ paths: application/json: schema: type: array - items: &813 + items: &814 title: GPG Key description: A unique encryption key type: object @@ -115844,7 +115886,7 @@ paths: - subkeys - revoked examples: - default: &838 + default: &839 value: - id: 3 name: Octocat's GPG Key @@ -115929,9 +115971,9 @@ paths: description: Response content: application/json: - schema: *813 + schema: *814 examples: - default: &814 + default: &815 value: id: 3 name: Octocat's GPG Key @@ -115988,7 +116030,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: - - &815 + - &816 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116000,9 +116042,9 @@ paths: description: Response content: application/json: - schema: *813 + schema: *814 examples: - default: *814 + default: *815 '404': *6 '304': *37 '403': *29 @@ -116025,7 +116067,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: - - *815 + - *816 responses: '204': description: Response @@ -116301,12 +116343,12 @@ paths: application/json: schema: anyOf: - - *364 + - *366 - type: object properties: {} additionalProperties: false examples: - default: *365 + default: *367 '204': description: Response when there are no restrictions x-github: @@ -116330,7 +116372,7 @@ paths: required: true content: application/json: - schema: *650 + schema: *651 examples: default: value: @@ -116341,7 +116383,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: default: value: @@ -116422,7 +116464,7 @@ paths: - closed - all default: open - - *372 + - *374 - name: sort description: What to sort results by. in: query @@ -116447,7 +116489,7 @@ paths: type: array items: *220 examples: - default: *373 + default: *375 headers: Link: *47 '404': *6 @@ -116480,7 +116522,7 @@ paths: application/json: schema: type: array - items: &816 + items: &817 title: Key description: Key type: object @@ -116581,9 +116623,9 @@ paths: description: Response content: application/json: - schema: *816 + schema: *817 examples: - default: &817 + default: &818 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116616,15 +116658,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: - - *679 + - *680 responses: '200': description: Response content: application/json: - schema: *816 + schema: *817 examples: - default: *817 + default: *818 '404': *6 '304': *37 '403': *29 @@ -116647,7 +116689,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: - - *679 + - *680 responses: '204': description: Response @@ -116680,7 +116722,7 @@ paths: application/json: schema: type: array - items: &818 + items: &819 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116748,7 +116790,7 @@ paths: - account - plan examples: - default: &819 + default: &820 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116810,9 +116852,9 @@ paths: application/json: schema: type: array - items: *818 + items: *819 examples: - default: *819 + default: *820 headers: Link: *47 '304': *37 @@ -116852,7 +116894,7 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: default: value: @@ -116960,7 +117002,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: default: value: @@ -117043,7 +117085,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: default: value: @@ -117111,7 +117153,7 @@ paths: application/json: schema: type: array - items: *379 + items: *381 examples: default: value: @@ -117364,7 +117406,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -117544,7 +117586,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *380 + - *382 - name: exclude in: query required: false @@ -117557,7 +117599,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -117751,7 +117793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *380 + - *382 responses: '302': description: Response @@ -117777,7 +117819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *380 + - *382 responses: '204': description: Response @@ -117806,8 +117848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *380 - - *820 + - *382 + - *821 responses: '204': description: Response @@ -117831,7 +117873,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *380 + - *382 - *17 - *19 responses: @@ -117843,7 +117885,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 '404': *6 @@ -117922,7 +117964,7 @@ paths: - docker - nuget - container - - *821 + - *822 - *19 - *17 responses: @@ -117932,10 +117974,10 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: - default: *822 - '400': *823 + default: *823 + '400': *824 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117955,16 +117997,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 + - *390 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: &839 + default: &840 value: id: 40201 name: octo-name @@ -118077,8 +118119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 + - *390 responses: '204': description: Response @@ -118108,8 +118150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 + - *390 - name: token description: package token schema: @@ -118141,8 +118183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *387 - - *388 + - *389 + - *390 - *19 - *17 - name: state @@ -118162,7 +118204,7 @@ paths: application/json: schema: type: array - items: *389 + items: *391 examples: default: value: @@ -118211,15 +118253,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 - *390 + - *392 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: default: value: @@ -118255,9 +118297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 - *390 + - *392 responses: '204': description: Response @@ -118287,9 +118329,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *387 - - *388 + - *389 - *390 + - *392 responses: '204': description: Response @@ -118326,9 +118368,9 @@ paths: application/json: schema: type: array - items: *812 + items: *813 examples: - default: *824 + default: *825 headers: Link: *47 '304': *37 @@ -118441,7 +118483,7 @@ paths: type: array items: *78 examples: - default: &831 + default: &832 summary: Default response value: - id: 1296269 @@ -118745,9 +118787,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *471 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -118785,9 +118827,9 @@ paths: application/json: schema: type: array - items: *652 + items: *653 examples: - default: *825 + default: *826 headers: Link: *47 '304': *37 @@ -118810,7 +118852,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *368 + - *370 responses: '204': description: Response @@ -118833,7 +118875,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *368 + - *370 responses: '204': description: Response @@ -118866,7 +118908,7 @@ paths: application/json: schema: type: array - items: &826 + items: &827 title: Social account description: Social media account type: object @@ -118881,7 +118923,7 @@ paths: - provider - url examples: - default: &827 + default: &828 value: - provider: twitter url: https://twitter.com/github @@ -118943,9 +118985,9 @@ paths: application/json: schema: type: array - items: *826 + items: *827 examples: - default: *827 + default: *828 '422': *15 '304': *37 '404': *6 @@ -119032,7 +119074,7 @@ paths: application/json: schema: type: array - items: &828 + items: &829 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119052,7 +119094,7 @@ paths: - title - created_at examples: - default: &852 + default: &853 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119116,9 +119158,9 @@ paths: description: Response content: application/json: - schema: *828 + schema: *829 examples: - default: &829 + default: &830 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119148,7 +119190,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: - - &830 + - &831 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119160,9 +119202,9 @@ paths: description: Response content: application/json: - schema: *828 + schema: *829 examples: - default: *829 + default: *830 '404': *6 '304': *37 '403': *29 @@ -119185,7 +119227,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: - - *830 + - *831 responses: '204': description: Response @@ -119214,7 +119256,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: - - &853 + - &854 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 @@ -119239,11 +119281,11 @@ paths: type: array items: *78 examples: - default-response: *831 + default-response: *832 application/vnd.github.v3.star+json: schema: type: array - items: &854 + items: &855 title: Starred Repository description: Starred Repository type: object @@ -119399,8 +119441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response if this repository is starred by you @@ -119428,8 +119470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -119453,8 +119495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -119489,7 +119531,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 '304': *37 @@ -119526,7 +119568,7 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: default: value: @@ -119612,10 +119654,10 @@ paths: application/json: schema: oneOf: + - *806 - *805 - - *804 examples: - default-response: &833 + default-response: &834 summary: Default response value: login: octocat @@ -119650,7 +119692,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &834 + response-with-git-hub-plan-information: &835 summary: Response with GitHub plan information value: login: octocat @@ -119713,7 +119755,7 @@ paths: required: true schema: type: string - - *403 + - *405 requestBody: required: true description: Details of the draft item to create in the project. @@ -119747,9 +119789,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - draft_issue: *410 + draft_issue: *412 '304': *37 '403': *29 '401': *25 @@ -119772,7 +119814,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *832 + - *833 - *17 responses: '200': @@ -119821,11 +119863,11 @@ paths: application/json: schema: oneOf: + - *806 - *805 - - *804 examples: - default-response: *833 - response-with-git-hub-plan-information: *834 + default-response: *834 + response-with-git-hub-plan-information: *835 '404': *6 x-github: githubCloudOnly: false @@ -119875,8 +119917,8 @@ paths: required: - subject_digests examples: - default: *835 - withPredicateType: *836 + default: *836 + withPredicateType: *837 responses: '200': description: Response @@ -119929,7 +119971,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *837 + default: *838 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120134,7 +120176,7 @@ paths: initiator: type: string examples: - default: *511 + default: *513 '201': description: Response content: @@ -120173,9 +120215,9 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: - default: *822 + default: *823 '403': *29 '401': *25 x-github: @@ -120559,9 +120601,9 @@ paths: application/json: schema: type: array - items: *813 + items: *814 examples: - default: *838 + default: *839 headers: Link: *47 x-github: @@ -120665,7 +120707,7 @@ paths: application/json: schema: *22 examples: - default: *649 + default: *650 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120789,7 +120831,7 @@ paths: - docker - nuget - container - - *821 + - *822 - *142 - *19 - *17 @@ -120800,12 +120842,12 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: - default: *822 + default: *823 '403': *29 '401': *25 - '400': *823 + '400': *824 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120825,17 +120867,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *387 - - *388 + - *389 + - *390 - *142 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *839 + default: *840 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120856,8 +120898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *387 - - *388 + - *389 + - *390 - *142 responses: '204': @@ -120890,8 +120932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *387 - - *388 + - *389 + - *390 - *142 - name: token description: package token @@ -120924,8 +120966,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *387 - - *388 + - *389 + - *390 - *142 responses: '200': @@ -120934,7 +120976,7 @@ paths: application/json: schema: type: array - items: *389 + items: *391 examples: default: value: @@ -120992,16 +121034,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *387 - - *388 + - *389 - *390 + - *392 - *142 responses: '200': description: Response content: application/json: - schema: *389 + schema: *391 examples: default: value: @@ -121036,10 +121078,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *387 - - *388 - - *142 + - *389 - *390 + - *142 + - *392 responses: '204': description: Response @@ -121071,10 +121113,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *387 - - *388 - - *142 + - *389 - *390 + - *142 + - *392 responses: '204': description: Response @@ -121115,9 +121157,9 @@ paths: application/json: schema: type: array - items: *401 + items: *403 examples: - default: *402 + default: *404 headers: Link: *47 '304': *37 @@ -121139,16 +121181,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *403 + - *405 - *142 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 headers: Link: *47 '304': *37 @@ -121170,7 +121212,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *403 + - *405 - *142 - *17 - *108 @@ -121182,9 +121224,9 @@ paths: application/json: schema: type: array - items: *407 + items: *409 examples: - default: *840 + default: *841 headers: Link: *47 '304': *37 @@ -121206,7 +121248,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *142 - - *403 + - *405 requestBody: required: true content: @@ -121244,7 +121286,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *841 + items: *842 required: - name - data_type @@ -121260,7 +121302,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *842 + iteration_configuration: *843 required: - name - data_type @@ -121282,20 +121324,20 @@ paths: value: name: Due date data_type: date - single_select_field: *843 - iteration_field: *844 + single_select_field: *844 + iteration_field: *845 responses: '201': description: Response content: application/json: - schema: *407 + schema: *409 examples: - text_field: *845 - number_field: *846 - date_field: *847 - single_select_field: *848 - iteration_field: *849 + text_field: *846 + number_field: *847 + date_field: *848 + single_select_field: *849 + iteration_field: *850 '304': *37 '403': *29 '401': *25 @@ -121316,17 +121358,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *403 - - *850 + - *405 + - *851 - *142 responses: '200': description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: *851 + default: *852 headers: Link: *47 '304': *37 @@ -121349,7 +121391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *403 + - *405 - *142 - *108 - *109 @@ -121382,9 +121424,9 @@ paths: application/json: schema: type: array - items: *411 + items: *413 examples: - default: *412 + default: *414 headers: Link: *47 '304': *37 @@ -121406,7 +121448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *142 - - *403 + - *405 requestBody: required: true description: Details of the item to add to the project. @@ -121443,10 +121485,10 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - issue: *410 - pull_request: *410 + issue: *412 + pull_request: *412 '304': *37 '403': *29 '401': *25 @@ -121466,9 +121508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *403 + - *405 - *142 - - *413 + - *415 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -121488,9 +121530,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 headers: Link: *47 '304': *37 @@ -121511,9 +121553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *403 + - *405 - *142 - - *413 + - *415 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121583,13 +121625,13 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - text_field: *412 - number_field: *412 - date_field: *412 - single_select_field: *412 - iteration_field: *412 + text_field: *414 + number_field: *414 + date_field: *414 + single_select_field: *414 + iteration_field: *414 '401': *25 '403': *29 '404': *6 @@ -121609,9 +121651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *403 + - *405 - *142 - - *413 + - *415 responses: '204': description: Response @@ -121831,7 +121873,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -121861,9 +121903,9 @@ paths: application/json: schema: type: array - items: *826 + items: *827 examples: - default: *827 + default: *828 headers: Link: *47 x-github: @@ -121893,9 +121935,9 @@ paths: application/json: schema: type: array - items: *828 + items: *829 examples: - default: *852 + default: *853 headers: Link: *47 x-github: @@ -121920,7 +121962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *142 - - *853 + - *854 - *110 - *17 - *19 @@ -121932,11 +121974,11 @@ paths: schema: anyOf: - type: array - items: *854 + items: *855 - type: array items: *78 examples: - default-response: *831 + default-response: *832 headers: Link: *47 x-github: @@ -121967,7 +122009,7 @@ paths: type: array items: *283 examples: - default: *391 + default: *393 headers: Link: *47 x-github: @@ -122095,7 +122137,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &855 + enterprise: &856 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122153,7 +122195,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &856 + installation: &857 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122172,7 +122214,7 @@ x-webhooks: required: - id - node_id - organization: &857 + organization: &858 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122232,13 +122274,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &858 + repository: &859 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &895 + properties: &896 id: description: Unique identifier of the repository example: 42 @@ -122921,7 +122963,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &896 + required: &897 - archive_url - assignees_url - blobs_url @@ -123072,10 +123114,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -123151,11 +123193,11 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - rule: &859 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: &860 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) @@ -123378,11 +123420,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - rule: *859 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: *860 sender: *4 required: - action @@ -123565,11 +123607,11 @@ x-webhooks: - everyone required: - from - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - rule: *859 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: *860 sender: *4 required: - action @@ -123642,7 +123684,7 @@ x-webhooks: required: true content: application/json: - schema: &879 + schema: &880 title: Exemption request cancellation event type: object properties: @@ -123650,11 +123692,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - exemption_request: &860 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: &861 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -123923,7 +123965,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &861 + items: &862 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124033,7 +124075,7 @@ x-webhooks: required: true content: application/json: - schema: &880 + schema: &881 title: Exemption request completed event type: object properties: @@ -124041,11 +124083,11 @@ x-webhooks: type: string enum: - completed - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - exemption_request: *860 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 sender: *4 required: - action @@ -124117,7 +124159,7 @@ x-webhooks: required: true content: application/json: - schema: &877 + schema: &878 title: Exemption request created event type: object properties: @@ -124125,11 +124167,11 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - exemption_request: *860 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 sender: *4 required: - action @@ -124201,7 +124243,7 @@ x-webhooks: required: true content: application/json: - schema: &881 + schema: &882 title: Exemption response dismissed event type: object properties: @@ -124209,12 +124251,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - exemption_request: *860 - exemption_response: *861 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 + exemption_response: *862 sender: *4 required: - action @@ -124288,7 +124330,7 @@ x-webhooks: required: true content: application/json: - schema: &878 + schema: &879 title: Exemption response submitted event type: object properties: @@ -124296,12 +124338,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - exemption_request: *860 - exemption_response: *861 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 + exemption_response: *862 sender: *4 required: - action @@ -124385,7 +124427,7 @@ x-webhooks: type: string enum: - completed - check_run: &863 + check_run: &864 title: CheckRun description: A check performed on the code of a given code change type: object @@ -124476,7 +124518,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *862 + deployment: *863 details_url: example: https://example.com type: string @@ -124561,10 +124603,10 @@ x-webhooks: - output - app - pull_requests - installation: *856 - enterprise: *855 - organization: *857 - repository: *858 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -124957,11 +124999,11 @@ x-webhooks: type: string enum: - created - check_run: *863 - installation: *856 - enterprise: *855 - organization: *857 - repository: *858 + check_run: *864 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -125357,11 +125399,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *863 - installation: *856 - enterprise: *855 - organization: *857 - repository: *858 + check_run: *864 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 requested_action: description: The action requested by the user. type: object @@ -125766,11 +125808,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *863 - installation: *856 - enterprise: *855 - organization: *857 - repository: *858 + check_run: *864 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -126747,10 +126789,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -127444,10 +127486,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -128135,10 +128177,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -128304,7 +128346,7 @@ x-webhooks: required: - login - id - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128449,20 +128491,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &864 + commit_oid: &865 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: *855 - installation: *856 - organization: *857 - ref: &865 + enterprise: *856 + installation: *857 + organization: *858 + ref: &866 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: *858 + repository: *859 sender: *4 required: - action @@ -128627,7 +128669,7 @@ x-webhooks: required: - login - id - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128857,12 +128899,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *864 - enterprise: *855 - installation: *856 - organization: *857 - ref: *865 - repository: *858 + commit_oid: *865 + enterprise: *856 + installation: *857 + organization: *858 + ref: *866 + repository: *859 sender: *4 required: - action @@ -128957,7 +128999,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129128,12 +129170,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *864 - enterprise: *855 - installation: *856 - organization: *857 - ref: *865 - repository: *858 + commit_oid: *865 + enterprise: *856 + installation: *857 + organization: *858 + ref: *866 + repository: *859 sender: *4 required: - action @@ -129299,7 +129341,7 @@ x-webhooks: required: - login - id - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129465,12 +129507,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *864 - enterprise: *855 - installation: *856 - organization: *857 - ref: *865 - repository: *858 + commit_oid: *865 + enterprise: *856 + installation: *857 + organization: *858 + ref: *866 + repository: *859 sender: *4 required: - action @@ -129569,7 +129611,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129744,16 +129786,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *858 + repository: *859 sender: *4 required: - action @@ -129850,7 +129892,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *540 + dismissed_comment: *542 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129990,12 +130032,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *864 - enterprise: *855 - installation: *856 - organization: *857 - ref: *865 - repository: *858 + commit_oid: *865 + enterprise: *856 + installation: *857 + organization: *858 + ref: *866 + repository: *859 sender: *4 required: - action @@ -130252,10 +130294,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -130335,18 +130377,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *857 - pusher_type: &866 + organization: *858 + pusher_type: &867 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &867 + ref: &868 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -130356,7 +130398,7 @@ x-webhooks: enum: - tag - branch - repository: *858 + repository: *859 sender: *4 required: - ref @@ -130439,9 +130481,9 @@ x-webhooks: enum: - created definition: *156 - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130526,9 +130568,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130606,9 +130648,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *156 - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130686,9 +130728,9 @@ x-webhooks: enum: - updated definition: *156 - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130765,10 +130807,10 @@ x-webhooks: type: string enum: - updated - enterprise: *855 - installation: *856 - repository: *858 - organization: *857 + enterprise: *856 + installation: *857 + repository: *859 + organization: *858 sender: *4 new_property_values: type: array @@ -130853,18 +130895,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *855 - installation: *856 - organization: *857 - pusher_type: *866 - ref: *867 + enterprise: *856 + installation: *857 + organization: *858 + pusher_type: *867 + ref: *868 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *858 + repository: *859 sender: *4 required: - ref @@ -130948,11 +130990,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131036,11 +131078,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131124,11 +131166,11 @@ x-webhooks: type: string enum: - created - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131210,11 +131252,11 @@ x-webhooks: type: string enum: - dismissed - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131296,11 +131338,11 @@ x-webhooks: type: string enum: - fixed - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131383,11 +131425,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131469,11 +131511,11 @@ x-webhooks: type: string enum: - reopened - alert: *597 - installation: *856 - organization: *857 - enterprise: *855 - repository: *858 + alert: *599 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -131550,9 +131592,9 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - key: &868 + enterprise: *856 + installation: *857 + key: &869 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131588,8 +131630,8 @@ x-webhooks: - verified - created_at - read_only - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -131666,11 +131708,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - key: *868 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + key: *869 + organization: *858 + repository: *859 sender: *4 required: - action @@ -132231,12 +132273,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: &872 + workflow: &873 title: Workflow type: object nullable: true @@ -132962,13 +133004,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *603 + deployment: *605 pull_requests: type: array - items: *700 - repository: *858 - organization: *857 - installation: *856 + items: *701 + repository: *859 + organization: *858 + installation: *857 sender: *4 responses: '200': @@ -133039,7 +133081,7 @@ x-webhooks: type: string enum: - approved - approver: &869 + approver: &870 type: object properties: avatar_url: @@ -133082,11 +133124,11 @@ x-webhooks: type: string comment: type: string - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - reviewers: &870 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + reviewers: &871 type: array items: type: object @@ -133165,7 +133207,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &871 + workflow_job_run: &872 type: object properties: conclusion: @@ -133896,18 +133938,18 @@ x-webhooks: type: string enum: - rejected - approver: *869 + approver: *870 comment: type: string - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - reviewers: *870 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + reviewers: *871 sender: *4 since: type: string - workflow_job_run: *871 + workflow_job_run: *872 workflow_job_runs: type: array items: @@ -134611,13 +134653,13 @@ x-webhooks: type: string enum: - requested - enterprise: *855 + enterprise: *856 environment: type: string - installation: *856 - organization: *857 - repository: *858 - requestor: &882 + installation: *857 + organization: *858 + repository: *859 + requestor: &883 title: User type: object nullable: true @@ -136516,12 +136558,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *872 + workflow: *873 workflow_run: title: Deployment Workflow Run type: object @@ -137201,7 +137243,7 @@ x-webhooks: type: string enum: - answered - answer: &875 + answer: &876 type: object properties: author_association: @@ -137358,11 +137400,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137489,11 +137531,11 @@ x-webhooks: - from required: - category - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137576,11 +137618,11 @@ x-webhooks: type: string enum: - closed - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137662,7 +137704,7 @@ x-webhooks: type: string enum: - created - comment: &874 + comment: &875 type: object properties: author_association: @@ -137819,11 +137861,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137906,12 +137948,12 @@ x-webhooks: type: string enum: - deleted - comment: *874 - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + comment: *875 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138006,12 +138048,12 @@ x-webhooks: - from required: - body - comment: *874 - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + comment: *875 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138095,11 +138137,11 @@ x-webhooks: type: string enum: - created - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138181,11 +138223,11 @@ x-webhooks: type: string enum: - deleted - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138285,11 +138327,11 @@ x-webhooks: type: string required: - from - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138371,10 +138413,10 @@ x-webhooks: type: string enum: - labeled - discussion: *873 - enterprise: *855 - installation: *856 - label: &876 + discussion: *874 + enterprise: *856 + installation: *857 + label: &877 title: Label type: object properties: @@ -138406,8 +138448,8 @@ x-webhooks: - color - default - description - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138490,11 +138532,11 @@ x-webhooks: type: string enum: - locked - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138576,11 +138618,11 @@ x-webhooks: type: string enum: - pinned - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138662,11 +138704,11 @@ x-webhooks: type: string enum: - reopened - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138751,16 +138793,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *873 - new_repository: *858 + new_discussion: *874 + new_repository: *859 required: - new_discussion - new_repository - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138843,10 +138885,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *873 - old_answer: *875 - organization: *857 - repository: *858 + discussion: *874 + old_answer: *876 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138928,12 +138970,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *873 - enterprise: *855 - installation: *856 - label: *876 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -139016,11 +139058,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -139102,11 +139144,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *873 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + discussion: *874 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -139175,7 +139217,7 @@ x-webhooks: required: true content: application/json: - schema: *877 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139238,7 +139280,7 @@ x-webhooks: required: true content: application/json: - schema: *878 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139301,7 +139343,7 @@ x-webhooks: required: true content: application/json: - schema: *879 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139364,7 +139406,7 @@ x-webhooks: required: true content: application/json: - schema: *877 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139427,7 +139469,7 @@ x-webhooks: required: true content: application/json: - schema: *878 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139493,7 +139535,7 @@ x-webhooks: required: true content: application/json: - schema: *879 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139559,7 +139601,7 @@ x-webhooks: required: true content: application/json: - schema: *880 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139625,7 +139667,7 @@ x-webhooks: required: true content: application/json: - schema: *877 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139691,7 +139733,7 @@ x-webhooks: required: true content: application/json: - schema: *881 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139757,7 +139799,7 @@ x-webhooks: required: true content: application/json: - schema: *878 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139822,7 +139864,7 @@ x-webhooks: required: true content: application/json: - schema: *879 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139887,7 +139929,7 @@ x-webhooks: required: true content: application/json: - schema: *880 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139952,7 +139994,7 @@ x-webhooks: required: true content: application/json: - schema: *877 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140017,7 +140059,7 @@ x-webhooks: required: true content: application/json: - schema: *881 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140083,7 +140125,7 @@ x-webhooks: required: true content: application/json: - schema: *878 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140150,7 +140192,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *855 + enterprise: *856 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -140810,9 +140852,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - forkee @@ -140958,9 +141000,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pages: description: The pages that were updated. type: array @@ -140997,7 +141039,7 @@ x-webhooks: - action - sha - html_url - repository: *858 + repository: *859 sender: *4 required: - pages @@ -141073,10 +141115,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories: &883 + organization: *858 + repositories: &884 description: An array of repository objects that the installation can access. type: array @@ -141102,8 +141144,8 @@ x-webhooks: - name - full_name - private - repository: *858 - requester: *882 + repository: *859 + requester: *883 sender: *4 required: - action @@ -141178,11 +141220,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories: *883 - repository: *858 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -141258,11 +141300,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories: *883 - repository: *858 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -141338,10 +141380,10 @@ x-webhooks: type: string enum: - added - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories_added: &884 + organization: *858 + repositories_added: &885 description: An array of repository objects, which were added to the installation. type: array @@ -141387,15 +141429,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *858 - repository_selection: &885 + repository: *859 + repository_selection: &886 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *882 + requester: *883 sender: *4 required: - action @@ -141474,10 +141516,10 @@ x-webhooks: type: string enum: - removed - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories_added: *884 + organization: *858 + repositories_added: *885 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -141504,9 +141546,9 @@ x-webhooks: - name - full_name - private - repository: *858 - repository_selection: *885 - requester: *882 + repository: *859 + repository_selection: *886 + requester: *883 sender: *4 required: - action @@ -141585,11 +141627,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories: *883 - repository: *858 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -141768,10 +141810,10 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 target_type: type: string @@ -141850,11 +141892,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *855 + enterprise: *856 installation: *22 - organization: *857 - repositories: *883 - repository: *858 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -142106,8 +142148,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142901,8 +142943,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142918,7 +142960,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -143251,8 +143293,8 @@ x-webhooks: - state - locked - assignee - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -143332,7 +143374,7 @@ x-webhooks: type: string enum: - deleted - comment: &886 + comment: &887 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -143497,8 +143539,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144288,8 +144330,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144305,7 +144347,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -144640,8 +144682,8 @@ x-webhooks: - state - locked - assignee - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -144721,7 +144763,7 @@ x-webhooks: type: string enum: - edited - changes: &915 + changes: &916 description: The changes to the comment. type: object properties: @@ -144733,9 +144775,9 @@ x-webhooks: type: string required: - from - comment: *886 - enterprise: *855 - installation: *856 + comment: *887 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145528,8 +145570,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145545,7 +145587,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -145878,8 +145920,8 @@ x-webhooks: - state - locked - assignee - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145969,9 +146011,9 @@ x-webhooks: type: number blocking_issue: *220 blocking_issue_repo: *78 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -146060,9 +146102,9 @@ x-webhooks: type: number blocking_issue: *220 blocking_issue_repo: *78 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -146150,9 +146192,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -146241,9 +146283,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -146323,10 +146365,10 @@ x-webhooks: type: string enum: - assigned - assignee: *882 - enterprise: *855 - installation: *856 - issue: &889 + assignee: *883 + enterprise: *856 + installation: *857 + issue: &890 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147115,11 +147157,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147135,7 +147177,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -147236,8 +147278,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -147317,8 +147359,8 @@ x-webhooks: type: string enum: - closed - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148112,11 +148154,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148132,7 +148174,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -148368,8 +148410,8 @@ x-webhooks: required: - state - closed_at - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -148448,8 +148490,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149234,11 +149276,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149254,7 +149296,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -149354,8 +149396,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -149434,8 +149476,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150242,11 +150284,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150262,7 +150304,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -150341,7 +150383,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &887 + milestone: &888 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150479,8 +150521,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -150579,8 +150621,8 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151369,11 +151411,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151386,7 +151428,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *369 + type: *371 title: description: Title of the issue type: string @@ -151490,9 +151532,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *876 - organization: *857 - repository: *858 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -151572,8 +151614,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152361,11 +152403,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152378,7 +152420,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *369 + type: *371 title: description: Title of the issue type: string @@ -152482,9 +152524,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *876 - organization: *857 - repository: *858 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -152564,8 +152606,8 @@ x-webhooks: type: string enum: - locked - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153377,11 +153419,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153394,7 +153436,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *369 + type: *371 title: description: Title of the issue type: string @@ -153475,8 +153517,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -153555,8 +153597,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154362,11 +154404,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154382,7 +154424,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -154460,9 +154502,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *887 - organization: *857 - repository: *858 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -155330,11 +155372,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155427,7 +155469,7 @@ x-webhooks: required: - login - id - type: *369 + type: *371 required: - id - number @@ -155896,8 +155938,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156686,11 +156728,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156706,7 +156748,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -156806,8 +156848,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -156887,9 +156929,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *855 - installation: *856 - issue: &888 + enterprise: *856 + installation: *857 + issue: &889 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -157672,11 +157714,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157692,7 +157734,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -157792,8 +157834,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -157872,8 +157914,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158683,11 +158725,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158781,9 +158823,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *369 - organization: *857 - repository: *858 + type: *371 + organization: *858 + repository: *859 sender: *4 required: - action @@ -159649,11 +159691,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159669,7 +159711,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -160237,11 +160279,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *855 - installation: *856 - issue: *888 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *889 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160321,12 +160363,12 @@ x-webhooks: type: string enum: - typed - enterprise: *855 - installation: *856 - issue: *889 - type: *369 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *890 + type: *371 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160407,7 +160449,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &918 + assignee: &919 title: User type: object nullable: true @@ -160477,11 +160519,11 @@ x-webhooks: required: - login - id - enterprise: *855 - installation: *856 - issue: *889 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *890 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160560,12 +160602,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *855 - installation: *856 - issue: *889 - label: *876 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *890 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160645,8 +160687,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161456,11 +161498,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *792 - issue_dependencies_summary: *793 + sub_issues_summary: *793 + issue_dependencies_summary: *794 issue_field_values: type: array - items: *794 + items: *795 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161476,7 +161518,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *369 + type: *371 updated_at: type: string format: date-time @@ -161554,8 +161596,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161635,11 +161677,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *855 - installation: *856 - issue: *888 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *889 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161718,12 +161760,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *855 - installation: *856 - issue: *889 - type: *369 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + issue: *890 + type: *371 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161803,11 +161845,11 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - label: *876 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161885,11 +161927,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - label: *876 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161999,11 +162041,11 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - label: *876 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + label: *877 + organization: *858 + repository: *859 sender: *4 required: - action @@ -162085,9 +162127,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *855 - installation: *856 - marketplace_purchase: &890 + enterprise: *856 + installation: *857 + marketplace_purchase: &891 title: Marketplace Purchase type: object required: @@ -162170,8 +162212,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *857 - previous_marketplace_purchase: &891 + organization: *858 + previous_marketplace_purchase: &892 title: Marketplace Purchase type: object properties: @@ -162251,7 +162293,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *858 + repository: *859 sender: *4 required: - action @@ -162331,10 +162373,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *855 - installation: *856 - marketplace_purchase: *890 - organization: *857 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162417,7 +162459,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *858 + repository: *859 sender: *4 required: - action @@ -162499,10 +162541,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *855 - installation: *856 - marketplace_purchase: *890 - organization: *857 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162584,7 +162626,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *858 + repository: *859 sender: *4 required: - action @@ -162665,8 +162707,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 marketplace_purchase: title: Marketplace Purchase type: object @@ -162748,9 +162790,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *857 - previous_marketplace_purchase: *891 - repository: *858 + organization: *858 + previous_marketplace_purchase: *892 + repository: *859 sender: *4 required: - action @@ -162830,12 +162872,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *855 - installation: *856 - marketplace_purchase: *890 - organization: *857 - previous_marketplace_purchase: *891 - repository: *858 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 + previous_marketplace_purchase: *892 + repository: *859 sender: *4 required: - action @@ -162937,11 +162979,11 @@ x-webhooks: type: string required: - to - enterprise: *855 - installation: *856 - member: *882 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163041,11 +163083,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *855 - installation: *856 - member: *882 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163124,11 +163166,11 @@ x-webhooks: type: string enum: - removed - enterprise: *855 - installation: *856 - member: *882 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163206,11 +163248,11 @@ x-webhooks: type: string enum: - added - enterprise: *855 - installation: *856 - member: *882 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163286,7 +163328,7 @@ x-webhooks: required: - login - id - team: &892 + team: &893 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -163509,11 +163551,11 @@ x-webhooks: type: string enum: - removed - enterprise: *855 - installation: *856 - member: *882 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163590,7 +163632,7 @@ x-webhooks: required: - login - id - team: *892 + team: *893 required: - action - scope @@ -163672,8 +163714,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *856 - merge_group: &894 + installation: *857 + merge_group: &895 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -163692,15 +163734,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *893 + head_commit: *894 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163786,10 +163828,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *856 - merge_group: *894 - organization: *857 - repository: *858 + installation: *857 + merge_group: *895 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163862,7 +163904,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 + enterprise: *856 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163971,16 +164013,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *856 - organization: *857 + installation: *857 + organization: *858 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *895 - required: *896 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -164061,11 +164103,11 @@ x-webhooks: type: string enum: - closed - enterprise: *855 - installation: *856 - milestone: *887 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164144,9 +164186,9 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - milestone: &897 + enterprise: *856 + installation: *857 + milestone: &898 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164283,8 +164325,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164363,11 +164405,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - milestone: *887 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164477,11 +164519,11 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - milestone: *887 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164561,11 +164603,11 @@ x-webhooks: type: string enum: - opened - enterprise: *855 - installation: *856 - milestone: *897 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + milestone: *898 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164644,11 +164686,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *882 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + blocked_user: *883 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164727,11 +164769,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *882 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + blocked_user: *883 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164807,7 +164849,7 @@ x-webhooks: enum: - created definition: *150 - enterprise: *855 + enterprise: *856 sender: *4 required: - action @@ -164887,8 +164929,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 sender: *4 required: - action @@ -164961,8 +165003,8 @@ x-webhooks: enum: - updated definition: *150 - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 sender: *4 required: - action @@ -165034,9 +165076,9 @@ x-webhooks: type: string enum: - updated - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 new_property_values: type: array @@ -165124,9 +165166,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - membership: &898 + enterprise: *856 + installation: *857 + membership: &899 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -165233,8 +165275,8 @@ x-webhooks: - role - organization_url - user - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 required: - action @@ -165312,11 +165354,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *855 - installation: *856 - membership: *898 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -165395,8 +165437,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -165512,10 +165554,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 - user: *882 + user: *883 required: - action - invitation @@ -165593,11 +165635,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *855 - installation: *856 - membership: *898 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -165684,11 +165726,11 @@ x-webhooks: properties: from: type: string - enterprise: *855 - installation: *856 - membership: *898 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -165764,9 +165806,9 @@ x-webhooks: type: string enum: - published - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 package: description: Information about the package. type: object @@ -166265,7 +166307,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &899 + items: &900 title: Ruby Gems metadata type: object properties: @@ -166360,7 +166402,7 @@ x-webhooks: - owner - package_version - registry - repository: *858 + repository: *859 sender: *4 required: - action @@ -166436,9 +166478,9 @@ x-webhooks: type: string enum: - updated - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 package: description: Information about the package. type: object @@ -166791,7 +166833,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *899 + items: *900 source_url: type: string format: uri @@ -166861,7 +166903,7 @@ x-webhooks: - owner - package_version - registry - repository: *858 + repository: *859 sender: *4 required: - action @@ -167038,12 +167080,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *855 + enterprise: *856 id: type: integer - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - id @@ -167120,7 +167162,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &900 + personal_access_token_request: &901 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -167266,10 +167308,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *855 - organization: *857 + enterprise: *856 + organization: *858 sender: *4 - installation: *856 + installation: *857 required: - action - personal_access_token_request @@ -167346,11 +167388,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *900 - enterprise: *855 - organization: *857 + personal_access_token_request: *901 + enterprise: *856 + organization: *858 sender: *4 - installation: *856 + installation: *857 required: - action - personal_access_token_request @@ -167426,11 +167468,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *900 - enterprise: *855 - organization: *857 + personal_access_token_request: *901 + enterprise: *856 + organization: *858 sender: *4 - installation: *856 + installation: *857 required: - action - personal_access_token_request @@ -167505,11 +167547,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *900 - organization: *857 - enterprise: *855 + personal_access_token_request: *901 + organization: *858 + enterprise: *856 sender: *4 - installation: *856 + installation: *857 required: - action - personal_access_token_request @@ -167614,7 +167656,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *901 + last_response: *902 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -167646,8 +167688,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 zen: description: Random string of GitHub zen. @@ -167892,10 +167934,10 @@ x-webhooks: - from required: - note - enterprise: *855 - installation: *856 - organization: *857 - project_card: &902 + enterprise: *856 + installation: *857 + organization: *858 + project_card: &903 title: Project Card type: object properties: @@ -168014,7 +168056,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *858 + repository: *859 sender: *4 required: - action @@ -168095,11 +168137,11 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - project_card: *902 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project_card: *903 + repository: *859 sender: *4 required: - action @@ -168179,9 +168221,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 project_card: title: Project Card type: object @@ -168309,8 +168351,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *895 - required: *896 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -168404,11 +168446,11 @@ x-webhooks: - from required: - note - enterprise: *855 - installation: *856 - organization: *857 - project_card: *902 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project_card: *903 + repository: *859 sender: *4 required: - action @@ -168502,9 +168544,9 @@ x-webhooks: - from required: - column_id - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 project_card: allOf: - title: Project Card @@ -168694,7 +168736,7 @@ x-webhooks: type: string required: - after_id - repository: *858 + repository: *859 sender: *4 required: - action @@ -168774,10 +168816,10 @@ x-webhooks: type: string enum: - closed - enterprise: *855 - installation: *856 - organization: *857 - project: &904 + enterprise: *856 + installation: *857 + organization: *858 + project: &905 title: Project type: object properties: @@ -168901,7 +168943,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *858 + repository: *859 sender: *4 required: - action @@ -168981,10 +169023,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - project_column: &903 + enterprise: *856 + installation: *857 + organization: *858 + project_column: &904 title: Project Column type: object properties: @@ -169023,7 +169065,7 @@ x-webhooks: - name - created_at - updated_at - repository: *858 + repository: *859 sender: *4 required: - action @@ -169102,18 +169144,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - project_column: *903 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *895 - required: *896 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -169203,11 +169245,11 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - organization: *857 - project_column: *903 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 + repository: *859 sender: *4 required: - action @@ -169287,11 +169329,11 @@ x-webhooks: type: string enum: - moved - enterprise: *855 - installation: *856 - organization: *857 - project_column: *903 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 + repository: *859 sender: *4 required: - action @@ -169371,11 +169413,11 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - project: *904 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -169455,18 +169497,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - project: *904 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *895 - required: *896 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -169568,11 +169610,11 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - organization: *857 - project: *904 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -169651,11 +169693,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *855 - installation: *856 - organization: *857 - project: *904 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -169736,9 +169778,9 @@ x-webhooks: type: string enum: - closed - installation: *856 - organization: *857 - projects_v2: *401 + installation: *857 + organization: *858 + projects_v2: *403 sender: *4 required: - action @@ -169819,9 +169861,9 @@ x-webhooks: type: string enum: - created - installation: *856 - organization: *857 - projects_v2: *401 + installation: *857 + organization: *858 + projects_v2: *403 sender: *4 required: - action @@ -169902,9 +169944,9 @@ x-webhooks: type: string enum: - deleted - installation: *856 - organization: *857 - projects_v2: *401 + installation: *857 + organization: *858 + projects_v2: *403 sender: *4 required: - action @@ -170021,9 +170063,9 @@ x-webhooks: type: string to: type: string - installation: *856 - organization: *857 - projects_v2: *401 + installation: *857 + organization: *858 + projects_v2: *403 sender: *4 required: - action @@ -170106,7 +170148,7 @@ x-webhooks: type: string enum: - archived - changes: &908 + changes: &909 type: object properties: archived_at: @@ -170120,9 +170162,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *856 - organization: *857 - projects_v2_item: &905 + installation: *857 + organization: *858 + projects_v2_item: &906 title: Projects v2 Item description: An item belonging to a project type: object @@ -170140,7 +170182,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *408 + content_type: *410 creator: *4 created_at: type: string @@ -170257,9 +170299,9 @@ x-webhooks: nullable: true to: type: string - installation: *856 - organization: *857 - projects_v2_item: *905 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170341,9 +170383,9 @@ x-webhooks: type: string enum: - created - installation: *856 - organization: *857 - projects_v2_item: *905 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170424,9 +170466,9 @@ x-webhooks: type: string enum: - deleted - installation: *856 - organization: *857 - projects_v2_item: *905 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170532,7 +170574,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &906 + - &907 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -170554,7 +170596,7 @@ x-webhooks: required: - id - name - - &907 + - &908 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -170588,8 +170630,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *906 - *907 + - *908 required: - field_value - type: object @@ -170605,9 +170647,9 @@ x-webhooks: nullable: true required: - body - installation: *856 - organization: *857 - projects_v2_item: *905 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170702,9 +170744,9 @@ x-webhooks: to: type: string nullable: true - installation: *856 - organization: *857 - projects_v2_item: *905 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170787,10 +170829,10 @@ x-webhooks: type: string enum: - restored - changes: *908 - installation: *856 - organization: *857 - projects_v2_item: *905 + changes: *909 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170872,9 +170914,9 @@ x-webhooks: type: string enum: - reopened - installation: *856 - organization: *857 - projects_v2: *401 + installation: *857 + organization: *858 + projects_v2: *403 sender: *4 required: - action @@ -170955,14 +170997,14 @@ x-webhooks: type: string enum: - created - installation: *856 - organization: *857 - projects_v2_status_update: &911 + installation: *857 + organization: *858 + projects_v2_status_update: &912 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *909 - required: *910 + properties: *910 + required: *911 sender: *4 required: - action @@ -171043,9 +171085,9 @@ x-webhooks: type: string enum: - deleted - installation: *856 - organization: *857 - projects_v2_status_update: *911 + installation: *857 + organization: *858 + projects_v2_status_update: *912 sender: *4 required: - action @@ -171181,9 +171223,9 @@ x-webhooks: type: string format: date nullable: true - installation: *856 - organization: *857 - projects_v2_status_update: *911 + installation: *857 + organization: *858 + projects_v2_status_update: *912 sender: *4 required: - action @@ -171254,10 +171296,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - repository @@ -171334,13 +171376,13 @@ x-webhooks: type: string enum: - assigned - assignee: *882 - enterprise: *855 - installation: *856 - number: &912 + assignee: *883 + enterprise: *856 + installation: *857 + number: &913 description: The pull request number. type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -173623,7 +173665,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -173705,11 +173747,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -175987,7 +176029,7 @@ x-webhooks: - draft reason: type: string - repository: *858 + repository: *859 sender: *4 required: - action @@ -176069,11 +176111,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -178351,7 +178393,7 @@ x-webhooks: - draft reason: type: string - repository: *858 + repository: *859 sender: *4 required: - action @@ -178433,13 +178475,13 @@ x-webhooks: type: string enum: - closed - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: &913 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: &914 allOf: - - *700 + - *701 - type: object properties: allow_auto_merge: @@ -178501,7 +178543,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *858 + repository: *859 sender: *4 required: - action @@ -178582,12 +178624,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: *913 - repository: *858 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -178667,11 +178709,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *855 - milestone: *682 - number: *912 - organization: *857 - pull_request: &914 + enterprise: *856 + milestone: *683 + number: *913 + organization: *858 + pull_request: &915 title: Pull Request type: object properties: @@ -180934,7 +180976,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -181013,11 +181055,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -183299,7 +183341,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *858 + repository: *859 sender: *4 required: - action @@ -183423,12 +183465,12 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: *913 - repository: *858 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -183508,11 +183550,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -185779,7 +185821,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -185859,11 +185901,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *855 - installation: *856 - label: *876 - number: *912 - organization: *857 + enterprise: *856 + installation: *857 + label: *877 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -188145,7 +188187,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -188226,10 +188268,10 @@ x-webhooks: type: string enum: - locked - enterprise: *855 - installation: *856 - number: *912 - organization: *857 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -190509,7 +190551,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -190589,12 +190631,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *855 - milestone: *682 - number: *912 - organization: *857 - pull_request: *914 - repository: *858 + enterprise: *856 + milestone: *683 + number: *913 + organization: *858 + pull_request: *915 + repository: *859 sender: *4 required: - action @@ -190673,12 +190715,12 @@ x-webhooks: type: string enum: - opened - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: *913 - repository: *858 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -190759,12 +190801,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: *913 - repository: *858 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -190844,12 +190886,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *855 - installation: *856 - number: *912 - organization: *857 - pull_request: *913 - repository: *858 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -191215,9 +191257,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -193387,7 +193429,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *858 + repository: *859 sender: *4 required: - action @@ -193467,7 +193509,7 @@ x-webhooks: type: string enum: - deleted - comment: &916 + comment: &917 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. @@ -193752,9 +193794,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -195912,7 +195954,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *858 + repository: *859 sender: *4 required: - action @@ -195992,11 +196034,11 @@ x-webhooks: type: string enum: - edited - changes: *915 - comment: *916 - enterprise: *855 - installation: *856 - organization: *857 + changes: *916 + comment: *917 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -198157,7 +198199,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *858 + repository: *859 sender: *4 required: - action @@ -198238,9 +198280,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -200413,7 +200455,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *858 + repository: *859 review: description: The review that was affected. type: object @@ -200660,9 +200702,9 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -202716,8 +202758,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *858 - review: &917 + repository: *859 + review: &918 description: The review that was affected. type: object properties: @@ -202950,12 +202992,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -205238,7 +205280,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 requested_reviewer: title: User type: object @@ -205322,12 +205364,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -207617,7 +207659,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207809,12 +207851,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -210099,7 +210141,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 requested_reviewer: title: User type: object @@ -210184,12 +210226,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *855 - installation: *856 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *857 + organization: *858 pull_request: title: Pull Request type: object @@ -212465,7 +212507,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212646,9 +212688,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -214823,8 +214865,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *858 - review: *917 + repository: *859 + review: *918 sender: *4 required: - action @@ -214904,9 +214946,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -216976,7 +217018,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *858 + repository: *859 sender: *4 thread: type: object @@ -217363,9 +217405,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -219421,7 +219463,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *858 + repository: *859 sender: *4 thread: type: object @@ -219811,10 +219853,10 @@ x-webhooks: type: string before: type: string - enterprise: *855 - installation: *856 - number: *912 - organization: *857 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -222085,7 +222127,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -222167,11 +222209,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *918 - enterprise: *855 - installation: *856 - number: *912 - organization: *857 + assignee: *919 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -224454,7 +224496,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -224533,11 +224575,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *855 - installation: *856 - label: *876 - number: *912 - organization: *857 + enterprise: *856 + installation: *857 + label: *877 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -226810,7 +226852,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -226891,10 +226933,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *855 - installation: *856 - number: *912 - organization: *857 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -229159,7 +229201,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *858 + repository: *859 sender: *4 required: - action @@ -229359,7 +229401,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *855 + enterprise: *856 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -229451,8 +229493,8 @@ x-webhooks: - url - author - committer - installation: *856 - organization: *857 + installation: *857 + organization: *858 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -230027,9 +230069,9 @@ x-webhooks: type: string enum: - published - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 registry_package: type: object properties: @@ -230475,7 +230517,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *899 + items: *900 summary: type: string tag_name: @@ -230529,7 +230571,7 @@ x-webhooks: - owner - package_version - registry - repository: *858 + repository: *859 sender: *4 required: - action @@ -230607,9 +230649,9 @@ x-webhooks: type: string enum: - updated - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 registry_package: type: object properties: @@ -230917,7 +230959,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *899 + items: *900 summary: type: string tag_name: @@ -230966,7 +231008,7 @@ x-webhooks: - owner - package_version - registry - repository: *858 + repository: *859 sender: *4 required: - action @@ -231043,10 +231085,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - release: &919 + enterprise: *856 + installation: *857 + organization: *858 + release: &920 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231364,7 +231406,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *858 + repository: *859 sender: *4 required: - action @@ -231441,11 +231483,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - release: *919 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -231562,11 +231604,11 @@ x-webhooks: type: boolean required: - to - enterprise: *855 - installation: *856 - organization: *857 - release: *919 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -231644,9 +231686,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231968,7 +232010,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *858 + repository: *859 sender: *4 required: - action @@ -232044,10 +232086,10 @@ x-webhooks: type: string enum: - published - enterprise: *855 - installation: *856 - organization: *857 - release: &920 + enterprise: *856 + installation: *857 + organization: *858 + release: &921 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -232366,7 +232408,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *858 + repository: *859 sender: *4 required: - action @@ -232442,11 +232484,11 @@ x-webhooks: type: string enum: - released - enterprise: *855 - installation: *856 - organization: *857 - release: *919 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -232522,11 +232564,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *855 - installation: *856 - organization: *857 - release: *920 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + release: *921 + repository: *859 sender: *4 required: - action @@ -232602,11 +232644,11 @@ x-webhooks: type: string enum: - published - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - repository_advisory: *752 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + repository_advisory: *753 sender: *4 required: - action @@ -232682,11 +232724,11 @@ x-webhooks: type: string enum: - reported - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - repository_advisory: *752 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + repository_advisory: *753 sender: *4 required: - action @@ -232762,10 +232804,10 @@ x-webhooks: type: string enum: - archived - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232842,10 +232884,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232923,10 +232965,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233010,10 +233052,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233125,10 +233167,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233200,10 +233242,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 status: type: string @@ -233284,10 +233326,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233364,10 +233406,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233461,10 +233503,10 @@ x-webhooks: - name required: - repository - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233544,10 +233586,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *190 sender: *4 required: @@ -233626,10 +233668,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *190 sender: *4 required: @@ -233708,10 +233750,10 @@ x-webhooks: type: string enum: - edited - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *190 changes: type: object @@ -233773,16 +233815,16 @@ x-webhooks: properties: added: type: array - items: *720 + items: *721 deleted: type: array - items: *720 + items: *721 updated: type: array items: type: object properties: - rule: *720 + rule: *721 changes: type: object properties: @@ -234016,10 +234058,10 @@ x-webhooks: - from required: - owner - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234097,10 +234139,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234178,7 +234220,7 @@ x-webhooks: type: string enum: - create - alert: &921 + alert: &922 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -234299,10 +234341,10 @@ x-webhooks: type: string enum: - open - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234508,10 +234550,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234589,11 +234631,11 @@ x-webhooks: type: string enum: - reopen - alert: *921 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *922 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234792,10 +234834,10 @@ x-webhooks: enum: - fixed - open - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234873,7 +234915,7 @@ x-webhooks: type: string enum: - assigned - alert: &922 + alert: &923 type: object properties: number: *127 @@ -234992,10 +235034,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235073,11 +235115,11 @@ x-webhooks: type: string enum: - created - alert: *922 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235158,11 +235200,11 @@ x-webhooks: type: string enum: - created - alert: *922 - installation: *856 - location: *923 - organization: *857 - repository: *858 + alert: *923 + installation: *857 + location: *924 + organization: *858 + repository: *859 sender: *4 required: - location @@ -235400,11 +235442,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *922 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235482,11 +235524,11 @@ x-webhooks: type: string enum: - reopened - alert: *922 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235564,11 +235606,11 @@ x-webhooks: type: string enum: - resolved - alert: *922 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235646,12 +235688,12 @@ x-webhooks: type: string enum: - unassigned - alert: *922 + alert: *923 assignee: *4 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235729,11 +235771,11 @@ x-webhooks: type: string enum: - validated - alert: *922 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -235859,10 +235901,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *858 - enterprise: *855 - installation: *856 - organization: *857 + repository: *859 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -235940,11 +235982,11 @@ x-webhooks: type: string enum: - published - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - security_advisory: &924 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + security_advisory: &925 description: The details of the security advisory, including summary, description, and severity. type: object @@ -236127,11 +236169,11 @@ x-webhooks: type: string enum: - updated - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 - security_advisory: *924 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + security_advisory: *925 sender: *4 required: - action @@ -236204,10 +236246,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -236391,11 +236433,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *417 - enterprise: *855 - installation: *856 - organization: *857 - repository: *469 + security_and_analysis: *419 + enterprise: *856 + installation: *857 + organization: *858 + repository: *471 sender: *4 required: - changes @@ -236473,12 +236515,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: &925 + sponsorship: &926 type: object properties: created_at: @@ -236779,12 +236821,12 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *925 + sponsorship: *926 required: - action - sponsorship @@ -236872,12 +236914,12 @@ x-webhooks: type: string required: - from - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *925 + sponsorship: *926 required: - action - changes @@ -236954,17 +236996,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &926 + effective_date: &927 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: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *925 + sponsorship: *926 required: - action - sponsorship @@ -237038,7 +237080,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &927 + changes: &928 type: object properties: tier: @@ -237082,13 +237124,13 @@ x-webhooks: - from required: - tier - effective_date: *926 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + effective_date: *927 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *925 + sponsorship: *926 required: - action - changes @@ -237165,13 +237207,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *927 - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + changes: *928 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *925 + sponsorship: *926 required: - action - changes @@ -237245,10 +237287,10 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237331,10 +237373,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237754,15 +237796,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *855 + enterprise: *856 id: description: The unique identifier of the status. type: integer - installation: *856 + installation: *857 name: type: string - organization: *857 - repository: *858 + organization: *858 + repository: *859 sender: *4 sha: description: The Commit SHA. @@ -237877,9 +237919,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -237969,9 +238011,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -238061,9 +238103,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -238153,9 +238195,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *220 - installation: *856 - organization: *857 - repository: *858 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -238232,12 +238274,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - team: &928 + team: &929 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -238460,9 +238502,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -238920,7 +238962,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *928 + team: *929 required: - action - team @@ -238996,9 +239038,9 @@ x-webhooks: type: string enum: - created - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -239456,7 +239498,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *928 + team: *929 required: - action - team @@ -239533,9 +239575,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -239993,7 +240035,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *928 + team: *929 required: - action - team @@ -240137,9 +240179,9 @@ x-webhooks: - from required: - permissions - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -240597,7 +240639,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *928 + team: *929 required: - action - changes @@ -240675,9 +240717,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *855 - installation: *856 - organization: *857 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -241135,7 +241177,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *928 + team: *929 required: - action - team @@ -241211,10 +241253,10 @@ x-webhooks: type: string enum: - started - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -241287,16 +241329,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *855 + enterprise: *856 inputs: type: object nullable: true additionalProperties: true - installation: *856 - organization: *857 + installation: *857 + organization: *858 ref: type: string - repository: *858 + repository: *859 sender: *4 workflow: type: string @@ -241378,10 +241420,10 @@ x-webhooks: type: string enum: - completed - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: allOf: @@ -241618,7 +241660,7 @@ x-webhooks: type: string required: - conclusion - deployment: *603 + deployment: *605 required: - action - repository @@ -241697,10 +241739,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: allOf: @@ -241960,7 +242002,7 @@ x-webhooks: required: - status - steps - deployment: *603 + deployment: *605 required: - action - repository @@ -242039,10 +242081,10 @@ x-webhooks: type: string enum: - queued - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: type: object @@ -242177,7 +242219,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *603 + deployment: *605 required: - action - repository @@ -242256,10 +242298,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: type: object @@ -242395,7 +242437,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *603 + deployment: *605 required: - action - repository @@ -242475,12 +242517,12 @@ x-webhooks: type: string enum: - completed - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *872 + workflow: *873 workflow_run: title: Workflow Run type: object @@ -243479,12 +243521,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *872 + workflow: *873 workflow_run: title: Workflow Run type: object @@ -244468,12 +244510,12 @@ x-webhooks: type: string enum: - requested - enterprise: *855 - installation: *856 - organization: *857 - repository: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *872 + workflow: *873 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 2fc0e10ce..ff0b9f203 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -29572,6 +29572,81 @@ } } }, + "/orgs/{org}/dismissal-requests/dependabot": { + "get": { + "summary": "List dismissal requests for Dependabot alerts for an organization", + "description": "Lists dismissal requests for Dependabot alerts in an organization.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the appropriate permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/list-dismissal-requests-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-name-in-query" + }, + { + "$ref": "#/components/parameters/bypass-reviewer-name" + }, + { + "$ref": "#/components/parameters/bypass-requester-name" + }, + { + "$ref": "#/components/parameters/time-period" + }, + { + "$ref": "#/components/parameters/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/dependabot-alert-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-alert-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", @@ -135683,6 +135758,147 @@ } } }, + "dependabot-alert-dismissal-request": { + "title": "Dependabot alert dismissal request", + "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "The alert number." + }, + "alert_title": { + "type": "string", + "description": "The title of the alert." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "123" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "$ref": "#/components/schemas/dismissal-request-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/security/dependabot/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.", @@ -149087,147 +149303,6 @@ "updated_at" ] }, - "dependabot-alert-dismissal-request": { - "title": "Dependabot alert dismissal request", - "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The unique identifier of the dismissal request." - }, - "number": { - "type": "integer", - "format": "int64", - "description": "The number uniquely identifying the dismissal request within its repository." - }, - "repository": { - "type": "object", - "description": "The repository the dismissal request is for.", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The ID of the repository the dismissal request is for." - }, - "name": { - "type": "string", - "description": "The name of the repository the dismissal request is for." - }, - "full_name": { - "type": "string", - "description": "The full name of the repository the dismissal request is for." - } - } - }, - "organization": { - "type": "object", - "description": "The organization associated with the repository the dismissal request is for.", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The ID of the organization." - }, - "name": { - "type": "string", - "description": "The name of the organization." - } - } - }, - "requester": { - "type": "object", - "description": "The user who requested the dismissal request.", - "properties": { - "actor_id": { - "type": "integer", - "format": "int64", - "description": "The ID of the GitHub user who requested the dismissal request." - }, - "actor_name": { - "type": "string", - "description": "The name of the GitHub user who requested the dismissal request." - } - } - }, - "request_type": { - "type": "string", - "description": "The type of request." - }, - "data": { - "nullable": true, - "type": "array", - "description": "Data describing the dismissal request metadata.", - "items": { - "type": "object", - "properties": { - "reason": { - "type": "string", - "description": "The reason for the dismissal request." - }, - "alert_number": { - "type": "string", - "description": "The alert number." - }, - "alert_title": { - "type": "string", - "description": "The title of the alert." - } - } - } - }, - "resource_identifier": { - "type": "string", - "description": "The unique identifier for the request type of the dismissal request.", - "example": "123" - }, - "status": { - "type": "string", - "description": "The status of the dismissal request.", - "enum": [ - "pending", - "denied", - "approved", - "expired" - ] - }, - "requester_comment": { - "type": "string", - "description": "The comment the requester provided when creating the dismissal request.", - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the dismissal request will expire." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the dismissal request was created." - }, - "responses": { - "type": "array", - "description": "The responses to the dismissal request.", - "nullable": true, - "items": { - "$ref": "#/components/schemas/dismissal-request-response" - } - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" - }, - "html_url": { - "type": "string", - "description": "The URL to view the dismissal request in a browser.", - "format": "uri", - "example": "https://github.com/octo-org/smile/security/dependabot/1" - } - } - }, "wait-timer": { "type": "integer", "example": 30, @@ -309428,6 +309503,96 @@ } ] }, + "dependabot-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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "no_bandwidth", + "alert_number": "1", + "alert_title": "lodash - GHSA-1234-abcd-5678" + } + ], + "resource_identifier": "1", + "status": "denied", + "requester_comment": "No bandwidth to fix this right now", + "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/dependabot/1", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "tolerable_risk", + "alert_number": "2", + "alert_title": "axios - GHSA-5678-efgh-9012" + } + ], + "resource_identifier": "2", + "status": "approved", + "requester_comment": "Risk is acceptable for this internal tool", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 43, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", + "html_url": "https://github.com/octo-org/smile/security/dependabot/2" + } + ] + }, "secret-scanning-dismissal-request-items": { "value": [ { @@ -322172,96 +322337,6 @@ "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" } }, - "dependabot-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": "dependabot_alert_dismissal", - "data": [ - { - "reason": "no_bandwidth", - "alert_number": "1", - "alert_title": "lodash - GHSA-1234-abcd-5678" - } - ], - "resource_identifier": "1", - "status": "denied", - "requester_comment": "No bandwidth to fix this right now", - "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/dependabot/1", - "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", - "data": [ - { - "reason": "tolerable_risk", - "alert_number": "2", - "alert_title": "axios - GHSA-5678-efgh-9012" - } - ], - "resource_identifier": "2", - "status": "approved", - "requester_comment": "Risk is acceptable for this internal tool", - "expires_at": "2024-07-08T07:43:03Z", - "created_at": "2024-07-01T07:43:03Z", - "responses": [ - { - "id": 43, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "approved", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", - "html_url": "https://github.com/octo-org/smile/security/dependabot/2" - } - ] - }, "dependabot-alert-dismissal-request-item": { "value": { "id": 21, diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 368ddf068..12042d040 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -21403,6 +21403,53 @@ paths: "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" + "/orgs/{org}/dismissal-requests/dependabot": + get: + summary: List dismissal requests for Dependabot alerts for an organization + description: |- + Lists dismissal requests for Dependabot alerts in an organization. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the appropriate permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - dependabot + operationId: dependabot/list-dismissal-requests-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: dependabot + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-name-in-query" + - "$ref": "#/components/parameters/bypass-reviewer-name" + - "$ref": "#/components/parameters/bypass-requester-name" + - "$ref": "#/components/parameters/time-period" + - "$ref": "#/components/parameters/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/dependabot-alert-dismissal-request" + examples: + default: + "$ref": "#/components/examples/dependabot-alert-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -99002,6 +99049,120 @@ components: description: The URL to view the dismissal request in a browser. format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 + dependabot-alert-dismissal-request: + title: Dependabot alert dismissal request + description: Alert dismissal request made by a user asking to dismiss a Dependabot + alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request within + its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request is for. + name: + type: string + description: The name of the repository the dismissal request is for. + full_name: + type: string + description: The full name of the repository the dismissal request is + for. + organization: + type: object + description: The organization associated with the repository the dismissal + request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the dismissal + request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: The alert number. + alert_title: + type: string + description: The title of the alert. + resource_identifier: + type: string + description: The unique identifier for the request type of the dismissal + request. + example: '123' + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating the dismissal + request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: + "$ref": "#/components/schemas/dismissal-request-response" + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/security/dependabot/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 @@ -109510,120 +109671,6 @@ components: - url - created_at - updated_at - dependabot-alert-dismissal-request: - title: Dependabot alert dismissal request - description: Alert dismissal request made by a user asking to dismiss a Dependabot - alert. - type: object - properties: - id: - type: integer - format: int64 - description: The unique identifier of the dismissal request. - number: - type: integer - format: int64 - description: The number uniquely identifying the dismissal request within - its repository. - repository: - type: object - description: The repository the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the repository the dismissal request is for. - name: - type: string - description: The name of the repository the dismissal request is for. - full_name: - type: string - description: The full name of the repository the dismissal request is - for. - organization: - type: object - description: The organization associated with the repository the dismissal - request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the dismissal request. - properties: - actor_id: - type: integer - format: int64 - description: The ID of the GitHub user who requested the dismissal request. - actor_name: - type: string - description: The name of the GitHub user who requested the dismissal - request. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the dismissal request metadata. - items: - type: object - properties: - reason: - type: string - description: The reason for the dismissal request. - alert_number: - type: string - description: The alert number. - alert_title: - type: string - description: The title of the alert. - resource_identifier: - type: string - description: The unique identifier for the request type of the dismissal - request. - example: '123' - status: - type: string - description: The status of the dismissal request. - enum: - - pending - - denied - - approved - - expired - requester_comment: - type: string - description: The comment the requester provided when creating the dismissal - request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the dismissal request will expire. - created_at: - type: string - format: date-time - description: The date and time the dismissal request was created. - responses: - type: array - description: The responses to the dismissal request. - nullable: true - items: - "$ref": "#/components/schemas/dismissal-request-response" - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 - html_url: - type: string - description: The URL to view the dismissal request in a browser. - format: uri - example: https://github.com/octo-org/smile/security/dependabot/1 wait-timer: type: integer example: 30 @@ -231304,6 +231351,70 @@ components: 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 + dependabot-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: dependabot_alert_dismissal + data: + - reason: no_bandwidth + alert_number: '1' + alert_title: lodash - GHSA-1234-abcd-5678 + resource_identifier: '1' + status: denied + requester_comment: No bandwidth to fix this right now + 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/dependabot/1 + html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal + data: + - reason: tolerable_risk + alert_number: '2' + alert_title: axios - GHSA-5678-efgh-9012 + resource_identifier: '2' + status: approved + requester_comment: Risk is acceptable for this internal tool + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 43 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 + html_url: https://github.com/octo-org/smile/security/dependabot/2 secret-scanning-dismissal-request-items: value: - id: 21 @@ -242120,70 +242231,6 @@ components: 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 - dependabot-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: dependabot_alert_dismissal - data: - - reason: no_bandwidth - alert_number: '1' - alert_title: lodash - GHSA-1234-abcd-5678 - resource_identifier: '1' - status: denied - requester_comment: No bandwidth to fix this right now - 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/dependabot/1 - html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal - data: - - reason: tolerable_risk - alert_number: '2' - alert_title: axios - GHSA-5678-efgh-9012 - resource_identifier: '2' - status: approved - requester_comment: Risk is acceptable for this internal tool - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 43 - reviewer: - actor_id: 4 - actor_name: octocat - status: approved - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 - html_url: https://github.com/octo-org/smile/security/dependabot/2 dependabot-alert-dismissal-request-item: value: id: 21 diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 2fc0e10ce..ff0b9f203 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -29572,6 +29572,81 @@ } } }, + "/orgs/{org}/dismissal-requests/dependabot": { + "get": { + "summary": "List dismissal requests for Dependabot alerts for an organization", + "description": "Lists dismissal requests for Dependabot alerts in an organization.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the appropriate permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/list-dismissal-requests-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-name-in-query" + }, + { + "$ref": "#/components/parameters/bypass-reviewer-name" + }, + { + "$ref": "#/components/parameters/bypass-requester-name" + }, + { + "$ref": "#/components/parameters/time-period" + }, + { + "$ref": "#/components/parameters/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/dependabot-alert-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-alert-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", @@ -135683,6 +135758,147 @@ } } }, + "dependabot-alert-dismissal-request": { + "title": "Dependabot alert dismissal request", + "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "The alert number." + }, + "alert_title": { + "type": "string", + "description": "The title of the alert." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "123" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "$ref": "#/components/schemas/dismissal-request-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/security/dependabot/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.", @@ -149087,147 +149303,6 @@ "updated_at" ] }, - "dependabot-alert-dismissal-request": { - "title": "Dependabot alert dismissal request", - "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The unique identifier of the dismissal request." - }, - "number": { - "type": "integer", - "format": "int64", - "description": "The number uniquely identifying the dismissal request within its repository." - }, - "repository": { - "type": "object", - "description": "The repository the dismissal request is for.", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The ID of the repository the dismissal request is for." - }, - "name": { - "type": "string", - "description": "The name of the repository the dismissal request is for." - }, - "full_name": { - "type": "string", - "description": "The full name of the repository the dismissal request is for." - } - } - }, - "organization": { - "type": "object", - "description": "The organization associated with the repository the dismissal request is for.", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The ID of the organization." - }, - "name": { - "type": "string", - "description": "The name of the organization." - } - } - }, - "requester": { - "type": "object", - "description": "The user who requested the dismissal request.", - "properties": { - "actor_id": { - "type": "integer", - "format": "int64", - "description": "The ID of the GitHub user who requested the dismissal request." - }, - "actor_name": { - "type": "string", - "description": "The name of the GitHub user who requested the dismissal request." - } - } - }, - "request_type": { - "type": "string", - "description": "The type of request." - }, - "data": { - "nullable": true, - "type": "array", - "description": "Data describing the dismissal request metadata.", - "items": { - "type": "object", - "properties": { - "reason": { - "type": "string", - "description": "The reason for the dismissal request." - }, - "alert_number": { - "type": "string", - "description": "The alert number." - }, - "alert_title": { - "type": "string", - "description": "The title of the alert." - } - } - } - }, - "resource_identifier": { - "type": "string", - "description": "The unique identifier for the request type of the dismissal request.", - "example": "123" - }, - "status": { - "type": "string", - "description": "The status of the dismissal request.", - "enum": [ - "pending", - "denied", - "approved", - "expired" - ] - }, - "requester_comment": { - "type": "string", - "description": "The comment the requester provided when creating the dismissal request.", - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the dismissal request will expire." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the dismissal request was created." - }, - "responses": { - "type": "array", - "description": "The responses to the dismissal request.", - "nullable": true, - "items": { - "$ref": "#/components/schemas/dismissal-request-response" - } - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" - }, - "html_url": { - "type": "string", - "description": "The URL to view the dismissal request in a browser.", - "format": "uri", - "example": "https://github.com/octo-org/smile/security/dependabot/1" - } - } - }, "wait-timer": { "type": "integer", "example": 30, @@ -309428,6 +309503,96 @@ } ] }, + "dependabot-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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "no_bandwidth", + "alert_number": "1", + "alert_title": "lodash - GHSA-1234-abcd-5678" + } + ], + "resource_identifier": "1", + "status": "denied", + "requester_comment": "No bandwidth to fix this right now", + "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/dependabot/1", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "tolerable_risk", + "alert_number": "2", + "alert_title": "axios - GHSA-5678-efgh-9012" + } + ], + "resource_identifier": "2", + "status": "approved", + "requester_comment": "Risk is acceptable for this internal tool", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 43, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", + "html_url": "https://github.com/octo-org/smile/security/dependabot/2" + } + ] + }, "secret-scanning-dismissal-request-items": { "value": [ { @@ -322172,96 +322337,6 @@ "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" } }, - "dependabot-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": "dependabot_alert_dismissal", - "data": [ - { - "reason": "no_bandwidth", - "alert_number": "1", - "alert_title": "lodash - GHSA-1234-abcd-5678" - } - ], - "resource_identifier": "1", - "status": "denied", - "requester_comment": "No bandwidth to fix this right now", - "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/dependabot/1", - "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", - "data": [ - { - "reason": "tolerable_risk", - "alert_number": "2", - "alert_title": "axios - GHSA-5678-efgh-9012" - } - ], - "resource_identifier": "2", - "status": "approved", - "requester_comment": "Risk is acceptable for this internal tool", - "expires_at": "2024-07-08T07:43:03Z", - "created_at": "2024-07-01T07:43:03Z", - "responses": [ - { - "id": 43, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "approved", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", - "html_url": "https://github.com/octo-org/smile/security/dependabot/2" - } - ] - }, "dependabot-alert-dismissal-request-item": { "value": { "id": 21, diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 368ddf068..12042d040 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -21403,6 +21403,53 @@ paths: "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" + "/orgs/{org}/dismissal-requests/dependabot": + get: + summary: List dismissal requests for Dependabot alerts for an organization + description: |- + Lists dismissal requests for Dependabot alerts in an organization. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the appropriate permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - dependabot + operationId: dependabot/list-dismissal-requests-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: dependabot + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-name-in-query" + - "$ref": "#/components/parameters/bypass-reviewer-name" + - "$ref": "#/components/parameters/bypass-requester-name" + - "$ref": "#/components/parameters/time-period" + - "$ref": "#/components/parameters/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/dependabot-alert-dismissal-request" + examples: + default: + "$ref": "#/components/examples/dependabot-alert-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -99002,6 +99049,120 @@ components: description: The URL to view the dismissal request in a browser. format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 + dependabot-alert-dismissal-request: + title: Dependabot alert dismissal request + description: Alert dismissal request made by a user asking to dismiss a Dependabot + alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request within + its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request is for. + name: + type: string + description: The name of the repository the dismissal request is for. + full_name: + type: string + description: The full name of the repository the dismissal request is + for. + organization: + type: object + description: The organization associated with the repository the dismissal + request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the dismissal + request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: The alert number. + alert_title: + type: string + description: The title of the alert. + resource_identifier: + type: string + description: The unique identifier for the request type of the dismissal + request. + example: '123' + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating the dismissal + request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: + "$ref": "#/components/schemas/dismissal-request-response" + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/security/dependabot/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 @@ -109510,120 +109671,6 @@ components: - url - created_at - updated_at - dependabot-alert-dismissal-request: - title: Dependabot alert dismissal request - description: Alert dismissal request made by a user asking to dismiss a Dependabot - alert. - type: object - properties: - id: - type: integer - format: int64 - description: The unique identifier of the dismissal request. - number: - type: integer - format: int64 - description: The number uniquely identifying the dismissal request within - its repository. - repository: - type: object - description: The repository the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the repository the dismissal request is for. - name: - type: string - description: The name of the repository the dismissal request is for. - full_name: - type: string - description: The full name of the repository the dismissal request is - for. - organization: - type: object - description: The organization associated with the repository the dismissal - request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the dismissal request. - properties: - actor_id: - type: integer - format: int64 - description: The ID of the GitHub user who requested the dismissal request. - actor_name: - type: string - description: The name of the GitHub user who requested the dismissal - request. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the dismissal request metadata. - items: - type: object - properties: - reason: - type: string - description: The reason for the dismissal request. - alert_number: - type: string - description: The alert number. - alert_title: - type: string - description: The title of the alert. - resource_identifier: - type: string - description: The unique identifier for the request type of the dismissal - request. - example: '123' - status: - type: string - description: The status of the dismissal request. - enum: - - pending - - denied - - approved - - expired - requester_comment: - type: string - description: The comment the requester provided when creating the dismissal - request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the dismissal request will expire. - created_at: - type: string - format: date-time - description: The date and time the dismissal request was created. - responses: - type: array - description: The responses to the dismissal request. - nullable: true - items: - "$ref": "#/components/schemas/dismissal-request-response" - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 - html_url: - type: string - description: The URL to view the dismissal request in a browser. - format: uri - example: https://github.com/octo-org/smile/security/dependabot/1 wait-timer: type: integer example: 30 @@ -231304,6 +231351,70 @@ components: 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 + dependabot-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: dependabot_alert_dismissal + data: + - reason: no_bandwidth + alert_number: '1' + alert_title: lodash - GHSA-1234-abcd-5678 + resource_identifier: '1' + status: denied + requester_comment: No bandwidth to fix this right now + 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/dependabot/1 + html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal + data: + - reason: tolerable_risk + alert_number: '2' + alert_title: axios - GHSA-5678-efgh-9012 + resource_identifier: '2' + status: approved + requester_comment: Risk is acceptable for this internal tool + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 43 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 + html_url: https://github.com/octo-org/smile/security/dependabot/2 secret-scanning-dismissal-request-items: value: - id: 21 @@ -242120,70 +242231,6 @@ components: 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 - dependabot-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: dependabot_alert_dismissal - data: - - reason: no_bandwidth - alert_number: '1' - alert_title: lodash - GHSA-1234-abcd-5678 - resource_identifier: '1' - status: denied - requester_comment: No bandwidth to fix this right now - 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/dependabot/1 - html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal - data: - - reason: tolerable_risk - alert_number: '2' - alert_title: axios - GHSA-5678-efgh-9012 - resource_identifier: '2' - status: approved - requester_comment: Risk is acceptable for this internal tool - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 43 - reviewer: - actor_id: 4 - actor_name: octocat - status: approved - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 - html_url: https://github.com/octo-org/smile/security/dependabot/2 dependabot-alert-dismissal-request-item: value: id: 21 diff --git a/descriptions/ghes-3.19/dereferenced/ghes-3.19.2022-11-28.deref.json b/descriptions/ghes-3.19/dereferenced/ghes-3.19.2022-11-28.deref.json index 53ba54a93..9dbd03b54 100644 --- a/descriptions/ghes-3.19/dereferenced/ghes-3.19.2022-11-28.deref.json +++ b/descriptions/ghes-3.19/dereferenced/ghes-3.19.2022-11-28.deref.json @@ -143237,6 +143237,482 @@ } } }, + "/orgs/{org}/dismissal-requests/dependabot": { + "get": { + "summary": "List dismissal requests for Dependabot alerts for an organization", + "description": "Lists dismissal requests for Dependabot alerts in an organization.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the appropriate permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/list-dismissal-requests-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.19/rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "dependabot", + "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": "repository_name", + "description": "The name of the repository to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "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 rule suites that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "denied", + "open", + "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-server@3.19/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-server@3.19/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": "Dependabot alert dismissal request", + "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "The alert number." + }, + "alert_title": { + "type": "string", + "description": "The title of the alert." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "123" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "no_bandwidth", + "alert_number": "1", + "alert_title": "lodash - GHSA-1234-abcd-5678" + } + ], + "resource_identifier": "1", + "status": "denied", + "requester_comment": "No bandwidth to fix this right now", + "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/dependabot/1", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "tolerable_risk", + "alert_number": "2", + "alert_title": "axios - GHSA-5678-efgh-9012" + } + ], + "resource_identifier": "2", + "status": "approved", + "requester_comment": "Risk is acceptable for this internal tool", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 43, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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" + } + } + } + } + } + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", diff --git a/descriptions/ghes-3.19/dereferenced/ghes-3.19.2022-11-28.deref.yaml b/descriptions/ghes-3.19/dereferenced/ghes-3.19.2022-11-28.deref.yaml index 48eb2afe3..6bfbf0581 100644 --- a/descriptions/ghes-3.19/dereferenced/ghes-3.19.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.19/dereferenced/ghes-3.19.2022-11-28.deref.yaml @@ -924,7 +924,7 @@ paths: schema: type: object properties: - ldap_dn: &350 + ldap_dn: &352 type: string description: The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. @@ -4410,7 +4410,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/apps/webhooks#list-deliveries-for-an-app-webhook parameters: - *4 - - &263 + - &265 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4426,7 +4426,7 @@ paths: application/json: schema: type: array - items: &264 + items: &266 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4506,7 +4506,7 @@ paths: - installation_id - repository_id examples: - default: &265 + default: &267 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4538,7 +4538,7 @@ paths: application/json: schema: *24 application/scim+json: - schema: &634 + schema: &635 title: Scim Error description: Scim Error type: object @@ -4634,7 +4634,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &268 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4748,7 +4748,7 @@ paths: - request - response examples: - default: &267 + default: &269 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -5309,7 +5309,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &300 + properties: &302 id: description: Unique identifier of the repository example: 42 @@ -5747,7 +5747,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &301 + required: &303 - archive_url - assignees_url - blobs_url @@ -6770,7 +6770,7 @@ paths: schema: type: string '422': *35 - '410': &378 + '410': &380 description: Gone content: application/json: @@ -10370,7 +10370,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &635 + '401': &636 description: Authorization failure '404': *26 x-github: @@ -14480,7 +14480,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &442 + instances_url: &444 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -14515,7 +14515,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &443 + dismissed_reason: &445 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -14524,13 +14524,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &444 + dismissed_comment: &446 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &445 + rule: &447 type: object properties: id: @@ -14583,7 +14583,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &446 + tool: &448 type: object properties: name: *116 @@ -14593,15 +14593,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *117 - most_recent_instance: &447 + most_recent_instance: &449 type: object properties: - ref: &440 + ref: &442 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &453 + analysis_key: &455 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -14612,7 +14612,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &454 + category: &456 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16603,7 +16603,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &474 + - &476 name: has in: query description: |- @@ -16728,7 +16728,7 @@ paths: enum: - development - runtime - security_advisory: &475 + security_advisory: &477 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16960,14 +16960,14 @@ paths: nullable: true maxLength: 280 fixed_at: *135 - auto_dismissed_at: &476 + auto_dismissed_at: &478 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &477 + dismissal_request: &479 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -17632,7 +17632,7 @@ paths: required: true content: application/json: - schema: &298 + schema: &300 title: Custom Property Set Payload description: Custom property set payload type: object @@ -17779,7 +17779,7 @@ paths: type: string format: date-time examples: - default: &332 + default: &334 value: - version_id: 3 actor: @@ -17832,7 +17832,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &335 allOf: - *141 - type: object @@ -17887,7 +17887,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *66 - - &334 + - &336 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17898,7 +17898,7 @@ paths: enum: - open - resolved - - &335 + - &337 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17908,7 +17908,7 @@ paths: required: false schema: type: string - - &336 + - &338 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17917,7 +17917,7 @@ paths: required: false schema: type: string - - &337 + - &339 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -17933,7 +17933,7 @@ paths: - *4 - *114 - *115 - - &338 + - &340 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17942,7 +17942,7 @@ paths: required: false schema: type: string - - &339 + - &341 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17951,7 +17951,7 @@ paths: schema: type: boolean default: false - - &340 + - &342 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17960,7 +17960,7 @@ paths: schema: type: boolean default: false - - &341 + - &343 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -17976,7 +17976,7 @@ paths: application/json: schema: type: array - items: &342 + items: &344 type: object properties: number: *125 @@ -17995,14 +17995,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &608 + state: &609 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: &609 + resolution: &610 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -18105,8 +18105,8 @@ paths: pull request. ' - oneOf: &610 - - &612 + oneOf: &611 + - &613 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -18158,7 +18158,7 @@ paths: - blob_url - commit_sha - commit_url - - &613 + - &614 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. @@ -18213,7 +18213,7 @@ paths: - page_url - commit_sha - commit_url - - &614 + - &615 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -18227,7 +18227,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &615 + - &616 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -18241,7 +18241,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &616 + - &617 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -18255,7 +18255,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &617 + - &618 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -18269,7 +18269,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &618 + - &619 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -18283,7 +18283,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &619 + - &620 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -18297,7 +18297,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &620 + - &621 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. @@ -18311,7 +18311,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &621 + - &622 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. @@ -18325,7 +18325,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &622 + - &623 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. @@ -18339,7 +18339,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &623 + - &624 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. @@ -18353,7 +18353,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &624 + - &625 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -18380,7 +18380,7 @@ paths: required: *18 nullable: true examples: - default: &343 + default: &345 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18589,7 +18589,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &346 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -18672,7 +18672,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *143 examples: - default: &345 + default: &347 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -18808,7 +18808,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *66 - - &347 + - &349 name: advanced_security_product in: query description: | @@ -18828,7 +18828,7 @@ paths: description: Success content: application/json: - schema: &348 + schema: &350 type: object properties: total_advanced_security_committers: @@ -18883,7 +18883,7 @@ paths: required: - repositories examples: - default: &349 + default: &351 value: total_advanced_security_committers: 2 total_count: 2 @@ -19094,7 +19094,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &531 + properties: &532 id: type: integer format: int64 @@ -19357,7 +19357,7 @@ paths: timeline_url: type: string format: uri - type: &661 + type: &662 title: Issue Type description: The type of issue. type: object @@ -19471,7 +19471,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &658 + sub_issues_summary: &659 title: Sub-issues Summary type: object properties: @@ -19491,7 +19491,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &659 + issue_dependencies_summary: &660 title: Issue Dependencies Summary type: object properties: @@ -19510,7 +19510,7 @@ paths: - total_blocking issue_field_values: type: array - items: &660 + items: &661 title: Issue Field Value description: A value assigned to an issue field type: object @@ -19571,7 +19571,7 @@ paths: - node_id - data_type - value - required: &532 + required: &533 - assignee - closed_at - comments @@ -19655,7 +19655,7 @@ paths: action: type: string issue: *149 - comment: &529 + comment: &530 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20161,12 +20161,12 @@ paths: nullable: true requested_teams: type: array - items: &278 + items: &280 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &276 + properties: &278 id: description: Unique identifier of the team type: integer @@ -20238,7 +20238,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &277 + required: &279 - id - node_id - url @@ -20314,7 +20314,7 @@ paths: - review_comment - self author_association: *150 - auto_merge: &466 + auto_merge: &468 title: Auto merge description: The status of auto merging a pull request. type: object @@ -20778,7 +20778,7 @@ paths: type: string release: allOf: - - &586 + - &587 title: Release description: A release. type: object @@ -20849,7 +20849,7 @@ paths: author: *19 assets: type: array - items: &587 + items: &588 title: Release Asset description: Data related to a release. type: object @@ -21431,7 +21431,7 @@ paths: url: type: string format: uri - user: &670 + user: &671 title: Public User description: Public User type: object @@ -23301,7 +23301,7 @@ paths: - closed - all default: open - - &268 + - &270 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -23352,7 +23352,7 @@ paths: type: array items: *149 examples: - default: &269 + default: &271 value: - id: 1 node_id: MDU6SXNzdWUx @@ -26063,14 +26063,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &368 + - &370 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &369 + - &371 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -26142,7 +26142,7 @@ paths: '404': *26 '403': *43 '304': *42 - '301': &373 + '301': &375 description: Moved permanently content: application/json: @@ -26164,7 +26164,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &560 + - &561 name: all description: If `true`, show notifications marked as read. in: query @@ -26172,7 +26172,7 @@ paths: schema: type: boolean default: false - - &561 + - &562 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -26182,7 +26182,7 @@ paths: type: boolean default: false - *159 - - &562 + - &563 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: @@ -26218,7 +26218,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &259 + properties: &261 id: type: integer format: int64 @@ -26494,7 +26494,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &302 + security_and_analysis: &304 nullable: true type: object properties: @@ -26560,7 +26560,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &260 + required: &262 - archive_url - assignees_url - blobs_url @@ -26648,7 +26648,7 @@ paths: - url - subscription_url examples: - default: &563 + default: &564 value: - id: '1' repository: @@ -27194,7 +27194,7 @@ paths: type: array items: *74 examples: - default: &678 + default: &679 value: - login: github id: 1 @@ -28360,7 +28360,7 @@ paths: type: integer repository_cache_usages: type: array - items: &379 + items: &381 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -30839,7 +30839,7 @@ paths: description: Response content: application/json: - schema: &401 + schema: &403 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -30868,7 +30868,7 @@ paths: - key_id - key examples: - default: &402 + default: &404 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31281,7 +31281,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#list-organization-variables parameters: - *92 - - &386 + - &388 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -32012,7 +32012,7 @@ paths: be returned. in: query required: false - schema: &441 + schema: &443 type: string description: Severity of a code scanning alert. enum: @@ -33451,7 +33451,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &482 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33468,7 +33468,7 @@ paths: - key_id - key examples: - default: &481 + default: &483 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33798,7 +33798,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *92 - - &489 + - &491 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -33806,7 +33806,7 @@ paths: required: false schema: type: string - - &490 + - &492 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -33814,7 +33814,7 @@ paths: required: false schema: type: string - - &491 + - &493 name: time_period description: |- The time period to filter by. @@ -33830,7 +33830,7 @@ paths: - week - month default: month - - &492 + - &494 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -33855,7 +33855,7 @@ paths: application/json: schema: type: array - items: &493 + items: &495 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -33961,7 +33961,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &495 + items: &259 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -34011,7 +34011,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &494 + default: &496 value: - id: 21 number: 42 @@ -34077,24 +34077,25 @@ paths: '403': *43 '422': *35 '500': *107 - "/orgs/{org}/dismissal-requests/secret-scanning": + "/orgs/{org}/dismissal-requests/dependabot": get: - summary: List alert dismissal requests for secret scanning for an org + summary: List dismissal requests for Dependabot alerts for an organization description: |- - Lists requests to dismiss secret scanning alerts in an org. + Lists dismissal requests for Dependabot alerts in an organization. Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, - or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + or have the appropriate permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. tags: - - secret-scanning - operationId: secret-scanning/list-org-dismissal-requests + - dependabot + operationId: dependabot/list-dismissal-requests-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization x-github: githubCloudOnly: true enabledForGitHubApps: true - category: secret-scanning + category: dependabot subcategory: alert-dismissal-requests parameters: - *92 @@ -34102,7 +34103,7 @@ paths: - *109 - *110 - *111 - - &497 + - &260 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -34121,6 +34122,225 @@ paths: default: all - *4 - *5 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: &497 + title: Dependabot alert dismissal request + description: Alert dismissal request made by a user asking to dismiss + a Dependabot alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request + within its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request + is for. + name: + type: string + description: The name of the repository the dismissal request + is for. + full_name: + type: string + description: The full name of the repository the dismissal + request is for. + organization: + type: object + description: The organization associated with the repository + the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the + dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the + dismissal request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: The alert number. + alert_title: + type: string + description: The title of the alert. + resource_identifier: + type: string + description: The unique identifier for the request type of the + dismissal request. + example: '123' + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating + the dismissal request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: *259 + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/security/dependabot/1 + examples: + default: &498 + 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: dependabot_alert_dismissal + data: + - reason: no_bandwidth + alert_number: '1' + alert_title: lodash - GHSA-1234-abcd-5678 + resource_identifier: '1' + status: denied + requester_comment: No bandwidth to fix this right now + 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/dependabot/1 + html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal + data: + - reason: tolerable_risk + alert_number: '2' + alert_title: axios - GHSA-5678-efgh-9012 + resource_identifier: '2' + status: approved + requester_comment: Risk is acceptable for this internal tool + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 43 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 + html_url: https://github.com/octo-org/smile/security/dependabot/2 + '404': *26 + '403': *43 + '500': *107 + "/orgs/{org}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for an org + description: |- + Lists requests to dismiss secret scanning alerts in an org. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *92 + - *230 + - *109 + - *110 + - *111 + - *260 + - *4 + - *5 responses: '200': description: A list of the alert dismissal requests. @@ -34128,7 +34348,7 @@ paths: application/json: schema: type: array - items: &498 + items: &499 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -34249,7 +34469,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &499 + default: &500 value: - id: 21 number: 42 @@ -34337,7 +34557,7 @@ paths: application/json: schema: type: array - items: &280 + items: &282 title: Package description: A software package type: object @@ -34387,8 +34607,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *259 - required: *260 + properties: *261 + required: *262 nullable: true created_at: type: string @@ -34407,7 +34627,7 @@ paths: - created_at - updated_at examples: - default: &281 + default: &283 value: - id: 197 name: hello_docker @@ -34604,7 +34824,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &367 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -34685,7 +34905,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &366 + default: &368 value: group_id: '123' group_name: Octocat admins @@ -34740,7 +34960,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &365 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34777,7 +34997,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &364 + default: &366 value: groups: - group_id: '123' @@ -34824,7 +35044,7 @@ paths: application/json: schema: type: array - items: &261 + items: &263 title: Org Hook description: Org Hook type: object @@ -34995,9 +35215,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: &262 + default: &264 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -35051,9 +35271,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 '404': *26 x-github: githubCloudOnly: false @@ -35126,7 +35346,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: default: value: @@ -35280,7 +35500,7 @@ paths: - *92 - *3 - *4 - - *263 + - *265 responses: '200': description: Response @@ -35288,9 +35508,9 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: - default: *265 + default: *267 '400': *34 '422': *35 x-github: @@ -35323,9 +35543,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '400': *34 '422': *35 x-github: @@ -35413,7 +35633,7 @@ paths: application/json: schema: *39 examples: - default: &526 + default: &527 value: id: 1 account: @@ -35610,7 +35830,7 @@ paths: - closed - all default: open - - *268 + - *270 - name: type description: Can be the name of an issue type. in: query @@ -35641,7 +35861,7 @@ paths: type: array items: *149 examples: - default: *269 + default: *271 headers: Link: *6 '404': *26 @@ -35701,7 +35921,7 @@ paths: type: array items: *19 examples: - default: &279 + default: &281 value: - login: octocat id: 1 @@ -35806,7 +36026,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &272 title: Org Membership description: Org Membership type: object @@ -35873,7 +36093,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &271 + response-if-user-has-an-active-admin-membership-with-organization: &273 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35969,9 +36189,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: - response-if-user-already-had-membership-with-organization: *271 + response-if-user-already-had-membership-with-organization: *273 '422': *35 '403': *43 x-github: @@ -36042,7 +36262,7 @@ paths: application/json: schema: type: array - items: &272 + items: &274 title: Migration description: A migration. type: object @@ -36374,7 +36594,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: default: value: @@ -36553,7 +36773,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/migrations/orgs#get-an-organization-migration-status parameters: - *92 - - &273 + - &275 name: migration_id description: The unique identifier of the migration. in: path @@ -36580,7 +36800,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *272 + schema: *274 examples: default: value: @@ -36750,7 +36970,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *92 - - *273 + - *275 responses: '302': description: Response @@ -36772,7 +36992,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *92 - - *273 + - *275 responses: '204': description: Response @@ -36796,7 +37016,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/migrations/orgs#unlock-an-organization-repository parameters: - *92 - - *273 + - *275 - name: repo_name description: repo_name parameter in: path @@ -36824,7 +37044,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *92 - - *273 + - *275 - *4 - *5 responses: @@ -36836,7 +37056,7 @@ paths: type: array items: *203 examples: - default: &286 + default: &288 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37045,7 +37265,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &274 + items: &276 title: Organization Role description: Organization roles type: object @@ -37252,7 +37472,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: default: value: @@ -37304,7 +37524,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *92 - - &275 + - &277 name: team_slug description: The slug of the team name. in: path @@ -37336,7 +37556,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *92 - - *275 + - *277 - *246 responses: '204': @@ -37367,7 +37587,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *92 - - *275 + - *277 - *246 responses: '204': @@ -37488,7 +37708,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: default: value: @@ -37585,7 +37805,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: default: value: @@ -37743,8 +37963,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *276 - required: *277 + properties: *278 + required: *279 nullable: true type: description: The ownership type of the team @@ -37776,7 +37996,7 @@ paths: - type - parent examples: - default: &346 + default: &348 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -37848,7 +38068,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *278 + items: *280 name: nullable: true type: string @@ -37943,7 +38163,7 @@ paths: - type - url examples: - default: *279 + default: *281 headers: Link: *6 '404': @@ -37994,7 +38214,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -38136,7 +38356,7 @@ paths: - nuget - container - *92 - - &679 + - &680 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -38172,12 +38392,12 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *281 + default: *283 '403': *43 '401': *41 - '400': &681 + '400': &682 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38199,7 +38419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-for-an-organization parameters: - - &282 + - &284 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -38217,7 +38437,7 @@ paths: - docker - nuget - container - - &283 + - &285 name: package_name description: The name of the package. in: path @@ -38230,7 +38450,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: default: value: @@ -38282,8 +38502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *282 - - *283 + - *284 + - *285 - *92 responses: '204': @@ -38316,8 +38536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *282 - - *283 + - *284 + - *285 - *92 - name: token description: package token @@ -38350,8 +38570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *282 - - *283 + - *284 + - *285 - *92 - *5 - *4 @@ -38372,7 +38592,7 @@ paths: application/json: schema: type: array - items: &284 + items: &286 title: Package Version description: A version of a software package type: object @@ -38497,10 +38717,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *282 - - *283 + - *284 + - *285 - *92 - - &285 + - &287 name: package_version_id description: Unique identifier of the package version. in: path @@ -38512,7 +38732,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: default: value: @@ -38548,10 +38768,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *282 - - *283 - - *92 + - *284 - *285 + - *92 + - *287 responses: '204': description: Response @@ -38583,10 +38803,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *282 - - *283 - - *92 + - *284 - *285 + - *92 + - *287 responses: '204': description: Response @@ -38616,7 +38836,7 @@ paths: - *92 - *4 - *5 - - &287 + - &289 name: sort description: The property by which to sort the results. in: query @@ -38627,7 +38847,7 @@ paths: - created_at default: created_at - *9 - - &288 + - &290 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -38638,7 +38858,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &289 + - &291 name: repository description: The name of the repository to use to filter the results. in: query @@ -38646,7 +38866,7 @@ paths: schema: type: string example: Hello-World - - &290 + - &292 name: permission description: The permission to use to filter the results. in: query @@ -38654,7 +38874,7 @@ paths: schema: type: string example: issues_read - - &291 + - &293 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38664,7 +38884,7 @@ paths: schema: type: string format: date-time - - &292 + - &294 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38674,7 +38894,7 @@ paths: schema: type: string format: date-time - - &293 + - &295 name: token_id description: The ID of the token in: query @@ -38987,7 +39207,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -39013,14 +39233,14 @@ paths: - *92 - *4 - *5 - - *287 - - *9 - - *288 - *289 + - *9 - *290 - *291 - *292 - *293 + - *294 + - *295 responses: '500': *107 '422': *35 @@ -39302,7 +39522,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -39346,7 +39566,7 @@ paths: application/json: schema: type: array - items: &294 + items: &296 type: object properties: id: @@ -39390,9 +39610,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: &295 + default: &297 value: id: 42 name: Check Commits @@ -39422,7 +39642,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: default: value: @@ -39471,9 +39691,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39513,7 +39733,7 @@ paths: type: integer configurations: type: array - items: &296 + items: &298 title: Organization private registry description: Private registry configuration for an organization type: object @@ -39803,7 +40023,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &297 + org-private-registry-with-selected-visibility: &299 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39899,9 +40119,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '404': *26 x-github: githubCloudOnly: false @@ -40191,7 +40411,7 @@ paths: required: true content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -40295,7 +40515,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &299 + items: &301 title: Custom Property Value description: Custom property name and associated value type: object @@ -40382,7 +40602,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *299 + items: *301 required: - repository_names - properties @@ -40435,7 +40655,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -40576,7 +40796,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -40785,7 +41005,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &374 title: Full Repository description: Full Repository type: object @@ -41062,8 +41282,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *300 - required: *301 + properties: *302 + required: *303 nullable: true temp_clone_token: type: string @@ -41199,7 +41419,7 @@ paths: - key - name - html_url - security_and_analysis: *302 + security_and_analysis: *304 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41283,7 +41503,7 @@ paths: - network_count - subscribers_count examples: - default: &374 + default: &376 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41855,7 +42075,7 @@ paths: - *92 - *4 - *5 - - &595 + - &596 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41873,7 +42093,7 @@ paths: application/json: schema: type: array - items: &329 + items: &331 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41906,7 +42126,7 @@ paths: source: type: string description: The name of the source - enforcement: &305 + enforcement: &307 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41919,7 +42139,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &306 + items: &308 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41987,7 +42207,7 @@ paths: conditions: nullable: true anyOf: - - &303 + - &305 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -42011,7 +42231,7 @@ paths: match. items: type: string - - &307 + - &309 title: Organization ruleset conditions type: object description: |- @@ -42024,7 +42244,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *303 + - *305 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -42058,7 +42278,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *303 + - *305 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -42080,7 +42300,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *303 + - *305 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -42093,7 +42313,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &304 + items: &306 title: Repository ruleset property targeting definition type: object @@ -42126,17 +42346,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *304 + items: *306 required: - repository_property rules: type: array - items: &596 + items: &597 title: Repository Rule type: object description: A repository rule. oneOf: - - &308 + - &310 title: creation description: Only allow users with bypass permission to create matching refs. @@ -42148,7 +42368,7 @@ paths: type: string enum: - creation - - &309 + - &311 title: update description: Only allow users with bypass permission to update matching refs. @@ -42169,7 +42389,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &310 + - &312 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -42181,7 +42401,7 @@ paths: type: string enum: - deletion - - &311 + - &313 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -42193,7 +42413,7 @@ paths: type: string enum: - required_linear_history - - &594 + - &595 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42271,7 +42491,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &312 + - &314 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -42295,7 +42515,7 @@ paths: type: string required: - required_deployment_environments - - &313 + - &315 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -42307,7 +42527,7 @@ paths: type: string enum: - required_signatures - - &314 + - &316 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -42413,7 +42633,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &315 + - &317 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -42461,7 +42681,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &316 + - &318 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -42473,7 +42693,7 @@ paths: type: string enum: - non_fast_forward - - &317 + - &319 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -42509,7 +42729,7 @@ paths: required: - operator - pattern - - &318 + - &320 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -42545,7 +42765,7 @@ paths: required: - operator - pattern - - &319 + - &321 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -42581,7 +42801,7 @@ paths: required: - operator - pattern - - &320 + - &322 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42617,7 +42837,7 @@ paths: required: - operator - pattern - - &321 + - &323 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42653,7 +42873,7 @@ paths: required: - operator - pattern - - &322 + - &324 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42678,7 +42898,7 @@ paths: type: string required: - restricted_file_paths - - &323 + - &325 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42702,7 +42922,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &324 + - &326 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42725,7 +42945,7 @@ paths: type: string required: - restricted_file_extensions - - &325 + - &327 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42750,7 +42970,7 @@ paths: maximum: 100 required: - max_file_size - - &326 + - &328 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42800,7 +43020,7 @@ paths: - repository_id required: - workflows - - &327 + - &329 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42861,7 +43081,7 @@ paths: - tool required: - code_scanning_tools - - &328 + - &330 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42959,22 +43179,20 @@ paths: - tag - push default: branch - enforcement: *305 + enforcement: *307 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *306 - conditions: *307 + items: *308 + conditions: *309 rules: type: array description: An array of rules within the ruleset. - items: &331 + items: &333 title: Repository Rule type: object description: A repository rule. oneOf: - - *308 - - *309 - *310 - *311 - *312 @@ -42994,6 +43212,8 @@ paths: - *326 - *327 - *328 + - *329 + - *330 source_type: type: string description: The type of the source of the ruleset @@ -43037,9 +43257,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: &330 + default: &332 value: id: 21 name: super cool ruleset @@ -43094,7 +43314,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *92 - - &597 + - &598 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 @@ -43106,14 +43326,14 @@ paths: x-multi-segment: true - *230 - *111 - - &598 + - &599 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 - - &599 + - &600 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -43133,7 +43353,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &601 title: Rule Suites description: Response type: array @@ -43188,7 +43408,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &601 + default: &602 value: - id: 21 actor_id: 12 @@ -43232,7 +43452,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *92 - - &602 + - &603 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43248,7 +43468,7 @@ paths: description: Response content: application/json: - schema: &603 + schema: &604 title: Rule Suite description: Response type: object @@ -43347,7 +43567,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &604 + default: &605 value: id: 21 actor_id: 12 @@ -43420,9 +43640,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 '404': *26 '500': *107 put: @@ -43465,16 +43685,16 @@ paths: - branch - tag - push - enforcement: *305 + enforcement: *307 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *306 - conditions: *307 + items: *308 + conditions: *309 rules: description: An array of rules within the ruleset. type: array - items: *331 + items: *333 examples: default: value: @@ -43509,9 +43729,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 '404': *26 '500': *107 delete: @@ -43570,7 +43790,7 @@ paths: type: array items: *141 examples: - default: *332 + default: *334 '404': *26 '500': *107 x-github: @@ -43607,7 +43827,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -43670,14 +43890,14 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *92 - - *334 - - *335 - *336 - *337 + - *338 + - *339 - *9 - *5 - *4 - - &606 + - &607 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.19/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43687,7 +43907,7 @@ paths: required: false schema: type: string - - &607 + - &608 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.19/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43697,10 +43917,10 @@ paths: required: false schema: type: string - - *338 - - *339 - *340 - *341 + - *342 + - *343 responses: '200': description: Response @@ -43708,9 +43928,9 @@ paths: application/json: schema: type: array - items: *342 + items: *344 examples: - default: *343 + default: *345 headers: Link: *6 '404': *26 @@ -43745,9 +43965,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 '403': *43 '404': *26 patch: @@ -43861,9 +44081,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *346 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43885,7 +44105,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/security-managers#add-a-security-manager-team parameters: - *92 - - *275 + - *277 responses: '204': description: Response @@ -43909,7 +44129,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *92 - - *275 + - *277 responses: '204': description: Response @@ -43939,7 +44159,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *92 - - *347 + - *349 - *4 - *5 responses: @@ -43947,9 +44167,9 @@ paths: description: Success content: application/json: - schema: *348 + schema: *350 examples: - default: *349 + default: *351 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43977,7 +44197,7 @@ paths: application/json: schema: type: array - items: &370 + items: &372 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -44052,8 +44272,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *276 - required: *277 + properties: *278 + required: *279 nullable: true required: - id @@ -44069,7 +44289,7 @@ paths: - parent - type examples: - default: *346 + default: *348 headers: Link: *6 '403': *43 @@ -44171,7 +44391,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44234,8 +44454,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *276 - required: *277 + properties: *278 + required: *279 nullable: true members_count: type: integer @@ -44459,7 +44679,7 @@ paths: - created_at - updated_at - archived_at - ldap_dn: *350 + ldap_dn: *352 type: description: The ownership type of the team type: string @@ -44494,7 +44714,7 @@ paths: - repos_count - organization examples: - default: &352 + default: &354 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44564,15 +44784,15 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#get-a-team-by-name parameters: - *92 - - *275 + - *277 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '404': *26 x-github: githubCloudOnly: false @@ -44594,7 +44814,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#update-a-team parameters: - *92 - - *275 + - *277 requestBody: required: false content: @@ -44656,16 +44876,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '201': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '404': *26 '422': *35 '403': *43 @@ -44691,7 +44911,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#delete-a-team parameters: - *92 - - *275 + - *277 responses: '204': description: Response @@ -44718,7 +44938,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#list-discussions parameters: - *92 - - *275 + - *277 - *9 - *4 - *5 @@ -44735,7 +44955,7 @@ paths: application/json: schema: type: array - items: &353 + items: &355 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44834,7 +45054,7 @@ paths: - updated_at - url examples: - default: &662 + default: &663 value: - author: login: octocat @@ -44909,7 +45129,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#create-a-discussion parameters: - *92 - - *275 + - *277 requestBody: required: true content: @@ -44943,9 +45163,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: &354 + default: &356 value: author: login: octocat @@ -45018,8 +45238,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#get-a-discussion parameters: - *92 - - *275 - - &355 + - *277 + - &357 name: discussion_number description: The number that identifies the discussion. in: path @@ -45031,9 +45251,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45056,8 +45276,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#update-a-discussion parameters: - *92 - - *275 - - *355 + - *277 + - *357 requestBody: required: false content: @@ -45080,9 +45300,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: &663 + default: &664 value: author: login: octocat @@ -45153,8 +45373,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#delete-a-discussion parameters: - *92 - - *275 - - *355 + - *277 + - *357 responses: '204': description: Response @@ -45181,8 +45401,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#list-discussion-comments parameters: - *92 - - *275 - - *355 + - *277 + - *357 - *9 - *4 - *5 @@ -45193,7 +45413,7 @@ paths: application/json: schema: type: array - items: &356 + items: &358 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45265,7 +45485,7 @@ paths: - updated_at - url examples: - default: &664 + default: &665 value: - author: login: octocat @@ -45334,8 +45554,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *92 - - *275 - - *355 + - *277 + - *357 requestBody: required: true content: @@ -45357,9 +45577,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: &357 + default: &359 value: author: login: octocat @@ -45426,9 +45646,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *92 - - *275 - - *355 - - &358 + - *277 + - *357 + - &360 name: comment_number description: The number that identifies the comment. in: path @@ -45440,9 +45660,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45465,9 +45685,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *92 - - *275 - - *355 - - *358 + - *277 + - *357 + - *360 requestBody: required: true content: @@ -45489,9 +45709,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: &665 + default: &666 value: author: login: octocat @@ -45556,9 +45776,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *92 - - *275 - - *355 - - *358 + - *277 + - *357 + - *360 responses: '204': description: Response @@ -45585,9 +45805,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *92 - - *275 - - *355 - - *358 + - *277 + - *357 + - *360 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -45613,7 +45833,7 @@ paths: application/json: schema: type: array - items: &359 + items: &361 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45656,7 +45876,7 @@ paths: - content - created_at examples: - default: &361 + default: &363 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45707,9 +45927,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *92 - - *275 - - *355 - - *358 + - *277 + - *357 + - *360 requestBody: required: true content: @@ -45742,9 +45962,9 @@ paths: team discussion comment content: application/json: - schema: *359 + schema: *361 examples: - default: &360 + default: &362 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45773,9 +45993,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45799,10 +46019,10 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *92 - - *275 - - *355 - - *358 - - &362 + - *277 + - *357 + - *360 + - &364 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45835,8 +46055,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *92 - - *275 - - *355 + - *277 + - *357 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -45862,9 +46082,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 x-github: @@ -45891,8 +46111,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *92 - - *275 - - *355 + - *277 + - *357 requestBody: required: true content: @@ -45924,16 +46144,16 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45957,9 +46177,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *92 - - *275 - - *355 - - *362 + - *277 + - *357 + - *364 responses: '204': description: Response @@ -45983,15 +46203,15 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *92 - - *275 + - *277 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: *364 + default: *366 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46011,7 +46231,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *92 - - *275 + - *277 requestBody: required: true content: @@ -46034,9 +46254,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -46056,7 +46276,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *92 - - *275 + - *277 responses: '204': description: Response @@ -46080,7 +46300,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/members#list-team-members parameters: - *92 - - *275 + - *277 - name: role description: Filters members returned by their role in the team. in: query @@ -46103,7 +46323,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -46134,14 +46354,14 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/members#get-team-membership-for-a-user parameters: - *92 - - *275 + - *277 - *8 responses: '200': description: Response content: application/json: - schema: &367 + schema: &369 title: Team Membership description: Team Membership type: object @@ -46168,7 +46388,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &666 + response-if-user-is-a-team-maintainer: &667 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46205,7 +46425,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *92 - - *275 + - *277 - *8 requestBody: required: false @@ -46231,9 +46451,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - response-if-users-membership-with-team-is-now-pending: &667 + response-if-users-membership-with-team-is-now-pending: &668 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46269,7 +46489,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/members#remove-team-membership-for-a-user parameters: - *92 - - *275 + - *277 - *8 responses: '204': @@ -46297,7 +46517,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#list-team-repositories parameters: - *92 - - *275 + - *277 - *4 - *5 responses: @@ -46309,7 +46529,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -46339,15 +46559,15 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *92 - - *275 - - *368 - - *369 + - *277 + - *370 + - *371 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &668 + schema: &669 title: Team Repository description: A team's access to a repository. type: object @@ -46917,9 +47137,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *92 - - *275 - - *368 - - *369 + - *277 + - *370 + - *371 requestBody: required: false content: @@ -46965,9 +47185,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#remove-a-repository-from-a-team parameters: - *92 - - *275 - - *368 - - *369 + - *277 + - *370 + - *371 responses: '204': description: Response @@ -46992,7 +47212,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#list-child-teams parameters: - *92 - - *275 + - *277 - *4 - *5 responses: @@ -47002,9 +47222,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - response-if-child-teams-exist: &669 + response-if-child-teams-exist: &670 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47158,7 +47378,7 @@ paths: resources: type: object properties: - core: &371 + core: &373 title: Rate Limit type: object properties: @@ -47175,20 +47395,20 @@ paths: - remaining - reset - used - graphql: *371 - search: *371 - code_search: *371 - source_import: *371 - integration_manifest: *371 - code_scanning_upload: *371 - actions_runner_registration: *371 - scim: *371 - dependency_sbom: *371 - code_scanning_autofix: *371 + graphql: *373 + search: *373 + code_search: *373 + source_import: *373 + integration_manifest: *373 + code_scanning_upload: *373 + actions_runner_registration: *373 + scim: *373 + dependency_sbom: *373 + code_scanning_autofix: *373 required: - core - search - rate: *371 + rate: *373 required: - rate - resources @@ -47293,14 +47513,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#get-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: default-response: summary: Default response @@ -47801,7 +48021,7 @@ paths: status: disabled '403': *43 '404': *26 - '301': *373 + '301': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47819,8 +48039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#update-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -48053,10 +48273,10 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *374 - '307': &375 + default: *376 + '307': &377 description: Temporary Redirect content: application/json: @@ -48101,8 +48321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#delete-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -48124,7 +48344,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#delete-a-repository - '307': *375 + '307': *377 '404': *26 '409': *123 x-github: @@ -48148,11 +48368,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 - - &393 + - &395 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48175,7 +48395,7 @@ paths: type: integer artifacts: type: array - items: &376 + items: &378 title: Artifact description: An artifact type: object @@ -48246,7 +48466,7 @@ paths: - expires_at - updated_at examples: - default: &394 + default: &396 value: total_count: 2 artifacts: @@ -48305,9 +48525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/artifacts#get-an-artifact parameters: - - *368 - - *369 - - &377 + - *370 + - *371 + - &379 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48319,7 +48539,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: default: value: @@ -48356,9 +48576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/artifacts#delete-an-artifact parameters: - - *368 - - *369 - - *377 + - *370 + - *371 + - *379 responses: '204': description: Response @@ -48382,9 +48602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/artifacts#download-an-artifact parameters: - - *368 - - *369 - - *377 + - *370 + - *371 + - *379 - name: archive_format in: path required: true @@ -48398,7 +48618,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48421,14 +48641,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -48454,14 +48674,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#get-github-actions-cache-usage-policy-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &380 + schema: &382 title: Actions cache usage policy for repository description: GitHub Actions cache usage policy for repository. type: object @@ -48473,7 +48693,7 @@ paths: required: - repo_cache_size_limit_in_gb examples: - default: &381 + default: &383 value: repo_cache_size_limit_in_gb: 14 x-github: @@ -48494,8 +48714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#set-github-actions-cache-usage-policy-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -48503,9 +48723,9 @@ paths: required: true content: application/json: - schema: *380 + schema: *382 examples: - selected_actions: *381 + selected_actions: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48525,11 +48745,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 - - &382 + - &384 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -48563,7 +48783,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &385 title: Repository actions caches description: Repository actions caches type: object @@ -48605,7 +48825,7 @@ paths: - total_count - actions_caches examples: - default: &384 + default: &386 value: total_count: 1 actions_caches: @@ -48637,23 +48857,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *368 - - *369 + - *370 + - *371 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *382 + - *384 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: *384 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48673,8 +48893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *368 - - *369 + - *370 + - *371 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48705,9 +48925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *368 - - *369 - - &385 + - *370 + - *371 + - &387 name: job_id description: The unique identifier of the job. in: path @@ -48719,7 +48939,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &399 title: Job description: Information of a job execution in a workflow run type: object @@ -49026,9 +49246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *368 - - *369 - - *385 + - *370 + - *371 + - *387 responses: '302': description: Response @@ -49056,9 +49276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *368 - - *369 - - *385 + - *370 + - *371 + - *387 requestBody: required: false content: @@ -49103,8 +49323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Status response @@ -49154,8 +49374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -49218,8 +49438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#list-repository-organization-secrets parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -49237,7 +49457,7 @@ paths: type: integer secrets: type: array - items: &399 + items: &401 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49257,7 +49477,7 @@ paths: - created_at - updated_at examples: - default: &400 + default: &402 value: total_count: 2 secrets: @@ -49290,9 +49510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#list-repository-organization-variables parameters: - - *368 - - *369 - - *386 + - *370 + - *371 + - *388 - *5 responses: '200': @@ -49309,7 +49529,7 @@ paths: type: integer variables: type: array - items: &403 + items: &405 title: Actions Variable type: object properties: @@ -49339,7 +49559,7 @@ paths: - created_at - updated_at examples: - default: &404 + default: &406 value: total_count: 2 variables: @@ -49372,8 +49592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49382,7 +49602,7 @@ paths: schema: type: object properties: - enabled: &387 + enabled: &389 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *70 @@ -49417,8 +49637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -49429,7 +49649,7 @@ paths: schema: type: object properties: - enabled: *387 + enabled: *389 allowed_actions: *70 sha_pinning_required: *71 required: @@ -49462,14 +49682,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &388 + schema: &390 type: object properties: access_level: @@ -49487,7 +49707,7 @@ paths: required: - access_level examples: - default: &389 + default: &391 value: access_level: organization x-github: @@ -49512,15 +49732,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 responses: '204': description: Response @@ -49544,8 +49764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49575,8 +49795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Empty response for successful settings update @@ -49610,8 +49830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49638,8 +49858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -49673,8 +49893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49702,8 +49922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -49734,8 +49954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49766,8 +49986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -49799,8 +50019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49829,8 +50049,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Success response @@ -49870,8 +50090,8 @@ paths: in: query schema: type: string - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -49915,8 +50135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49948,8 +50168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -50023,8 +50243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '201': description: Response @@ -50060,8 +50280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '201': description: Response @@ -50091,8 +50311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 responses: '200': @@ -50122,8 +50342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 responses: '204': @@ -50150,8 +50370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 responses: '200': *91 @@ -50176,8 +50396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 requestBody: required: true @@ -50226,8 +50446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 requestBody: required: true @@ -50277,8 +50497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 responses: '200': *210 @@ -50308,8 +50528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 - *211 responses: @@ -50339,9 +50559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *368 - - *369 - - &407 + - *370 + - *371 + - &409 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -50349,7 +50569,7 @@ paths: required: false schema: type: string - - &408 + - &410 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50357,7 +50577,7 @@ paths: required: false schema: type: string - - &409 + - &411 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50366,7 +50586,7 @@ paths: required: false schema: type: string - - &410 + - &412 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -50393,7 +50613,7 @@ paths: - pending - *4 - *5 - - &411 + - &413 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-server@3.19/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -50402,7 +50622,7 @@ paths: schema: type: string format: date-time - - &390 + - &392 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50411,13 +50631,13 @@ paths: schema: type: boolean default: false - - &412 + - &414 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &413 + - &415 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50440,7 +50660,7 @@ paths: type: integer workflow_runs: type: array - items: &391 + items: &393 title: Workflow Run description: An invocation of a workflow type: object @@ -50535,7 +50755,7 @@ paths: that triggered the run. type: array nullable: true - items: &431 + items: &433 title: Pull Request Minimal type: object properties: @@ -50654,7 +50874,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &435 + properties: &437 id: type: string description: SHA for the commit @@ -50705,7 +50925,7 @@ paths: - name - email nullable: true - required: &436 + required: &438 - id - tree_id - message @@ -50752,7 +50972,7 @@ paths: - workflow_url - pull_requests examples: - default: &414 + default: &416 value: total_count: 1 workflow_runs: @@ -50988,24 +51208,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *368 - - *369 - - &392 + - *370 + - *371 + - &394 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *390 + - *392 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: &395 + default: &397 value: id: 30433642 name: Build @@ -51246,9 +51466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '204': description: Response @@ -51271,9 +51491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '200': description: Response @@ -51394,12 +51614,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 - *4 - *5 - - *393 + - *395 responses: '200': description: Response @@ -51415,9 +51635,9 @@ paths: type: integer artifacts: type: array - items: *376 + items: *378 examples: - default: *394 + default: *396 headers: Link: *6 x-github: @@ -51441,25 +51661,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *368 - - *369 - - *392 - - &396 + - *370 + - *371 + - *394 + - &398 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *390 + - *392 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: *395 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51482,10 +51702,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *368 - - *369 - - *392 - - *396 + - *370 + - *371 + - *394 + - *398 - *4 - *5 responses: @@ -51503,9 +51723,9 @@ paths: type: integer jobs: type: array - items: *397 + items: *399 examples: - default: &398 + default: &400 value: total_count: 1 jobs: @@ -51618,10 +51838,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *368 - - *369 - - *392 - - *396 + - *370 + - *371 + - *394 + - *398 responses: '302': description: Response @@ -51649,9 +51869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '202': description: Response @@ -51684,9 +51904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 requestBody: required: true content: @@ -51753,9 +51973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '202': description: Response @@ -51788,9 +52008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -51820,9 +52040,9 @@ paths: type: integer jobs: type: array - items: *397 + items: *399 examples: - default: *398 + default: *400 headers: Link: *6 x-github: @@ -51847,9 +52067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '302': description: Response @@ -51876,9 +52096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '204': description: Response @@ -51905,9 +52125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '200': description: Response @@ -51967,7 +52187,7 @@ paths: items: type: object properties: - type: &500 + type: &501 type: string description: The type of reviewer. enum: @@ -51977,7 +52197,7 @@ paths: reviewer: anyOf: - *19 - - *370 + - *372 required: - environment - wait_timer @@ -52052,9 +52272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 requestBody: required: true content: @@ -52101,7 +52321,7 @@ paths: application/json: schema: type: array - items: &484 + items: &486 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52207,7 +52427,7 @@ paths: - created_at - updated_at examples: - default: &485 + default: &487 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52263,9 +52483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 requestBody: required: false content: @@ -52309,9 +52529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 requestBody: required: false content: @@ -52358,8 +52578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#list-repository-secrets parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -52377,9 +52597,9 @@ paths: type: integer secrets: type: array - items: *399 + items: *401 examples: - default: *400 + default: *402 headers: Link: *6 x-github: @@ -52404,16 +52624,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#get-a-repository-public-key parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52435,17 +52655,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#get-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: &513 + default: &514 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -52471,8 +52691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 requestBody: required: true @@ -52530,8 +52750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#delete-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 responses: '204': @@ -52557,9 +52777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#list-repository-variables parameters: - - *368 - - *369 - - *386 + - *370 + - *371 + - *388 - *5 responses: '200': @@ -52576,9 +52796,9 @@ paths: type: integer variables: type: array - items: *403 + items: *405 examples: - default: *404 + default: *406 headers: Link: *6 x-github: @@ -52601,8 +52821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#create-a-repository-variable parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -52654,17 +52874,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#get-a-repository-variable parameters: - - *368 - - *369 + - *370 + - *371 - *216 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: &514 + default: &515 value: name: USERNAME value: octocat @@ -52690,8 +52910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#update-a-repository-variable parameters: - - *368 - - *369 + - *370 + - *371 - *216 requestBody: required: true @@ -52734,8 +52954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#delete-a-repository-variable parameters: - - *368 - - *369 + - *370 + - *371 - *216 responses: '204': @@ -52761,8 +52981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflows#list-repository-workflows parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -52780,7 +53000,7 @@ paths: type: integer workflows: type: array - items: &405 + items: &407 title: Workflow description: A GitHub Actions workflow type: object @@ -52887,9 +53107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflows#get-a-workflow parameters: - - *368 - - *369 - - &406 + - *370 + - *371 + - &408 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -52904,7 +53124,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: default: value: @@ -52937,9 +53157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflows#disable-a-workflow parameters: - - *368 - - *369 - - *406 + - *370 + - *371 + - *408 responses: '204': description: Response @@ -52964,9 +53184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *368 - - *369 - - *406 + - *370 + - *371 + - *408 responses: '204': description: Response @@ -53017,9 +53237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflows#enable-a-workflow parameters: - - *368 - - *369 - - *406 + - *370 + - *371 + - *408 responses: '204': description: Response @@ -53046,19 +53266,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *368 - - *369 - - *406 - - *407 + - *370 + - *371 - *408 - *409 - *410 - - *4 - - *5 - *411 - - *390 - *412 + - *4 + - *5 - *413 + - *392 + - *414 + - *415 responses: '200': description: Response @@ -53074,9 +53294,9 @@ paths: type: integer workflow_runs: type: array - items: *391 + items: *393 examples: - default: *414 + default: *416 headers: Link: *6 x-github: @@ -53099,8 +53319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-activities parameters: - - *368 - - *369 + - *370 + - *371 - *9 - *4 - *114 @@ -53264,8 +53484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/assignees#list-assignees parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -53277,7 +53497,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 '404': *26 @@ -53302,8 +53522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *368 - - *369 + - *370 + - *371 - name: assignee in: path required: true @@ -53337,8 +53557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -53346,7 +53566,7 @@ paths: application/json: schema: type: array - items: &415 + items: &417 title: Autolink reference description: An autolink reference. type: object @@ -53400,8 +53620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -53440,9 +53660,9 @@ paths: description: response content: application/json: - schema: *415 + schema: *417 examples: - default: &416 + default: &418 value: id: 1 key_prefix: TICKET- @@ -53473,9 +53693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *368 - - *369 - - &417 + - *370 + - *371 + - &419 name: autolink_id description: The unique identifier of the autolink. in: path @@ -53487,9 +53707,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: *416 + default: *418 '404': *26 x-github: githubCloudOnly: false @@ -53509,9 +53729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *368 - - *369 - - *417 + - *370 + - *371 + - *419 responses: '204': description: Response @@ -53535,8 +53755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response if Dependabot is enabled @@ -53583,8 +53803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branches#list-branches parameters: - - *368 - - *369 + - *370 + - *371 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -53622,7 +53842,7 @@ paths: - url protected: type: boolean - protection: &419 + protection: &421 title: Branch Protection description: Branch Protection type: object @@ -53664,7 +53884,7 @@ paths: required: - contexts - checks - enforce_admins: &422 + enforce_admins: &424 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -53679,7 +53899,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &424 + required_pull_request_reviews: &426 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -53700,7 +53920,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *370 + items: *372 apps: description: The list of apps with review dismissal access. @@ -53729,7 +53949,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *370 + items: *372 apps: description: The list of apps allowed to bypass pull request requirements. @@ -53755,7 +53975,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &421 + restrictions: &423 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53818,7 +54038,7 @@ paths: type: string teams: type: array - items: *370 + items: *372 apps: type: array items: @@ -54032,9 +54252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branches#get-a-branch parameters: - - *368 - - *369 - - &420 + - *370 + - *371 + - &422 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-server@3.19/graphql). @@ -54048,14 +54268,14 @@ paths: description: Response content: application/json: - schema: &430 + schema: &432 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &464 title: Commit description: Commit type: object @@ -54089,7 +54309,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &418 + properties: &420 name: type: string example: '"Chris Wanstrath"' @@ -54105,7 +54325,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *418 + properties: *420 nullable: true message: type: string @@ -54126,7 +54346,7 @@ paths: required: - sha - url - verification: &520 + verification: &521 title: Verification type: object properties: @@ -54196,7 +54416,7 @@ paths: type: integer files: type: array - items: &471 + items: &473 title: Diff Entry description: Diff Entry type: object @@ -54280,7 +54500,7 @@ paths: - self protected: type: boolean - protection: *419 + protection: *421 protection_url: type: string format: uri @@ -54387,7 +54607,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *373 + '301': *375 '404': *26 x-github: githubCloudOnly: false @@ -54409,15 +54629,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -54611,9 +54831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#update-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -54868,7 +55088,7 @@ paths: url: type: string format: uri - required_status_checks: &427 + required_status_checks: &429 title: Status Check Policy description: Status Check Policy type: object @@ -54944,7 +55164,7 @@ paths: items: *19 teams: type: array - items: *370 + items: *372 apps: type: array items: *25 @@ -54962,7 +55182,7 @@ paths: items: *19 teams: type: array - items: *370 + items: *372 apps: type: array items: *25 @@ -55020,7 +55240,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *421 + restrictions: *423 required_conversation_resolution: type: object properties: @@ -55132,9 +55352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#delete-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -55159,17 +55379,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: &423 + default: &425 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -55191,17 +55411,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *423 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55220,9 +55440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -55247,17 +55467,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *424 + schema: *426 examples: - default: &425 + default: &427 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -55353,9 +55573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -55453,9 +55673,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: - default: *425 + default: *427 '422': *35 x-github: githubCloudOnly: false @@ -55476,9 +55696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -55505,17 +55725,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: &426 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -55538,17 +55758,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *426 + default: *428 '404': *26 x-github: githubCloudOnly: false @@ -55568,9 +55788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -55595,17 +55815,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-status-checks-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: &428 + default: &430 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -55631,9 +55851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#update-status-check-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -55685,9 +55905,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *26 '422': *35 x-github: @@ -55709,9 +55929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#remove-status-check-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -55735,9 +55955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response @@ -55771,9 +55991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#add-status-check-contexts parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -55840,9 +56060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#set-status-check-contexts parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -55906,9 +56126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: content: application/json: @@ -55974,15 +56194,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *421 + schema: *423 examples: default: value: @@ -56073,9 +56293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#delete-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -56098,9 +56318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response @@ -56110,7 +56330,7 @@ paths: type: array items: *25 examples: - default: &429 + default: &431 value: - id: 1 slug: octoapp @@ -56167,9 +56387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56203,7 +56423,7 @@ paths: type: array items: *25 examples: - default: *429 + default: *431 '422': *35 x-github: githubCloudOnly: false @@ -56224,9 +56444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56260,7 +56480,7 @@ paths: type: array items: *25 examples: - default: *429 + default: *431 '422': *35 x-github: githubCloudOnly: false @@ -56281,9 +56501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56317,7 +56537,7 @@ paths: type: array items: *25 examples: - default: *429 + default: *431 '422': *35 x-github: githubCloudOnly: false @@ -56339,9 +56559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response @@ -56349,9 +56569,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *346 + default: *348 '404': *26 x-github: githubCloudOnly: false @@ -56371,9 +56591,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -56409,9 +56629,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *346 + default: *348 '422': *35 x-github: githubCloudOnly: false @@ -56432,9 +56652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -56470,9 +56690,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *346 + default: *348 '422': *35 x-github: githubCloudOnly: false @@ -56493,9 +56713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: content: application/json: @@ -56530,9 +56750,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *346 + default: *348 '422': *35 x-github: githubCloudOnly: false @@ -56554,9 +56774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response @@ -56566,7 +56786,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 '404': *26 x-github: githubCloudOnly: false @@ -56590,9 +56810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56625,7 +56845,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 '422': *35 x-github: githubCloudOnly: false @@ -56650,9 +56870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56685,7 +56905,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 '422': *35 x-github: githubCloudOnly: false @@ -56710,9 +56930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56745,7 +56965,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 '422': *35 x-github: githubCloudOnly: false @@ -56772,9 +56992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branches#rename-a-branch parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56796,7 +57016,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: default: value: @@ -56910,8 +57130,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *368 - - *369 + - *370 + - *371 - *109 - *110 - *111 @@ -56947,8 +57167,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: bypass_request_number in: path required: true @@ -57021,8 +57241,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *368 - - *369 + - *370 + - *371 - *109 - *110 - *111 @@ -57062,8 +57282,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *368 - - *369 + - *370 + - *371 - name: bypass_request_number in: path required: true @@ -57133,8 +57353,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *368 - - *369 + - *370 + - *371 - name: bypass_request_number in: path required: true @@ -57205,8 +57425,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *368 - - *369 + - *370 + - *371 - name: bypass_response_id in: path required: true @@ -57239,8 +57459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#create-a-check-run parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -57519,7 +57739,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &434 title: CheckRun description: A check performed on the code of a given code change type: object @@ -57638,8 +57858,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *431 - deployment: &704 + items: *433 + deployment: &705 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -57919,9 +58139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#get-a-check-run parameters: - - *368 - - *369 - - &433 + - *370 + - *371 + - &435 name: check_run_id description: The unique identifier of the check run. in: path @@ -57933,9 +58153,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: &434 + default: &436 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58035,9 +58255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#update-a-check-run parameters: - - *368 - - *369 - - *433 + - *370 + - *371 + - *435 requestBody: required: true content: @@ -58277,9 +58497,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58299,9 +58519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#list-check-run-annotations parameters: - - *368 - - *369 - - *433 + - *370 + - *371 + - *435 - *4 - *5 responses: @@ -58396,9 +58616,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#rerequest-a-check-run parameters: - - *368 - - *369 - - *433 + - *370 + - *371 + - *435 responses: '201': description: Response @@ -58442,8 +58662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/suites#create-a-check-suite parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -58465,7 +58685,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &437 + schema: &439 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58529,7 +58749,7 @@ paths: nullable: true pull_requests: type: array - items: *431 + items: *433 nullable: true app: title: GitHub app @@ -58555,8 +58775,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *435 - required: *436 + properties: *437 + required: *438 latest_check_runs_count: type: integer check_runs_url: @@ -58584,7 +58804,7 @@ paths: - check_runs_url - pull_requests examples: - default: &438 + default: &440 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -58875,9 +59095,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58896,8 +59116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -59206,9 +59426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/suites#get-a-check-suite parameters: - - *368 - - *369 - - &439 + - *370 + - *371 + - &441 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59220,9 +59440,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59245,17 +59465,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *368 - - *369 - - *439 - - &468 + - *370 + - *371 + - *441 + - &470 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &471 name: status description: Returns check runs with the specified `status`. in: query @@ -59294,9 +59514,9 @@ paths: type: integer check_runs: type: array - items: *432 + items: *434 examples: - default: &470 + default: &472 value: total_count: 1 check_runs: @@ -59398,9 +59618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/suites#rerequest-a-check-suite parameters: - - *368 - - *369 - - *439 + - *370 + - *371 + - *441 responses: '201': description: Response @@ -59433,21 +59653,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *233 - *234 - *5 - *4 - - &451 + - &453 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *440 - - &452 + schema: *442 + - &454 name: pr description: The number of the pull request for the results you want to list. in: query @@ -59478,7 +59698,7 @@ paths: be returned. in: query required: false - schema: *441 + schema: *443 responses: '200': description: Response @@ -59494,7 +59714,7 @@ paths: updated_at: *133 url: *130 html_url: *131 - instances_url: *442 + instances_url: *444 state: *118 fixed_at: *135 dismissed_by: @@ -59505,11 +59725,11 @@ paths: required: *18 nullable: true dismissed_at: *134 - dismissed_reason: *443 - dismissed_comment: *444 - rule: *445 - tool: *446 - most_recent_instance: *447 + dismissed_reason: *445 + dismissed_comment: *446 + rule: *447 + tool: *448 + most_recent_instance: *449 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59635,7 +59855,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *42 - '403': &448 + '403': &450 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -59662,9 +59882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *368 - - *369 - - &449 + - *370 + - *371 + - &451 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -59678,7 +59898,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &452 type: object properties: number: *125 @@ -59686,7 +59906,7 @@ paths: updated_at: *133 url: *130 html_url: *131 - instances_url: *442 + instances_url: *444 state: *118 fixed_at: *135 dismissed_by: @@ -59697,8 +59917,8 @@ paths: required: *18 nullable: true dismissed_at: *134 - dismissed_reason: *443 - dismissed_comment: *444 + dismissed_reason: *445 + dismissed_comment: *446 rule: type: object properties: @@ -59752,8 +59972,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *446 - most_recent_instance: *447 + tool: *448 + most_recent_instance: *449 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59852,7 +60072,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *42 - '403': *448 + '403': *450 '404': *26 '503': *142 x-github: @@ -59872,9 +60092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *368 - - *369 - - *449 + - *370 + - *371 + - *451 requestBody: required: true content: @@ -59889,8 +60109,8 @@ paths: enum: - open - dismissed - dismissed_reason: *443 - dismissed_comment: *444 + dismissed_reason: *445 + dismissed_comment: *446 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -59912,7 +60132,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: default: value: @@ -59988,7 +60208,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *34 - '403': &457 + '403': &459 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60015,13 +60235,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *368 - - *369 - - *449 + - *370 + - *371 + - *451 - *5 - *4 - - *451 - - *452 + - *453 + - *454 responses: '200': description: Response @@ -60029,7 +60249,7 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: default: value: @@ -60068,7 +60288,7 @@ paths: end_column: 50 classifications: - source - '403': *448 + '403': *450 '404': *26 '503': *142 x-github: @@ -60102,25 +60322,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *233 - *234 - *5 - *4 - - *452 + - *454 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *440 + schema: *442 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &455 + schema: &457 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -60141,23 +60361,23 @@ paths: application/json: schema: type: array - items: &456 + items: &458 type: object properties: - ref: *440 - commit_sha: &458 + ref: *442 + commit_sha: &460 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *453 + analysis_key: *455 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *454 + category: *456 error: type: string example: error reading field xyz @@ -60181,8 +60401,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *455 - tool: *446 + sarif_id: *457 + tool: *448 deletable: type: boolean warning: @@ -60243,7 +60463,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *448 + '403': *450 '404': *26 '503': *142 x-github: @@ -60279,8 +60499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60293,7 +60513,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: response: summary: application/json response @@ -60347,7 +60567,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *448 + '403': *450 '404': *26 '422': description: Response if analysis could not be processed @@ -60434,8 +60654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60488,7 +60708,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *34 - '403': *457 + '403': *459 '404': *26 '503': *142 x-github: @@ -60510,8 +60730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -60596,7 +60816,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *448 + '403': *450 '404': *26 '503': *142 x-github: @@ -60617,8 +60837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -60710,7 +60930,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *457 + '403': *459 '404': *26 '409': description: Response if there is already a validation run in progress with @@ -60781,8 +61001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -60790,7 +61010,7 @@ paths: schema: type: object properties: - commit_sha: *458 + commit_sha: *460 ref: type: string description: |- @@ -60843,7 +61063,7 @@ paths: schema: type: object properties: - id: *455 + id: *457 url: type: string description: The REST API URL for checking the status of the upload. @@ -60857,7 +61077,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *457 + '403': *459 '404': *26 '413': description: Payload Too Large if the sarif field is too large @@ -60880,8 +61100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *368 - - *369 + - *370 + - *371 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -60927,7 +61147,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *448 + '403': *450 '404': description: Not Found if the sarif id does not match any upload '503': *142 @@ -60952,8 +61172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -61029,8 +61249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-codeowners-errors parameters: - - *368 - - *369 + - *370 + - *371 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -61153,8 +61373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *368 - - *369 + - *370 + - *371 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -61196,7 +61416,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &461 login: type: string example: octocat @@ -61289,7 +61509,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &462 - avatar_url - events_url - followers_url @@ -61362,8 +61582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *368 - - *369 + - *370 + - *371 - *8 responses: '204': @@ -61400,8 +61620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *368 - - *369 + - *370 + - *371 - *8 requestBody: required: false @@ -61471,8 +61691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *368 - - *369 + - *370 + - *371 - *8 responses: '204': @@ -61504,8 +61724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *368 - - *369 + - *370 + - *371 - *8 responses: '200': @@ -61526,8 +61746,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *461 + required: *462 nullable: true required: - permission @@ -61582,8 +61802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -61593,7 +61813,7 @@ paths: application/json: schema: type: array - items: &461 + items: &463 title: Commit Comment description: Commit Comment type: object @@ -61651,7 +61871,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &466 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61710,17 +61930,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#get-a-commit-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '200': description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: &465 + default: &467 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61777,8 +61997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#update-a-commit-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -61801,7 +62021,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: default: value: @@ -61852,8 +62072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#delete-a-commit-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '204': @@ -61875,8 +62095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). @@ -61903,9 +62123,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 '404': *26 @@ -61926,8 +62146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -61960,16 +62180,16 @@ paths: description: Reaction exists content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Reaction created content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '422': *35 x-github: githubCloudOnly: false @@ -61991,10 +62211,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *368 - - *369 + - *370 + - *371 - *168 - - *362 + - *364 responses: '204': description: Response @@ -62043,8 +62263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/commits#list-commits parameters: - - *368 - - *369 + - *370 + - *371 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -62100,9 +62320,9 @@ paths: application/json: schema: type: array - items: *462 + items: *464 examples: - default: &579 + default: &580 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62196,9 +62416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/commits#list-branches-for-head-commit parameters: - - *368 - - *369 - - &463 + - *370 + - *371 + - &465 name: commit_sha description: The SHA of the commit. in: path @@ -62270,9 +62490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#list-commit-comments parameters: - - *368 - - *369 - - *463 + - *370 + - *371 + - *465 - *4 - *5 responses: @@ -62282,9 +62502,9 @@ paths: application/json: schema: type: array - items: *461 + items: *463 examples: - default: *464 + default: *466 headers: Link: *6 x-github: @@ -62312,9 +62532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#create-a-commit-comment parameters: - - *368 - - *369 - - *463 + - *370 + - *371 + - *465 requestBody: required: true content: @@ -62349,9 +62569,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: *465 + default: *467 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62379,9 +62599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *368 - - *369 - - *463 + - *370 + - *371 + - *465 - *4 - *5 responses: @@ -62391,7 +62611,7 @@ paths: application/json: schema: type: array - items: &571 + items: &572 title: Pull Request Simple description: Pull Request Simple type: object @@ -62543,7 +62763,7 @@ paths: nullable: true requested_teams: type: array - items: *370 + items: *372 nullable: true head: type: object @@ -62612,7 +62832,7 @@ paths: - review_comment - self author_association: *150 - auto_merge: *466 + auto_merge: *468 draft: description: Indicates whether or not the pull request is a draft. @@ -62651,7 +62871,7 @@ paths: - author_association - auto_merge examples: - default: &572 + default: &573 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -63188,11 +63408,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/commits#get-a-commit parameters: - - *368 - - *369 + - *370 + - *371 - *5 - *4 - - &467 + - &469 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -63207,9 +63427,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: &556 + default: &557 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63322,11 +63542,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *368 - - *369 - - *467 - - *468 + - *370 + - *371 - *469 + - *470 + - *471 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -63360,9 +63580,9 @@ paths: type: integer check_runs: type: array - items: *432 + items: *434 examples: - default: *470 + default: *472 headers: Link: *6 x-github: @@ -63387,9 +63607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *368 - - *369 - - *467 + - *370 + - *371 + - *469 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -63397,7 +63617,7 @@ paths: schema: type: integer example: 1 - - *468 + - *470 - *4 - *5 responses: @@ -63415,7 +63635,7 @@ paths: type: integer check_suites: type: array - items: *437 + items: *439 examples: default: value: @@ -63615,9 +63835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *368 - - *369 - - *467 + - *370 + - *371 + - *469 - *4 - *5 responses: @@ -63815,9 +64035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *368 - - *369 - - *467 + - *370 + - *371 + - *469 - *4 - *5 responses: @@ -63827,7 +64047,7 @@ paths: application/json: schema: type: array - items: &629 + items: &630 title: Status description: The status of a commit. type: object @@ -63908,7 +64128,7 @@ paths: site_admin: false headers: Link: *6 - '301': *373 + '301': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63976,8 +64196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/commits#compare-two-commits parameters: - - *368 - - *369 + - *370 + - *371 - *5 - *4 - name: basehead @@ -64020,8 +64240,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *464 + merge_base_commit: *464 status: type: string enum: @@ -64041,10 +64261,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *464 files: type: array - items: *471 + items: *473 required: - url - html_url @@ -64330,8 +64550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#get-repository-content parameters: - - *368 - - *369 + - *370 + - *371 - name: path description: path parameter in: path @@ -64474,7 +64694,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &472 + response-if-content-is-a-file: &474 summary: Response if content is a file value: type: file @@ -64606,7 +64826,7 @@ paths: - size - type - url - - &584 + - &585 title: Content File description: Content File type: object @@ -64807,7 +65027,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *472 + response-if-content-is-a-file: *474 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -64876,7 +65096,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *26 '403': *43 - '302': &588 + '302': &589 description: Found '304': *42 x-github: @@ -64900,8 +65120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#create-or-update-file-contents parameters: - - *368 - - *369 + - *370 + - *371 - name: path description: path parameter in: path @@ -64994,7 +65214,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &475 title: File Commit description: File Commit type: object @@ -65146,7 +65366,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: example-for-creating-a-file: value: @@ -65200,7 +65420,7 @@ paths: schema: oneOf: - *24 - - &515 + - &516 description: Repository rule violation was detected type: object properties: @@ -65221,7 +65441,7 @@ paths: items: type: object properties: - placeholder_id: &625 + placeholder_id: &626 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -65253,8 +65473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#delete-a-file parameters: - - *368 - - *369 + - *370 + - *371 - name: path description: path parameter in: path @@ -65315,7 +65535,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: default: value: @@ -65370,8 +65590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-contributors parameters: - - *368 - - *369 + - *370 + - *371 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -65494,8 +65714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *247 - *248 - *249 @@ -65507,7 +65727,7 @@ paths: schema: type: string - *251 - - *474 + - *476 - *252 - *253 - *9 @@ -65538,7 +65758,7 @@ paths: application/json: schema: type: array - items: &478 + items: &480 type: object description: A Dependabot alert. properties: @@ -65571,7 +65791,7 @@ paths: enum: - development - runtime - security_advisory: *475 + security_advisory: *477 security_vulnerability: *129 url: *130 html_url: *131 @@ -65602,8 +65822,8 @@ paths: nullable: true maxLength: 280 fixed_at: *135 - auto_dismissed_at: *476 - dismissal_request: *477 + auto_dismissed_at: *478 + dismissal_request: *479 required: - number - state @@ -65833,9 +66053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *368 - - *369 - - &479 + - *370 + - *371 + - &481 name: alert_number in: path description: |- @@ -65850,7 +66070,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: default: value: @@ -65963,9 +66183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *368 - - *369 - - *479 + - *370 + - *371 + - *481 requestBody: required: true content: @@ -66010,7 +66230,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: default: value: @@ -66139,8 +66359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/secrets#list-repository-secrets parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -66158,7 +66378,7 @@ paths: type: integer secrets: type: array - items: &482 + items: &484 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -66211,16 +66431,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66240,15 +66460,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/secrets#get-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 responses: '200': description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -66274,8 +66494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 requestBody: required: true @@ -66328,8 +66548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 responses: '204': @@ -66352,8 +66572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *368 - - *369 + - *370 + - *371 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -66513,8 +66733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -66739,8 +66959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -66815,7 +67035,7 @@ paths: - version - url additionalProperties: false - metadata: &483 + metadata: &485 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -66848,7 +67068,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *483 + metadata: *485 resolved: type: object description: A collection of resolved package dependencies. @@ -66861,7 +67081,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *483 + metadata: *485 relationship: type: string description: A notation of whether a dependency is requested @@ -66990,8 +67210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/deployments#list-deployments parameters: - - *368 - - *369 + - *370 + - *371 - name: sha description: The SHA recorded at creation time. in: query @@ -67031,9 +67251,9 @@ paths: application/json: schema: type: array - items: *484 + items: *486 examples: - default: *485 + default: *487 headers: Link: *6 x-github: @@ -67099,8 +67319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/deployments#create-a-deployment parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -67181,7 +67401,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: simple-example: summary: Simple example @@ -67254,9 +67474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/deployments#get-a-deployment parameters: - - *368 - - *369 - - &486 + - *370 + - *371 + - &488 name: deployment_id description: deployment_id parameter in: path @@ -67268,7 +67488,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: default: value: @@ -67333,9 +67553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/deployments#delete-a-deployment parameters: - - *368 - - *369 - - *486 + - *370 + - *371 + - *488 responses: '204': description: Response @@ -67357,9 +67577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/statuses#list-deployment-statuses parameters: - - *368 - - *369 - - *486 + - *370 + - *371 + - *488 - *4 - *5 responses: @@ -67369,7 +67589,7 @@ paths: application/json: schema: type: array - items: &487 + items: &489 title: Deployment Status description: The status of a deployment. type: object @@ -67530,9 +67750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/statuses#create-a-deployment-status parameters: - - *368 - - *369 - - *486 + - *370 + - *371 + - *488 requestBody: required: true content: @@ -67607,9 +67827,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: &488 + default: &490 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -67665,9 +67885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/statuses#get-a-deployment-status parameters: - - *368 - - *369 - - *486 + - *370 + - *371 + - *488 - name: status_id in: path required: true @@ -67678,9 +67898,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *488 + default: *490 '404': *26 x-github: githubCloudOnly: false @@ -67707,12 +67927,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 - - *489 - - *490 + - *370 + - *371 - *491 - *492 + - *493 + - *494 - *4 - *5 responses: @@ -67722,9 +67942,9 @@ paths: application/json: schema: type: array - items: *493 + items: *495 examples: - default: *494 + default: *496 '404': *26 '403': *43 '500': *107 @@ -67748,8 +67968,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -67761,7 +67981,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *493 + schema: *495 examples: default: value: @@ -67817,8 +68037,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -67877,12 +68097,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *368 - - *369 - - *489 - - *490 + - *370 + - *371 - *491 - *492 + - *493 + - *494 - *4 - *5 responses: @@ -67892,187 +68112,9 @@ paths: application/json: schema: type: array - items: &496 - title: Dependabot alert dismissal request - description: Alert dismissal request made by a user asking to dismiss - a Dependabot alert. - type: object - properties: - id: - type: integer - format: int64 - description: The unique identifier of the dismissal request. - number: - type: integer - format: int64 - description: The number uniquely identifying the dismissal request - within its repository. - repository: - type: object - description: The repository the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the repository the dismissal request - is for. - name: - type: string - description: The name of the repository the dismissal request - is for. - full_name: - type: string - description: The full name of the repository the dismissal - request is for. - organization: - type: object - description: The organization associated with the repository - the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the dismissal request. - properties: - actor_id: - type: integer - format: int64 - description: The ID of the GitHub user who requested the - dismissal request. - actor_name: - type: string - description: The name of the GitHub user who requested the - dismissal request. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the dismissal request metadata. - items: - type: object - properties: - reason: - type: string - description: The reason for the dismissal request. - alert_number: - type: string - description: The alert number. - alert_title: - type: string - description: The title of the alert. - resource_identifier: - type: string - description: The unique identifier for the request type of the - dismissal request. - example: '123' - status: - type: string - description: The status of the dismissal request. - enum: - - pending - - denied - - approved - - expired - requester_comment: - type: string - description: The comment the requester provided when creating - the dismissal request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the dismissal request will expire. - created_at: - type: string - format: date-time - description: The date and time the dismissal request was created. - responses: - type: array - description: The responses to the dismissal request. - nullable: true - items: *495 - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 - html_url: - type: string - description: The URL to view the dismissal request in a browser. - format: uri - example: https://github.com/octo-org/smile/security/dependabot/1 + items: *497 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: dependabot_alert_dismissal - data: - - reason: no_bandwidth - alert_number: '1' - alert_title: lodash - GHSA-1234-abcd-5678 - resource_identifier: '1' - status: denied - requester_comment: No bandwidth to fix this right now - 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/dependabot/1 - html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal - data: - - reason: tolerable_risk - alert_number: '2' - alert_title: axios - GHSA-5678-efgh-9012 - resource_identifier: '2' - status: approved - requester_comment: Risk is acceptable for this internal tool - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 43 - reviewer: - actor_id: 4 - actor_name: octocat - status: approved - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 - html_url: https://github.com/octo-org/smile/security/dependabot/2 + default: *498 '404': *26 '403': *43 '500': *107 @@ -68096,8 +68138,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -68109,7 +68151,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -68160,8 +68202,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -68232,12 +68274,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - *109 - *110 - *111 - - *497 + - *260 - *4 - *5 responses: @@ -68247,9 +68289,9 @@ paths: application/json: schema: type: array - items: *498 + items: *499 examples: - default: *499 + default: *500 '404': *26 '403': *43 '500': *107 @@ -68274,8 +68316,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -68287,7 +68329,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *498 + schema: *499 examples: default: value: @@ -68345,8 +68387,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -68415,8 +68457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -68473,8 +68515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/environments#list-environments parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -68491,7 +68533,7 @@ paths: type: integer environments: type: array - items: &501 + items: &502 title: Environment description: Details of a deployment environment type: object @@ -68543,7 +68585,7 @@ paths: type: type: string example: wait_timer - wait_timer: &503 + wait_timer: &504 type: integer example: 30 description: The amount of time to delay a job after @@ -68580,11 +68622,11 @@ paths: items: type: object properties: - type: *500 + type: *501 reviewer: anyOf: - *19 - - *370 + - *372 required: - id - node_id @@ -68604,7 +68646,7 @@ paths: - id - node_id - type - deployment_branch_policy: &504 + deployment_branch_policy: &505 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -68719,9 +68761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/environments#get-an-environment parameters: - - *368 - - *369 - - &502 + - *370 + - *371 + - &503 name: environment_name in: path required: true @@ -68734,9 +68776,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: &505 + default: &506 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -68819,9 +68861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/environments#create-or-update-an-environment parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 requestBody: required: false content: @@ -68830,7 +68872,7 @@ paths: type: object nullable: true properties: - wait_timer: *503 + wait_timer: *504 prevent_self_review: type: boolean example: false @@ -68847,13 +68889,13 @@ paths: items: type: object properties: - type: *500 + type: *501 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *504 + deployment_branch_policy: *505 additionalProperties: false examples: default: @@ -68873,9 +68915,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: *505 + default: *506 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -68899,9 +68941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/environments#delete-an-environment parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 responses: '204': description: Default response @@ -68926,9 +68968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *4 - *5 responses: @@ -68946,7 +68988,7 @@ paths: example: 2 branch_policies: type: array - items: &506 + items: &507 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69003,9 +69045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 requestBody: required: true content: @@ -69051,9 +69093,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - example-wildcard: &507 + example-wildcard: &508 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69095,10 +69137,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *368 - - *369 - - *502 - - &508 + - *370 + - *371 + - *503 + - &509 name: branch_policy_id in: path required: true @@ -69110,9 +69152,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69131,10 +69173,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *368 - - *369 - - *502 - - *508 + - *370 + - *371 + - *503 + - *509 requestBody: required: true content: @@ -69162,9 +69204,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69183,10 +69225,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *368 - - *369 - - *502 - - *508 + - *370 + - *371 + - *503 + - *509 responses: '204': description: Response @@ -69211,9 +69253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *502 - - *369 - - *368 + - *503 + - *371 + - *370 responses: '200': description: List of deployment protection rules @@ -69229,7 +69271,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &509 + items: &510 title: Deployment protection rule description: Deployment protection rule type: object @@ -69248,7 +69290,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &510 + app: &511 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -69347,9 +69389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *502 - - *369 - - *368 + - *503 + - *371 + - *370 requestBody: content: application/json: @@ -69370,9 +69412,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *509 + schema: *510 examples: - default: &511 + default: &512 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -69407,9 +69449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *502 - - *369 - - *368 + - *503 + - *371 + - *370 - *5 - *4 responses: @@ -69428,7 +69470,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *510 + items: *511 examples: default: value: @@ -69463,10 +69505,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *368 - - *369 - - *502 - - &512 + - *370 + - *371 + - *503 + - &513 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -69478,9 +69520,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69501,10 +69543,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *502 - - *369 - - *368 - - *512 + - *503 + - *371 + - *370 + - *513 responses: '204': description: Response @@ -69530,9 +69572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#list-environment-secrets parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *4 - *5 responses: @@ -69550,9 +69592,9 @@ paths: type: integer secrets: type: array - items: *399 + items: *401 examples: - default: *400 + default: *402 headers: Link: *6 x-github: @@ -69577,17 +69619,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#get-an-environment-public-key parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69609,18 +69651,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#get-an-environment-secret parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *213 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *513 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69642,9 +69684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *213 requestBody: required: true @@ -69702,9 +69744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#delete-an-environment-secret parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *213 responses: '204': @@ -69730,10 +69772,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#list-environment-variables parameters: - - *368 - - *369 - - *502 - - *386 + - *370 + - *371 + - *503 + - *388 - *5 responses: '200': @@ -69750,9 +69792,9 @@ paths: type: integer variables: type: array - items: *403 + items: *405 examples: - default: *404 + default: *406 headers: Link: *6 x-github: @@ -69775,9 +69817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#create-an-environment-variable parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 requestBody: required: true content: @@ -69829,18 +69871,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#get-an-environment-variable parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *216 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *514 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69861,10 +69903,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#update-an-environment-variable parameters: - - *368 - - *369 + - *370 + - *371 - *216 - - *502 + - *503 requestBody: required: true content: @@ -69906,10 +69948,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#delete-an-environment-variable parameters: - - *368 - - *369 + - *370 + - *371 - *216 - - *502 + - *503 responses: '204': description: Response @@ -69931,8 +69973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/events#list-repository-events parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -70010,8 +70052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/forks#list-forks parameters: - - *368 - - *369 + - *370 + - *371 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -70170,8 +70212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/forks#create-a-fork parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -70203,9 +70245,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *374 + default: *376 '400': *34 '422': *35 '403': *43 @@ -70226,8 +70268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/blobs#create-a-blob parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -70287,7 +70329,7 @@ paths: schema: oneOf: - *184 - - *515 + - *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70312,8 +70354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/blobs#get-a-blob parameters: - - *368 - - *369 + - *370 + - *371 - name: file_sha in: path required: true @@ -70412,8 +70454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/commits#create-a-commit parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -70522,7 +70564,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &517 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -70736,15 +70778,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/commits#get-a-commit-object parameters: - - *368 - - *369 - - *463 + - *370 + - *371 + - *465 responses: '200': description: Response content: application/json: - schema: *516 + schema: *517 examples: default: value: @@ -70800,9 +70842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/refs#list-matching-references parameters: - - *368 - - *369 - - &517 + - *370 + - *371 + - &518 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. @@ -70819,7 +70861,7 @@ paths: application/json: schema: type: array - items: &518 + items: &519 title: Git Reference description: Git references within a repository type: object @@ -70894,17 +70936,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/refs#get-a-reference parameters: - - *368 - - *369 - - *517 + - *370 + - *371 + - *518 responses: '200': description: Response content: application/json: - schema: *518 + schema: *519 examples: - default: &519 + default: &520 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -70933,8 +70975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/refs#create-a-reference parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -70963,9 +71005,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *519 examples: - default: *519 + default: *520 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -70991,9 +71033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/refs#update-a-reference parameters: - - *368 - - *369 - - *517 + - *370 + - *371 + - *518 requestBody: required: true content: @@ -71022,9 +71064,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *519 examples: - default: *519 + default: *520 '422': *35 '409': *123 x-github: @@ -71042,9 +71084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/refs#delete-a-reference parameters: - - *368 - - *369 - - *517 + - *370 + - *371 + - *518 responses: '204': description: Response @@ -71099,8 +71141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/tags#create-a-tag-object parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -71167,7 +71209,7 @@ paths: description: Response content: application/json: - schema: &521 + schema: &522 title: Git Tag description: Metadata for a Git tag type: object @@ -71218,7 +71260,7 @@ paths: - sha - type - url - verification: *520 + verification: *521 required: - sha - url @@ -71228,7 +71270,7 @@ paths: - tag - message examples: - default: &522 + default: &523 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71301,8 +71343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/tags#get-a-tag parameters: - - *368 - - *369 + - *370 + - *371 - name: tag_sha in: path required: true @@ -71313,9 +71355,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 '404': *26 '409': *123 x-github: @@ -71339,8 +71381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/trees#create-a-tree parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -71413,7 +71455,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &524 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -71509,8 +71551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/trees#get-a-tree parameters: - - *368 - - *369 + - *370 + - *371 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -71533,7 +71575,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: default-response: summary: Default response @@ -71592,8 +71634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#list-repository-webhooks parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -71603,7 +71645,7 @@ paths: application/json: schema: type: array - items: &524 + items: &525 title: Webhook description: Webhooks for repositories. type: object @@ -71657,7 +71699,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &739 + last_response: &740 title: Hook Response type: object properties: @@ -71731,8 +71773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#create-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -71784,9 +71826,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: &525 + default: &526 value: type: Repository id: 12345678 @@ -71834,17 +71876,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#get-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 responses: '200': description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: *525 + default: *526 '404': *26 x-github: githubCloudOnly: false @@ -71864,8 +71906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#update-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 requestBody: required: true @@ -71911,9 +71953,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: *525 + default: *526 '422': *35 '404': *26 x-github: @@ -71934,8 +71976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 responses: '204': @@ -71960,8 +72002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *3 responses: '200': @@ -71989,8 +72031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *3 requestBody: required: false @@ -72035,11 +72077,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 - *4 - - *263 + - *265 responses: '200': description: Response @@ -72047,9 +72089,9 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: - default: *265 + default: *267 '400': *34 '422': *35 x-github: @@ -72068,8 +72110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 - *36 responses: @@ -72077,9 +72119,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '400': *34 '422': *35 x-github: @@ -72098,8 +72140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 - *36 responses: @@ -72123,8 +72165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 responses: '204': @@ -72150,8 +72192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 responses: '204': @@ -72176,8 +72218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -72185,8 +72227,8 @@ paths: application/json: schema: *39 examples: - default: *526 - '301': *373 + default: *527 + '301': *375 '404': *26 x-github: githubCloudOnly: false @@ -72205,8 +72247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/invitations#list-repository-invitations parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -72216,7 +72258,7 @@ paths: application/json: schema: type: array - items: &527 + items: &528 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -72279,7 +72321,7 @@ paths: - html_url - created_at examples: - default: &683 + default: &684 value: - id: 1 repository: @@ -72410,9 +72452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *368 - - *369 - - &528 + - *370 + - *371 + - &529 name: invitation_id description: The unique identifier of the invitation. in: path @@ -72447,7 +72489,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: default: value: @@ -72578,9 +72620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *368 - - *369 - - *528 + - *370 + - *371 + - *529 responses: '204': description: Response @@ -72611,8 +72653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#list-repository-issues parameters: - - *368 - - *369 + - *370 + - *371 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -72660,7 +72702,7 @@ paths: required: false schema: type: string - - *268 + - *270 - name: sort description: What to sort results by. in: query @@ -72685,7 +72727,7 @@ paths: type: array items: *149 examples: - default: &537 + default: &538 value: - id: 1 node_id: MDU6SXNzdWUx @@ -72833,7 +72875,7 @@ paths: state_reason: completed headers: Link: *6 - '301': *373 + '301': *375 '422': *35 '404': *26 x-github: @@ -72862,8 +72904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#create-an-issue parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -72947,7 +72989,7 @@ paths: application/json: schema: *149 examples: - default: &534 + default: &535 value: id: 1 node_id: MDU6SXNzdWUx @@ -73103,7 +73145,7 @@ paths: '422': *35 '503': *142 '404': *26 - '410': *378 + '410': *380 x-github: triggersNotification: true githubCloudOnly: false @@ -73131,9 +73173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *368 - - *369 - - &577 + - *370 + - *371 + - &578 name: sort description: The property to sort the results by. in: query @@ -73163,9 +73205,9 @@ paths: application/json: schema: type: array - items: *529 + items: *530 examples: - default: &536 + default: &537 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -73223,17 +73265,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#get-an-issue-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '200': description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: &530 + default: &531 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -73287,8 +73329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#update-an-issue-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -73311,9 +73353,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: *530 + default: *531 '422': *35 x-github: githubCloudOnly: false @@ -73331,8 +73373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#delete-an-issue-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '204': @@ -73353,8 +73395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). @@ -73381,9 +73423,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 '404': *26 @@ -73404,8 +73446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -73438,16 +73480,16 @@ paths: description: Reaction exists content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Reaction created content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '422': *35 x-github: githubCloudOnly: false @@ -73469,10 +73511,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *368 - - *369 + - *370 + - *371 - *168 - - *362 + - *364 responses: '204': description: Response @@ -73492,8 +73534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/events#list-issue-events-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -73503,7 +73545,7 @@ paths: application/json: schema: type: array - items: &533 + items: &534 title: Issue Event description: Issue Event type: object @@ -73546,8 +73588,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *531 - required: *532 + properties: *532 + required: *533 nullable: true label: title: Issue Event Label @@ -73591,7 +73633,7 @@ paths: properties: *17 required: *18 nullable: true - requested_team: *370 + requested_team: *372 dismissed_review: title: Issue Event Dismissed Review type: object @@ -73854,8 +73896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/events#get-an-issue-event parameters: - - *368 - - *369 + - *370 + - *371 - name: event_id in: path required: true @@ -73866,7 +73908,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -74058,7 +74100,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *26 - '410': *378 + '410': *380 '403': *43 x-github: githubCloudOnly: false @@ -74092,9 +74134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue parameters: - - *368 - - *369 - - &535 + - *370 + - *371 + - &536 name: issue_number description: The number that identifies the issue. in: path @@ -74108,10 +74150,10 @@ paths: application/json: schema: *149 examples: - default: *534 - '301': *373 + default: *535 + '301': *375 '404': *26 - '410': *378 + '410': *380 '304': *42 x-github: githubCloudOnly: false @@ -74136,9 +74178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#update-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: false content: @@ -74244,13 +74286,13 @@ paths: application/json: schema: *149 examples: - default: *534 + default: *535 '422': *35 '503': *142 '403': *43 - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74268,9 +74310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: false content: @@ -74298,7 +74340,7 @@ paths: application/json: schema: *149 examples: - default: *534 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74314,9 +74356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: content: application/json: @@ -74343,7 +74385,7 @@ paths: application/json: schema: *149 examples: - default: *534 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74365,9 +74407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - name: assignee in: path required: true @@ -74407,9 +74449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#list-issue-comments parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *159 - *4 - *5 @@ -74420,13 +74462,13 @@ paths: application/json: schema: type: array - items: *529 + items: *530 examples: - default: *536 + default: *537 headers: Link: *6 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74455,9 +74497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#create-an-issue-comment parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: true content: @@ -74479,16 +74521,16 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: *530 + default: *531 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *43 - '410': *378 + '410': *380 '422': *35 '404': *26 x-github: @@ -74516,9 +74558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *4 - *5 responses: @@ -74530,12 +74572,12 @@ paths: type: array items: *149 examples: - default: *537 + default: *538 headers: Link: *6 - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74563,9 +74605,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: true content: @@ -74589,15 +74631,15 @@ paths: application/json: schema: *149 examples: - default: *534 + default: *535 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *373 + '301': *375 '403': *43 - '410': *378 + '410': *380 '422': *35 '404': *26 x-github: @@ -74628,9 +74670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -74644,13 +74686,13 @@ paths: application/json: schema: *149 examples: - default: *534 - '301': *373 + default: *535 + '301': *375 '400': *34 '401': *41 '403': *43 '404': *26 - '410': *378 + '410': *380 x-github: triggersNotification: true githubCloudOnly: false @@ -74676,9 +74718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *4 - *5 responses: @@ -74690,12 +74732,12 @@ paths: type: array items: *149 examples: - default: *537 + default: *538 headers: Link: *6 - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74712,9 +74754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/events#list-issue-events parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *4 - *5 responses: @@ -74728,7 +74770,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &539 + - &540 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74782,7 +74824,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &541 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74918,7 +74960,7 @@ paths: - performed_via_github_app - assignee - assigner - - &541 + - &542 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74969,7 +75011,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &543 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -75020,7 +75062,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &544 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -75074,7 +75116,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &545 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -75108,7 +75150,7 @@ paths: properties: *146 required: *147 review_requester: *19 - requested_team: *370 + requested_team: *372 requested_reviewer: *19 required: - review_requester @@ -75121,7 +75163,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &546 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -75155,7 +75197,7 @@ paths: properties: *146 required: *147 review_requester: *19 - requested_team: *370 + requested_team: *372 requested_reviewer: *19 required: - review_requester @@ -75168,7 +75210,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &547 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -75228,7 +75270,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &548 title: Locked Issue Event description: Locked Issue Event type: object @@ -75276,7 +75318,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &549 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -75342,7 +75384,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &550 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -75408,7 +75450,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &551 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -75474,7 +75516,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &552 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -75565,7 +75607,7 @@ paths: color: red headers: Link: *6 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75582,9 +75624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#list-labels-for-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *4 - *5 responses: @@ -75596,7 +75638,7 @@ paths: type: array items: *148 examples: - default: &538 + default: &539 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75614,9 +75656,9 @@ paths: default: false headers: Link: *6 - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75633,9 +75675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#add-labels-to-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: false content: @@ -75696,10 +75738,10 @@ paths: type: array items: *148 examples: - default: *538 - '301': *373 + default: *539 + '301': *375 '404': *26 - '410': *378 + '410': *380 '422': *35 x-github: githubCloudOnly: false @@ -75716,9 +75758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#set-labels-for-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: false content: @@ -75780,10 +75822,10 @@ paths: type: array items: *148 examples: - default: *538 - '301': *373 + default: *539 + '301': *375 '404': *26 - '410': *378 + '410': *380 '422': *35 x-github: githubCloudOnly: false @@ -75800,15 +75842,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 responses: '204': description: Response - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75827,9 +75869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - name: name in: path required: true @@ -75853,9 +75895,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75875,9 +75917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#lock-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: false content: @@ -75905,7 +75947,7 @@ paths: '204': description: Response '403': *43 - '410': *378 + '410': *380 '404': *26 '422': *35 x-github: @@ -75923,9 +75965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#unlock-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 responses: '204': description: Response @@ -75947,9 +75989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -75975,13 +76017,13 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75999,9 +76041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: true content: @@ -76033,16 +76075,16 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '422': *35 x-github: githubCloudOnly: false @@ -76064,10 +76106,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *368 - - *369 - - *535 - - *362 + - *370 + - *371 + - *536 + - *364 responses: '204': description: Response @@ -76087,9 +76129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *4 - *5 responses: @@ -76104,7 +76146,6 @@ paths: description: Timeline Event type: object anyOf: - - *539 - *540 - *541 - *542 @@ -76117,6 +76158,7 @@ paths: - *549 - *550 - *551 + - *552 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -76425,7 +76467,7 @@ paths: type: string comments: type: array - items: &573 + items: &574 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -76634,7 +76676,7 @@ paths: type: string comments: type: array - items: *461 + items: *463 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -76923,7 +76965,7 @@ paths: headers: Link: *6 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76940,8 +76982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -76951,7 +76993,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -77017,8 +77059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -77054,9 +77096,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &553 + default: &554 value: id: 1 key: ssh-rsa AAA... @@ -77090,9 +77132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *368 - - *369 - - &554 + - *370 + - *371 + - &555 name: key_id description: The unique identifier of the key. in: path @@ -77104,9 +77146,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *553 + default: *554 '404': *26 x-github: githubCloudOnly: false @@ -77124,9 +77166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *368 - - *369 - - *554 + - *370 + - *371 + - *555 responses: '204': description: Response @@ -77146,8 +77188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#list-labels-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -77159,7 +77201,7 @@ paths: type: array items: *148 examples: - default: *538 + default: *539 headers: Link: *6 '404': *26 @@ -77180,8 +77222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#create-a-label parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -77219,7 +77261,7 @@ paths: application/json: schema: *148 examples: - default: &555 + default: &556 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77251,8 +77293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#get-a-label parameters: - - *368 - - *369 + - *370 + - *371 - name: name in: path required: true @@ -77265,7 +77307,7 @@ paths: application/json: schema: *148 examples: - default: *555 + default: *556 '404': *26 x-github: githubCloudOnly: false @@ -77282,8 +77324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#update-a-label parameters: - - *368 - - *369 + - *370 + - *371 - name: name in: path required: true @@ -77348,8 +77390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#delete-a-label parameters: - - *368 - - *369 + - *370 + - *371 - name: name in: path required: true @@ -77375,8 +77417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-languages parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -77412,8 +77454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '202': *53 '403': @@ -77441,8 +77483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -77468,9 +77510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *368 - - *369 - - *451 + - *370 + - *371 + - *453 responses: '200': description: Response @@ -77615,8 +77657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -77681,8 +77723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branches#merge-a-branch parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -77716,9 +77758,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *464 examples: - default: *556 + default: *557 '204': description: Response when already merged '404': @@ -77743,8 +77785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/milestones#list-milestones parameters: - - *368 - - *369 + - *370 + - *371 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -77785,7 +77827,7 @@ paths: application/json: schema: type: array - items: &557 + items: &558 title: Milestone description: A collection of related issues and pull requests. type: object @@ -77846,8 +77888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/milestones#create-a-milestone parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -77887,9 +77929,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: &558 + default: &559 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77948,9 +77990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/milestones#get-a-milestone parameters: - - *368 - - *369 - - &559 + - *370 + - *371 + - &560 name: milestone_number description: The number that identifies the milestone. in: path @@ -77962,9 +78004,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *558 + default: *559 '404': *26 x-github: githubCloudOnly: false @@ -77981,9 +78023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/milestones#update-a-milestone parameters: - - *368 - - *369 - - *559 + - *370 + - *371 + - *560 requestBody: required: false content: @@ -78021,9 +78063,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *558 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78039,9 +78081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/milestones#delete-a-milestone parameters: - - *368 - - *369 - - *559 + - *370 + - *371 + - *560 responses: '204': description: Response @@ -78062,9 +78104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *368 - - *369 - - *559 + - *370 + - *371 + - *560 - *4 - *5 responses: @@ -78076,7 +78118,7 @@ paths: type: array items: *148 examples: - default: *538 + default: *539 headers: Link: *6 x-github: @@ -78095,12 +78137,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *368 - - *369 - - *560 + - *370 + - *371 - *561 - - *159 - *562 + - *159 + - *563 - *4 - *5 responses: @@ -78112,7 +78154,7 @@ paths: type: array items: *176 examples: - default: *563 + default: *564 headers: Link: *6 x-github: @@ -78136,8 +78178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -78195,14 +78237,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#get-a-apiname-pages-site parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &564 + schema: &565 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -78327,7 +78369,7 @@ paths: - custom_404 - public examples: - default: &565 + default: &566 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -78368,8 +78410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#create-a-apiname-pages-site parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -78423,9 +78465,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *35 '409': *123 x-github: @@ -78448,8 +78490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -78548,8 +78590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -78575,8 +78617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#list-apiname-pages-builds parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -78586,7 +78628,7 @@ paths: application/json: schema: type: array - items: &566 + items: &567 title: Page Build description: Page Build type: object @@ -78680,8 +78722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#request-a-apiname-pages-build parameters: - - *368 - - *369 + - *370 + - *371 responses: '201': description: Response @@ -78726,16 +78768,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#get-latest-pages-build parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: &567 + default: &568 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78783,8 +78825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#get-apiname-pages-build parameters: - - *368 - - *369 + - *370 + - *371 - name: build_id in: path required: true @@ -78795,9 +78837,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78817,8 +78859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#create-a-github-pages-deployment parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -78918,9 +78960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *368 - - *369 - - &568 + - *370 + - *371 + - &569 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78978,9 +79020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *368 - - *369 - - *568 + - *370 + - *371 + - *569 responses: '204': *140 '404': *26 @@ -79003,8 +79045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/repo-pre-receive-hooks#list-pre-receive-hooks-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 - *9 @@ -79025,7 +79067,7 @@ paths: application/json: schema: type: array - items: &569 + items: &570 type: object properties: id: @@ -79059,17 +79101,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/repo-pre-receive-hooks#get-a-pre-receive-hook-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *16 responses: '200': description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: &570 + default: &571 value: id: 42 name: Check Commits @@ -79091,15 +79133,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/repo-pre-receive-hooks#update-pre-receive-hook-enforcement-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *16 responses: '200': description: Response content: application/json: - schema: *569 + schema: *570 examples: default: value: @@ -79143,8 +79185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/repo-pre-receive-hooks#remove-pre-receive-hook-enforcement-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *16 responses: '200': @@ -79152,9 +79194,9 @@ paths: global level. content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79173,8 +79215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -79182,7 +79224,7 @@ paths: application/json: schema: type: array - items: *299 + items: *301 examples: default: value: @@ -79213,8 +79255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -79226,7 +79268,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *299 + items: *301 required: - properties examples: @@ -79276,8 +79318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#list-pull-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -79337,9 +79379,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *572 + default: *573 headers: Link: *6 '304': *42 @@ -79371,8 +79413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#create-a-pull-request parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -79439,7 +79481,7 @@ paths: application/json: schema: *157 examples: - default: &575 + default: &576 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79966,8 +80008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - name: sort in: query required: false @@ -79996,9 +80038,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: &578 + default: &579 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80075,17 +80117,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &574 + default: &575 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80160,8 +80202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -80184,9 +80226,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *574 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80202,8 +80244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '204': @@ -80225,8 +80267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). @@ -80253,9 +80295,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 '404': *26 @@ -80276,8 +80318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -80310,16 +80352,16 @@ paths: description: Reaction exists content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Reaction created content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '422': *35 x-github: githubCloudOnly: false @@ -80341,10 +80383,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *368 - - *369 + - *370 + - *371 - *168 - - *362 + - *364 responses: '204': description: Response @@ -80387,9 +80429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#get-a-pull-request parameters: - - *368 - - *369 - - &576 + - *370 + - *371 + - &577 name: pull_number description: The number that identifies the pull request. in: path @@ -80404,7 +80446,7 @@ paths: application/json: schema: *157 examples: - default: *575 + default: *576 '304': *42 '404': *26 '406': @@ -80439,9 +80481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#update-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: false content: @@ -80485,7 +80527,7 @@ paths: application/json: schema: *157 examples: - default: *575 + default: *576 '422': *35 '403': *43 x-github: @@ -80513,10 +80555,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 - *577 + - *578 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -80536,9 +80578,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: *578 + default: *579 headers: Link: *6 x-github: @@ -80571,9 +80613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: true content: @@ -80678,7 +80720,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: example-for-a-multi-line-comment: value: @@ -80766,9 +80808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 - *168 requestBody: required: true @@ -80791,7 +80833,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -80877,9 +80919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 - *4 - *5 responses: @@ -80889,9 +80931,9 @@ paths: application/json: schema: type: array - items: *462 + items: *464 examples: - default: *579 + default: *580 headers: Link: *6 x-github: @@ -80921,9 +80963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#list-pull-requests-files parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 - *4 - *5 responses: @@ -80933,7 +80975,7 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: default: value: @@ -80971,9 +81013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 responses: '204': description: Response if pull request has been merged @@ -80996,9 +81038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#merge-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: false content: @@ -81109,9 +81151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 responses: '200': description: Response @@ -81127,7 +81169,7 @@ paths: items: *19 teams: type: array - items: *370 + items: *372 required: - users - teams @@ -81186,9 +81228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: false content: @@ -81225,7 +81267,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -81761,9 +81803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: true content: @@ -81797,7 +81839,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -82302,9 +82344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 - *4 - *5 responses: @@ -82314,7 +82356,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -82465,9 +82507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: false content: @@ -82553,9 +82595,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &582 + default: &583 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82618,10 +82660,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 - - &581 + - *370 + - *371 + - *577 + - &582 name: review_id description: The unique identifier of the review. in: path @@ -82633,9 +82675,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &583 + default: &584 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82694,10 +82736,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 - - *581 + - *370 + - *371 + - *577 + - *582 requestBody: required: true content: @@ -82720,7 +82762,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -82782,18 +82824,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 - - *581 + - *370 + - *371 + - *577 + - *582 responses: '200': description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *582 + default: *583 '422': *27 '404': *26 x-github: @@ -82820,10 +82862,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *368 - - *369 - - *576 - - *581 + - *370 + - *371 + - *577 + - *582 - *4 - *5 responses: @@ -83058,10 +83100,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 - - *581 + - *370 + - *371 + - *577 + - *582 requestBody: required: true content: @@ -83089,7 +83131,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -83152,10 +83194,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 - - *581 + - *370 + - *371 + - *577 + - *582 requestBody: required: true content: @@ -83190,9 +83232,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *583 + default: *584 '404': *26 '422': *27 '403': *43 @@ -83214,9 +83256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: false content: @@ -83279,8 +83321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#get-a-repository-readme parameters: - - *368 - - *369 + - *370 + - *371 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83293,9 +83335,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: &585 + default: &586 value: type: file encoding: base64 @@ -83337,8 +83379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *368 - - *369 + - *370 + - *371 - name: dir description: The alternate path to look for a README file in: path @@ -83358,9 +83400,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: *585 + default: *586 '404': *26 '422': *35 x-github: @@ -83382,8 +83424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#list-releases parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -83393,7 +83435,7 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: default: value: @@ -83487,8 +83529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#create-a-release parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -83558,9 +83600,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: &591 + default: &592 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -83660,9 +83702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/assets#get-a-release-asset parameters: - - *368 - - *369 - - &589 + - *370 + - *371 + - &590 name: asset_id description: The unique identifier of the asset. in: path @@ -83674,9 +83716,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: &590 + default: &591 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 @@ -83711,7 +83753,7 @@ paths: type: User site_admin: false '404': *26 - '302': *588 + '302': *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83727,9 +83769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/assets#update-a-release-asset parameters: - - *368 - - *369 - - *589 + - *370 + - *371 + - *590 requestBody: required: false content: @@ -83757,9 +83799,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: *590 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83775,9 +83817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/assets#delete-a-release-asset parameters: - - *368 - - *369 - - *589 + - *370 + - *371 + - *590 responses: '204': description: Response @@ -83801,8 +83843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -83887,16 +83929,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#get-the-latest-release parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *591 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83913,8 +83955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#get-a-release-by-tag-name parameters: - - *368 - - *369 + - *370 + - *371 - name: tag description: tag parameter in: path @@ -83927,9 +83969,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *591 + default: *592 '404': *26 x-github: githubCloudOnly: false @@ -83951,9 +83993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#get-a-release parameters: - - *368 - - *369 - - &592 + - *370 + - *371 + - &593 name: release_id description: The unique identifier of the release. in: path @@ -83967,9 +84009,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *586 + schema: *587 examples: - default: *591 + default: *592 '401': description: Unauthorized x-github: @@ -83987,9 +84029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#update-a-release parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 requestBody: required: false content: @@ -84046,9 +84088,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *591 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84064,9 +84106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#delete-a-release parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 responses: '204': description: Response @@ -84086,9 +84128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/assets#list-release-assets parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 - *4 - *5 responses: @@ -84098,7 +84140,7 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: default: value: @@ -84180,9 +84222,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 - name: name in: query required: true @@ -84208,7 +84250,7 @@ paths: description: Response for successful upload content: application/json: - schema: *587 + schema: *588 examples: response-for-successful-upload: value: @@ -84263,9 +84305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -84289,9 +84331,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 '404': *26 @@ -84312,9 +84354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 requestBody: required: true content: @@ -84344,16 +84386,16 @@ paths: description: Reaction exists content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Reaction created content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '422': *35 x-github: githubCloudOnly: false @@ -84375,10 +84417,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-a-release-reaction parameters: - - *368 - - *369 - - *592 - - *362 + - *370 + - *371 + - *593 + - *364 responses: '204': description: Response @@ -84398,8 +84440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-cache-replication-status parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -84474,9 +84516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/rules#get-rules-for-a-branch parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 - *4 - *5 responses: @@ -84492,8 +84534,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *308 - - &593 + - *310 + - &594 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84512,69 +84554,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *309 - - *593 - - allOf: - - *310 - - *593 - allOf: - *311 - - *593 - - allOf: - *594 - - *593 - allOf: - *312 - - *593 + - *594 - allOf: - *313 - - *593 + - *594 + - allOf: + - *595 + - *594 - allOf: - *314 - - *593 + - *594 - allOf: - *315 - - *593 + - *594 - allOf: - *316 - - *593 + - *594 - allOf: - *317 - - *593 + - *594 - allOf: - *318 - - *593 + - *594 - allOf: - *319 - - *593 + - *594 - allOf: - *320 - - *593 + - *594 - allOf: - *321 - - *593 + - *594 - allOf: - *322 - - *593 + - *594 - allOf: - *323 - - *593 + - *594 - allOf: - *324 - - *593 + - *594 - allOf: - *325 - - *593 + - *594 - allOf: - *326 - - *593 + - *594 - allOf: - *327 - - *593 + - *594 - allOf: - *328 - - *593 + - *594 + - allOf: + - *329 + - *594 + - allOf: + - *330 + - *594 examples: default: value: @@ -84613,8 +84655,8 @@ paths: category: repos subcategory: rules parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 - name: includes_parents @@ -84625,7 +84667,7 @@ paths: schema: type: boolean default: true - - *595 + - *596 responses: '200': description: Response @@ -84633,7 +84675,7 @@ paths: application/json: schema: type: array - items: *329 + items: *331 examples: default: value: @@ -84680,8 +84722,8 @@ paths: category: repos subcategory: rules parameters: - - *368 - - *369 + - *370 + - *371 requestBody: description: Request body required: true @@ -84701,16 +84743,16 @@ paths: - tag - push default: branch - enforcement: *305 + enforcement: *307 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *306 - conditions: *303 + items: *308 + conditions: *305 rules: type: array description: An array of rules within the ruleset. - items: *596 + items: *597 required: - name - enforcement @@ -84741,9 +84783,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: &605 + default: &606 value: id: 42 name: super cool ruleset @@ -84790,12 +84832,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *368 - - *369 - - *597 - - *111 + - *370 + - *371 - *598 + - *111 - *599 + - *600 - *4 - *5 responses: @@ -84803,9 +84845,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: - default: *601 + default: *602 '404': *26 '500': *107 x-github: @@ -84826,17 +84868,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *368 - - *369 - - *602 + - *370 + - *371 + - *603 responses: '200': description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *604 + default: *605 '404': *26 '500': *107 x-github: @@ -84864,8 +84906,8 @@ paths: category: repos subcategory: rules parameters: - - *368 - - *369 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84885,9 +84927,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *605 + default: *606 '404': *26 '500': *107 put: @@ -84905,8 +84947,8 @@ paths: category: repos subcategory: rules parameters: - - *368 - - *369 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84931,16 +84973,16 @@ paths: - branch - tag - push - enforcement: *305 + enforcement: *307 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *306 - conditions: *303 + items: *308 + conditions: *305 rules: description: An array of rules within the ruleset. type: array - items: *596 + items: *597 examples: default: value: @@ -84968,9 +85010,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *605 + default: *606 '404': *26 '500': *107 delete: @@ -84988,8 +85030,8 @@ paths: category: repos subcategory: rules parameters: - - *368 - - *369 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85012,8 +85054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/rules#get-repository-ruleset-history parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 - name: ruleset_id @@ -85031,7 +85073,7 @@ paths: type: array items: *141 examples: - default: *332 + default: *334 '404': *26 '500': *107 x-github: @@ -85050,8 +85092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/rules#get-repository-ruleset-version parameters: - - *368 - - *369 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85069,7 +85111,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -85124,21 +85166,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *368 - - *369 - - *334 - - *335 + - *370 + - *371 - *336 - *337 + - *338 + - *339 - *9 - *5 - *4 - - *606 - *607 - - *338 - - *339 + - *608 - *340 - *341 + - *342 + - *343 responses: '200': description: Response @@ -85146,7 +85188,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 type: object properties: number: *125 @@ -85165,8 +85207,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *608 - resolution: *609 + state: *609 + resolution: *610 resolved_at: type: string format: date-time @@ -85258,7 +85300,7 @@ paths: pull request. ' - oneOf: *610 + oneOf: *611 nullable: true has_more_locations: type: boolean @@ -85407,16 +85449,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *368 - - *369 - - *449 - - *341 + - *370 + - *371 + - *451 + - *343 responses: '200': description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -85457,9 +85499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *368 - - *369 - - *449 + - *370 + - *371 + - *451 requestBody: required: true content: @@ -85467,8 +85509,8 @@ paths: schema: type: object properties: - state: *608 - resolution: *609 + state: *609 + resolution: *610 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -85487,7 +85529,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -85555,9 +85597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *368 - - *369 - - *449 + - *370 + - *371 + - *451 - *5 - *4 responses: @@ -85568,7 +85610,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &759 + items: &760 type: object properties: type: @@ -85594,7 +85636,6 @@ paths: example: commit details: oneOf: - - *612 - *613 - *614 - *615 @@ -85607,6 +85648,7 @@ paths: - *622 - *623 - *624 + - *625 examples: default: value: @@ -85692,8 +85734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -85701,14 +85743,14 @@ paths: schema: type: object properties: - reason: &626 + reason: &627 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *625 + placeholder_id: *626 required: - reason - placeholder_id @@ -85725,7 +85767,7 @@ paths: schema: type: object properties: - reason: *626 + reason: *627 expire_at: type: string format: date-time @@ -85771,8 +85813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -85787,7 +85829,7 @@ paths: properties: incremental_scans: type: array - items: &627 + items: &628 description: Information on a single scan performed by secret scanning on the repository type: object @@ -85813,15 +85855,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *627 + items: *628 backfill_scans: type: array - items: *627 + items: *628 custom_pattern_backfill_scans: type: array items: allOf: - - *627 + - *628 - type: object properties: pattern_name: @@ -85891,8 +85933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#list-stargazers parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -85988,8 +86030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -85998,7 +86040,7 @@ paths: application/json: schema: type: array - items: &628 + items: &629 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -86029,8 +86071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -86103,8 +86145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -86200,8 +86242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86355,8 +86397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86366,7 +86408,7 @@ paths: application/json: schema: type: array - items: *628 + items: *629 examples: default: value: @@ -86399,8 +86441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/statuses#create-a-commit-status parameters: - - *368 - - *369 + - *370 + - *371 - name: sha in: path required: true @@ -86454,7 +86496,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: default: value: @@ -86508,8 +86550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/watching#list-watchers parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -86521,7 +86563,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -86541,14 +86583,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/watching#get-a-repository-subscription parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &630 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86616,8 +86658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/watching#set-a-repository-subscription parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -86643,7 +86685,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *631 examples: default: value: @@ -86670,8 +86712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/watching#delete-a-repository-subscription parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -86691,8 +86733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-tags parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -86771,8 +86813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -86780,7 +86822,7 @@ paths: application/json: schema: type: array - items: &631 + items: &632 title: Tag protection description: Tag protection type: object @@ -86832,8 +86874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -86856,7 +86898,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *632 examples: default: value: @@ -86887,8 +86929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -86925,8 +86967,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *368 - - *369 + - *370 + - *371 - name: ref in: path required: true @@ -86962,8 +87004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-teams parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -86973,9 +87015,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *346 + default: *348 headers: Link: *6 '404': *26 @@ -86995,8 +87037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#get-all-repository-topics parameters: - - *368 - - *369 + - *370 + - *371 - *5 - *4 responses: @@ -87004,7 +87046,7 @@ paths: description: Response content: application/json: - schema: &632 + schema: &633 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -87016,7 +87058,7 @@ paths: required: - names examples: - default: &633 + default: &634 value: names: - octocat @@ -87039,8 +87081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#replace-all-repository-topics parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -87071,9 +87113,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *633 + default: *634 '404': *26 '422': *27 x-github: @@ -87096,8 +87138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#transfer-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -87371,8 +87413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -87395,8 +87437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#enable-vulnerability-alerts parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -87418,8 +87460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#disable-vulnerability-alerts parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -87445,8 +87487,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *368 - - *369 + - *370 + - *371 - name: ref in: path required: true @@ -87538,9 +87580,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *374 + default: *376 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87714,7 +87756,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &641 + - &642 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -87723,7 +87765,7 @@ paths: schema: type: string example: members - - &646 + - &647 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -87734,7 +87776,7 @@ paths: default: 1 format: int32 example: 1 - - &647 + - &648 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -87776,7 +87818,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &636 + items: &637 allOf: - type: object required: @@ -87851,7 +87893,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: &648 + meta: &649 type: object description: The metadata associated with the creation/updates to the user. @@ -87911,30 +87953,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &637 + '400': &638 description: Bad request content: application/json: - schema: *634 + schema: *635 application/scim+json: - schema: *634 - '401': *635 - '403': &638 + schema: *635 + '401': *636 + '403': &639 description: Permission denied - '429': &639 + '429': &640 description: Too many requests content: application/json: - schema: *634 + schema: *635 application/scim+json: - schema: *634 - '500': &640 + schema: *635 + '500': &641 description: Internal server error content: application/json: - schema: *634 + schema: *635 application/scim+json: - schema: *634 + schema: *635 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -87961,7 +88003,7 @@ paths: required: true content: application/json: - schema: &644 + schema: &645 type: object required: - schemas @@ -88021,9 +88063,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *636 + schema: *637 examples: - group: &642 + group: &643 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -88042,13 +88084,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': *637 - '401': *635 - '403': *638 - '409': &645 + '400': *638 + '401': *636 + '403': *639 + '409': &646 description: Duplicate record detected - '429': *639 - '500': *640 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88069,7 +88111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &643 + - &644 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -88077,22 +88119,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *641 + - *642 - *66 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *636 + schema: *637 examples: - default: *642 - '400': *637 - '401': *635 - '403': *638 + default: *643 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '429': *639 - '500': *640 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88114,13 +88156,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *643 + - *644 - *66 requestBody: required: true content: application/json: - schema: *644 + schema: *645 examples: group: summary: Group @@ -88146,17 +88188,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *636 + schema: *637 examples: - group: *642 - groupWithMembers: *642 - '400': *637 - '401': *635 - '403': *638 + group: *643 + groupWithMembers: *643 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '409': *645 - '429': *639 - '500': *640 + '409': *646 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88180,13 +88222,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *643 + - *644 - *66 requestBody: required: true content: application/json: - schema: &655 + schema: &656 type: object required: - Operations @@ -88246,17 +88288,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *636 + schema: *637 examples: - updateGroup: *642 - addMembers: *642 - '400': *637 - '401': *635 - '403': *638 + updateGroup: *643 + addMembers: *643 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '409': *645 - '429': *639 - '500': *640 + '409': *646 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88276,17 +88318,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *643 + - *644 - *66 responses: '204': description: Group was deleted, no content - '400': *637 - '401': *635 - '403': *638 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '429': *639 - '500': *640 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88323,8 +88365,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *646 - *647 + - *648 - *66 responses: '200': @@ -88357,7 +88399,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &650 + items: &651 allOf: - type: object required: @@ -88436,7 +88478,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &649 + roles: &650 type: array description: The roles assigned to the user. items: @@ -88492,7 +88534,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *648 + meta: *649 startIndex: type: integer description: A starting index for the returned page @@ -88529,11 +88571,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *637 - '401': *635 - '403': *638 - '429': *639 - '500': *640 + '400': *638 + '401': *636 + '403': *639 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88562,7 +88604,7 @@ paths: required: true content: application/json: - schema: &653 + schema: &654 type: object required: - schemas @@ -88644,9 +88686,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *649 + roles: *650 examples: - user: &654 + user: &655 summary: User value: schemas: @@ -88693,9 +88735,9 @@ paths: description: User has been created content: application/scim+json: - schema: *650 + schema: *651 examples: - user: &651 + user: &652 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -88721,13 +88763,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: *651 - '400': *637 - '401': *635 - '403': *638 - '409': *645 - '429': *639 - '500': *640 + enterpriseOwner: *652 + '400': *638 + '401': *636 + '403': *639 + '409': *646 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88748,7 +88790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &652 + - &653 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -88761,15 +88803,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *650 + schema: *651 examples: - default: *651 - '400': *637 - '401': *635 - '403': *638 + default: *652 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '429': *639 - '500': *640 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88794,30 +88836,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *652 + - *653 - *66 requestBody: required: true content: application/json: - schema: *653 + schema: *654 examples: - user: *654 + user: *655 responses: '200': description: User was updated content: application/scim+json: - schema: *650 + schema: *651 examples: - user: *651 - '400': *637 - '401': *635 - '403': *638 + user: *652 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '409': *645 - '429': *639 - '500': *640 + '409': *646 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88855,13 +88897,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *652 + - *653 - *66 requestBody: required: true content: application/json: - schema: *655 + schema: *656 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -88901,18 +88943,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *650 - examples: - userMultiValuedProperties: *651 - userSingleValuedProperties: *651 - disableUser: *651 - '400': *637 - '401': *635 - '403': *638 + schema: *651 + examples: + userMultiValuedProperties: *652 + userSingleValuedProperties: *652 + disableUser: *652 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '409': *645 - '429': *639 - '500': *640 + '409': *646 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88932,17 +88974,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *652 + - *653 - *66 responses: '204': description: User was deleted, no content - '400': *637 - '401': *635 - '403': *638 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '429': *639 - '500': *640 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89069,7 +89111,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &656 + text_matches: &657 title: Search Result Text Matches type: array items: @@ -89232,7 +89274,7 @@ paths: enum: - author-date - committer-date - - &657 + - &658 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 @@ -89303,7 +89345,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *418 + properties: *420 nullable: true comment_count: type: integer @@ -89323,7 +89365,7 @@ paths: url: type: string format: uri - verification: *520 + verification: *521 required: - author - committer @@ -89342,7 +89384,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *418 + properties: *420 nullable: true parents: type: array @@ -89360,7 +89402,7 @@ paths: type: number node_id: type: string - text_matches: *656 + text_matches: *657 required: - sha - node_id @@ -89553,7 +89595,7 @@ paths: - interactions - created - updated - - *657 + - *658 - *4 - *5 - name: advanced_search @@ -89650,11 +89692,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: type: string state_reason: @@ -89686,7 +89728,7 @@ paths: type: string format: date-time nullable: true - text_matches: *656 + text_matches: *657 pull_request: type: object properties: @@ -89730,7 +89772,7 @@ paths: timeline_url: type: string format: uri - type: *661 + type: *662 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -89911,7 +89953,7 @@ paths: enum: - created - updated - - *657 + - *658 - *4 - *5 responses: @@ -89955,7 +89997,7 @@ paths: nullable: true score: type: number - text_matches: *656 + text_matches: *657 required: - id - node_id @@ -90041,7 +90083,7 @@ paths: - forks - help-wanted-issues - updated - - *657 + - *658 - *4 - *5 responses: @@ -90280,7 +90322,7 @@ paths: - admin - pull - push - text_matches: *656 + text_matches: *657 temp_clone_token: type: string allow_merge_commit: @@ -90581,7 +90623,7 @@ paths: type: string format: uri nullable: true - text_matches: *656 + text_matches: *657 related: type: array nullable: true @@ -90774,7 +90816,7 @@ paths: - followers - repositories - joined - - *657 + - *658 - *4 - *5 responses: @@ -90878,7 +90920,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *656 + text_matches: *657 blog: type: string nullable: true @@ -90963,9 +91005,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '404': *26 x-github: githubCloudOnly: false @@ -91055,16 +91097,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '201': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '404': *26 '422': *35 '403': *43 @@ -91134,9 +91176,9 @@ paths: application/json: schema: type: array - items: *353 + items: *355 examples: - default: *662 + default: *663 headers: Link: *6 x-github: @@ -91199,9 +91241,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: triggersNotification: true githubCloudOnly: false @@ -91229,15 +91271,15 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#get-a-discussion-legacy parameters: - *7 - - *355 + - *357 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91263,7 +91305,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#update-a-discussion-legacy parameters: - *7 - - *355 + - *357 requestBody: required: false content: @@ -91286,9 +91328,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *663 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91314,7 +91356,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#delete-a-discussion-legacy parameters: - *7 - - *355 + - *357 responses: '204': description: Response @@ -91344,7 +91386,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *7 - - *355 + - *357 - *9 - *4 - *5 @@ -91355,9 +91397,9 @@ paths: application/json: schema: type: array - items: *356 + items: *358 examples: - default: *664 + default: *665 headers: Link: *6 x-github: @@ -91387,7 +91429,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *7 - - *355 + - *357 requestBody: required: true content: @@ -91409,9 +91451,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: triggersNotification: true githubCloudOnly: false @@ -91439,16 +91481,16 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *7 - - *355 - - *358 + - *357 + - *360 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91474,8 +91516,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *7 - - *355 - - *358 + - *357 + - *360 requestBody: required: true content: @@ -91497,9 +91539,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *665 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91525,8 +91567,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *7 - - *355 - - *358 + - *357 + - *360 responses: '204': description: Response @@ -91556,8 +91598,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *7 - - *355 - - *358 + - *357 + - *360 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -91583,9 +91625,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 x-github: @@ -91615,8 +91657,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *7 - - *355 - - *358 + - *357 + - *360 requestBody: required: true content: @@ -91648,9 +91690,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91677,7 +91719,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *7 - - *355 + - *357 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -91703,9 +91745,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 x-github: @@ -91735,7 +91777,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *7 - - *355 + - *357 requestBody: required: true content: @@ -91767,9 +91809,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91816,7 +91858,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 '404': *26 @@ -91965,9 +92007,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - response-if-user-is-a-team-maintainer: *666 + response-if-user-is-a-team-maintainer: *667 '404': *26 x-github: githubCloudOnly: false @@ -92026,9 +92068,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - response-if-users-membership-with-team-is-now-pending: *667 + response-if-users-membership-with-team-is-now-pending: *668 '403': description: Forbidden if team synchronization is set up '422': @@ -92102,7 +92144,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 '404': *26 @@ -92133,14 +92175,14 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *7 - - *368 - - *369 + - *370 + - *371 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *668 + schema: *669 examples: alternative-response-with-extra-repository-information: value: @@ -92292,8 +92334,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *7 - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -92344,8 +92386,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *7 - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -92380,9 +92422,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - response-if-child-teams-exist: *669 + response-if-child-teams-exist: *670 headers: Link: *6 '404': *26 @@ -92415,7 +92457,7 @@ paths: application/json: schema: oneOf: - - &671 + - &672 title: Private User description: Private User type: object @@ -92618,7 +92660,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *670 + - *671 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -92769,7 +92811,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: default: value: @@ -92845,9 +92887,9 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: &680 + default: &681 value: - id: 197 name: hello_docker @@ -92934,7 +92976,7 @@ paths: application/json: schema: type: array - items: &672 + items: &673 title: Email description: Email type: object @@ -92959,7 +93001,7 @@ paths: - verified - visibility examples: - default: &682 + default: &683 value: - email: octocat@github.com verified: true @@ -93034,7 +93076,7 @@ paths: application/json: schema: type: array - items: *672 + items: *673 examples: default: value: @@ -93144,7 +93186,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 '304': *42 @@ -93177,7 +93219,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 '304': *42 @@ -93290,7 +93332,7 @@ paths: application/json: schema: type: array - items: &673 + items: &674 title: GPG Key description: A unique encryption key type: object @@ -93421,7 +93463,7 @@ paths: - subkeys - revoked examples: - default: &692 + default: &693 value: - id: 3 name: Octocat's GPG Key @@ -93506,9 +93548,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *674 examples: - default: &674 + default: &675 value: id: 3 name: Octocat's GPG Key @@ -93565,7 +93607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &675 + - &676 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -93577,9 +93619,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *674 examples: - default: *674 + default: *675 '404': *26 '304': *42 '403': *43 @@ -93602,7 +93644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *675 + - *676 responses: '204': description: Response @@ -93911,7 +93953,7 @@ paths: - closed - all default: open - - *268 + - *270 - name: sort description: What to sort results by. in: query @@ -93936,7 +93978,7 @@ paths: type: array items: *149 examples: - default: *269 + default: *271 headers: Link: *6 '404': *26 @@ -93969,7 +94011,7 @@ paths: application/json: schema: type: array - items: &676 + items: &677 title: Key description: Key type: object @@ -94070,9 +94112,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: &677 + default: &678 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94105,15 +94147,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *554 + - *555 responses: '200': description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: *677 + default: *678 '404': *26 '304': *42 '403': *43 @@ -94136,7 +94178,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *554 + - *555 responses: '204': description: Response @@ -94179,7 +94221,7 @@ paths: application/json: schema: type: array - items: *270 + items: *272 examples: default: value: @@ -94287,7 +94329,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: default: value: @@ -94370,7 +94412,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: default: value: @@ -94438,7 +94480,7 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: default: value: @@ -94691,7 +94733,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: default: value: @@ -94884,7 +94926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/migrations/users#download-a-user-migration-archive parameters: - - *273 + - *275 responses: '302': description: Response @@ -94907,7 +94949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *273 + - *275 - *4 - *5 responses: @@ -94919,7 +94961,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 '404': *26 @@ -94956,7 +94998,7 @@ paths: type: array items: *74 examples: - default: *678 + default: *679 headers: Link: *6 '304': *42 @@ -94998,7 +95040,7 @@ paths: - docker - nuget - container - - *679 + - *680 - *5 - *4 responses: @@ -95008,10 +95050,10 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *680 - '400': *681 + default: *681 + '400': *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95031,16 +95073,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 + - *285 responses: '200': description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: &693 + default: &694 value: id: 40201 name: octo-name @@ -95153,8 +95195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 + - *285 responses: '204': description: Response @@ -95184,8 +95226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 + - *285 - name: token description: package token schema: @@ -95217,8 +95259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *282 - - *283 + - *284 + - *285 - *5 - *4 - name: state @@ -95238,7 +95280,7 @@ paths: application/json: schema: type: array - items: *284 + items: *286 examples: default: value: @@ -95287,15 +95329,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 - *285 + - *287 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: default: value: @@ -95331,9 +95373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 - *285 + - *287 responses: '204': description: Response @@ -95363,9 +95405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 - *285 + - *287 responses: '204': description: Response @@ -95402,9 +95444,9 @@ paths: application/json: schema: type: array - items: *672 + items: *673 examples: - default: *682 + default: *683 headers: Link: *6 '304': *42 @@ -95517,7 +95559,7 @@ paths: type: array items: *88 examples: - default: &689 + default: &690 summary: Default response value: - id: 1296269 @@ -95821,9 +95863,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *374 + default: *376 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95861,9 +95903,9 @@ paths: application/json: schema: type: array - items: *527 + items: *528 examples: - default: *683 + default: *684 headers: Link: *6 '304': *42 @@ -95886,7 +95928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *528 + - *529 responses: '204': description: Response @@ -95909,7 +95951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *528 + - *529 responses: '204': description: Response @@ -95942,7 +95984,7 @@ paths: application/json: schema: type: array - items: &684 + items: &685 title: Social account description: Social media account type: object @@ -95957,7 +95999,7 @@ paths: - provider - url examples: - default: &685 + default: &686 value: - provider: twitter url: https://twitter.com/github @@ -96019,9 +96061,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *685 + default: *686 '422': *35 '304': *42 '404': *26 @@ -96108,7 +96150,7 @@ paths: application/json: schema: type: array - items: &686 + items: &687 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -96128,7 +96170,7 @@ paths: - title - created_at examples: - default: &694 + default: &695 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -96192,9 +96234,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: &687 + default: &688 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -96224,7 +96266,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &688 + - &689 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -96236,9 +96278,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: *687 + default: *688 '404': *26 '304': *42 '403': *43 @@ -96261,7 +96303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *688 + - *689 responses: '204': description: Response @@ -96290,7 +96332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &695 + - &696 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 @@ -96315,11 +96357,11 @@ paths: type: array items: *88 examples: - default-response: *689 + default-response: *690 application/vnd.github.v3.star+json: schema: type: array - items: &696 + items: &697 title: Starred Repository description: Starred Repository type: object @@ -96475,8 +96517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response if this repository is starred by you @@ -96504,8 +96546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -96529,8 +96571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -96565,7 +96607,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 '304': *42 @@ -96602,7 +96644,7 @@ paths: application/json: schema: type: array - items: *351 + items: *353 examples: default: value: @@ -96689,10 +96731,10 @@ paths: application/json: schema: oneOf: + - *672 - *671 - - *670 examples: - default-response: &690 + default-response: &691 summary: Default response value: login: octocat @@ -96727,7 +96769,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &691 + response-with-git-hub-plan-information: &692 summary: Response with GitHub plan information value: login: octocat @@ -96803,7 +96845,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: example: ; rel="next" @@ -96839,11 +96881,11 @@ paths: application/json: schema: oneOf: + - *672 - *671 - - *670 examples: - default-response: *690 - response-with-git-hub-plan-information: *691 + default-response: *691 + response-with-git-hub-plan-information: *692 '404': *26 x-github: githubCloudOnly: false @@ -96872,9 +96914,9 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *680 + default: *681 '403': *43 '401': *41 x-github: @@ -97166,7 +97208,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -97197,7 +97239,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -97287,9 +97329,9 @@ paths: application/json: schema: type: array - items: *673 + items: *674 examples: - default: *692 + default: *693 headers: Link: *6 x-github: @@ -97393,7 +97435,7 @@ paths: application/json: schema: *39 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97478,7 +97520,7 @@ paths: type: array items: *74 examples: - default: *678 + default: *679 headers: Link: *6 x-github: @@ -97517,7 +97559,7 @@ paths: - docker - nuget - container - - *679 + - *680 - *8 - *5 - *4 @@ -97528,12 +97570,12 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *680 + default: *681 '403': *43 '401': *41 - '400': *681 + '400': *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97553,17 +97595,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-for-a-user parameters: - - *282 - - *283 + - *284 + - *285 - *8 responses: '200': description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *693 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97584,8 +97626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-a-package-for-a-user parameters: - - *282 - - *283 + - *284 + - *285 - *8 responses: '204': @@ -97618,8 +97660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-a-package-for-a-user parameters: - - *282 - - *283 + - *284 + - *285 - *8 - name: token description: package token @@ -97652,8 +97694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *282 - - *283 + - *284 + - *285 - *8 responses: '200': @@ -97662,7 +97704,7 @@ paths: application/json: schema: type: array - items: *284 + items: *286 examples: default: value: @@ -97720,16 +97762,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *282 - - *283 + - *284 - *285 + - *287 - *8 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: default: value: @@ -97764,10 +97806,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-package-version-for-a-user parameters: - - *282 - - *283 - - *8 + - *284 - *285 + - *8 + - *287 responses: '204': description: Response @@ -97799,10 +97841,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-package-version-for-a-user parameters: - - *282 - - *283 - - *8 + - *284 - *285 + - *8 + - *287 responses: '204': description: Response @@ -98041,7 +98083,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -98111,9 +98153,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *685 + default: *686 headers: Link: *6 x-github: @@ -98143,9 +98185,9 @@ paths: application/json: schema: type: array - items: *686 + items: *687 examples: - default: *694 + default: *695 headers: Link: *6 x-github: @@ -98170,7 +98212,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *695 + - *696 - *9 - *4 - *5 @@ -98182,11 +98224,11 @@ paths: schema: anyOf: - type: array - items: *696 + items: *697 - type: array items: *88 examples: - default-response: *689 + default-response: *690 headers: Link: *6 x-github: @@ -98217,7 +98259,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -98396,7 +98438,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &697 + enterprise: &698 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -98454,7 +98496,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &698 + installation: &699 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -98473,7 +98515,7 @@ x-webhooks: required: - id - node_id - organization: &699 + organization: &700 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -98533,13 +98575,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &700 + repository: &701 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &733 + properties: &734 id: description: Unique identifier of the repository example: 42 @@ -99222,7 +99264,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &734 + required: &735 - archive_url - assignees_url - blobs_url @@ -99373,10 +99415,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -99462,11 +99504,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - rule: &701 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + rule: &702 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-server@3.19/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -99699,11 +99741,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - rule: *701 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + rule: *702 sender: *19 required: - action @@ -99896,11 +99938,11 @@ x-webhooks: - everyone required: - from - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - rule: *701 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + rule: *702 sender: *19 required: - action @@ -99973,7 +100015,7 @@ x-webhooks: required: true content: application/json: - schema: &721 + schema: &722 title: Exemption request cancellation event type: object properties: @@ -99981,11 +100023,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - exemption_request: &702 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + exemption_request: &703 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -100254,7 +100296,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &703 + items: &704 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -100364,7 +100406,7 @@ x-webhooks: required: true content: application/json: - schema: &722 + schema: &723 title: Exemption request completed event type: object properties: @@ -100372,11 +100414,11 @@ x-webhooks: type: string enum: - completed - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - exemption_request: *702 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + exemption_request: *703 sender: *19 required: - action @@ -100448,7 +100490,7 @@ x-webhooks: required: true content: application/json: - schema: &719 + schema: &720 title: Exemption request created event type: object properties: @@ -100456,11 +100498,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - exemption_request: *702 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + exemption_request: *703 sender: *19 required: - action @@ -100532,7 +100574,7 @@ x-webhooks: required: true content: application/json: - schema: &723 + schema: &724 title: Exemption response dismissed event type: object properties: @@ -100540,12 +100582,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - exemption_request: *702 - exemption_response: *703 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + exemption_request: *703 + exemption_response: *704 sender: *19 required: - action @@ -100619,7 +100661,7 @@ x-webhooks: required: true content: application/json: - schema: &720 + schema: &721 title: Exemption response submitted event type: object properties: @@ -100627,12 +100669,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - exemption_request: *702 - exemption_response: *703 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + exemption_request: *703 + exemption_response: *704 sender: *19 required: - action @@ -100717,12 +100759,12 @@ x-webhooks: type: string cache_location: type: string - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 ref: type: string - repository: *700 + repository: *701 sender: *19 required: - cache_location @@ -100816,7 +100858,7 @@ x-webhooks: type: string enum: - completed - check_run: &705 + check_run: &706 title: CheckRun description: A check performed on the code of a given code change type: object @@ -100869,7 +100911,7 @@ x-webhooks: type: string pull_requests: type: array - items: *431 + items: *433 repository: *203 status: example: completed @@ -100907,7 +100949,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *704 + deployment: *705 details_url: example: https://example.com type: string @@ -100957,7 +100999,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *431 + items: *433 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -100992,10 +101034,10 @@ x-webhooks: - output - app - pull_requests - installation: *698 - enterprise: *697 - organization: *699 - repository: *700 + installation: *699 + enterprise: *698 + organization: *700 + repository: *701 sender: *19 required: - check_run @@ -101398,11 +101440,11 @@ x-webhooks: type: string enum: - created - check_run: *705 - installation: *698 - enterprise: *697 - organization: *699 - repository: *700 + check_run: *706 + installation: *699 + enterprise: *698 + organization: *700 + repository: *701 sender: *19 required: - check_run @@ -101808,11 +101850,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *705 - installation: *698 - enterprise: *697 - organization: *699 - repository: *700 + check_run: *706 + installation: *699 + enterprise: *698 + organization: *700 + repository: *701 requested_action: description: The action requested by the user. type: object @@ -102227,11 +102269,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *705 - installation: *698 - enterprise: *697 - organization: *699 - repository: *700 + check_run: *706 + installation: *699 + enterprise: *698 + organization: *700 + repository: *701 sender: *19 required: - check_run @@ -103218,10 +103260,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -103925,10 +103967,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -104626,10 +104668,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -104805,7 +104847,7 @@ x-webhooks: required: - login - id - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104950,20 +104992,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &706 + commit_oid: &707 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: *697 - installation: *698 - organization: *699 - ref: &707 + enterprise: *698 + installation: *699 + organization: *700 + ref: &708 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: *700 + repository: *701 sender: *19 required: - action @@ -105138,7 +105180,7 @@ x-webhooks: required: - login - id - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105368,12 +105410,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *697 - installation: *698 - organization: *699 - ref: *707 - repository: *700 + commit_oid: *707 + enterprise: *698 + installation: *699 + organization: *700 + ref: *708 + repository: *701 sender: *19 required: - action @@ -105478,7 +105520,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105649,12 +105691,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *697 - installation: *698 - organization: *699 - ref: *707 - repository: *700 + commit_oid: *707 + enterprise: *698 + installation: *699 + organization: *700 + ref: *708 + repository: *701 sender: *19 required: - action @@ -105830,7 +105872,7 @@ x-webhooks: required: - login - id - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105996,12 +106038,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *697 - installation: *698 - organization: *699 - ref: *707 - repository: *700 + commit_oid: *707 + enterprise: *698 + installation: *699 + organization: *700 + ref: *708 + repository: *701 sender: *19 required: - action @@ -106110,7 +106152,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106285,16 +106327,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *700 + repository: *701 sender: *19 required: - action @@ -106401,7 +106443,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106541,12 +106583,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *697 - installation: *698 - organization: *699 - ref: *707 - repository: *700 + commit_oid: *707 + enterprise: *698 + installation: *699 + organization: *700 + ref: *708 + repository: *701 sender: *19 required: - action @@ -106813,10 +106855,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -106906,18 +106948,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *699 - pusher_type: &708 + organization: *700 + pusher_type: &709 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &709 + ref: &710 description: The [`git ref`](https://docs.github.com/enterprise-server@3.19/rest/git/refs#get-a-reference) resource. type: string @@ -106927,7 +106969,7 @@ x-webhooks: enum: - tag - branch - repository: *700 + repository: *701 sender: *19 required: - ref @@ -107010,9 +107052,9 @@ x-webhooks: enum: - created definition: *136 - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 sender: *19 required: - action @@ -107097,9 +107139,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 sender: *19 required: - action @@ -107177,9 +107219,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *136 - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 sender: *19 required: - action @@ -107257,9 +107299,9 @@ x-webhooks: enum: - updated definition: *136 - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 sender: *19 required: - action @@ -107336,19 +107378,19 @@ x-webhooks: type: string enum: - updated - enterprise: *697 - installation: *698 - repository: *700 - organization: *699 + enterprise: *698 + installation: *699 + repository: *701 + organization: *700 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *299 + items: *301 old_property_values: type: array description: The old custom property values for the repository. - items: *299 + items: *301 required: - action - repository @@ -107434,18 +107476,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *697 - installation: *698 - organization: *699 - pusher_type: *708 - ref: *709 + enterprise: *698 + installation: *699 + organization: *700 + pusher_type: *709 + ref: *710 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *700 + repository: *701 sender: *19 required: - ref @@ -107539,11 +107581,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -107637,11 +107679,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -107735,11 +107777,11 @@ x-webhooks: type: string enum: - created - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -107831,11 +107873,11 @@ x-webhooks: type: string enum: - dismissed - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -107927,11 +107969,11 @@ x-webhooks: type: string enum: - fixed - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -108024,11 +108066,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -108120,11 +108162,11 @@ x-webhooks: type: string enum: - reopened - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -108211,9 +108253,9 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - key: &710 + enterprise: *698 + installation: *699 + key: &711 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.19/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -108249,8 +108291,8 @@ x-webhooks: - verified - created_at - read_only - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -108337,11 +108379,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - key: *710 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + key: *711 + organization: *700 + repository: *701 sender: *19 required: - action @@ -108912,12 +108954,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - workflow: &714 + workflow: &715 title: Workflow type: object nullable: true @@ -109653,13 +109695,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *484 + deployment: *486 pull_requests: type: array items: *157 - repository: *700 - organization: *699 - installation: *698 + repository: *701 + organization: *700 + installation: *699 sender: *19 responses: '200': @@ -109740,7 +109782,7 @@ x-webhooks: type: string enum: - approved - approver: &711 + approver: &712 type: object properties: avatar_url: @@ -109783,11 +109825,11 @@ x-webhooks: type: string comment: type: string - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - reviewers: &712 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + reviewers: &713 type: array items: type: object @@ -109866,7 +109908,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &713 + workflow_job_run: &714 type: object properties: conclusion: @@ -110607,18 +110649,18 @@ x-webhooks: type: string enum: - rejected - approver: *711 + approver: *712 comment: type: string - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - reviewers: *712 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + reviewers: *713 sender: *19 since: type: string - workflow_job_run: *713 + workflow_job_run: *714 workflow_job_runs: type: array items: @@ -111332,13 +111374,13 @@ x-webhooks: type: string enum: - requested - enterprise: *697 + enterprise: *698 environment: type: string - installation: *698 - organization: *699 - repository: *700 - requestor: &724 + installation: *699 + organization: *700 + repository: *701 + requestor: &725 title: User type: object nullable: true @@ -113247,12 +113289,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - workflow: *714 + workflow: *715 workflow_run: title: Deployment Workflow Run type: object @@ -113942,7 +113984,7 @@ x-webhooks: type: string enum: - answered - answer: &717 + answer: &718 type: object properties: author_association: @@ -114099,7 +114141,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &715 + discussion: &716 title: Discussion description: A Discussion in a repository. type: object @@ -114406,10 +114448,10 @@ x-webhooks: - updated_at - active_lock_reason - body - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -114546,11 +114588,11 @@ x-webhooks: - from required: - category - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -114643,11 +114685,11 @@ x-webhooks: type: string enum: - closed - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -114739,7 +114781,7 @@ x-webhooks: type: string enum: - created - comment: &716 + comment: &717 type: object properties: author_association: @@ -114896,11 +114938,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -114993,12 +115035,12 @@ x-webhooks: type: string enum: - deleted - comment: *716 - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + comment: *717 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115103,12 +115145,12 @@ x-webhooks: - from required: - body - comment: *716 - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + comment: *717 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115202,11 +115244,11 @@ x-webhooks: type: string enum: - created - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115298,11 +115340,11 @@ x-webhooks: type: string enum: - deleted - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115412,11 +115454,11 @@ x-webhooks: type: string required: - from - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115508,10 +115550,10 @@ x-webhooks: type: string enum: - labeled - discussion: *715 - enterprise: *697 - installation: *698 - label: &718 + discussion: *716 + enterprise: *698 + installation: *699 + label: &719 title: Label type: object properties: @@ -115543,8 +115585,8 @@ x-webhooks: - color - default - description - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115637,11 +115679,11 @@ x-webhooks: type: string enum: - locked - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115733,11 +115775,11 @@ x-webhooks: type: string enum: - pinned - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115829,11 +115871,11 @@ x-webhooks: type: string enum: - reopened - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115928,16 +115970,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *715 - new_repository: *700 + new_discussion: *716 + new_repository: *701 required: - new_discussion - new_repository - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -116030,10 +116072,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *715 - old_answer: *717 - organization: *699 - repository: *700 + discussion: *716 + old_answer: *718 + organization: *700 + repository: *701 sender: *19 required: - action @@ -116125,12 +116167,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *715 - enterprise: *697 - installation: *698 - label: *718 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -116223,11 +116265,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -116319,11 +116361,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -116392,7 +116434,7 @@ x-webhooks: required: true content: application/json: - schema: *719 + schema: *720 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116455,7 +116497,7 @@ x-webhooks: required: true content: application/json: - schema: *720 + schema: *721 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116518,7 +116560,7 @@ x-webhooks: required: true content: application/json: - schema: *721 + schema: *722 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116581,7 +116623,7 @@ x-webhooks: required: true content: application/json: - schema: *719 + schema: *720 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116644,7 +116686,7 @@ x-webhooks: required: true content: application/json: - schema: *720 + schema: *721 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116710,7 +116752,7 @@ x-webhooks: required: true content: application/json: - schema: *721 + schema: *722 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116776,7 +116818,7 @@ x-webhooks: required: true content: application/json: - schema: *722 + schema: *723 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116842,7 +116884,7 @@ x-webhooks: required: true content: application/json: - schema: *719 + schema: *720 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116908,7 +116950,7 @@ x-webhooks: required: true content: application/json: - schema: *723 + schema: *724 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116974,7 +117016,7 @@ x-webhooks: required: true content: application/json: - schema: *720 + schema: *721 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117197,7 +117239,7 @@ x-webhooks: required: true content: application/json: - schema: *721 + schema: *722 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117262,7 +117304,7 @@ x-webhooks: required: true content: application/json: - schema: *722 + schema: *723 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117327,7 +117369,7 @@ x-webhooks: required: true content: application/json: - schema: *719 + schema: *720 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117392,7 +117434,7 @@ x-webhooks: required: true content: application/json: - schema: *723 + schema: *724 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117458,7 +117500,7 @@ x-webhooks: required: true content: application/json: - schema: *720 + schema: *721 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117535,7 +117577,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *697 + enterprise: *698 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.19/rest/repos/repos#get-a-repository) resource. @@ -118195,9 +118237,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - forkee @@ -118363,9 +118405,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pages: description: The pages that were updated. type: array @@ -118402,7 +118444,7 @@ x-webhooks: - action - sha - html_url - repository: *700 + repository: *701 sender: *19 required: - pages @@ -118488,10 +118530,10 @@ x-webhooks: type: string enum: - created - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories: &725 + organization: *700 + repositories: &726 description: An array of repository objects that the installation can access. type: array @@ -118517,8 +118559,8 @@ x-webhooks: - name - full_name - private - repository: *700 - requester: *724 + repository: *701 + requester: *725 sender: *19 required: - action @@ -118603,11 +118645,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories: *725 - repository: *700 + organization: *700 + repositories: *726 + repository: *701 requester: nullable: true sender: *19 @@ -118693,11 +118735,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories: *725 - repository: *700 + organization: *700 + repositories: *726 + repository: *701 requester: nullable: true sender: *19 @@ -118783,10 +118825,10 @@ x-webhooks: type: string enum: - added - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories_added: &726 + organization: *700 + repositories_added: &727 description: An array of repository objects, which were added to the installation. type: array @@ -118832,15 +118874,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *700 - repository_selection: &727 + repository: *701 + repository_selection: &728 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *724 + requester: *725 sender: *19 required: - action @@ -118929,10 +118971,10 @@ x-webhooks: type: string enum: - removed - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories_added: *726 + organization: *700 + repositories_added: *727 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -118959,9 +119001,9 @@ x-webhooks: - name - full_name - private - repository: *700 - repository_selection: *727 - requester: *724 + repository: *701 + repository_selection: *728 + requester: *725 sender: *19 required: - action @@ -119050,11 +119092,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories: *725 - repository: *700 + organization: *700 + repositories: *726 + repository: *701 requester: nullable: true sender: *19 @@ -119243,10 +119285,10 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 target_type: type: string @@ -119335,11 +119377,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories: *725 - repository: *700 + organization: *700 + repositories: *726 + repository: *701 requester: nullable: true sender: *19 @@ -119601,8 +119643,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120396,8 +120438,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 state: description: State of the issue; either 'open' or 'closed' type: string @@ -120413,7 +120455,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -120746,8 +120788,8 @@ x-webhooks: - state - locked - assignee - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -120837,7 +120879,7 @@ x-webhooks: type: string enum: - deleted - comment: &728 + comment: &729 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.19/rest/issues/comments#get-an-issue-comment) itself. @@ -121002,8 +121044,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121793,8 +121835,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 state: description: State of the issue; either 'open' or 'closed' type: string @@ -121810,7 +121852,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -122145,8 +122187,8 @@ x-webhooks: - state - locked - assignee - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -122236,7 +122278,7 @@ x-webhooks: type: string enum: - edited - changes: &751 + changes: &752 description: The changes to the comment. type: object properties: @@ -122248,9 +122290,9 @@ x-webhooks: type: string required: - from - comment: *728 - enterprise: *697 - installation: *698 + comment: *729 + enterprise: *698 + installation: *699 issue: description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123043,8 +123085,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123060,7 +123102,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -123393,8 +123435,8 @@ x-webhooks: - state - locked - assignee - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -123484,9 +123526,9 @@ x-webhooks: type: number blocking_issue: *149 blocking_issue_repo: *88 - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -123575,9 +123617,9 @@ x-webhooks: type: number blocking_issue: *149 blocking_issue_repo: *88 - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -123665,9 +123707,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *149 - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -123756,9 +123798,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *149 - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -123848,10 +123890,10 @@ x-webhooks: type: string enum: - assigned - assignee: *724 - enterprise: *697 - installation: *698 - issue: &731 + assignee: *725 + enterprise: *698 + installation: *699 + issue: &732 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) itself. @@ -124640,11 +124682,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124660,7 +124702,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -124761,8 +124803,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -124852,8 +124894,8 @@ x-webhooks: type: string enum: - closed - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) itself. @@ -125647,11 +125689,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125667,7 +125709,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -125903,8 +125945,8 @@ x-webhooks: required: - state - closed_at - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -125993,8 +126035,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -126779,11 +126821,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126799,7 +126841,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -126899,8 +126941,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -126989,8 +127031,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -127797,11 +127839,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127817,7 +127859,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -127896,7 +127938,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &729 + milestone: &730 title: Milestone description: A collection of related issues and pull requests. type: object @@ -128034,8 +128076,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -128144,8 +128186,8 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -128934,11 +128976,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128951,7 +128993,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *661 + type: *662 title: description: Title of the issue type: string @@ -129055,9 +129097,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *718 - organization: *699 - repository: *700 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -129147,8 +129189,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -129936,11 +129978,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129953,7 +129995,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *661 + type: *662 title: description: Title of the issue type: string @@ -130057,9 +130099,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *718 - organization: *699 - repository: *700 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -130149,8 +130191,8 @@ x-webhooks: type: string enum: - locked - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -130962,11 +131004,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130979,7 +131021,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *661 + type: *662 title: description: Title of the issue type: string @@ -131060,8 +131102,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -131150,8 +131192,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -131957,11 +131999,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131977,7 +132019,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -132055,9 +132097,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *729 - organization: *699 - repository: *700 + milestone: *730 + organization: *700 + repository: *701 sender: *19 required: - action @@ -132935,11 +132977,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133032,7 +133074,7 @@ x-webhooks: required: - login - id - type: *661 + type: *662 required: - id - number @@ -133501,8 +133543,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -134291,11 +134333,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134311,7 +134353,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -134411,8 +134453,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -134502,9 +134544,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *697 - installation: *698 - issue: &730 + enterprise: *698 + installation: *699 + issue: &731 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) itself. @@ -135287,11 +135329,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135307,7 +135349,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -135407,8 +135449,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -135497,8 +135539,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -136308,11 +136350,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136406,9 +136448,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *661 - organization: *699 - repository: *700 + type: *662 + organization: *700 + repository: *701 sender: *19 required: - action @@ -137284,11 +137326,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137304,7 +137346,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -137872,11 +137914,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *697 - installation: *698 - issue: *730 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + issue: *731 + organization: *700 + repository: *701 sender: *19 required: - action @@ -137967,7 +138009,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &754 + assignee: &755 title: User type: object nullable: true @@ -138037,11 +138079,11 @@ x-webhooks: required: - login - id - enterprise: *697 - installation: *698 - issue: *731 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + issue: *732 + organization: *700 + repository: *701 sender: *19 required: - action @@ -138130,12 +138172,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *697 - installation: *698 - issue: *731 - label: *718 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + issue: *732 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -138225,8 +138267,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -139036,11 +139078,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139056,7 +139098,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -139134,8 +139176,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139225,11 +139267,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *697 - installation: *698 - issue: *730 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + issue: *731 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139318,11 +139360,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - label: *718 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139410,11 +139452,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - label: *718 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139534,11 +139576,11 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - label: *718 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139652,11 +139694,11 @@ x-webhooks: type: string required: - to - enterprise: *697 - installation: *698 - member: *724 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + member: *725 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139766,11 +139808,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *697 - installation: *698 - member: *724 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + member: *725 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139859,11 +139901,11 @@ x-webhooks: type: string enum: - removed - enterprise: *697 - installation: *698 - member: *724 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + member: *725 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139951,11 +139993,11 @@ x-webhooks: type: string enum: - added - enterprise: *697 - installation: *698 - member: *724 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + member: *725 + organization: *700 + repository: *701 scope: description: The scope of the membership. Currently, can only be `team`. @@ -140031,7 +140073,7 @@ x-webhooks: required: - login - id - team: &732 + team: &733 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -140264,11 +140306,11 @@ x-webhooks: type: string enum: - removed - enterprise: *697 - installation: *698 - member: *724 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + member: *725 + organization: *700 + repository: *701 scope: description: The scope of the membership. Currently, can only be `team`. @@ -140345,7 +140387,7 @@ x-webhooks: required: - login - id - team: *732 + team: *733 required: - action - scope @@ -140433,7 +140475,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 + enterprise: *698 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -140542,16 +140584,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *698 - organization: *699 + installation: *699 + organization: *700 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *733 - required: *734 + properties: *734 + required: *735 nullable: true sender: *19 required: @@ -140642,11 +140684,11 @@ x-webhooks: type: string enum: - closed - enterprise: *697 - installation: *698 - milestone: *729 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + milestone: *730 + organization: *700 + repository: *701 sender: *19 required: - action @@ -140735,9 +140777,9 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - milestone: &735 + enterprise: *698 + installation: *699 + milestone: &736 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140874,8 +140916,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -140964,11 +141006,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - milestone: *729 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + milestone: *730 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141088,11 +141130,11 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - milestone: *729 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + milestone: *730 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141182,11 +141224,11 @@ x-webhooks: type: string enum: - opened - enterprise: *697 - installation: *698 - milestone: *735 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + milestone: *736 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141275,9 +141317,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - membership: &736 + enterprise: *698 + installation: *699 + membership: &737 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -141384,8 +141426,8 @@ x-webhooks: - role - organization_url - user - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141473,11 +141515,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *697 - installation: *698 - membership: *736 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + membership: *737 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141566,8 +141608,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -141683,10 +141725,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 - user: *724 + user: *725 required: - action - invitation @@ -141774,11 +141816,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *697 - installation: *698 - membership: *736 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + membership: *737 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141875,11 +141917,11 @@ x-webhooks: properties: from: type: string - enterprise: *697 - installation: *698 - membership: *736 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + membership: *737 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141965,9 +142007,9 @@ x-webhooks: type: string enum: - published - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 package: description: Information about the package. type: object @@ -142466,7 +142508,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &737 + items: &738 title: Ruby Gems metadata type: object properties: @@ -142561,7 +142603,7 @@ x-webhooks: - owner - package_version - registry - repository: *700 + repository: *701 sender: *19 required: - action @@ -142647,9 +142689,9 @@ x-webhooks: type: string enum: - updated - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 package: description: Information about the package. type: object @@ -143002,7 +143044,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *737 + items: *738 source_url: type: string format: uri @@ -143072,7 +143114,7 @@ x-webhooks: - owner - package_version - registry - repository: *700 + repository: *701 sender: *19 required: - action @@ -143259,12 +143301,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *697 + enterprise: *698 id: type: integer - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - id @@ -143341,7 +143383,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &738 + personal_access_token_request: &739 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -143487,10 +143529,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *697 - organization: *699 + enterprise: *698 + organization: *700 sender: *19 - installation: *698 + installation: *699 required: - action - personal_access_token_request @@ -143567,11 +143609,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *738 - enterprise: *697 - organization: *699 + personal_access_token_request: *739 + enterprise: *698 + organization: *700 sender: *19 - installation: *698 + installation: *699 required: - action - personal_access_token_request @@ -143647,11 +143689,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *738 - enterprise: *697 - organization: *699 + personal_access_token_request: *739 + enterprise: *698 + organization: *700 sender: *19 - installation: *698 + installation: *699 required: - action - personal_access_token_request @@ -143726,11 +143768,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *738 - organization: *699 - enterprise: *697 + personal_access_token_request: *739 + organization: *700 + enterprise: *698 sender: *19 - installation: *698 + installation: *699 required: - action - personal_access_token_request @@ -143845,7 +143887,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *739 + last_response: *740 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -143877,8 +143919,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 zen: description: Random string of GitHub zen. @@ -144133,10 +144175,10 @@ x-webhooks: - from required: - note - enterprise: *697 - installation: *698 - organization: *699 - project_card: &740 + enterprise: *698 + installation: *699 + organization: *700 + project_card: &741 title: Project Card type: object properties: @@ -144255,7 +144297,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *700 + repository: *701 sender: *19 required: - action @@ -144346,11 +144388,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - project_card: *740 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project_card: *741 + repository: *701 sender: *19 required: - action @@ -144440,9 +144482,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 project_card: title: Project Card type: object @@ -144570,8 +144612,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *733 - required: *734 + properties: *734 + required: *735 nullable: true sender: *19 required: @@ -144675,11 +144717,11 @@ x-webhooks: - from required: - note - enterprise: *697 - installation: *698 - organization: *699 - project_card: *740 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project_card: *741 + repository: *701 sender: *19 required: - action @@ -144783,9 +144825,9 @@ x-webhooks: - from required: - column_id - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 project_card: allOf: - title: Project Card @@ -144975,7 +145017,7 @@ x-webhooks: type: string required: - after_id - repository: *700 + repository: *701 sender: *19 required: - action @@ -145065,10 +145107,10 @@ x-webhooks: type: string enum: - closed - enterprise: *697 - installation: *698 - organization: *699 - project: &742 + enterprise: *698 + installation: *699 + organization: *700 + project: &743 title: Project type: object properties: @@ -145192,7 +145234,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *700 + repository: *701 sender: *19 required: - action @@ -145282,10 +145324,10 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - project_column: &741 + enterprise: *698 + installation: *699 + organization: *700 + project_column: &742 title: Project Column type: object properties: @@ -145324,7 +145366,7 @@ x-webhooks: - name - created_at - updated_at - repository: *700 + repository: *701 sender: *19 required: - action @@ -145413,18 +145455,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - project_column: *741 + enterprise: *698 + installation: *699 + organization: *700 + project_column: *742 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *733 - required: *734 + properties: *734 + required: *735 nullable: true sender: *19 required: @@ -145524,11 +145566,11 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - organization: *699 - project_column: *741 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project_column: *742 + repository: *701 sender: *19 required: - action @@ -145618,11 +145660,11 @@ x-webhooks: type: string enum: - moved - enterprise: *697 - installation: *698 - organization: *699 - project_column: *741 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project_column: *742 + repository: *701 sender: *19 required: - action @@ -145712,11 +145754,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - project: *742 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project: *743 + repository: *701 sender: *19 required: - action @@ -145806,18 +145848,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - project: *742 + enterprise: *698 + installation: *699 + organization: *700 + project: *743 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *733 - required: *734 + properties: *734 + required: *735 nullable: true sender: *19 required: @@ -145929,11 +145971,11 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - organization: *699 - project: *742 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project: *743 + repository: *701 sender: *19 required: - action @@ -146022,11 +146064,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *697 - installation: *698 - organization: *699 - project: *742 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project: *743 + repository: *701 sender: *19 required: - action @@ -146117,9 +146159,9 @@ x-webhooks: type: string enum: - closed - installation: *698 - organization: *699 - projects_v2: &743 + installation: *699 + organization: *700 + projects_v2: &744 title: Projects v2 Project description: A projects v2 project type: object @@ -146351,9 +146393,9 @@ x-webhooks: type: string enum: - created - installation: *698 - organization: *699 - projects_v2: *743 + installation: *699 + organization: *700 + projects_v2: *744 sender: *19 required: - action @@ -146444,9 +146486,9 @@ x-webhooks: type: string enum: - deleted - installation: *698 - organization: *699 - projects_v2: *743 + installation: *699 + organization: *700 + projects_v2: *744 sender: *19 required: - action @@ -146573,9 +146615,9 @@ x-webhooks: type: string to: type: string - installation: *698 - organization: *699 - projects_v2: *743 + installation: *699 + organization: *700 + projects_v2: *744 sender: *19 required: - action @@ -146668,7 +146710,7 @@ x-webhooks: type: string enum: - archived - changes: &747 + changes: &748 type: object properties: archived_at: @@ -146682,9 +146724,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *698 - organization: *699 - projects_v2_item: &744 + installation: *699 + organization: *700 + projects_v2_item: &745 title: Projects v2 Item description: An item belonging to a project type: object @@ -146836,9 +146878,9 @@ x-webhooks: nullable: true to: type: string - installation: *698 - organization: *699 - projects_v2_item: *744 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -146930,9 +146972,9 @@ x-webhooks: type: string enum: - created - installation: *698 - organization: *699 - projects_v2_item: *744 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -147023,9 +147065,9 @@ x-webhooks: type: string enum: - deleted - installation: *698 - organization: *699 - projects_v2_item: *744 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -147141,7 +147183,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &745 + - &746 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -147163,7 +147205,7 @@ x-webhooks: required: - id - name - - &746 + - &747 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -147197,8 +147239,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *745 - *746 + - *747 required: - field_value - type: object @@ -147214,9 +147256,9 @@ x-webhooks: nullable: true required: - body - installation: *698 - organization: *699 - projects_v2_item: *744 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -147321,9 +147363,9 @@ x-webhooks: to: type: string nullable: true - installation: *698 - organization: *699 - projects_v2_item: *744 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -147416,10 +147458,10 @@ x-webhooks: type: string enum: - restored - changes: *747 - installation: *698 - organization: *699 - projects_v2_item: *744 + changes: *748 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -147511,9 +147553,9 @@ x-webhooks: type: string enum: - reopened - installation: *698 - organization: *699 - projects_v2: *743 + installation: *699 + organization: *700 + projects_v2: *744 sender: *19 required: - action @@ -147594,10 +147636,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - repository @@ -147684,13 +147726,13 @@ x-webhooks: type: string enum: - assigned - assignee: *724 - enterprise: *697 - installation: *698 - number: &748 + assignee: *725 + enterprise: *698 + installation: *699 + number: &749 description: The pull request number. type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -149973,7 +150015,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -150065,11 +150107,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -152347,7 +152389,7 @@ x-webhooks: - draft reason: type: string - repository: *700 + repository: *701 sender: *19 required: - action @@ -152439,11 +152481,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -154721,7 +154763,7 @@ x-webhooks: - draft reason: type: string - repository: *700 + repository: *701 sender: *19 required: - action @@ -154813,11 +154855,11 @@ x-webhooks: type: string enum: - closed - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: &749 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: &750 allOf: - *157 - type: object @@ -154881,7 +154923,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *700 + repository: *701 sender: *19 required: - action @@ -154972,12 +155014,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: *749 - repository: *700 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: *750 + repository: *701 sender: *19 required: - action @@ -155067,11 +155109,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *697 - milestone: *557 - number: *748 - organization: *699 - pull_request: &750 + enterprise: *698 + milestone: *558 + number: *749 + organization: *700 + pull_request: &751 title: Pull Request type: object properties: @@ -157334,7 +157376,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -157466,12 +157508,12 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: *749 - repository: *700 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: *750 + repository: *701 sender: *19 required: - action @@ -157561,11 +157603,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *697 - installation: *698 - label: *718 - number: *748 - organization: *699 + enterprise: *698 + installation: *699 + label: *719 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -159847,7 +159889,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -159938,10 +159980,10 @@ x-webhooks: type: string enum: - locked - enterprise: *697 - installation: *698 - number: *748 - organization: *699 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -162221,7 +162263,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -162311,12 +162353,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *697 - milestone: *557 - number: *748 - organization: *699 - pull_request: *750 - repository: *700 + enterprise: *698 + milestone: *558 + number: *749 + organization: *700 + pull_request: *751 + repository: *701 sender: *19 required: - action @@ -162405,12 +162447,12 @@ x-webhooks: type: string enum: - opened - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: *749 - repository: *700 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: *750 + repository: *701 sender: *19 required: - action @@ -162501,12 +162543,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: *749 - repository: *700 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: *750 + repository: *701 sender: *19 required: - action @@ -162596,12 +162638,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: *749 - repository: *700 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: *750 + repository: *701 sender: *19 required: - action @@ -162977,9 +163019,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: type: object properties: @@ -165149,7 +165191,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *700 + repository: *701 sender: *19 required: - action @@ -165239,7 +165281,7 @@ x-webhooks: type: string enum: - deleted - comment: &752 + comment: &753 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -165524,9 +165566,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: type: object properties: @@ -167684,7 +167726,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *700 + repository: *701 sender: *19 required: - action @@ -167774,11 +167816,11 @@ x-webhooks: type: string enum: - edited - changes: *751 - comment: *752 - enterprise: *697 - installation: *698 - organization: *699 + changes: *752 + comment: *753 + enterprise: *698 + installation: *699 + organization: *700 pull_request: type: object properties: @@ -169939,7 +169981,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *700 + repository: *701 sender: *19 required: - action @@ -170030,9 +170072,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: title: Simple Pull Request type: object @@ -172205,7 +172247,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *700 + repository: *701 review: description: The review that was affected. type: object @@ -172462,9 +172504,9 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: title: Simple Pull Request type: object @@ -174518,8 +174560,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *700 - review: &753 + repository: *701 + review: &754 description: The review that was affected. type: object properties: @@ -174762,12 +174804,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: description: The pull request number. type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -177050,7 +177092,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 requested_reviewer: title: User type: object @@ -177134,12 +177176,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: description: The pull request number. type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -179429,7 +179471,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 requested_team: title: Team description: Groups of organization members that gives permissions @@ -179631,12 +179673,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: description: The pull request number. type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -181921,7 +181963,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 requested_reviewer: title: User type: object @@ -182006,12 +182048,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: description: The pull request number. type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -184287,7 +184329,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184478,9 +184520,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: title: Simple Pull Request type: object @@ -186655,8 +186697,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *700 - review: *753 + repository: *701 + review: *754 sender: *19 required: - action @@ -186746,9 +186788,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: title: Simple Pull Request type: object @@ -188818,7 +188860,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *700 + repository: *701 sender: *19 thread: type: object @@ -189215,9 +189257,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: title: Simple Pull Request type: object @@ -191273,7 +191315,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *700 + repository: *701 sender: *19 thread: type: object @@ -191673,10 +191715,10 @@ x-webhooks: type: string before: type: string - enterprise: *697 - installation: *698 - number: *748 - organization: *699 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -193947,7 +193989,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -194039,11 +194081,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *754 - enterprise: *697 - installation: *698 - number: *748 - organization: *699 + assignee: *755 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -196326,7 +196368,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -196415,11 +196457,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *697 - installation: *698 - label: *718 - number: *748 - organization: *699 + enterprise: *698 + installation: *699 + label: *719 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -198692,7 +198734,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -198783,10 +198825,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *697 - installation: *698 - number: *748 - organization: *699 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -201051,7 +201093,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -201261,7 +201303,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *697 + enterprise: *698 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -201353,8 +201395,8 @@ x-webhooks: - url - author - committer - installation: *698 - organization: *699 + installation: *699 + organization: *700 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -201939,9 +201981,9 @@ x-webhooks: type: string enum: - published - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 registry_package: type: object properties: @@ -202387,7 +202429,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *737 + items: *738 summary: type: string tag_name: @@ -202441,7 +202483,7 @@ x-webhooks: - owner - package_version - registry - repository: *700 + repository: *701 sender: *19 required: - action @@ -202529,9 +202571,9 @@ x-webhooks: type: string enum: - updated - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 registry_package: type: object properties: @@ -202839,7 +202881,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *737 + items: *738 summary: type: string tag_name: @@ -202888,7 +202930,7 @@ x-webhooks: - owner - package_version - registry - repository: *700 + repository: *701 sender: *19 required: - action @@ -202975,10 +203017,10 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - release: &755 + enterprise: *698 + installation: *699 + organization: *700 + release: &756 title: Release description: The [release](https://docs.github.com/enterprise-server@3.19/rest/releases/releases/#get-a-release) object. @@ -203296,7 +203338,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *700 + repository: *701 sender: *19 required: - action @@ -203383,11 +203425,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - release: *755 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + release: *756 + repository: *701 sender: *19 required: - action @@ -203514,11 +203556,11 @@ x-webhooks: type: boolean required: - to - enterprise: *697 - installation: *698 - organization: *699 - release: *755 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + release: *756 + repository: *701 sender: *19 required: - action @@ -203606,9 +203648,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.19/rest/releases/releases/#get-a-release) @@ -203930,7 +203972,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *700 + repository: *701 sender: *19 required: - action @@ -204016,10 +204058,10 @@ x-webhooks: type: string enum: - published - enterprise: *697 - installation: *698 - organization: *699 - release: &756 + enterprise: *698 + installation: *699 + organization: *700 + release: &757 title: Release description: The [release](https://docs.github.com/enterprise-server@3.19/rest/releases/releases/#get-a-release) object. @@ -204338,7 +204380,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *700 + repository: *701 sender: *19 required: - action @@ -204424,11 +204466,11 @@ x-webhooks: type: string enum: - released - enterprise: *697 - installation: *698 - organization: *699 - release: *755 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + release: *756 + repository: *701 sender: *19 required: - action @@ -204514,11 +204556,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *697 - installation: *698 - organization: *699 - release: *756 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + release: *757 + repository: *701 sender: *19 required: - action @@ -204604,10 +204646,10 @@ x-webhooks: type: string enum: - anonymous_access_disabled - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -204692,10 +204734,10 @@ x-webhooks: type: string enum: - anonymous_access_enabled - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -204780,10 +204822,10 @@ x-webhooks: type: string enum: - archived - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -204870,10 +204912,10 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -204961,10 +205003,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205058,10 +205100,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205183,10 +205225,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205274,10 +205316,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205364,10 +205406,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205471,10 +205513,10 @@ x-webhooks: - name required: - repository - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205554,11 +205596,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - repository_ruleset: *329 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + repository_ruleset: *331 sender: *19 required: - action @@ -205636,11 +205678,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - repository_ruleset: *329 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + repository_ruleset: *331 sender: *19 required: - action @@ -205718,11 +205760,11 @@ x-webhooks: type: string enum: - edited - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - repository_ruleset: *329 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + repository_ruleset: *331 changes: type: object properties: @@ -205741,16 +205783,16 @@ x-webhooks: properties: added: type: array - items: *303 + items: *305 deleted: type: array - items: *303 + items: *305 updated: type: array items: type: object properties: - condition: *303 + condition: *305 changes: type: object properties: @@ -205783,16 +205825,16 @@ x-webhooks: properties: added: type: array - items: *596 + items: *597 deleted: type: array - items: *596 + items: *597 updated: type: array items: type: object properties: - rule: *596 + rule: *597 changes: type: object properties: @@ -206036,10 +206078,10 @@ x-webhooks: - from required: - owner - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206127,10 +206169,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206218,7 +206260,7 @@ x-webhooks: type: string enum: - create - alert: &757 + alert: &758 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -206339,10 +206381,10 @@ x-webhooks: type: string enum: - open - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206558,10 +206600,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206649,11 +206691,11 @@ x-webhooks: type: string enum: - reopen - alert: *757 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + alert: *758 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206862,10 +206904,10 @@ x-webhooks: enum: - fixed - open - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206953,7 +206995,7 @@ x-webhooks: type: string enum: - created - alert: &758 + alert: &759 type: object properties: number: *125 @@ -207067,10 +207109,10 @@ x-webhooks: properties: *17 required: *18 nullable: true - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -207161,11 +207203,11 @@ x-webhooks: type: string enum: - created - alert: *758 - installation: *698 - location: *759 - organization: *699 - repository: *700 + alert: *759 + installation: *699 + location: *760 + organization: *700 + repository: *701 sender: *19 required: - location @@ -207409,11 +207451,11 @@ x-webhooks: type: string enum: - reopened - alert: *758 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + alert: *759 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -207501,11 +207543,11 @@ x-webhooks: type: string enum: - resolved - alert: *758 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + alert: *759 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -207593,11 +207635,11 @@ x-webhooks: type: string enum: - validated - alert: *758 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + alert: *759 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -207723,10 +207765,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *700 - enterprise: *697 - installation: *698 - organization: *699 + repository: *701 + enterprise: *698 + installation: *699 + organization: *700 sender: *19 required: - action @@ -207814,11 +207856,11 @@ x-webhooks: type: string enum: - published - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - security_advisory: &760 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + security_advisory: &761 description: The details of the security advisory, including summary, description, and severity. type: object @@ -208011,11 +208053,11 @@ x-webhooks: type: string enum: - updated - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - security_advisory: *760 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + security_advisory: *761 sender: *19 required: - action @@ -208098,10 +208140,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -208295,11 +208337,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *302 - enterprise: *697 - installation: *698 - organization: *699 - repository: *372 + security_and_analysis: *304 + enterprise: *698 + installation: *699 + organization: *700 + repository: *374 sender: *19 required: - changes @@ -208387,12 +208429,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: &761 + sponsorship: &762 type: object properties: created_at: @@ -208703,12 +208745,12 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: *761 + sponsorship: *762 required: - action - sponsorship @@ -208806,12 +208848,12 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: *761 + sponsorship: *762 required: - action - changes @@ -208898,17 +208940,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &762 + effective_date: &763 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: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: *761 + sponsorship: *762 required: - action - sponsorship @@ -208992,7 +209034,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &763 + changes: &764 type: object properties: tier: @@ -209036,13 +209078,13 @@ x-webhooks: - from required: - tier - effective_date: *762 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + effective_date: *763 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: *761 + sponsorship: *762 required: - action - changes @@ -209129,13 +209171,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *763 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + changes: *764 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: *761 + sponsorship: *762 required: - action - changes @@ -209219,10 +209261,10 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -209315,10 +209357,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -209748,15 +209790,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *697 + enterprise: *698 id: description: The unique identifier of the status. type: integer - installation: *698 + installation: *699 name: type: string - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 sha: description: The Commit SHA. @@ -209868,12 +209910,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - team: &764 + team: &765 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -210106,9 +210148,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 repository: title: Repository description: A git repository @@ -210566,7 +210608,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *764 + team: *765 required: - action - team @@ -210652,9 +210694,9 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 repository: title: Repository description: A git repository @@ -211112,7 +211154,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *764 + team: *765 required: - action - team @@ -211199,9 +211241,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 repository: title: Repository description: A git repository @@ -211659,7 +211701,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *764 + team: *765 required: - action - team @@ -211813,9 +211855,9 @@ x-webhooks: - from required: - permissions - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 repository: title: Repository description: A git repository @@ -212273,7 +212315,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *764 + team: *765 required: - action - changes @@ -212361,9 +212403,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 repository: title: Repository description: A git repository @@ -212821,7 +212863,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *764 + team: *765 required: - action - team @@ -212904,12 +212946,12 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - user: *724 + user: *725 required: - action responses: @@ -212987,12 +213029,12 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - user: *724 + user: *725 required: - action responses: @@ -213073,10 +213115,10 @@ x-webhooks: type: string enum: - started - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -213159,16 +213201,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *697 + enterprise: *698 inputs: type: object nullable: true additionalProperties: true - installation: *698 - organization: *699 + installation: *699 + organization: *700 ref: type: string - repository: *700 + repository: *701 sender: *19 workflow: type: string @@ -213260,10 +213302,10 @@ x-webhooks: type: string enum: - completed - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 workflow_job: allOf: @@ -213500,7 +213542,7 @@ x-webhooks: type: string required: - conclusion - deployment: *484 + deployment: *486 required: - action - repository @@ -213589,10 +213631,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 workflow_job: allOf: @@ -213852,7 +213894,7 @@ x-webhooks: required: - status - steps - deployment: *484 + deployment: *486 required: - action - repository @@ -213941,10 +213983,10 @@ x-webhooks: type: string enum: - queued - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 workflow_job: type: object @@ -214079,7 +214121,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *484 + deployment: *486 required: - action - repository @@ -214168,10 +214210,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 workflow_job: type: object @@ -214307,7 +214349,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *484 + deployment: *486 required: - action - repository @@ -214397,12 +214439,12 @@ x-webhooks: type: string enum: - completed - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -215411,12 +215453,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -216410,12 +216452,12 @@ x-webhooks: type: string enum: - requested - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghes-3.19/dereferenced/ghes-3.19.deref.json b/descriptions/ghes-3.19/dereferenced/ghes-3.19.deref.json index 53ba54a93..9dbd03b54 100644 --- a/descriptions/ghes-3.19/dereferenced/ghes-3.19.deref.json +++ b/descriptions/ghes-3.19/dereferenced/ghes-3.19.deref.json @@ -143237,6 +143237,482 @@ } } }, + "/orgs/{org}/dismissal-requests/dependabot": { + "get": { + "summary": "List dismissal requests for Dependabot alerts for an organization", + "description": "Lists dismissal requests for Dependabot alerts in an organization.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the appropriate permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/list-dismissal-requests-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.19/rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "dependabot", + "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": "repository_name", + "description": "The name of the repository to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "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 rule suites that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "denied", + "open", + "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-server@3.19/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-server@3.19/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": "Dependabot alert dismissal request", + "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "The alert number." + }, + "alert_title": { + "type": "string", + "description": "The title of the alert." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "123" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": "string", + "nullable": true, + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "no_bandwidth", + "alert_number": "1", + "alert_title": "lodash - GHSA-1234-abcd-5678" + } + ], + "resource_identifier": "1", + "status": "denied", + "requester_comment": "No bandwidth to fix this right now", + "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/dependabot/1", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "tolerable_risk", + "alert_number": "2", + "alert_title": "axios - GHSA-5678-efgh-9012" + } + ], + "resource_identifier": "2", + "status": "approved", + "requester_comment": "Risk is acceptable for this internal tool", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 43, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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" + } + } + } + } + } + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", diff --git a/descriptions/ghes-3.19/dereferenced/ghes-3.19.deref.yaml b/descriptions/ghes-3.19/dereferenced/ghes-3.19.deref.yaml index 48eb2afe3..6bfbf0581 100644 --- a/descriptions/ghes-3.19/dereferenced/ghes-3.19.deref.yaml +++ b/descriptions/ghes-3.19/dereferenced/ghes-3.19.deref.yaml @@ -924,7 +924,7 @@ paths: schema: type: object properties: - ldap_dn: &350 + ldap_dn: &352 type: string description: The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. @@ -4410,7 +4410,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/apps/webhooks#list-deliveries-for-an-app-webhook parameters: - *4 - - &263 + - &265 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4426,7 +4426,7 @@ paths: application/json: schema: type: array - items: &264 + items: &266 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4506,7 +4506,7 @@ paths: - installation_id - repository_id examples: - default: &265 + default: &267 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4538,7 +4538,7 @@ paths: application/json: schema: *24 application/scim+json: - schema: &634 + schema: &635 title: Scim Error description: Scim Error type: object @@ -4634,7 +4634,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &268 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4748,7 +4748,7 @@ paths: - request - response examples: - default: &267 + default: &269 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -5309,7 +5309,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &300 + properties: &302 id: description: Unique identifier of the repository example: 42 @@ -5747,7 +5747,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &301 + required: &303 - archive_url - assignees_url - blobs_url @@ -6770,7 +6770,7 @@ paths: schema: type: string '422': *35 - '410': &378 + '410': &380 description: Gone content: application/json: @@ -10370,7 +10370,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &635 + '401': &636 description: Authorization failure '404': *26 x-github: @@ -14480,7 +14480,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &442 + instances_url: &444 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -14515,7 +14515,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &443 + dismissed_reason: &445 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -14524,13 +14524,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &444 + dismissed_comment: &446 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &445 + rule: &447 type: object properties: id: @@ -14583,7 +14583,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &446 + tool: &448 type: object properties: name: *116 @@ -14593,15 +14593,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *117 - most_recent_instance: &447 + most_recent_instance: &449 type: object properties: - ref: &440 + ref: &442 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &453 + analysis_key: &455 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -14612,7 +14612,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &454 + category: &456 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16603,7 +16603,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &474 + - &476 name: has in: query description: |- @@ -16728,7 +16728,7 @@ paths: enum: - development - runtime - security_advisory: &475 + security_advisory: &477 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16960,14 +16960,14 @@ paths: nullable: true maxLength: 280 fixed_at: *135 - auto_dismissed_at: &476 + auto_dismissed_at: &478 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &477 + dismissal_request: &479 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -17632,7 +17632,7 @@ paths: required: true content: application/json: - schema: &298 + schema: &300 title: Custom Property Set Payload description: Custom property set payload type: object @@ -17779,7 +17779,7 @@ paths: type: string format: date-time examples: - default: &332 + default: &334 value: - version_id: 3 actor: @@ -17832,7 +17832,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &335 allOf: - *141 - type: object @@ -17887,7 +17887,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *66 - - &334 + - &336 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17898,7 +17898,7 @@ paths: enum: - open - resolved - - &335 + - &337 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17908,7 +17908,7 @@ paths: required: false schema: type: string - - &336 + - &338 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17917,7 +17917,7 @@ paths: required: false schema: type: string - - &337 + - &339 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -17933,7 +17933,7 @@ paths: - *4 - *114 - *115 - - &338 + - &340 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17942,7 +17942,7 @@ paths: required: false schema: type: string - - &339 + - &341 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17951,7 +17951,7 @@ paths: schema: type: boolean default: false - - &340 + - &342 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17960,7 +17960,7 @@ paths: schema: type: boolean default: false - - &341 + - &343 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -17976,7 +17976,7 @@ paths: application/json: schema: type: array - items: &342 + items: &344 type: object properties: number: *125 @@ -17995,14 +17995,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &608 + state: &609 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: &609 + resolution: &610 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -18105,8 +18105,8 @@ paths: pull request. ' - oneOf: &610 - - &612 + oneOf: &611 + - &613 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -18158,7 +18158,7 @@ paths: - blob_url - commit_sha - commit_url - - &613 + - &614 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. @@ -18213,7 +18213,7 @@ paths: - page_url - commit_sha - commit_url - - &614 + - &615 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -18227,7 +18227,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &615 + - &616 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -18241,7 +18241,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &616 + - &617 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -18255,7 +18255,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &617 + - &618 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -18269,7 +18269,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &618 + - &619 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -18283,7 +18283,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &619 + - &620 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -18297,7 +18297,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &620 + - &621 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. @@ -18311,7 +18311,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &621 + - &622 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. @@ -18325,7 +18325,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &622 + - &623 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. @@ -18339,7 +18339,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &623 + - &624 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. @@ -18353,7 +18353,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &624 + - &625 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -18380,7 +18380,7 @@ paths: required: *18 nullable: true examples: - default: &343 + default: &345 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18589,7 +18589,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &346 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -18672,7 +18672,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *143 examples: - default: &345 + default: &347 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -18808,7 +18808,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *66 - - &347 + - &349 name: advanced_security_product in: query description: | @@ -18828,7 +18828,7 @@ paths: description: Success content: application/json: - schema: &348 + schema: &350 type: object properties: total_advanced_security_committers: @@ -18883,7 +18883,7 @@ paths: required: - repositories examples: - default: &349 + default: &351 value: total_advanced_security_committers: 2 total_count: 2 @@ -19094,7 +19094,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &531 + properties: &532 id: type: integer format: int64 @@ -19357,7 +19357,7 @@ paths: timeline_url: type: string format: uri - type: &661 + type: &662 title: Issue Type description: The type of issue. type: object @@ -19471,7 +19471,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &658 + sub_issues_summary: &659 title: Sub-issues Summary type: object properties: @@ -19491,7 +19491,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &659 + issue_dependencies_summary: &660 title: Issue Dependencies Summary type: object properties: @@ -19510,7 +19510,7 @@ paths: - total_blocking issue_field_values: type: array - items: &660 + items: &661 title: Issue Field Value description: A value assigned to an issue field type: object @@ -19571,7 +19571,7 @@ paths: - node_id - data_type - value - required: &532 + required: &533 - assignee - closed_at - comments @@ -19655,7 +19655,7 @@ paths: action: type: string issue: *149 - comment: &529 + comment: &530 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20161,12 +20161,12 @@ paths: nullable: true requested_teams: type: array - items: &278 + items: &280 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &276 + properties: &278 id: description: Unique identifier of the team type: integer @@ -20238,7 +20238,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &277 + required: &279 - id - node_id - url @@ -20314,7 +20314,7 @@ paths: - review_comment - self author_association: *150 - auto_merge: &466 + auto_merge: &468 title: Auto merge description: The status of auto merging a pull request. type: object @@ -20778,7 +20778,7 @@ paths: type: string release: allOf: - - &586 + - &587 title: Release description: A release. type: object @@ -20849,7 +20849,7 @@ paths: author: *19 assets: type: array - items: &587 + items: &588 title: Release Asset description: Data related to a release. type: object @@ -21431,7 +21431,7 @@ paths: url: type: string format: uri - user: &670 + user: &671 title: Public User description: Public User type: object @@ -23301,7 +23301,7 @@ paths: - closed - all default: open - - &268 + - &270 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -23352,7 +23352,7 @@ paths: type: array items: *149 examples: - default: &269 + default: &271 value: - id: 1 node_id: MDU6SXNzdWUx @@ -26063,14 +26063,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &368 + - &370 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &369 + - &371 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -26142,7 +26142,7 @@ paths: '404': *26 '403': *43 '304': *42 - '301': &373 + '301': &375 description: Moved permanently content: application/json: @@ -26164,7 +26164,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &560 + - &561 name: all description: If `true`, show notifications marked as read. in: query @@ -26172,7 +26172,7 @@ paths: schema: type: boolean default: false - - &561 + - &562 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -26182,7 +26182,7 @@ paths: type: boolean default: false - *159 - - &562 + - &563 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: @@ -26218,7 +26218,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &259 + properties: &261 id: type: integer format: int64 @@ -26494,7 +26494,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &302 + security_and_analysis: &304 nullable: true type: object properties: @@ -26560,7 +26560,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &260 + required: &262 - archive_url - assignees_url - blobs_url @@ -26648,7 +26648,7 @@ paths: - url - subscription_url examples: - default: &563 + default: &564 value: - id: '1' repository: @@ -27194,7 +27194,7 @@ paths: type: array items: *74 examples: - default: &678 + default: &679 value: - login: github id: 1 @@ -28360,7 +28360,7 @@ paths: type: integer repository_cache_usages: type: array - items: &379 + items: &381 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -30839,7 +30839,7 @@ paths: description: Response content: application/json: - schema: &401 + schema: &403 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -30868,7 +30868,7 @@ paths: - key_id - key examples: - default: &402 + default: &404 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31281,7 +31281,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#list-organization-variables parameters: - *92 - - &386 + - &388 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -32012,7 +32012,7 @@ paths: be returned. in: query required: false - schema: &441 + schema: &443 type: string description: Severity of a code scanning alert. enum: @@ -33451,7 +33451,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &482 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33468,7 +33468,7 @@ paths: - key_id - key examples: - default: &481 + default: &483 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33798,7 +33798,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *92 - - &489 + - &491 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -33806,7 +33806,7 @@ paths: required: false schema: type: string - - &490 + - &492 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -33814,7 +33814,7 @@ paths: required: false schema: type: string - - &491 + - &493 name: time_period description: |- The time period to filter by. @@ -33830,7 +33830,7 @@ paths: - week - month default: month - - &492 + - &494 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -33855,7 +33855,7 @@ paths: application/json: schema: type: array - items: &493 + items: &495 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -33961,7 +33961,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: &495 + items: &259 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -34011,7 +34011,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &494 + default: &496 value: - id: 21 number: 42 @@ -34077,24 +34077,25 @@ paths: '403': *43 '422': *35 '500': *107 - "/orgs/{org}/dismissal-requests/secret-scanning": + "/orgs/{org}/dismissal-requests/dependabot": get: - summary: List alert dismissal requests for secret scanning for an org + summary: List dismissal requests for Dependabot alerts for an organization description: |- - Lists requests to dismiss secret scanning alerts in an org. + Lists dismissal requests for Dependabot alerts in an organization. Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, - or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + or have the appropriate permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. tags: - - secret-scanning - operationId: secret-scanning/list-org-dismissal-requests + - dependabot + operationId: dependabot/list-dismissal-requests-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization x-github: githubCloudOnly: true enabledForGitHubApps: true - category: secret-scanning + category: dependabot subcategory: alert-dismissal-requests parameters: - *92 @@ -34102,7 +34103,7 @@ paths: - *109 - *110 - *111 - - &497 + - &260 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -34121,6 +34122,225 @@ paths: default: all - *4 - *5 + responses: + '200': + description: A list of alert dismissal requests. + content: + application/json: + schema: + type: array + items: &497 + title: Dependabot alert dismissal request + description: Alert dismissal request made by a user asking to dismiss + a Dependabot alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request + within its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request + is for. + name: + type: string + description: The name of the repository the dismissal request + is for. + full_name: + type: string + description: The full name of the repository the dismissal + request is for. + organization: + type: object + description: The organization associated with the repository + the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the + dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the + dismissal request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: The alert number. + alert_title: + type: string + description: The title of the alert. + resource_identifier: + type: string + description: The unique identifier for the request type of the + dismissal request. + example: '123' + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating + the dismissal request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: *259 + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/security/dependabot/1 + examples: + default: &498 + 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: dependabot_alert_dismissal + data: + - reason: no_bandwidth + alert_number: '1' + alert_title: lodash - GHSA-1234-abcd-5678 + resource_identifier: '1' + status: denied + requester_comment: No bandwidth to fix this right now + 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/dependabot/1 + html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal + data: + - reason: tolerable_risk + alert_number: '2' + alert_title: axios - GHSA-5678-efgh-9012 + resource_identifier: '2' + status: approved + requester_comment: Risk is acceptable for this internal tool + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 43 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 + html_url: https://github.com/octo-org/smile/security/dependabot/2 + '404': *26 + '403': *43 + '500': *107 + "/orgs/{org}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for an org + description: |- + Lists requests to dismiss secret scanning alerts in an org. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *92 + - *230 + - *109 + - *110 + - *111 + - *260 + - *4 + - *5 responses: '200': description: A list of the alert dismissal requests. @@ -34128,7 +34348,7 @@ paths: application/json: schema: type: array - items: &498 + items: &499 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -34249,7 +34469,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &499 + default: &500 value: - id: 21 number: 42 @@ -34337,7 +34557,7 @@ paths: application/json: schema: type: array - items: &280 + items: &282 title: Package description: A software package type: object @@ -34387,8 +34607,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *259 - required: *260 + properties: *261 + required: *262 nullable: true created_at: type: string @@ -34407,7 +34627,7 @@ paths: - created_at - updated_at examples: - default: &281 + default: &283 value: - id: 197 name: hello_docker @@ -34604,7 +34824,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &367 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -34685,7 +34905,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &366 + default: &368 value: group_id: '123' group_name: Octocat admins @@ -34740,7 +34960,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &365 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34777,7 +34997,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &364 + default: &366 value: groups: - group_id: '123' @@ -34824,7 +35044,7 @@ paths: application/json: schema: type: array - items: &261 + items: &263 title: Org Hook description: Org Hook type: object @@ -34995,9 +35215,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: &262 + default: &264 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -35051,9 +35271,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 '404': *26 x-github: githubCloudOnly: false @@ -35126,7 +35346,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: default: value: @@ -35280,7 +35500,7 @@ paths: - *92 - *3 - *4 - - *263 + - *265 responses: '200': description: Response @@ -35288,9 +35508,9 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: - default: *265 + default: *267 '400': *34 '422': *35 x-github: @@ -35323,9 +35543,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '400': *34 '422': *35 x-github: @@ -35413,7 +35633,7 @@ paths: application/json: schema: *39 examples: - default: &526 + default: &527 value: id: 1 account: @@ -35610,7 +35830,7 @@ paths: - closed - all default: open - - *268 + - *270 - name: type description: Can be the name of an issue type. in: query @@ -35641,7 +35861,7 @@ paths: type: array items: *149 examples: - default: *269 + default: *271 headers: Link: *6 '404': *26 @@ -35701,7 +35921,7 @@ paths: type: array items: *19 examples: - default: &279 + default: &281 value: - login: octocat id: 1 @@ -35806,7 +36026,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &272 title: Org Membership description: Org Membership type: object @@ -35873,7 +36093,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &271 + response-if-user-has-an-active-admin-membership-with-organization: &273 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35969,9 +36189,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: - response-if-user-already-had-membership-with-organization: *271 + response-if-user-already-had-membership-with-organization: *273 '422': *35 '403': *43 x-github: @@ -36042,7 +36262,7 @@ paths: application/json: schema: type: array - items: &272 + items: &274 title: Migration description: A migration. type: object @@ -36374,7 +36594,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: default: value: @@ -36553,7 +36773,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/migrations/orgs#get-an-organization-migration-status parameters: - *92 - - &273 + - &275 name: migration_id description: The unique identifier of the migration. in: path @@ -36580,7 +36800,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *272 + schema: *274 examples: default: value: @@ -36750,7 +36970,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *92 - - *273 + - *275 responses: '302': description: Response @@ -36772,7 +36992,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *92 - - *273 + - *275 responses: '204': description: Response @@ -36796,7 +37016,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/migrations/orgs#unlock-an-organization-repository parameters: - *92 - - *273 + - *275 - name: repo_name description: repo_name parameter in: path @@ -36824,7 +37044,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *92 - - *273 + - *275 - *4 - *5 responses: @@ -36836,7 +37056,7 @@ paths: type: array items: *203 examples: - default: &286 + default: &288 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37045,7 +37265,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &274 + items: &276 title: Organization Role description: Organization roles type: object @@ -37252,7 +37472,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: default: value: @@ -37304,7 +37524,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *92 - - &275 + - &277 name: team_slug description: The slug of the team name. in: path @@ -37336,7 +37556,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *92 - - *275 + - *277 - *246 responses: '204': @@ -37367,7 +37587,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *92 - - *275 + - *277 - *246 responses: '204': @@ -37488,7 +37708,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: default: value: @@ -37585,7 +37805,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: default: value: @@ -37743,8 +37963,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *276 - required: *277 + properties: *278 + required: *279 nullable: true type: description: The ownership type of the team @@ -37776,7 +37996,7 @@ paths: - type - parent examples: - default: &346 + default: &348 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -37848,7 +38068,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *278 + items: *280 name: nullable: true type: string @@ -37943,7 +38163,7 @@ paths: - type - url examples: - default: *279 + default: *281 headers: Link: *6 '404': @@ -37994,7 +38214,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -38136,7 +38356,7 @@ paths: - nuget - container - *92 - - &679 + - &680 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -38172,12 +38392,12 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *281 + default: *283 '403': *43 '401': *41 - '400': &681 + '400': &682 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38199,7 +38419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-for-an-organization parameters: - - &282 + - &284 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -38217,7 +38437,7 @@ paths: - docker - nuget - container - - &283 + - &285 name: package_name description: The name of the package. in: path @@ -38230,7 +38450,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: default: value: @@ -38282,8 +38502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *282 - - *283 + - *284 + - *285 - *92 responses: '204': @@ -38316,8 +38536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *282 - - *283 + - *284 + - *285 - *92 - name: token description: package token @@ -38350,8 +38570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *282 - - *283 + - *284 + - *285 - *92 - *5 - *4 @@ -38372,7 +38592,7 @@ paths: application/json: schema: type: array - items: &284 + items: &286 title: Package Version description: A version of a software package type: object @@ -38497,10 +38717,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *282 - - *283 + - *284 + - *285 - *92 - - &285 + - &287 name: package_version_id description: Unique identifier of the package version. in: path @@ -38512,7 +38732,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: default: value: @@ -38548,10 +38768,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *282 - - *283 - - *92 + - *284 - *285 + - *92 + - *287 responses: '204': description: Response @@ -38583,10 +38803,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *282 - - *283 - - *92 + - *284 - *285 + - *92 + - *287 responses: '204': description: Response @@ -38616,7 +38836,7 @@ paths: - *92 - *4 - *5 - - &287 + - &289 name: sort description: The property by which to sort the results. in: query @@ -38627,7 +38847,7 @@ paths: - created_at default: created_at - *9 - - &288 + - &290 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -38638,7 +38858,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &289 + - &291 name: repository description: The name of the repository to use to filter the results. in: query @@ -38646,7 +38866,7 @@ paths: schema: type: string example: Hello-World - - &290 + - &292 name: permission description: The permission to use to filter the results. in: query @@ -38654,7 +38874,7 @@ paths: schema: type: string example: issues_read - - &291 + - &293 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38664,7 +38884,7 @@ paths: schema: type: string format: date-time - - &292 + - &294 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38674,7 +38894,7 @@ paths: schema: type: string format: date-time - - &293 + - &295 name: token_id description: The ID of the token in: query @@ -38987,7 +39207,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -39013,14 +39233,14 @@ paths: - *92 - *4 - *5 - - *287 - - *9 - - *288 - *289 + - *9 - *290 - *291 - *292 - *293 + - *294 + - *295 responses: '500': *107 '422': *35 @@ -39302,7 +39522,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -39346,7 +39566,7 @@ paths: application/json: schema: type: array - items: &294 + items: &296 type: object properties: id: @@ -39390,9 +39610,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: &295 + default: &297 value: id: 42 name: Check Commits @@ -39422,7 +39642,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: default: value: @@ -39471,9 +39691,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39513,7 +39733,7 @@ paths: type: integer configurations: type: array - items: &296 + items: &298 title: Organization private registry description: Private registry configuration for an organization type: object @@ -39803,7 +40023,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &297 + org-private-registry-with-selected-visibility: &299 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39899,9 +40119,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '404': *26 x-github: githubCloudOnly: false @@ -40191,7 +40411,7 @@ paths: required: true content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -40295,7 +40515,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &299 + items: &301 title: Custom Property Value description: Custom property name and associated value type: object @@ -40382,7 +40602,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *299 + items: *301 required: - repository_names - properties @@ -40435,7 +40655,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -40576,7 +40796,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -40785,7 +41005,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &374 title: Full Repository description: Full Repository type: object @@ -41062,8 +41282,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *300 - required: *301 + properties: *302 + required: *303 nullable: true temp_clone_token: type: string @@ -41199,7 +41419,7 @@ paths: - key - name - html_url - security_and_analysis: *302 + security_and_analysis: *304 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41283,7 +41503,7 @@ paths: - network_count - subscribers_count examples: - default: &374 + default: &376 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41855,7 +42075,7 @@ paths: - *92 - *4 - *5 - - &595 + - &596 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41873,7 +42093,7 @@ paths: application/json: schema: type: array - items: &329 + items: &331 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41906,7 +42126,7 @@ paths: source: type: string description: The name of the source - enforcement: &305 + enforcement: &307 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41919,7 +42139,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &306 + items: &308 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41987,7 +42207,7 @@ paths: conditions: nullable: true anyOf: - - &303 + - &305 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -42011,7 +42231,7 @@ paths: match. items: type: string - - &307 + - &309 title: Organization ruleset conditions type: object description: |- @@ -42024,7 +42244,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *303 + - *305 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -42058,7 +42278,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *303 + - *305 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -42080,7 +42300,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *303 + - *305 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -42093,7 +42313,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &304 + items: &306 title: Repository ruleset property targeting definition type: object @@ -42126,17 +42346,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *304 + items: *306 required: - repository_property rules: type: array - items: &596 + items: &597 title: Repository Rule type: object description: A repository rule. oneOf: - - &308 + - &310 title: creation description: Only allow users with bypass permission to create matching refs. @@ -42148,7 +42368,7 @@ paths: type: string enum: - creation - - &309 + - &311 title: update description: Only allow users with bypass permission to update matching refs. @@ -42169,7 +42389,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &310 + - &312 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -42181,7 +42401,7 @@ paths: type: string enum: - deletion - - &311 + - &313 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -42193,7 +42413,7 @@ paths: type: string enum: - required_linear_history - - &594 + - &595 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42271,7 +42491,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &312 + - &314 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -42295,7 +42515,7 @@ paths: type: string required: - required_deployment_environments - - &313 + - &315 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -42307,7 +42527,7 @@ paths: type: string enum: - required_signatures - - &314 + - &316 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -42413,7 +42633,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &315 + - &317 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -42461,7 +42681,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &316 + - &318 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -42473,7 +42693,7 @@ paths: type: string enum: - non_fast_forward - - &317 + - &319 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -42509,7 +42729,7 @@ paths: required: - operator - pattern - - &318 + - &320 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -42545,7 +42765,7 @@ paths: required: - operator - pattern - - &319 + - &321 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -42581,7 +42801,7 @@ paths: required: - operator - pattern - - &320 + - &322 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42617,7 +42837,7 @@ paths: required: - operator - pattern - - &321 + - &323 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42653,7 +42873,7 @@ paths: required: - operator - pattern - - &322 + - &324 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42678,7 +42898,7 @@ paths: type: string required: - restricted_file_paths - - &323 + - &325 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42702,7 +42922,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &324 + - &326 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42725,7 +42945,7 @@ paths: type: string required: - restricted_file_extensions - - &325 + - &327 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42750,7 +42970,7 @@ paths: maximum: 100 required: - max_file_size - - &326 + - &328 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42800,7 +43020,7 @@ paths: - repository_id required: - workflows - - &327 + - &329 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42861,7 +43081,7 @@ paths: - tool required: - code_scanning_tools - - &328 + - &330 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42959,22 +43179,20 @@ paths: - tag - push default: branch - enforcement: *305 + enforcement: *307 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *306 - conditions: *307 + items: *308 + conditions: *309 rules: type: array description: An array of rules within the ruleset. - items: &331 + items: &333 title: Repository Rule type: object description: A repository rule. oneOf: - - *308 - - *309 - *310 - *311 - *312 @@ -42994,6 +43212,8 @@ paths: - *326 - *327 - *328 + - *329 + - *330 source_type: type: string description: The type of the source of the ruleset @@ -43037,9 +43257,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: &330 + default: &332 value: id: 21 name: super cool ruleset @@ -43094,7 +43314,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *92 - - &597 + - &598 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 @@ -43106,14 +43326,14 @@ paths: x-multi-segment: true - *230 - *111 - - &598 + - &599 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 - - &599 + - &600 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -43133,7 +43353,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &601 title: Rule Suites description: Response type: array @@ -43188,7 +43408,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &601 + default: &602 value: - id: 21 actor_id: 12 @@ -43232,7 +43452,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *92 - - &602 + - &603 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43248,7 +43468,7 @@ paths: description: Response content: application/json: - schema: &603 + schema: &604 title: Rule Suite description: Response type: object @@ -43347,7 +43567,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &604 + default: &605 value: id: 21 actor_id: 12 @@ -43420,9 +43640,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 '404': *26 '500': *107 put: @@ -43465,16 +43685,16 @@ paths: - branch - tag - push - enforcement: *305 + enforcement: *307 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *306 - conditions: *307 + items: *308 + conditions: *309 rules: description: An array of rules within the ruleset. type: array - items: *331 + items: *333 examples: default: value: @@ -43509,9 +43729,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 '404': *26 '500': *107 delete: @@ -43570,7 +43790,7 @@ paths: type: array items: *141 examples: - default: *332 + default: *334 '404': *26 '500': *107 x-github: @@ -43607,7 +43827,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -43670,14 +43890,14 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *92 - - *334 - - *335 - *336 - *337 + - *338 + - *339 - *9 - *5 - *4 - - &606 + - &607 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.19/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43687,7 +43907,7 @@ paths: required: false schema: type: string - - &607 + - &608 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.19/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43697,10 +43917,10 @@ paths: required: false schema: type: string - - *338 - - *339 - *340 - *341 + - *342 + - *343 responses: '200': description: Response @@ -43708,9 +43928,9 @@ paths: application/json: schema: type: array - items: *342 + items: *344 examples: - default: *343 + default: *345 headers: Link: *6 '404': *26 @@ -43745,9 +43965,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 '403': *43 '404': *26 patch: @@ -43861,9 +44081,9 @@ paths: application/json: schema: type: array - items: *278 + items: *280 examples: - default: *346 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43885,7 +44105,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/security-managers#add-a-security-manager-team parameters: - *92 - - *275 + - *277 responses: '204': description: Response @@ -43909,7 +44129,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *92 - - *275 + - *277 responses: '204': description: Response @@ -43939,7 +44159,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *92 - - *347 + - *349 - *4 - *5 responses: @@ -43947,9 +44167,9 @@ paths: description: Success content: application/json: - schema: *348 + schema: *350 examples: - default: *349 + default: *351 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43977,7 +44197,7 @@ paths: application/json: schema: type: array - items: &370 + items: &372 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -44052,8 +44272,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *276 - required: *277 + properties: *278 + required: *279 nullable: true required: - id @@ -44069,7 +44289,7 @@ paths: - parent - type examples: - default: *346 + default: *348 headers: Link: *6 '403': *43 @@ -44171,7 +44391,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44234,8 +44454,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *276 - required: *277 + properties: *278 + required: *279 nullable: true members_count: type: integer @@ -44459,7 +44679,7 @@ paths: - created_at - updated_at - archived_at - ldap_dn: *350 + ldap_dn: *352 type: description: The ownership type of the team type: string @@ -44494,7 +44714,7 @@ paths: - repos_count - organization examples: - default: &352 + default: &354 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44564,15 +44784,15 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#get-a-team-by-name parameters: - *92 - - *275 + - *277 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '404': *26 x-github: githubCloudOnly: false @@ -44594,7 +44814,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#update-a-team parameters: - *92 - - *275 + - *277 requestBody: required: false content: @@ -44656,16 +44876,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '201': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '404': *26 '422': *35 '403': *43 @@ -44691,7 +44911,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#delete-a-team parameters: - *92 - - *275 + - *277 responses: '204': description: Response @@ -44718,7 +44938,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#list-discussions parameters: - *92 - - *275 + - *277 - *9 - *4 - *5 @@ -44735,7 +44955,7 @@ paths: application/json: schema: type: array - items: &353 + items: &355 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44834,7 +45054,7 @@ paths: - updated_at - url examples: - default: &662 + default: &663 value: - author: login: octocat @@ -44909,7 +45129,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#create-a-discussion parameters: - *92 - - *275 + - *277 requestBody: required: true content: @@ -44943,9 +45163,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: &354 + default: &356 value: author: login: octocat @@ -45018,8 +45238,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#get-a-discussion parameters: - *92 - - *275 - - &355 + - *277 + - &357 name: discussion_number description: The number that identifies the discussion. in: path @@ -45031,9 +45251,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45056,8 +45276,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#update-a-discussion parameters: - *92 - - *275 - - *355 + - *277 + - *357 requestBody: required: false content: @@ -45080,9 +45300,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: &663 + default: &664 value: author: login: octocat @@ -45153,8 +45373,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#delete-a-discussion parameters: - *92 - - *275 - - *355 + - *277 + - *357 responses: '204': description: Response @@ -45181,8 +45401,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#list-discussion-comments parameters: - *92 - - *275 - - *355 + - *277 + - *357 - *9 - *4 - *5 @@ -45193,7 +45413,7 @@ paths: application/json: schema: type: array - items: &356 + items: &358 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45265,7 +45485,7 @@ paths: - updated_at - url examples: - default: &664 + default: &665 value: - author: login: octocat @@ -45334,8 +45554,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *92 - - *275 - - *355 + - *277 + - *357 requestBody: required: true content: @@ -45357,9 +45577,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: &357 + default: &359 value: author: login: octocat @@ -45426,9 +45646,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *92 - - *275 - - *355 - - &358 + - *277 + - *357 + - &360 name: comment_number description: The number that identifies the comment. in: path @@ -45440,9 +45660,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45465,9 +45685,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *92 - - *275 - - *355 - - *358 + - *277 + - *357 + - *360 requestBody: required: true content: @@ -45489,9 +45709,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: &665 + default: &666 value: author: login: octocat @@ -45556,9 +45776,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *92 - - *275 - - *355 - - *358 + - *277 + - *357 + - *360 responses: '204': description: Response @@ -45585,9 +45805,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *92 - - *275 - - *355 - - *358 + - *277 + - *357 + - *360 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -45613,7 +45833,7 @@ paths: application/json: schema: type: array - items: &359 + items: &361 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45656,7 +45876,7 @@ paths: - content - created_at examples: - default: &361 + default: &363 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45707,9 +45927,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *92 - - *275 - - *355 - - *358 + - *277 + - *357 + - *360 requestBody: required: true content: @@ -45742,9 +45962,9 @@ paths: team discussion comment content: application/json: - schema: *359 + schema: *361 examples: - default: &360 + default: &362 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45773,9 +45993,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45799,10 +46019,10 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *92 - - *275 - - *355 - - *358 - - &362 + - *277 + - *357 + - *360 + - &364 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45835,8 +46055,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *92 - - *275 - - *355 + - *277 + - *357 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -45862,9 +46082,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 x-github: @@ -45891,8 +46111,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *92 - - *275 - - *355 + - *277 + - *357 requestBody: required: true content: @@ -45924,16 +46144,16 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45957,9 +46177,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *92 - - *275 - - *355 - - *362 + - *277 + - *357 + - *364 responses: '204': description: Response @@ -45983,15 +46203,15 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *92 - - *275 + - *277 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: *364 + default: *366 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46011,7 +46231,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *92 - - *275 + - *277 requestBody: required: true content: @@ -46034,9 +46254,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -46056,7 +46276,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *92 - - *275 + - *277 responses: '204': description: Response @@ -46080,7 +46300,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/members#list-team-members parameters: - *92 - - *275 + - *277 - name: role description: Filters members returned by their role in the team. in: query @@ -46103,7 +46323,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -46134,14 +46354,14 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/members#get-team-membership-for-a-user parameters: - *92 - - *275 + - *277 - *8 responses: '200': description: Response content: application/json: - schema: &367 + schema: &369 title: Team Membership description: Team Membership type: object @@ -46168,7 +46388,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &666 + response-if-user-is-a-team-maintainer: &667 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46205,7 +46425,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *92 - - *275 + - *277 - *8 requestBody: required: false @@ -46231,9 +46451,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - response-if-users-membership-with-team-is-now-pending: &667 + response-if-users-membership-with-team-is-now-pending: &668 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46269,7 +46489,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/members#remove-team-membership-for-a-user parameters: - *92 - - *275 + - *277 - *8 responses: '204': @@ -46297,7 +46517,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#list-team-repositories parameters: - *92 - - *275 + - *277 - *4 - *5 responses: @@ -46309,7 +46529,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -46339,15 +46559,15 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *92 - - *275 - - *368 - - *369 + - *277 + - *370 + - *371 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &668 + schema: &669 title: Team Repository description: A team's access to a repository. type: object @@ -46917,9 +47137,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *92 - - *275 - - *368 - - *369 + - *277 + - *370 + - *371 requestBody: required: false content: @@ -46965,9 +47185,9 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#remove-a-repository-from-a-team parameters: - *92 - - *275 - - *368 - - *369 + - *277 + - *370 + - *371 responses: '204': description: Response @@ -46992,7 +47212,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#list-child-teams parameters: - *92 - - *275 + - *277 - *4 - *5 responses: @@ -47002,9 +47222,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - response-if-child-teams-exist: &669 + response-if-child-teams-exist: &670 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47158,7 +47378,7 @@ paths: resources: type: object properties: - core: &371 + core: &373 title: Rate Limit type: object properties: @@ -47175,20 +47395,20 @@ paths: - remaining - reset - used - graphql: *371 - search: *371 - code_search: *371 - source_import: *371 - integration_manifest: *371 - code_scanning_upload: *371 - actions_runner_registration: *371 - scim: *371 - dependency_sbom: *371 - code_scanning_autofix: *371 + graphql: *373 + search: *373 + code_search: *373 + source_import: *373 + integration_manifest: *373 + code_scanning_upload: *373 + actions_runner_registration: *373 + scim: *373 + dependency_sbom: *373 + code_scanning_autofix: *373 required: - core - search - rate: *371 + rate: *373 required: - rate - resources @@ -47293,14 +47513,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#get-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: default-response: summary: Default response @@ -47801,7 +48021,7 @@ paths: status: disabled '403': *43 '404': *26 - '301': *373 + '301': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47819,8 +48039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#update-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -48053,10 +48273,10 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *374 - '307': &375 + default: *376 + '307': &377 description: Temporary Redirect content: application/json: @@ -48101,8 +48321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#delete-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -48124,7 +48344,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#delete-a-repository - '307': *375 + '307': *377 '404': *26 '409': *123 x-github: @@ -48148,11 +48368,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 - - &393 + - &395 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48175,7 +48395,7 @@ paths: type: integer artifacts: type: array - items: &376 + items: &378 title: Artifact description: An artifact type: object @@ -48246,7 +48466,7 @@ paths: - expires_at - updated_at examples: - default: &394 + default: &396 value: total_count: 2 artifacts: @@ -48305,9 +48525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/artifacts#get-an-artifact parameters: - - *368 - - *369 - - &377 + - *370 + - *371 + - &379 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48319,7 +48539,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: default: value: @@ -48356,9 +48576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/artifacts#delete-an-artifact parameters: - - *368 - - *369 - - *377 + - *370 + - *371 + - *379 responses: '204': description: Response @@ -48382,9 +48602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/artifacts#download-an-artifact parameters: - - *368 - - *369 - - *377 + - *370 + - *371 + - *379 - name: archive_format in: path required: true @@ -48398,7 +48618,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48421,14 +48641,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -48454,14 +48674,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#get-github-actions-cache-usage-policy-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &380 + schema: &382 title: Actions cache usage policy for repository description: GitHub Actions cache usage policy for repository. type: object @@ -48473,7 +48693,7 @@ paths: required: - repo_cache_size_limit_in_gb examples: - default: &381 + default: &383 value: repo_cache_size_limit_in_gb: 14 x-github: @@ -48494,8 +48714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#set-github-actions-cache-usage-policy-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -48503,9 +48723,9 @@ paths: required: true content: application/json: - schema: *380 + schema: *382 examples: - selected_actions: *381 + selected_actions: *383 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48525,11 +48745,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 - - &382 + - &384 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -48563,7 +48783,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &385 title: Repository actions caches description: Repository actions caches type: object @@ -48605,7 +48825,7 @@ paths: - total_count - actions_caches examples: - default: &384 + default: &386 value: total_count: 1 actions_caches: @@ -48637,23 +48857,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *368 - - *369 + - *370 + - *371 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *382 + - *384 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: *384 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48673,8 +48893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *368 - - *369 + - *370 + - *371 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48705,9 +48925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *368 - - *369 - - &385 + - *370 + - *371 + - &387 name: job_id description: The unique identifier of the job. in: path @@ -48719,7 +48939,7 @@ paths: description: Response content: application/json: - schema: &397 + schema: &399 title: Job description: Information of a job execution in a workflow run type: object @@ -49026,9 +49246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *368 - - *369 - - *385 + - *370 + - *371 + - *387 responses: '302': description: Response @@ -49056,9 +49276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *368 - - *369 - - *385 + - *370 + - *371 + - *387 requestBody: required: false content: @@ -49103,8 +49323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Status response @@ -49154,8 +49374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -49218,8 +49438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#list-repository-organization-secrets parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -49237,7 +49457,7 @@ paths: type: integer secrets: type: array - items: &399 + items: &401 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49257,7 +49477,7 @@ paths: - created_at - updated_at examples: - default: &400 + default: &402 value: total_count: 2 secrets: @@ -49290,9 +49510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#list-repository-organization-variables parameters: - - *368 - - *369 - - *386 + - *370 + - *371 + - *388 - *5 responses: '200': @@ -49309,7 +49529,7 @@ paths: type: integer variables: type: array - items: &403 + items: &405 title: Actions Variable type: object properties: @@ -49339,7 +49559,7 @@ paths: - created_at - updated_at examples: - default: &404 + default: &406 value: total_count: 2 variables: @@ -49372,8 +49592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49382,7 +49602,7 @@ paths: schema: type: object properties: - enabled: &387 + enabled: &389 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *70 @@ -49417,8 +49637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -49429,7 +49649,7 @@ paths: schema: type: object properties: - enabled: *387 + enabled: *389 allowed_actions: *70 sha_pinning_required: *71 required: @@ -49462,14 +49682,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &388 + schema: &390 type: object properties: access_level: @@ -49487,7 +49707,7 @@ paths: required: - access_level examples: - default: &389 + default: &391 value: access_level: organization x-github: @@ -49512,15 +49732,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 responses: '204': description: Response @@ -49544,8 +49764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49575,8 +49795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Empty response for successful settings update @@ -49610,8 +49830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49638,8 +49858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -49673,8 +49893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49702,8 +49922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -49734,8 +49954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49766,8 +49986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -49799,8 +50019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49829,8 +50049,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Success response @@ -49870,8 +50090,8 @@ paths: in: query schema: type: string - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -49915,8 +50135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -49948,8 +50168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -50023,8 +50243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '201': description: Response @@ -50060,8 +50280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '201': description: Response @@ -50091,8 +50311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 responses: '200': @@ -50122,8 +50342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 responses: '204': @@ -50150,8 +50370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 responses: '200': *91 @@ -50176,8 +50396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 requestBody: required: true @@ -50226,8 +50446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 requestBody: required: true @@ -50277,8 +50497,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 responses: '200': *210 @@ -50308,8 +50528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *85 - *211 responses: @@ -50339,9 +50559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *368 - - *369 - - &407 + - *370 + - *371 + - &409 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -50349,7 +50569,7 @@ paths: required: false schema: type: string - - &408 + - &410 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50357,7 +50577,7 @@ paths: required: false schema: type: string - - &409 + - &411 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50366,7 +50586,7 @@ paths: required: false schema: type: string - - &410 + - &412 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -50393,7 +50613,7 @@ paths: - pending - *4 - *5 - - &411 + - &413 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-server@3.19/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -50402,7 +50622,7 @@ paths: schema: type: string format: date-time - - &390 + - &392 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50411,13 +50631,13 @@ paths: schema: type: boolean default: false - - &412 + - &414 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &413 + - &415 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50440,7 +50660,7 @@ paths: type: integer workflow_runs: type: array - items: &391 + items: &393 title: Workflow Run description: An invocation of a workflow type: object @@ -50535,7 +50755,7 @@ paths: that triggered the run. type: array nullable: true - items: &431 + items: &433 title: Pull Request Minimal type: object properties: @@ -50654,7 +50874,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &435 + properties: &437 id: type: string description: SHA for the commit @@ -50705,7 +50925,7 @@ paths: - name - email nullable: true - required: &436 + required: &438 - id - tree_id - message @@ -50752,7 +50972,7 @@ paths: - workflow_url - pull_requests examples: - default: &414 + default: &416 value: total_count: 1 workflow_runs: @@ -50988,24 +51208,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *368 - - *369 - - &392 + - *370 + - *371 + - &394 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *390 + - *392 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: &395 + default: &397 value: id: 30433642 name: Build @@ -51246,9 +51466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '204': description: Response @@ -51271,9 +51491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '200': description: Response @@ -51394,12 +51614,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 - *4 - *5 - - *393 + - *395 responses: '200': description: Response @@ -51415,9 +51635,9 @@ paths: type: integer artifacts: type: array - items: *376 + items: *378 examples: - default: *394 + default: *396 headers: Link: *6 x-github: @@ -51441,25 +51661,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *368 - - *369 - - *392 - - &396 + - *370 + - *371 + - *394 + - &398 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *390 + - *392 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: *395 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51482,10 +51702,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *368 - - *369 - - *392 - - *396 + - *370 + - *371 + - *394 + - *398 - *4 - *5 responses: @@ -51503,9 +51723,9 @@ paths: type: integer jobs: type: array - items: *397 + items: *399 examples: - default: &398 + default: &400 value: total_count: 1 jobs: @@ -51618,10 +51838,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *368 - - *369 - - *392 - - *396 + - *370 + - *371 + - *394 + - *398 responses: '302': description: Response @@ -51649,9 +51869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '202': description: Response @@ -51684,9 +51904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 requestBody: required: true content: @@ -51753,9 +51973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '202': description: Response @@ -51788,9 +52008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -51820,9 +52040,9 @@ paths: type: integer jobs: type: array - items: *397 + items: *399 examples: - default: *398 + default: *400 headers: Link: *6 x-github: @@ -51847,9 +52067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '302': description: Response @@ -51876,9 +52096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '204': description: Response @@ -51905,9 +52125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 responses: '200': description: Response @@ -51967,7 +52187,7 @@ paths: items: type: object properties: - type: &500 + type: &501 type: string description: The type of reviewer. enum: @@ -51977,7 +52197,7 @@ paths: reviewer: anyOf: - *19 - - *370 + - *372 required: - environment - wait_timer @@ -52052,9 +52272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 requestBody: required: true content: @@ -52101,7 +52321,7 @@ paths: application/json: schema: type: array - items: &484 + items: &486 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52207,7 +52427,7 @@ paths: - created_at - updated_at examples: - default: &485 + default: &487 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52263,9 +52483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 requestBody: required: false content: @@ -52309,9 +52529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *368 - - *369 - - *392 + - *370 + - *371 + - *394 requestBody: required: false content: @@ -52358,8 +52578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#list-repository-secrets parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -52377,9 +52597,9 @@ paths: type: integer secrets: type: array - items: *399 + items: *401 examples: - default: *400 + default: *402 headers: Link: *6 x-github: @@ -52404,16 +52624,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#get-a-repository-public-key parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52435,17 +52655,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#get-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: &513 + default: &514 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -52471,8 +52691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 requestBody: required: true @@ -52530,8 +52750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#delete-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 responses: '204': @@ -52557,9 +52777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#list-repository-variables parameters: - - *368 - - *369 - - *386 + - *370 + - *371 + - *388 - *5 responses: '200': @@ -52576,9 +52796,9 @@ paths: type: integer variables: type: array - items: *403 + items: *405 examples: - default: *404 + default: *406 headers: Link: *6 x-github: @@ -52601,8 +52821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#create-a-repository-variable parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -52654,17 +52874,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#get-a-repository-variable parameters: - - *368 - - *369 + - *370 + - *371 - *216 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: &514 + default: &515 value: name: USERNAME value: octocat @@ -52690,8 +52910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#update-a-repository-variable parameters: - - *368 - - *369 + - *370 + - *371 - *216 requestBody: required: true @@ -52734,8 +52954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#delete-a-repository-variable parameters: - - *368 - - *369 + - *370 + - *371 - *216 responses: '204': @@ -52761,8 +52981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflows#list-repository-workflows parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -52780,7 +53000,7 @@ paths: type: integer workflows: type: array - items: &405 + items: &407 title: Workflow description: A GitHub Actions workflow type: object @@ -52887,9 +53107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflows#get-a-workflow parameters: - - *368 - - *369 - - &406 + - *370 + - *371 + - &408 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -52904,7 +53124,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: default: value: @@ -52937,9 +53157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflows#disable-a-workflow parameters: - - *368 - - *369 - - *406 + - *370 + - *371 + - *408 responses: '204': description: Response @@ -52964,9 +53184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *368 - - *369 - - *406 + - *370 + - *371 + - *408 responses: '204': description: Response @@ -53017,9 +53237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflows#enable-a-workflow parameters: - - *368 - - *369 - - *406 + - *370 + - *371 + - *408 responses: '204': description: Response @@ -53046,19 +53266,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *368 - - *369 - - *406 - - *407 + - *370 + - *371 - *408 - *409 - *410 - - *4 - - *5 - *411 - - *390 - *412 + - *4 + - *5 - *413 + - *392 + - *414 + - *415 responses: '200': description: Response @@ -53074,9 +53294,9 @@ paths: type: integer workflow_runs: type: array - items: *391 + items: *393 examples: - default: *414 + default: *416 headers: Link: *6 x-github: @@ -53099,8 +53319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-activities parameters: - - *368 - - *369 + - *370 + - *371 - *9 - *4 - *114 @@ -53264,8 +53484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/assignees#list-assignees parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -53277,7 +53497,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 '404': *26 @@ -53302,8 +53522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *368 - - *369 + - *370 + - *371 - name: assignee in: path required: true @@ -53337,8 +53557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -53346,7 +53566,7 @@ paths: application/json: schema: type: array - items: &415 + items: &417 title: Autolink reference description: An autolink reference. type: object @@ -53400,8 +53620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -53440,9 +53660,9 @@ paths: description: response content: application/json: - schema: *415 + schema: *417 examples: - default: &416 + default: &418 value: id: 1 key_prefix: TICKET- @@ -53473,9 +53693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *368 - - *369 - - &417 + - *370 + - *371 + - &419 name: autolink_id description: The unique identifier of the autolink. in: path @@ -53487,9 +53707,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: *416 + default: *418 '404': *26 x-github: githubCloudOnly: false @@ -53509,9 +53729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *368 - - *369 - - *417 + - *370 + - *371 + - *419 responses: '204': description: Response @@ -53535,8 +53755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response if Dependabot is enabled @@ -53583,8 +53803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branches#list-branches parameters: - - *368 - - *369 + - *370 + - *371 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -53622,7 +53842,7 @@ paths: - url protected: type: boolean - protection: &419 + protection: &421 title: Branch Protection description: Branch Protection type: object @@ -53664,7 +53884,7 @@ paths: required: - contexts - checks - enforce_admins: &422 + enforce_admins: &424 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -53679,7 +53899,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &424 + required_pull_request_reviews: &426 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -53700,7 +53920,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *370 + items: *372 apps: description: The list of apps with review dismissal access. @@ -53729,7 +53949,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *370 + items: *372 apps: description: The list of apps allowed to bypass pull request requirements. @@ -53755,7 +53975,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &421 + restrictions: &423 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53818,7 +54038,7 @@ paths: type: string teams: type: array - items: *370 + items: *372 apps: type: array items: @@ -54032,9 +54252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branches#get-a-branch parameters: - - *368 - - *369 - - &420 + - *370 + - *371 + - &422 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-server@3.19/graphql). @@ -54048,14 +54268,14 @@ paths: description: Response content: application/json: - schema: &430 + schema: &432 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &464 title: Commit description: Commit type: object @@ -54089,7 +54309,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &418 + properties: &420 name: type: string example: '"Chris Wanstrath"' @@ -54105,7 +54325,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *418 + properties: *420 nullable: true message: type: string @@ -54126,7 +54346,7 @@ paths: required: - sha - url - verification: &520 + verification: &521 title: Verification type: object properties: @@ -54196,7 +54416,7 @@ paths: type: integer files: type: array - items: &471 + items: &473 title: Diff Entry description: Diff Entry type: object @@ -54280,7 +54500,7 @@ paths: - self protected: type: boolean - protection: *419 + protection: *421 protection_url: type: string format: uri @@ -54387,7 +54607,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *373 + '301': *375 '404': *26 x-github: githubCloudOnly: false @@ -54409,15 +54629,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -54611,9 +54831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#update-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -54868,7 +55088,7 @@ paths: url: type: string format: uri - required_status_checks: &427 + required_status_checks: &429 title: Status Check Policy description: Status Check Policy type: object @@ -54944,7 +55164,7 @@ paths: items: *19 teams: type: array - items: *370 + items: *372 apps: type: array items: *25 @@ -54962,7 +55182,7 @@ paths: items: *19 teams: type: array - items: *370 + items: *372 apps: type: array items: *25 @@ -55020,7 +55240,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *421 + restrictions: *423 required_conversation_resolution: type: object properties: @@ -55132,9 +55352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#delete-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -55159,17 +55379,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: &423 + default: &425 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -55191,17 +55411,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *423 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55220,9 +55440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -55247,17 +55467,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *424 + schema: *426 examples: - default: &425 + default: &427 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -55353,9 +55573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -55453,9 +55673,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: - default: *425 + default: *427 '422': *35 x-github: githubCloudOnly: false @@ -55476,9 +55696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -55505,17 +55725,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: &426 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -55538,17 +55758,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *426 + default: *428 '404': *26 x-github: githubCloudOnly: false @@ -55568,9 +55788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -55595,17 +55815,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-status-checks-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: &428 + default: &430 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -55631,9 +55851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#update-status-check-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -55685,9 +55905,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *26 '422': *35 x-github: @@ -55709,9 +55929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#remove-status-check-protection parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -55735,9 +55955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response @@ -55771,9 +55991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#add-status-check-contexts parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -55840,9 +56060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#set-status-check-contexts parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -55906,9 +56126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: content: application/json: @@ -55974,15 +56194,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response content: application/json: - schema: *421 + schema: *423 examples: default: value: @@ -56073,9 +56293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#delete-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '204': description: Response @@ -56098,9 +56318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response @@ -56110,7 +56330,7 @@ paths: type: array items: *25 examples: - default: &429 + default: &431 value: - id: 1 slug: octoapp @@ -56167,9 +56387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56203,7 +56423,7 @@ paths: type: array items: *25 examples: - default: *429 + default: *431 '422': *35 x-github: githubCloudOnly: false @@ -56224,9 +56444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56260,7 +56480,7 @@ paths: type: array items: *25 examples: - default: *429 + default: *431 '422': *35 x-github: githubCloudOnly: false @@ -56281,9 +56501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56317,7 +56537,7 @@ paths: type: array items: *25 examples: - default: *429 + default: *431 '422': *35 x-github: githubCloudOnly: false @@ -56339,9 +56559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response @@ -56349,9 +56569,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *346 + default: *348 '404': *26 x-github: githubCloudOnly: false @@ -56371,9 +56591,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -56409,9 +56629,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *346 + default: *348 '422': *35 x-github: githubCloudOnly: false @@ -56432,9 +56652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: false content: @@ -56470,9 +56690,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *346 + default: *348 '422': *35 x-github: githubCloudOnly: false @@ -56493,9 +56713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: content: application/json: @@ -56530,9 +56750,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *346 + default: *348 '422': *35 x-github: githubCloudOnly: false @@ -56554,9 +56774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 responses: '200': description: Response @@ -56566,7 +56786,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 '404': *26 x-github: githubCloudOnly: false @@ -56590,9 +56810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56625,7 +56845,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 '422': *35 x-github: githubCloudOnly: false @@ -56650,9 +56870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56685,7 +56905,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 '422': *35 x-github: githubCloudOnly: false @@ -56710,9 +56930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56745,7 +56965,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 '422': *35 x-github: githubCloudOnly: false @@ -56772,9 +56992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branches#rename-a-branch parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 requestBody: required: true content: @@ -56796,7 +57016,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: default: value: @@ -56910,8 +57130,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *368 - - *369 + - *370 + - *371 - *109 - *110 - *111 @@ -56947,8 +57167,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: bypass_request_number in: path required: true @@ -57021,8 +57241,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *368 - - *369 + - *370 + - *371 - *109 - *110 - *111 @@ -57062,8 +57282,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *368 - - *369 + - *370 + - *371 - name: bypass_request_number in: path required: true @@ -57133,8 +57353,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *368 - - *369 + - *370 + - *371 - name: bypass_request_number in: path required: true @@ -57205,8 +57425,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *368 - - *369 + - *370 + - *371 - name: bypass_response_id in: path required: true @@ -57239,8 +57459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#create-a-check-run parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -57519,7 +57739,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &434 title: CheckRun description: A check performed on the code of a given code change type: object @@ -57638,8 +57858,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *431 - deployment: &704 + items: *433 + deployment: &705 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -57919,9 +58139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#get-a-check-run parameters: - - *368 - - *369 - - &433 + - *370 + - *371 + - &435 name: check_run_id description: The unique identifier of the check run. in: path @@ -57933,9 +58153,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: &434 + default: &436 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58035,9 +58255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#update-a-check-run parameters: - - *368 - - *369 - - *433 + - *370 + - *371 + - *435 requestBody: required: true content: @@ -58277,9 +58497,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58299,9 +58519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#list-check-run-annotations parameters: - - *368 - - *369 - - *433 + - *370 + - *371 + - *435 - *4 - *5 responses: @@ -58396,9 +58616,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#rerequest-a-check-run parameters: - - *368 - - *369 - - *433 + - *370 + - *371 + - *435 responses: '201': description: Response @@ -58442,8 +58662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/suites#create-a-check-suite parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -58465,7 +58685,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &437 + schema: &439 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58529,7 +58749,7 @@ paths: nullable: true pull_requests: type: array - items: *431 + items: *433 nullable: true app: title: GitHub app @@ -58555,8 +58775,8 @@ paths: title: Simple Commit description: A commit. type: object - properties: *435 - required: *436 + properties: *437 + required: *438 latest_check_runs_count: type: integer check_runs_url: @@ -58584,7 +58804,7 @@ paths: - check_runs_url - pull_requests examples: - default: &438 + default: &440 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -58875,9 +59095,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58896,8 +59116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -59206,9 +59426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/suites#get-a-check-suite parameters: - - *368 - - *369 - - &439 + - *370 + - *371 + - &441 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59220,9 +59440,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59245,17 +59465,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *368 - - *369 - - *439 - - &468 + - *370 + - *371 + - *441 + - &470 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &471 name: status description: Returns check runs with the specified `status`. in: query @@ -59294,9 +59514,9 @@ paths: type: integer check_runs: type: array - items: *432 + items: *434 examples: - default: &470 + default: &472 value: total_count: 1 check_runs: @@ -59398,9 +59618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/suites#rerequest-a-check-suite parameters: - - *368 - - *369 - - *439 + - *370 + - *371 + - *441 responses: '201': description: Response @@ -59433,21 +59653,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *233 - *234 - *5 - *4 - - &451 + - &453 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *440 - - &452 + schema: *442 + - &454 name: pr description: The number of the pull request for the results you want to list. in: query @@ -59478,7 +59698,7 @@ paths: be returned. in: query required: false - schema: *441 + schema: *443 responses: '200': description: Response @@ -59494,7 +59714,7 @@ paths: updated_at: *133 url: *130 html_url: *131 - instances_url: *442 + instances_url: *444 state: *118 fixed_at: *135 dismissed_by: @@ -59505,11 +59725,11 @@ paths: required: *18 nullable: true dismissed_at: *134 - dismissed_reason: *443 - dismissed_comment: *444 - rule: *445 - tool: *446 - most_recent_instance: *447 + dismissed_reason: *445 + dismissed_comment: *446 + rule: *447 + tool: *448 + most_recent_instance: *449 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59635,7 +59855,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *42 - '403': &448 + '403': &450 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -59662,9 +59882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *368 - - *369 - - &449 + - *370 + - *371 + - &451 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -59678,7 +59898,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &452 type: object properties: number: *125 @@ -59686,7 +59906,7 @@ paths: updated_at: *133 url: *130 html_url: *131 - instances_url: *442 + instances_url: *444 state: *118 fixed_at: *135 dismissed_by: @@ -59697,8 +59917,8 @@ paths: required: *18 nullable: true dismissed_at: *134 - dismissed_reason: *443 - dismissed_comment: *444 + dismissed_reason: *445 + dismissed_comment: *446 rule: type: object properties: @@ -59752,8 +59972,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *446 - most_recent_instance: *447 + tool: *448 + most_recent_instance: *449 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59852,7 +60072,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *42 - '403': *448 + '403': *450 '404': *26 '503': *142 x-github: @@ -59872,9 +60092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *368 - - *369 - - *449 + - *370 + - *371 + - *451 requestBody: required: true content: @@ -59889,8 +60109,8 @@ paths: enum: - open - dismissed - dismissed_reason: *443 - dismissed_comment: *444 + dismissed_reason: *445 + dismissed_comment: *446 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -59912,7 +60132,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: default: value: @@ -59988,7 +60208,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *34 - '403': &457 + '403': &459 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60015,13 +60235,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *368 - - *369 - - *449 + - *370 + - *371 + - *451 - *5 - *4 - - *451 - - *452 + - *453 + - *454 responses: '200': description: Response @@ -60029,7 +60249,7 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: default: value: @@ -60068,7 +60288,7 @@ paths: end_column: 50 classifications: - source - '403': *448 + '403': *450 '404': *26 '503': *142 x-github: @@ -60102,25 +60322,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *233 - *234 - *5 - *4 - - *452 + - *454 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *440 + schema: *442 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &455 + schema: &457 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -60141,23 +60361,23 @@ paths: application/json: schema: type: array - items: &456 + items: &458 type: object properties: - ref: *440 - commit_sha: &458 + ref: *442 + commit_sha: &460 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *453 + analysis_key: *455 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *454 + category: *456 error: type: string example: error reading field xyz @@ -60181,8 +60401,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *455 - tool: *446 + sarif_id: *457 + tool: *448 deletable: type: boolean warning: @@ -60243,7 +60463,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *448 + '403': *450 '404': *26 '503': *142 x-github: @@ -60279,8 +60499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60293,7 +60513,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: response: summary: application/json response @@ -60347,7 +60567,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *448 + '403': *450 '404': *26 '422': description: Response if analysis could not be processed @@ -60434,8 +60654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60488,7 +60708,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *34 - '403': *457 + '403': *459 '404': *26 '503': *142 x-github: @@ -60510,8 +60730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -60596,7 +60816,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *448 + '403': *450 '404': *26 '503': *142 x-github: @@ -60617,8 +60837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -60710,7 +60930,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *457 + '403': *459 '404': *26 '409': description: Response if there is already a validation run in progress with @@ -60781,8 +61001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -60790,7 +61010,7 @@ paths: schema: type: object properties: - commit_sha: *458 + commit_sha: *460 ref: type: string description: |- @@ -60843,7 +61063,7 @@ paths: schema: type: object properties: - id: *455 + id: *457 url: type: string description: The REST API URL for checking the status of the upload. @@ -60857,7 +61077,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *457 + '403': *459 '404': *26 '413': description: Payload Too Large if the sarif field is too large @@ -60880,8 +61100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *368 - - *369 + - *370 + - *371 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -60927,7 +61147,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *448 + '403': *450 '404': description: Not Found if the sarif id does not match any upload '503': *142 @@ -60952,8 +61172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -61029,8 +61249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-codeowners-errors parameters: - - *368 - - *369 + - *370 + - *371 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -61153,8 +61373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *368 - - *369 + - *370 + - *371 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -61196,7 +61416,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &461 login: type: string example: octocat @@ -61289,7 +61509,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &462 - avatar_url - events_url - followers_url @@ -61362,8 +61582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *368 - - *369 + - *370 + - *371 - *8 responses: '204': @@ -61400,8 +61620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *368 - - *369 + - *370 + - *371 - *8 requestBody: required: false @@ -61471,8 +61691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *368 - - *369 + - *370 + - *371 - *8 responses: '204': @@ -61504,8 +61724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *368 - - *369 + - *370 + - *371 - *8 responses: '200': @@ -61526,8 +61746,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *461 + required: *462 nullable: true required: - permission @@ -61582,8 +61802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -61593,7 +61813,7 @@ paths: application/json: schema: type: array - items: &461 + items: &463 title: Commit Comment description: Commit Comment type: object @@ -61651,7 +61871,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &466 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61710,17 +61930,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#get-a-commit-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '200': description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: &465 + default: &467 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61777,8 +61997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#update-a-commit-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -61801,7 +62021,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: default: value: @@ -61852,8 +62072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#delete-a-commit-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '204': @@ -61875,8 +62095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). @@ -61903,9 +62123,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 '404': *26 @@ -61926,8 +62146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -61960,16 +62180,16 @@ paths: description: Reaction exists content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Reaction created content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '422': *35 x-github: githubCloudOnly: false @@ -61991,10 +62211,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *368 - - *369 + - *370 + - *371 - *168 - - *362 + - *364 responses: '204': description: Response @@ -62043,8 +62263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/commits#list-commits parameters: - - *368 - - *369 + - *370 + - *371 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -62100,9 +62320,9 @@ paths: application/json: schema: type: array - items: *462 + items: *464 examples: - default: &579 + default: &580 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62196,9 +62416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/commits#list-branches-for-head-commit parameters: - - *368 - - *369 - - &463 + - *370 + - *371 + - &465 name: commit_sha description: The SHA of the commit. in: path @@ -62270,9 +62490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#list-commit-comments parameters: - - *368 - - *369 - - *463 + - *370 + - *371 + - *465 - *4 - *5 responses: @@ -62282,9 +62502,9 @@ paths: application/json: schema: type: array - items: *461 + items: *463 examples: - default: *464 + default: *466 headers: Link: *6 x-github: @@ -62312,9 +62532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/comments#create-a-commit-comment parameters: - - *368 - - *369 - - *463 + - *370 + - *371 + - *465 requestBody: required: true content: @@ -62349,9 +62569,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: *465 + default: *467 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62379,9 +62599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *368 - - *369 - - *463 + - *370 + - *371 + - *465 - *4 - *5 responses: @@ -62391,7 +62611,7 @@ paths: application/json: schema: type: array - items: &571 + items: &572 title: Pull Request Simple description: Pull Request Simple type: object @@ -62543,7 +62763,7 @@ paths: nullable: true requested_teams: type: array - items: *370 + items: *372 nullable: true head: type: object @@ -62612,7 +62832,7 @@ paths: - review_comment - self author_association: *150 - auto_merge: *466 + auto_merge: *468 draft: description: Indicates whether or not the pull request is a draft. @@ -62651,7 +62871,7 @@ paths: - author_association - auto_merge examples: - default: &572 + default: &573 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -63188,11 +63408,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/commits#get-a-commit parameters: - - *368 - - *369 + - *370 + - *371 - *5 - *4 - - &467 + - &469 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -63207,9 +63427,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: &556 + default: &557 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63322,11 +63542,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *368 - - *369 - - *467 - - *468 + - *370 + - *371 - *469 + - *470 + - *471 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -63360,9 +63580,9 @@ paths: type: integer check_runs: type: array - items: *432 + items: *434 examples: - default: *470 + default: *472 headers: Link: *6 x-github: @@ -63387,9 +63607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *368 - - *369 - - *467 + - *370 + - *371 + - *469 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -63397,7 +63617,7 @@ paths: schema: type: integer example: 1 - - *468 + - *470 - *4 - *5 responses: @@ -63415,7 +63635,7 @@ paths: type: integer check_suites: type: array - items: *437 + items: *439 examples: default: value: @@ -63615,9 +63835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *368 - - *369 - - *467 + - *370 + - *371 + - *469 - *4 - *5 responses: @@ -63815,9 +64035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *368 - - *369 - - *467 + - *370 + - *371 + - *469 - *4 - *5 responses: @@ -63827,7 +64047,7 @@ paths: application/json: schema: type: array - items: &629 + items: &630 title: Status description: The status of a commit. type: object @@ -63908,7 +64128,7 @@ paths: site_admin: false headers: Link: *6 - '301': *373 + '301': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63976,8 +64196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/commits#compare-two-commits parameters: - - *368 - - *369 + - *370 + - *371 - *5 - *4 - name: basehead @@ -64020,8 +64240,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *464 + merge_base_commit: *464 status: type: string enum: @@ -64041,10 +64261,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *464 files: type: array - items: *471 + items: *473 required: - url - html_url @@ -64330,8 +64550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#get-repository-content parameters: - - *368 - - *369 + - *370 + - *371 - name: path description: path parameter in: path @@ -64474,7 +64694,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &472 + response-if-content-is-a-file: &474 summary: Response if content is a file value: type: file @@ -64606,7 +64826,7 @@ paths: - size - type - url - - &584 + - &585 title: Content File description: Content File type: object @@ -64807,7 +65027,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *472 + response-if-content-is-a-file: *474 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -64876,7 +65096,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *26 '403': *43 - '302': &588 + '302': &589 description: Found '304': *42 x-github: @@ -64900,8 +65120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#create-or-update-file-contents parameters: - - *368 - - *369 + - *370 + - *371 - name: path description: path parameter in: path @@ -64994,7 +65214,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &475 title: File Commit description: File Commit type: object @@ -65146,7 +65366,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: example-for-creating-a-file: value: @@ -65200,7 +65420,7 @@ paths: schema: oneOf: - *24 - - &515 + - &516 description: Repository rule violation was detected type: object properties: @@ -65221,7 +65441,7 @@ paths: items: type: object properties: - placeholder_id: &625 + placeholder_id: &626 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -65253,8 +65473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#delete-a-file parameters: - - *368 - - *369 + - *370 + - *371 - name: path description: path parameter in: path @@ -65315,7 +65535,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *475 examples: default: value: @@ -65370,8 +65590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-contributors parameters: - - *368 - - *369 + - *370 + - *371 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -65494,8 +65714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *247 - *248 - *249 @@ -65507,7 +65727,7 @@ paths: schema: type: string - *251 - - *474 + - *476 - *252 - *253 - *9 @@ -65538,7 +65758,7 @@ paths: application/json: schema: type: array - items: &478 + items: &480 type: object description: A Dependabot alert. properties: @@ -65571,7 +65791,7 @@ paths: enum: - development - runtime - security_advisory: *475 + security_advisory: *477 security_vulnerability: *129 url: *130 html_url: *131 @@ -65602,8 +65822,8 @@ paths: nullable: true maxLength: 280 fixed_at: *135 - auto_dismissed_at: *476 - dismissal_request: *477 + auto_dismissed_at: *478 + dismissal_request: *479 required: - number - state @@ -65833,9 +66053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *368 - - *369 - - &479 + - *370 + - *371 + - &481 name: alert_number in: path description: |- @@ -65850,7 +66070,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: default: value: @@ -65963,9 +66183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *368 - - *369 - - *479 + - *370 + - *371 + - *481 requestBody: required: true content: @@ -66010,7 +66230,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: default: value: @@ -66139,8 +66359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/secrets#list-repository-secrets parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -66158,7 +66378,7 @@ paths: type: integer secrets: type: array - items: &482 + items: &484 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -66211,16 +66431,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66240,15 +66460,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/secrets#get-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 responses: '200': description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -66274,8 +66494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 requestBody: required: true @@ -66328,8 +66548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *368 - - *369 + - *370 + - *371 - *213 responses: '204': @@ -66352,8 +66572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *368 - - *369 + - *370 + - *371 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -66513,8 +66733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -66739,8 +66959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -66815,7 +67035,7 @@ paths: - version - url additionalProperties: false - metadata: &483 + metadata: &485 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -66848,7 +67068,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *483 + metadata: *485 resolved: type: object description: A collection of resolved package dependencies. @@ -66861,7 +67081,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *483 + metadata: *485 relationship: type: string description: A notation of whether a dependency is requested @@ -66990,8 +67210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/deployments#list-deployments parameters: - - *368 - - *369 + - *370 + - *371 - name: sha description: The SHA recorded at creation time. in: query @@ -67031,9 +67251,9 @@ paths: application/json: schema: type: array - items: *484 + items: *486 examples: - default: *485 + default: *487 headers: Link: *6 x-github: @@ -67099,8 +67319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/deployments#create-a-deployment parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -67181,7 +67401,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: simple-example: summary: Simple example @@ -67254,9 +67474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/deployments#get-a-deployment parameters: - - *368 - - *369 - - &486 + - *370 + - *371 + - &488 name: deployment_id description: deployment_id parameter in: path @@ -67268,7 +67488,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: default: value: @@ -67333,9 +67553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/deployments#delete-a-deployment parameters: - - *368 - - *369 - - *486 + - *370 + - *371 + - *488 responses: '204': description: Response @@ -67357,9 +67577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/statuses#list-deployment-statuses parameters: - - *368 - - *369 - - *486 + - *370 + - *371 + - *488 - *4 - *5 responses: @@ -67369,7 +67589,7 @@ paths: application/json: schema: type: array - items: &487 + items: &489 title: Deployment Status description: The status of a deployment. type: object @@ -67530,9 +67750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/statuses#create-a-deployment-status parameters: - - *368 - - *369 - - *486 + - *370 + - *371 + - *488 requestBody: required: true content: @@ -67607,9 +67827,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: &488 + default: &490 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -67665,9 +67885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/statuses#get-a-deployment-status parameters: - - *368 - - *369 - - *486 + - *370 + - *371 + - *488 - name: status_id in: path required: true @@ -67678,9 +67898,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *488 + default: *490 '404': *26 x-github: githubCloudOnly: false @@ -67707,12 +67927,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 - - *489 - - *490 + - *370 + - *371 - *491 - *492 + - *493 + - *494 - *4 - *5 responses: @@ -67722,9 +67942,9 @@ paths: application/json: schema: type: array - items: *493 + items: *495 examples: - default: *494 + default: *496 '404': *26 '403': *43 '500': *107 @@ -67748,8 +67968,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -67761,7 +67981,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *493 + schema: *495 examples: default: value: @@ -67817,8 +68037,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -67877,12 +68097,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *368 - - *369 - - *489 - - *490 + - *370 + - *371 - *491 - *492 + - *493 + - *494 - *4 - *5 responses: @@ -67892,187 +68112,9 @@ paths: application/json: schema: type: array - items: &496 - title: Dependabot alert dismissal request - description: Alert dismissal request made by a user asking to dismiss - a Dependabot alert. - type: object - properties: - id: - type: integer - format: int64 - description: The unique identifier of the dismissal request. - number: - type: integer - format: int64 - description: The number uniquely identifying the dismissal request - within its repository. - repository: - type: object - description: The repository the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the repository the dismissal request - is for. - name: - type: string - description: The name of the repository the dismissal request - is for. - full_name: - type: string - description: The full name of the repository the dismissal - request is for. - organization: - type: object - description: The organization associated with the repository - the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the dismissal request. - properties: - actor_id: - type: integer - format: int64 - description: The ID of the GitHub user who requested the - dismissal request. - actor_name: - type: string - description: The name of the GitHub user who requested the - dismissal request. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the dismissal request metadata. - items: - type: object - properties: - reason: - type: string - description: The reason for the dismissal request. - alert_number: - type: string - description: The alert number. - alert_title: - type: string - description: The title of the alert. - resource_identifier: - type: string - description: The unique identifier for the request type of the - dismissal request. - example: '123' - status: - type: string - description: The status of the dismissal request. - enum: - - pending - - denied - - approved - - expired - requester_comment: - type: string - description: The comment the requester provided when creating - the dismissal request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the dismissal request will expire. - created_at: - type: string - format: date-time - description: The date and time the dismissal request was created. - responses: - type: array - description: The responses to the dismissal request. - nullable: true - items: *495 - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 - html_url: - type: string - description: The URL to view the dismissal request in a browser. - format: uri - example: https://github.com/octo-org/smile/security/dependabot/1 + items: *497 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: dependabot_alert_dismissal - data: - - reason: no_bandwidth - alert_number: '1' - alert_title: lodash - GHSA-1234-abcd-5678 - resource_identifier: '1' - status: denied - requester_comment: No bandwidth to fix this right now - 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/dependabot/1 - html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal - data: - - reason: tolerable_risk - alert_number: '2' - alert_title: axios - GHSA-5678-efgh-9012 - resource_identifier: '2' - status: approved - requester_comment: Risk is acceptable for this internal tool - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 43 - reviewer: - actor_id: 4 - actor_name: octocat - status: approved - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 - html_url: https://github.com/octo-org/smile/security/dependabot/2 + default: *498 '404': *26 '403': *43 '500': *107 @@ -68096,8 +68138,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -68109,7 +68151,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -68160,8 +68202,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -68232,12 +68274,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - *109 - *110 - *111 - - *497 + - *260 - *4 - *5 responses: @@ -68247,9 +68289,9 @@ paths: application/json: schema: type: array - items: *498 + items: *499 examples: - default: *499 + default: *500 '404': *26 '403': *43 '500': *107 @@ -68274,8 +68316,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -68287,7 +68329,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *498 + schema: *499 examples: default: value: @@ -68345,8 +68387,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: alert_number in: path required: true @@ -68415,8 +68457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -68473,8 +68515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/environments#list-environments parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -68491,7 +68533,7 @@ paths: type: integer environments: type: array - items: &501 + items: &502 title: Environment description: Details of a deployment environment type: object @@ -68543,7 +68585,7 @@ paths: type: type: string example: wait_timer - wait_timer: &503 + wait_timer: &504 type: integer example: 30 description: The amount of time to delay a job after @@ -68580,11 +68622,11 @@ paths: items: type: object properties: - type: *500 + type: *501 reviewer: anyOf: - *19 - - *370 + - *372 required: - id - node_id @@ -68604,7 +68646,7 @@ paths: - id - node_id - type - deployment_branch_policy: &504 + deployment_branch_policy: &505 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -68719,9 +68761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/environments#get-an-environment parameters: - - *368 - - *369 - - &502 + - *370 + - *371 + - &503 name: environment_name in: path required: true @@ -68734,9 +68776,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: &505 + default: &506 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -68819,9 +68861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/environments#create-or-update-an-environment parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 requestBody: required: false content: @@ -68830,7 +68872,7 @@ paths: type: object nullable: true properties: - wait_timer: *503 + wait_timer: *504 prevent_self_review: type: boolean example: false @@ -68847,13 +68889,13 @@ paths: items: type: object properties: - type: *500 + type: *501 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *504 + deployment_branch_policy: *505 additionalProperties: false examples: default: @@ -68873,9 +68915,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: - default: *505 + default: *506 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -68899,9 +68941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/environments#delete-an-environment parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 responses: '204': description: Default response @@ -68926,9 +68968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *4 - *5 responses: @@ -68946,7 +68988,7 @@ paths: example: 2 branch_policies: type: array - items: &506 + items: &507 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69003,9 +69045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 requestBody: required: true content: @@ -69051,9 +69093,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - example-wildcard: &507 + example-wildcard: &508 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69095,10 +69137,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *368 - - *369 - - *502 - - &508 + - *370 + - *371 + - *503 + - &509 name: branch_policy_id in: path required: true @@ -69110,9 +69152,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69131,10 +69173,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *368 - - *369 - - *502 - - *508 + - *370 + - *371 + - *503 + - *509 requestBody: required: true content: @@ -69162,9 +69204,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69183,10 +69225,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *368 - - *369 - - *502 - - *508 + - *370 + - *371 + - *503 + - *509 responses: '204': description: Response @@ -69211,9 +69253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *502 - - *369 - - *368 + - *503 + - *371 + - *370 responses: '200': description: List of deployment protection rules @@ -69229,7 +69271,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &509 + items: &510 title: Deployment protection rule description: Deployment protection rule type: object @@ -69248,7 +69290,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &510 + app: &511 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -69347,9 +69389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *502 - - *369 - - *368 + - *503 + - *371 + - *370 requestBody: content: application/json: @@ -69370,9 +69412,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *509 + schema: *510 examples: - default: &511 + default: &512 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -69407,9 +69449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *502 - - *369 - - *368 + - *503 + - *371 + - *370 - *5 - *4 responses: @@ -69428,7 +69470,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *510 + items: *511 examples: default: value: @@ -69463,10 +69505,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *368 - - *369 - - *502 - - &512 + - *370 + - *371 + - *503 + - &513 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -69478,9 +69520,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69501,10 +69543,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *502 - - *369 - - *368 - - *512 + - *503 + - *371 + - *370 + - *513 responses: '204': description: Response @@ -69530,9 +69572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#list-environment-secrets parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *4 - *5 responses: @@ -69550,9 +69592,9 @@ paths: type: integer secrets: type: array - items: *399 + items: *401 examples: - default: *400 + default: *402 headers: Link: *6 x-github: @@ -69577,17 +69619,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#get-an-environment-public-key parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69609,18 +69651,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#get-an-environment-secret parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *213 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *513 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69642,9 +69684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *213 requestBody: required: true @@ -69702,9 +69744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/secrets#delete-an-environment-secret parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *213 responses: '204': @@ -69730,10 +69772,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#list-environment-variables parameters: - - *368 - - *369 - - *502 - - *386 + - *370 + - *371 + - *503 + - *388 - *5 responses: '200': @@ -69750,9 +69792,9 @@ paths: type: integer variables: type: array - items: *403 + items: *405 examples: - default: *404 + default: *406 headers: Link: *6 x-github: @@ -69775,9 +69817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#create-an-environment-variable parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 requestBody: required: true content: @@ -69829,18 +69871,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#get-an-environment-variable parameters: - - *368 - - *369 - - *502 + - *370 + - *371 + - *503 - *216 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *514 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69861,10 +69903,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#update-an-environment-variable parameters: - - *368 - - *369 + - *370 + - *371 - *216 - - *502 + - *503 requestBody: required: true content: @@ -69906,10 +69948,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/actions/variables#delete-an-environment-variable parameters: - - *368 - - *369 + - *370 + - *371 - *216 - - *502 + - *503 responses: '204': description: Response @@ -69931,8 +69973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/events#list-repository-events parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -70010,8 +70052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/forks#list-forks parameters: - - *368 - - *369 + - *370 + - *371 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -70170,8 +70212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/forks#create-a-fork parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -70203,9 +70245,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *374 + default: *376 '400': *34 '422': *35 '403': *43 @@ -70226,8 +70268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/blobs#create-a-blob parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -70287,7 +70329,7 @@ paths: schema: oneOf: - *184 - - *515 + - *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70312,8 +70354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/blobs#get-a-blob parameters: - - *368 - - *369 + - *370 + - *371 - name: file_sha in: path required: true @@ -70412,8 +70454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/commits#create-a-commit parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -70522,7 +70564,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &517 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -70736,15 +70778,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/commits#get-a-commit-object parameters: - - *368 - - *369 - - *463 + - *370 + - *371 + - *465 responses: '200': description: Response content: application/json: - schema: *516 + schema: *517 examples: default: value: @@ -70800,9 +70842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/refs#list-matching-references parameters: - - *368 - - *369 - - &517 + - *370 + - *371 + - &518 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. @@ -70819,7 +70861,7 @@ paths: application/json: schema: type: array - items: &518 + items: &519 title: Git Reference description: Git references within a repository type: object @@ -70894,17 +70936,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/refs#get-a-reference parameters: - - *368 - - *369 - - *517 + - *370 + - *371 + - *518 responses: '200': description: Response content: application/json: - schema: *518 + schema: *519 examples: - default: &519 + default: &520 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -70933,8 +70975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/refs#create-a-reference parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -70963,9 +71005,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *519 examples: - default: *519 + default: *520 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -70991,9 +71033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/refs#update-a-reference parameters: - - *368 - - *369 - - *517 + - *370 + - *371 + - *518 requestBody: required: true content: @@ -71022,9 +71064,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *519 examples: - default: *519 + default: *520 '422': *35 '409': *123 x-github: @@ -71042,9 +71084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/refs#delete-a-reference parameters: - - *368 - - *369 - - *517 + - *370 + - *371 + - *518 responses: '204': description: Response @@ -71099,8 +71141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/tags#create-a-tag-object parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -71167,7 +71209,7 @@ paths: description: Response content: application/json: - schema: &521 + schema: &522 title: Git Tag description: Metadata for a Git tag type: object @@ -71218,7 +71260,7 @@ paths: - sha - type - url - verification: *520 + verification: *521 required: - sha - url @@ -71228,7 +71270,7 @@ paths: - tag - message examples: - default: &522 + default: &523 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71301,8 +71343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/tags#get-a-tag parameters: - - *368 - - *369 + - *370 + - *371 - name: tag_sha in: path required: true @@ -71313,9 +71355,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 '404': *26 '409': *123 x-github: @@ -71339,8 +71381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/trees#create-a-tree parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -71413,7 +71455,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &524 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -71509,8 +71551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/git/trees#get-a-tree parameters: - - *368 - - *369 + - *370 + - *371 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -71533,7 +71575,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: default-response: summary: Default response @@ -71592,8 +71634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#list-repository-webhooks parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -71603,7 +71645,7 @@ paths: application/json: schema: type: array - items: &524 + items: &525 title: Webhook description: Webhooks for repositories. type: object @@ -71657,7 +71699,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &739 + last_response: &740 title: Hook Response type: object properties: @@ -71731,8 +71773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#create-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -71784,9 +71826,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: &525 + default: &526 value: type: Repository id: 12345678 @@ -71834,17 +71876,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#get-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 responses: '200': description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: *525 + default: *526 '404': *26 x-github: githubCloudOnly: false @@ -71864,8 +71906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#update-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 requestBody: required: true @@ -71911,9 +71953,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: - default: *525 + default: *526 '422': *35 '404': *26 x-github: @@ -71934,8 +71976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 responses: '204': @@ -71960,8 +72002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *3 responses: '200': @@ -71989,8 +72031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *3 requestBody: required: false @@ -72035,11 +72077,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 - *4 - - *263 + - *265 responses: '200': description: Response @@ -72047,9 +72089,9 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: - default: *265 + default: *267 '400': *34 '422': *35 x-github: @@ -72068,8 +72110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 - *36 responses: @@ -72077,9 +72119,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '400': *34 '422': *35 x-github: @@ -72098,8 +72140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 - *36 responses: @@ -72123,8 +72165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 responses: '204': @@ -72150,8 +72192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *368 - - *369 + - *370 + - *371 - *3 responses: '204': @@ -72176,8 +72218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -72185,8 +72227,8 @@ paths: application/json: schema: *39 examples: - default: *526 - '301': *373 + default: *527 + '301': *375 '404': *26 x-github: githubCloudOnly: false @@ -72205,8 +72247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/invitations#list-repository-invitations parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -72216,7 +72258,7 @@ paths: application/json: schema: type: array - items: &527 + items: &528 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -72279,7 +72321,7 @@ paths: - html_url - created_at examples: - default: &683 + default: &684 value: - id: 1 repository: @@ -72410,9 +72452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *368 - - *369 - - &528 + - *370 + - *371 + - &529 name: invitation_id description: The unique identifier of the invitation. in: path @@ -72447,7 +72489,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: default: value: @@ -72578,9 +72620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *368 - - *369 - - *528 + - *370 + - *371 + - *529 responses: '204': description: Response @@ -72611,8 +72653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#list-repository-issues parameters: - - *368 - - *369 + - *370 + - *371 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -72660,7 +72702,7 @@ paths: required: false schema: type: string - - *268 + - *270 - name: sort description: What to sort results by. in: query @@ -72685,7 +72727,7 @@ paths: type: array items: *149 examples: - default: &537 + default: &538 value: - id: 1 node_id: MDU6SXNzdWUx @@ -72833,7 +72875,7 @@ paths: state_reason: completed headers: Link: *6 - '301': *373 + '301': *375 '422': *35 '404': *26 x-github: @@ -72862,8 +72904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#create-an-issue parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -72947,7 +72989,7 @@ paths: application/json: schema: *149 examples: - default: &534 + default: &535 value: id: 1 node_id: MDU6SXNzdWUx @@ -73103,7 +73145,7 @@ paths: '422': *35 '503': *142 '404': *26 - '410': *378 + '410': *380 x-github: triggersNotification: true githubCloudOnly: false @@ -73131,9 +73173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *368 - - *369 - - &577 + - *370 + - *371 + - &578 name: sort description: The property to sort the results by. in: query @@ -73163,9 +73205,9 @@ paths: application/json: schema: type: array - items: *529 + items: *530 examples: - default: &536 + default: &537 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -73223,17 +73265,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#get-an-issue-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '200': description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: &530 + default: &531 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -73287,8 +73329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#update-an-issue-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -73311,9 +73353,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: *530 + default: *531 '422': *35 x-github: githubCloudOnly: false @@ -73331,8 +73373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#delete-an-issue-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '204': @@ -73353,8 +73395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). @@ -73381,9 +73423,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 '404': *26 @@ -73404,8 +73446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -73438,16 +73480,16 @@ paths: description: Reaction exists content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Reaction created content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '422': *35 x-github: githubCloudOnly: false @@ -73469,10 +73511,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *368 - - *369 + - *370 + - *371 - *168 - - *362 + - *364 responses: '204': description: Response @@ -73492,8 +73534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/events#list-issue-events-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -73503,7 +73545,7 @@ paths: application/json: schema: type: array - items: &533 + items: &534 title: Issue Event description: Issue Event type: object @@ -73546,8 +73588,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *531 - required: *532 + properties: *532 + required: *533 nullable: true label: title: Issue Event Label @@ -73591,7 +73633,7 @@ paths: properties: *17 required: *18 nullable: true - requested_team: *370 + requested_team: *372 dismissed_review: title: Issue Event Dismissed Review type: object @@ -73854,8 +73896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/events#get-an-issue-event parameters: - - *368 - - *369 + - *370 + - *371 - name: event_id in: path required: true @@ -73866,7 +73908,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -74058,7 +74100,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *26 - '410': *378 + '410': *380 '403': *43 x-github: githubCloudOnly: false @@ -74092,9 +74134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue parameters: - - *368 - - *369 - - &535 + - *370 + - *371 + - &536 name: issue_number description: The number that identifies the issue. in: path @@ -74108,10 +74150,10 @@ paths: application/json: schema: *149 examples: - default: *534 - '301': *373 + default: *535 + '301': *375 '404': *26 - '410': *378 + '410': *380 '304': *42 x-github: githubCloudOnly: false @@ -74136,9 +74178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#update-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: false content: @@ -74244,13 +74286,13 @@ paths: application/json: schema: *149 examples: - default: *534 + default: *535 '422': *35 '503': *142 '403': *43 - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74268,9 +74310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: false content: @@ -74298,7 +74340,7 @@ paths: application/json: schema: *149 examples: - default: *534 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74314,9 +74356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: content: application/json: @@ -74343,7 +74385,7 @@ paths: application/json: schema: *149 examples: - default: *534 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74365,9 +74407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - name: assignee in: path required: true @@ -74407,9 +74449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#list-issue-comments parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *159 - *4 - *5 @@ -74420,13 +74462,13 @@ paths: application/json: schema: type: array - items: *529 + items: *530 examples: - default: *536 + default: *537 headers: Link: *6 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74455,9 +74497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/comments#create-an-issue-comment parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: true content: @@ -74479,16 +74521,16 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: *530 + default: *531 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *43 - '410': *378 + '410': *380 '422': *35 '404': *26 x-github: @@ -74516,9 +74558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *4 - *5 responses: @@ -74530,12 +74572,12 @@ paths: type: array items: *149 examples: - default: *537 + default: *538 headers: Link: *6 - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74563,9 +74605,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: true content: @@ -74589,15 +74631,15 @@ paths: application/json: schema: *149 examples: - default: *534 + default: *535 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *373 + '301': *375 '403': *43 - '410': *378 + '410': *380 '422': *35 '404': *26 x-github: @@ -74628,9 +74670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -74644,13 +74686,13 @@ paths: application/json: schema: *149 examples: - default: *534 - '301': *373 + default: *535 + '301': *375 '400': *34 '401': *41 '403': *43 '404': *26 - '410': *378 + '410': *380 x-github: triggersNotification: true githubCloudOnly: false @@ -74676,9 +74718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *4 - *5 responses: @@ -74690,12 +74732,12 @@ paths: type: array items: *149 examples: - default: *537 + default: *538 headers: Link: *6 - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74712,9 +74754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/events#list-issue-events parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *4 - *5 responses: @@ -74728,7 +74770,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &539 + - &540 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74782,7 +74824,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &541 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74918,7 +74960,7 @@ paths: - performed_via_github_app - assignee - assigner - - &541 + - &542 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74969,7 +75011,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &543 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -75020,7 +75062,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &544 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -75074,7 +75116,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &545 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -75108,7 +75150,7 @@ paths: properties: *146 required: *147 review_requester: *19 - requested_team: *370 + requested_team: *372 requested_reviewer: *19 required: - review_requester @@ -75121,7 +75163,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &546 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -75155,7 +75197,7 @@ paths: properties: *146 required: *147 review_requester: *19 - requested_team: *370 + requested_team: *372 requested_reviewer: *19 required: - review_requester @@ -75168,7 +75210,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &547 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -75228,7 +75270,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &548 title: Locked Issue Event description: Locked Issue Event type: object @@ -75276,7 +75318,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &549 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -75342,7 +75384,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &550 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -75408,7 +75450,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &551 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -75474,7 +75516,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &552 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -75565,7 +75607,7 @@ paths: color: red headers: Link: *6 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75582,9 +75624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#list-labels-for-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *4 - *5 responses: @@ -75596,7 +75638,7 @@ paths: type: array items: *148 examples: - default: &538 + default: &539 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75614,9 +75656,9 @@ paths: default: false headers: Link: *6 - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75633,9 +75675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#add-labels-to-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: false content: @@ -75696,10 +75738,10 @@ paths: type: array items: *148 examples: - default: *538 - '301': *373 + default: *539 + '301': *375 '404': *26 - '410': *378 + '410': *380 '422': *35 x-github: githubCloudOnly: false @@ -75716,9 +75758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#set-labels-for-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: false content: @@ -75780,10 +75822,10 @@ paths: type: array items: *148 examples: - default: *538 - '301': *373 + default: *539 + '301': *375 '404': *26 - '410': *378 + '410': *380 '422': *35 x-github: githubCloudOnly: false @@ -75800,15 +75842,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 responses: '204': description: Response - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75827,9 +75869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - name: name in: path required: true @@ -75853,9 +75895,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *373 + '301': *375 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75875,9 +75917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#lock-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: false content: @@ -75905,7 +75947,7 @@ paths: '204': description: Response '403': *43 - '410': *378 + '410': *380 '404': *26 '422': *35 x-github: @@ -75923,9 +75965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/issues#unlock-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 responses: '204': description: Response @@ -75947,9 +75989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -75975,13 +76017,13 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75999,9 +76041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 requestBody: required: true content: @@ -76033,16 +76075,16 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '422': *35 x-github: githubCloudOnly: false @@ -76064,10 +76106,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *368 - - *369 - - *535 - - *362 + - *370 + - *371 + - *536 + - *364 responses: '204': description: Response @@ -76087,9 +76129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *368 - - *369 - - *535 + - *370 + - *371 + - *536 - *4 - *5 responses: @@ -76104,7 +76146,6 @@ paths: description: Timeline Event type: object anyOf: - - *539 - *540 - *541 - *542 @@ -76117,6 +76158,7 @@ paths: - *549 - *550 - *551 + - *552 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -76425,7 +76467,7 @@ paths: type: string comments: type: array - items: &573 + items: &574 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -76634,7 +76676,7 @@ paths: type: string comments: type: array - items: *461 + items: *463 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -76923,7 +76965,7 @@ paths: headers: Link: *6 '404': *26 - '410': *378 + '410': *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76940,8 +76982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -76951,7 +76993,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -77017,8 +77059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -77054,9 +77096,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &553 + default: &554 value: id: 1 key: ssh-rsa AAA... @@ -77090,9 +77132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *368 - - *369 - - &554 + - *370 + - *371 + - &555 name: key_id description: The unique identifier of the key. in: path @@ -77104,9 +77146,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *553 + default: *554 '404': *26 x-github: githubCloudOnly: false @@ -77124,9 +77166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *368 - - *369 - - *554 + - *370 + - *371 + - *555 responses: '204': description: Response @@ -77146,8 +77188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#list-labels-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -77159,7 +77201,7 @@ paths: type: array items: *148 examples: - default: *538 + default: *539 headers: Link: *6 '404': *26 @@ -77180,8 +77222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#create-a-label parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -77219,7 +77261,7 @@ paths: application/json: schema: *148 examples: - default: &555 + default: &556 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77251,8 +77293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#get-a-label parameters: - - *368 - - *369 + - *370 + - *371 - name: name in: path required: true @@ -77265,7 +77307,7 @@ paths: application/json: schema: *148 examples: - default: *555 + default: *556 '404': *26 x-github: githubCloudOnly: false @@ -77282,8 +77324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#update-a-label parameters: - - *368 - - *369 + - *370 + - *371 - name: name in: path required: true @@ -77348,8 +77390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#delete-a-label parameters: - - *368 - - *369 + - *370 + - *371 - name: name in: path required: true @@ -77375,8 +77417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-languages parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -77412,8 +77454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '202': *53 '403': @@ -77441,8 +77483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -77468,9 +77510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *368 - - *369 - - *451 + - *370 + - *371 + - *453 responses: '200': description: Response @@ -77615,8 +77657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -77681,8 +77723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/branches/branches#merge-a-branch parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -77716,9 +77758,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *464 examples: - default: *556 + default: *557 '204': description: Response when already merged '404': @@ -77743,8 +77785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/milestones#list-milestones parameters: - - *368 - - *369 + - *370 + - *371 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -77785,7 +77827,7 @@ paths: application/json: schema: type: array - items: &557 + items: &558 title: Milestone description: A collection of related issues and pull requests. type: object @@ -77846,8 +77888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/milestones#create-a-milestone parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -77887,9 +77929,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: &558 + default: &559 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77948,9 +77990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/milestones#get-a-milestone parameters: - - *368 - - *369 - - &559 + - *370 + - *371 + - &560 name: milestone_number description: The number that identifies the milestone. in: path @@ -77962,9 +78004,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *558 + default: *559 '404': *26 x-github: githubCloudOnly: false @@ -77981,9 +78023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/milestones#update-a-milestone parameters: - - *368 - - *369 - - *559 + - *370 + - *371 + - *560 requestBody: required: false content: @@ -78021,9 +78063,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *558 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78039,9 +78081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/milestones#delete-a-milestone parameters: - - *368 - - *369 - - *559 + - *370 + - *371 + - *560 responses: '204': description: Response @@ -78062,9 +78104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *368 - - *369 - - *559 + - *370 + - *371 + - *560 - *4 - *5 responses: @@ -78076,7 +78118,7 @@ paths: type: array items: *148 examples: - default: *538 + default: *539 headers: Link: *6 x-github: @@ -78095,12 +78137,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *368 - - *369 - - *560 + - *370 + - *371 - *561 - - *159 - *562 + - *159 + - *563 - *4 - *5 responses: @@ -78112,7 +78154,7 @@ paths: type: array items: *176 examples: - default: *563 + default: *564 headers: Link: *6 x-github: @@ -78136,8 +78178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -78195,14 +78237,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#get-a-apiname-pages-site parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: &564 + schema: &565 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -78327,7 +78369,7 @@ paths: - custom_404 - public examples: - default: &565 + default: &566 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -78368,8 +78410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#create-a-apiname-pages-site parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -78423,9 +78465,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 '422': *35 '409': *123 x-github: @@ -78448,8 +78490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -78548,8 +78590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -78575,8 +78617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#list-apiname-pages-builds parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -78586,7 +78628,7 @@ paths: application/json: schema: type: array - items: &566 + items: &567 title: Page Build description: Page Build type: object @@ -78680,8 +78722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#request-a-apiname-pages-build parameters: - - *368 - - *369 + - *370 + - *371 responses: '201': description: Response @@ -78726,16 +78768,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#get-latest-pages-build parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: &567 + default: &568 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78783,8 +78825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#get-apiname-pages-build parameters: - - *368 - - *369 + - *370 + - *371 - name: build_id in: path required: true @@ -78795,9 +78837,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78817,8 +78859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#create-a-github-pages-deployment parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -78918,9 +78960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *368 - - *369 - - &568 + - *370 + - *371 + - &569 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78978,9 +79020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *368 - - *369 - - *568 + - *370 + - *371 + - *569 responses: '204': *140 '404': *26 @@ -79003,8 +79045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/repo-pre-receive-hooks#list-pre-receive-hooks-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 - *9 @@ -79025,7 +79067,7 @@ paths: application/json: schema: type: array - items: &569 + items: &570 type: object properties: id: @@ -79059,17 +79101,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/repo-pre-receive-hooks#get-a-pre-receive-hook-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *16 responses: '200': description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: &570 + default: &571 value: id: 42 name: Check Commits @@ -79091,15 +79133,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/repo-pre-receive-hooks#update-pre-receive-hook-enforcement-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *16 responses: '200': description: Response content: application/json: - schema: *569 + schema: *570 examples: default: value: @@ -79143,8 +79185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/repo-pre-receive-hooks#remove-pre-receive-hook-enforcement-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - *16 responses: '200': @@ -79152,9 +79194,9 @@ paths: global level. content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79173,8 +79215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -79182,7 +79224,7 @@ paths: application/json: schema: type: array - items: *299 + items: *301 examples: default: value: @@ -79213,8 +79255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -79226,7 +79268,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *299 + items: *301 required: - properties examples: @@ -79276,8 +79318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#list-pull-requests parameters: - - *368 - - *369 + - *370 + - *371 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -79337,9 +79379,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *572 + default: *573 headers: Link: *6 '304': *42 @@ -79371,8 +79413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#create-a-pull-request parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -79439,7 +79481,7 @@ paths: application/json: schema: *157 examples: - default: &575 + default: &576 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79966,8 +80008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - name: sort in: query required: false @@ -79996,9 +80038,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: &578 + default: &579 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80075,17 +80117,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &574 + default: &575 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80160,8 +80202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -80184,9 +80226,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *574 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80202,8 +80244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *368 - - *369 + - *370 + - *371 - *168 responses: '204': @@ -80225,8 +80267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). @@ -80253,9 +80295,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 '404': *26 @@ -80276,8 +80318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *368 - - *369 + - *370 + - *371 - *168 requestBody: required: true @@ -80310,16 +80352,16 @@ paths: description: Reaction exists content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Reaction created content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '422': *35 x-github: githubCloudOnly: false @@ -80341,10 +80383,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *368 - - *369 + - *370 + - *371 - *168 - - *362 + - *364 responses: '204': description: Response @@ -80387,9 +80429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#get-a-pull-request parameters: - - *368 - - *369 - - &576 + - *370 + - *371 + - &577 name: pull_number description: The number that identifies the pull request. in: path @@ -80404,7 +80446,7 @@ paths: application/json: schema: *157 examples: - default: *575 + default: *576 '304': *42 '404': *26 '406': @@ -80439,9 +80481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#update-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: false content: @@ -80485,7 +80527,7 @@ paths: application/json: schema: *157 examples: - default: *575 + default: *576 '422': *35 '403': *43 x-github: @@ -80513,10 +80555,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 - *577 + - *578 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -80536,9 +80578,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: *578 + default: *579 headers: Link: *6 x-github: @@ -80571,9 +80613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: true content: @@ -80678,7 +80720,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: example-for-a-multi-line-comment: value: @@ -80766,9 +80808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 - *168 requestBody: required: true @@ -80791,7 +80833,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -80877,9 +80919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 - *4 - *5 responses: @@ -80889,9 +80931,9 @@ paths: application/json: schema: type: array - items: *462 + items: *464 examples: - default: *579 + default: *580 headers: Link: *6 x-github: @@ -80921,9 +80963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#list-pull-requests-files parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 - *4 - *5 responses: @@ -80933,7 +80975,7 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: default: value: @@ -80971,9 +81013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 responses: '204': description: Response if pull request has been merged @@ -80996,9 +81038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#merge-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: false content: @@ -81109,9 +81151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 responses: '200': description: Response @@ -81127,7 +81169,7 @@ paths: items: *19 teams: type: array - items: *370 + items: *372 required: - users - teams @@ -81186,9 +81228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: false content: @@ -81225,7 +81267,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -81761,9 +81803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: true content: @@ -81797,7 +81839,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -82302,9 +82344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 - *4 - *5 responses: @@ -82314,7 +82356,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -82465,9 +82507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: false content: @@ -82553,9 +82595,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &582 + default: &583 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82618,10 +82660,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 - - &581 + - *370 + - *371 + - *577 + - &582 name: review_id description: The unique identifier of the review. in: path @@ -82633,9 +82675,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &583 + default: &584 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82694,10 +82736,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 - - *581 + - *370 + - *371 + - *577 + - *582 requestBody: required: true content: @@ -82720,7 +82762,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -82782,18 +82824,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 - - *581 + - *370 + - *371 + - *577 + - *582 responses: '200': description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *582 + default: *583 '422': *27 '404': *26 x-github: @@ -82820,10 +82862,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *368 - - *369 - - *576 - - *581 + - *370 + - *371 + - *577 + - *582 - *4 - *5 responses: @@ -83058,10 +83100,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 - - *581 + - *370 + - *371 + - *577 + - *582 requestBody: required: true content: @@ -83089,7 +83131,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -83152,10 +83194,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *368 - - *369 - - *576 - - *581 + - *370 + - *371 + - *577 + - *582 requestBody: required: true content: @@ -83190,9 +83232,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *583 + default: *584 '404': *26 '422': *27 '403': *43 @@ -83214,9 +83256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *368 - - *369 - - *576 + - *370 + - *371 + - *577 requestBody: required: false content: @@ -83279,8 +83321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#get-a-repository-readme parameters: - - *368 - - *369 + - *370 + - *371 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83293,9 +83335,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: &585 + default: &586 value: type: file encoding: base64 @@ -83337,8 +83379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *368 - - *369 + - *370 + - *371 - name: dir description: The alternate path to look for a README file in: path @@ -83358,9 +83400,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: *585 + default: *586 '404': *26 '422': *35 x-github: @@ -83382,8 +83424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#list-releases parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -83393,7 +83435,7 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: default: value: @@ -83487,8 +83529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#create-a-release parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -83558,9 +83600,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: &591 + default: &592 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -83660,9 +83702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/assets#get-a-release-asset parameters: - - *368 - - *369 - - &589 + - *370 + - *371 + - &590 name: asset_id description: The unique identifier of the asset. in: path @@ -83674,9 +83716,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: &590 + default: &591 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 @@ -83711,7 +83753,7 @@ paths: type: User site_admin: false '404': *26 - '302': *588 + '302': *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83727,9 +83769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/assets#update-a-release-asset parameters: - - *368 - - *369 - - *589 + - *370 + - *371 + - *590 requestBody: required: false content: @@ -83757,9 +83799,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: *590 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83775,9 +83817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/assets#delete-a-release-asset parameters: - - *368 - - *369 - - *589 + - *370 + - *371 + - *590 responses: '204': description: Response @@ -83801,8 +83843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -83887,16 +83929,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#get-the-latest-release parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *591 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83913,8 +83955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#get-a-release-by-tag-name parameters: - - *368 - - *369 + - *370 + - *371 - name: tag description: tag parameter in: path @@ -83927,9 +83969,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *591 + default: *592 '404': *26 x-github: githubCloudOnly: false @@ -83951,9 +83993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#get-a-release parameters: - - *368 - - *369 - - &592 + - *370 + - *371 + - &593 name: release_id description: The unique identifier of the release. in: path @@ -83967,9 +84009,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-server@3.19/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *586 + schema: *587 examples: - default: *591 + default: *592 '401': description: Unauthorized x-github: @@ -83987,9 +84029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#update-a-release parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 requestBody: required: false content: @@ -84046,9 +84088,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *591 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84064,9 +84106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/releases#delete-a-release parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 responses: '204': description: Response @@ -84086,9 +84128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/releases/assets#list-release-assets parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 - *4 - *5 responses: @@ -84098,7 +84140,7 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: default: value: @@ -84180,9 +84222,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 - name: name in: query required: true @@ -84208,7 +84250,7 @@ paths: description: Response for successful upload content: application/json: - schema: *587 + schema: *588 examples: response-for-successful-upload: value: @@ -84263,9 +84305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -84289,9 +84331,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 '404': *26 @@ -84312,9 +84354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *368 - - *369 - - *592 + - *370 + - *371 + - *593 requestBody: required: true content: @@ -84344,16 +84386,16 @@ paths: description: Reaction exists content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '201': description: Reaction created content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 '422': *35 x-github: githubCloudOnly: false @@ -84375,10 +84417,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#delete-a-release-reaction parameters: - - *368 - - *369 - - *592 - - *362 + - *370 + - *371 + - *593 + - *364 responses: '204': description: Response @@ -84398,8 +84440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-cache-replication-status parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -84474,9 +84516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/rules#get-rules-for-a-branch parameters: - - *368 - - *369 - - *420 + - *370 + - *371 + - *422 - *4 - *5 responses: @@ -84492,8 +84534,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *308 - - &593 + - *310 + - &594 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84512,69 +84554,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *309 - - *593 - - allOf: - - *310 - - *593 - allOf: - *311 - - *593 - - allOf: - *594 - - *593 - allOf: - *312 - - *593 + - *594 - allOf: - *313 - - *593 + - *594 + - allOf: + - *595 + - *594 - allOf: - *314 - - *593 + - *594 - allOf: - *315 - - *593 + - *594 - allOf: - *316 - - *593 + - *594 - allOf: - *317 - - *593 + - *594 - allOf: - *318 - - *593 + - *594 - allOf: - *319 - - *593 + - *594 - allOf: - *320 - - *593 + - *594 - allOf: - *321 - - *593 + - *594 - allOf: - *322 - - *593 + - *594 - allOf: - *323 - - *593 + - *594 - allOf: - *324 - - *593 + - *594 - allOf: - *325 - - *593 + - *594 - allOf: - *326 - - *593 + - *594 - allOf: - *327 - - *593 + - *594 - allOf: - *328 - - *593 + - *594 + - allOf: + - *329 + - *594 + - allOf: + - *330 + - *594 examples: default: value: @@ -84613,8 +84655,8 @@ paths: category: repos subcategory: rules parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 - name: includes_parents @@ -84625,7 +84667,7 @@ paths: schema: type: boolean default: true - - *595 + - *596 responses: '200': description: Response @@ -84633,7 +84675,7 @@ paths: application/json: schema: type: array - items: *329 + items: *331 examples: default: value: @@ -84680,8 +84722,8 @@ paths: category: repos subcategory: rules parameters: - - *368 - - *369 + - *370 + - *371 requestBody: description: Request body required: true @@ -84701,16 +84743,16 @@ paths: - tag - push default: branch - enforcement: *305 + enforcement: *307 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *306 - conditions: *303 + items: *308 + conditions: *305 rules: type: array description: An array of rules within the ruleset. - items: *596 + items: *597 required: - name - enforcement @@ -84741,9 +84783,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: &605 + default: &606 value: id: 42 name: super cool ruleset @@ -84790,12 +84832,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *368 - - *369 - - *597 - - *111 + - *370 + - *371 - *598 + - *111 - *599 + - *600 - *4 - *5 responses: @@ -84803,9 +84845,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: - default: *601 + default: *602 '404': *26 '500': *107 x-github: @@ -84826,17 +84868,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *368 - - *369 - - *602 + - *370 + - *371 + - *603 responses: '200': description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *604 + default: *605 '404': *26 '500': *107 x-github: @@ -84864,8 +84906,8 @@ paths: category: repos subcategory: rules parameters: - - *368 - - *369 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84885,9 +84927,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *605 + default: *606 '404': *26 '500': *107 put: @@ -84905,8 +84947,8 @@ paths: category: repos subcategory: rules parameters: - - *368 - - *369 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84931,16 +84973,16 @@ paths: - branch - tag - push - enforcement: *305 + enforcement: *307 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *306 - conditions: *303 + items: *308 + conditions: *305 rules: description: An array of rules within the ruleset. type: array - items: *596 + items: *597 examples: default: value: @@ -84968,9 +85010,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *605 + default: *606 '404': *26 '500': *107 delete: @@ -84988,8 +85030,8 @@ paths: category: repos subcategory: rules parameters: - - *368 - - *369 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85012,8 +85054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/rules#get-repository-ruleset-history parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 - name: ruleset_id @@ -85031,7 +85073,7 @@ paths: type: array items: *141 examples: - default: *332 + default: *334 '404': *26 '500': *107 x-github: @@ -85050,8 +85092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/rules#get-repository-ruleset-version parameters: - - *368 - - *369 + - *370 + - *371 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85069,7 +85111,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -85124,21 +85166,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *368 - - *369 - - *334 - - *335 + - *370 + - *371 - *336 - *337 + - *338 + - *339 - *9 - *5 - *4 - - *606 - *607 - - *338 - - *339 + - *608 - *340 - *341 + - *342 + - *343 responses: '200': description: Response @@ -85146,7 +85188,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 type: object properties: number: *125 @@ -85165,8 +85207,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *608 - resolution: *609 + state: *609 + resolution: *610 resolved_at: type: string format: date-time @@ -85258,7 +85300,7 @@ paths: pull request. ' - oneOf: *610 + oneOf: *611 nullable: true has_more_locations: type: boolean @@ -85407,16 +85449,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *368 - - *369 - - *449 - - *341 + - *370 + - *371 + - *451 + - *343 responses: '200': description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -85457,9 +85499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *368 - - *369 - - *449 + - *370 + - *371 + - *451 requestBody: required: true content: @@ -85467,8 +85509,8 @@ paths: schema: type: object properties: - state: *608 - resolution: *609 + state: *609 + resolution: *610 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -85487,7 +85529,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -85555,9 +85597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *368 - - *369 - - *449 + - *370 + - *371 + - *451 - *5 - *4 responses: @@ -85568,7 +85610,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &759 + items: &760 type: object properties: type: @@ -85594,7 +85636,6 @@ paths: example: commit details: oneOf: - - *612 - *613 - *614 - *615 @@ -85607,6 +85648,7 @@ paths: - *622 - *623 - *624 + - *625 examples: default: value: @@ -85692,8 +85734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -85701,14 +85743,14 @@ paths: schema: type: object properties: - reason: &626 + reason: &627 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *625 + placeholder_id: *626 required: - reason - placeholder_id @@ -85725,7 +85767,7 @@ paths: schema: type: object properties: - reason: *626 + reason: *627 expire_at: type: string format: date-time @@ -85771,8 +85813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -85787,7 +85829,7 @@ paths: properties: incremental_scans: type: array - items: &627 + items: &628 description: Information on a single scan performed by secret scanning on the repository type: object @@ -85813,15 +85855,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *627 + items: *628 backfill_scans: type: array - items: *627 + items: *628 custom_pattern_backfill_scans: type: array items: allOf: - - *627 + - *628 - type: object properties: pattern_name: @@ -85891,8 +85933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#list-stargazers parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -85988,8 +86030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -85998,7 +86040,7 @@ paths: application/json: schema: type: array - items: &628 + items: &629 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -86029,8 +86071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -86103,8 +86145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -86200,8 +86242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86355,8 +86397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86366,7 +86408,7 @@ paths: application/json: schema: type: array - items: *628 + items: *629 examples: default: value: @@ -86399,8 +86441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/commits/statuses#create-a-commit-status parameters: - - *368 - - *369 + - *370 + - *371 - name: sha in: path required: true @@ -86454,7 +86496,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *630 examples: default: value: @@ -86508,8 +86550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/watching#list-watchers parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -86521,7 +86563,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -86541,14 +86583,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/watching#get-a-repository-subscription parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &630 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86616,8 +86658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/watching#set-a-repository-subscription parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -86643,7 +86685,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *631 examples: default: value: @@ -86670,8 +86712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/watching#delete-a-repository-subscription parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -86691,8 +86733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-tags parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -86771,8 +86813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '200': description: Response @@ -86780,7 +86822,7 @@ paths: application/json: schema: type: array - items: &631 + items: &632 title: Tag protection description: Tag protection type: object @@ -86832,8 +86874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -86856,7 +86898,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *632 examples: default: value: @@ -86887,8 +86929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -86925,8 +86967,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *368 - - *369 + - *370 + - *371 - name: ref in: path required: true @@ -86962,8 +87004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#list-repository-teams parameters: - - *368 - - *369 + - *370 + - *371 - *4 - *5 responses: @@ -86973,9 +87015,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *346 + default: *348 headers: Link: *6 '404': *26 @@ -86995,8 +87037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#get-all-repository-topics parameters: - - *368 - - *369 + - *370 + - *371 - *5 - *4 responses: @@ -87004,7 +87046,7 @@ paths: description: Response content: application/json: - schema: &632 + schema: &633 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -87016,7 +87058,7 @@ paths: required: - names examples: - default: &633 + default: &634 value: names: - octocat @@ -87039,8 +87081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#replace-all-repository-topics parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -87071,9 +87113,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *633 + default: *634 '404': *26 '422': *27 x-github: @@ -87096,8 +87138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#transfer-a-repository parameters: - - *368 - - *369 + - *370 + - *371 requestBody: required: true content: @@ -87371,8 +87413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -87395,8 +87437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#enable-vulnerability-alerts parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -87418,8 +87460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/repos/repos#disable-vulnerability-alerts parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -87445,8 +87487,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *368 - - *369 + - *370 + - *371 - name: ref in: path required: true @@ -87538,9 +87580,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *374 + default: *376 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87714,7 +87756,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &641 + - &642 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -87723,7 +87765,7 @@ paths: schema: type: string example: members - - &646 + - &647 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -87734,7 +87776,7 @@ paths: default: 1 format: int32 example: 1 - - &647 + - &648 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -87776,7 +87818,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &636 + items: &637 allOf: - type: object required: @@ -87851,7 +87893,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: &648 + meta: &649 type: object description: The metadata associated with the creation/updates to the user. @@ -87911,30 +87953,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &637 + '400': &638 description: Bad request content: application/json: - schema: *634 + schema: *635 application/scim+json: - schema: *634 - '401': *635 - '403': &638 + schema: *635 + '401': *636 + '403': &639 description: Permission denied - '429': &639 + '429': &640 description: Too many requests content: application/json: - schema: *634 + schema: *635 application/scim+json: - schema: *634 - '500': &640 + schema: *635 + '500': &641 description: Internal server error content: application/json: - schema: *634 + schema: *635 application/scim+json: - schema: *634 + schema: *635 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -87961,7 +88003,7 @@ paths: required: true content: application/json: - schema: &644 + schema: &645 type: object required: - schemas @@ -88021,9 +88063,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *636 + schema: *637 examples: - group: &642 + group: &643 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -88042,13 +88084,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': *637 - '401': *635 - '403': *638 - '409': &645 + '400': *638 + '401': *636 + '403': *639 + '409': &646 description: Duplicate record detected - '429': *639 - '500': *640 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88069,7 +88111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &643 + - &644 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -88077,22 +88119,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *641 + - *642 - *66 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *636 + schema: *637 examples: - default: *642 - '400': *637 - '401': *635 - '403': *638 + default: *643 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '429': *639 - '500': *640 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88114,13 +88156,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *643 + - *644 - *66 requestBody: required: true content: application/json: - schema: *644 + schema: *645 examples: group: summary: Group @@ -88146,17 +88188,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *636 + schema: *637 examples: - group: *642 - groupWithMembers: *642 - '400': *637 - '401': *635 - '403': *638 + group: *643 + groupWithMembers: *643 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '409': *645 - '429': *639 - '500': *640 + '409': *646 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88180,13 +88222,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *643 + - *644 - *66 requestBody: required: true content: application/json: - schema: &655 + schema: &656 type: object required: - Operations @@ -88246,17 +88288,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *636 + schema: *637 examples: - updateGroup: *642 - addMembers: *642 - '400': *637 - '401': *635 - '403': *638 + updateGroup: *643 + addMembers: *643 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '409': *645 - '429': *639 - '500': *640 + '409': *646 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88276,17 +88318,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *643 + - *644 - *66 responses: '204': description: Group was deleted, no content - '400': *637 - '401': *635 - '403': *638 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '429': *639 - '500': *640 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88323,8 +88365,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *646 - *647 + - *648 - *66 responses: '200': @@ -88357,7 +88399,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &650 + items: &651 allOf: - type: object required: @@ -88436,7 +88478,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &649 + roles: &650 type: array description: The roles assigned to the user. items: @@ -88492,7 +88534,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *648 + meta: *649 startIndex: type: integer description: A starting index for the returned page @@ -88529,11 +88571,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *637 - '401': *635 - '403': *638 - '429': *639 - '500': *640 + '400': *638 + '401': *636 + '403': *639 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88562,7 +88604,7 @@ paths: required: true content: application/json: - schema: &653 + schema: &654 type: object required: - schemas @@ -88644,9 +88686,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *649 + roles: *650 examples: - user: &654 + user: &655 summary: User value: schemas: @@ -88693,9 +88735,9 @@ paths: description: User has been created content: application/scim+json: - schema: *650 + schema: *651 examples: - user: &651 + user: &652 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -88721,13 +88763,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: *651 - '400': *637 - '401': *635 - '403': *638 - '409': *645 - '429': *639 - '500': *640 + enterpriseOwner: *652 + '400': *638 + '401': *636 + '403': *639 + '409': *646 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88748,7 +88790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &652 + - &653 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -88761,15 +88803,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *650 + schema: *651 examples: - default: *651 - '400': *637 - '401': *635 - '403': *638 + default: *652 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '429': *639 - '500': *640 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88794,30 +88836,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *652 + - *653 - *66 requestBody: required: true content: application/json: - schema: *653 + schema: *654 examples: - user: *654 + user: *655 responses: '200': description: User was updated content: application/scim+json: - schema: *650 + schema: *651 examples: - user: *651 - '400': *637 - '401': *635 - '403': *638 + user: *652 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '409': *645 - '429': *639 - '500': *640 + '409': *646 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88855,13 +88897,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *652 + - *653 - *66 requestBody: required: true content: application/json: - schema: *655 + schema: *656 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -88901,18 +88943,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *650 - examples: - userMultiValuedProperties: *651 - userSingleValuedProperties: *651 - disableUser: *651 - '400': *637 - '401': *635 - '403': *638 + schema: *651 + examples: + userMultiValuedProperties: *652 + userSingleValuedProperties: *652 + disableUser: *652 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '409': *645 - '429': *639 - '500': *640 + '409': *646 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88932,17 +88974,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *652 + - *653 - *66 responses: '204': description: User was deleted, no content - '400': *637 - '401': *635 - '403': *638 + '400': *638 + '401': *636 + '403': *639 '404': *26 - '429': *639 - '500': *640 + '429': *640 + '500': *641 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89069,7 +89111,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &656 + text_matches: &657 title: Search Result Text Matches type: array items: @@ -89232,7 +89274,7 @@ paths: enum: - author-date - committer-date - - &657 + - &658 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 @@ -89303,7 +89345,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *418 + properties: *420 nullable: true comment_count: type: integer @@ -89323,7 +89365,7 @@ paths: url: type: string format: uri - verification: *520 + verification: *521 required: - author - committer @@ -89342,7 +89384,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *418 + properties: *420 nullable: true parents: type: array @@ -89360,7 +89402,7 @@ paths: type: number node_id: type: string - text_matches: *656 + text_matches: *657 required: - sha - node_id @@ -89553,7 +89595,7 @@ paths: - interactions - created - updated - - *657 + - *658 - *4 - *5 - name: advanced_search @@ -89650,11 +89692,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: type: string state_reason: @@ -89686,7 +89728,7 @@ paths: type: string format: date-time nullable: true - text_matches: *656 + text_matches: *657 pull_request: type: object properties: @@ -89730,7 +89772,7 @@ paths: timeline_url: type: string format: uri - type: *661 + type: *662 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -89911,7 +89953,7 @@ paths: enum: - created - updated - - *657 + - *658 - *4 - *5 responses: @@ -89955,7 +89997,7 @@ paths: nullable: true score: type: number - text_matches: *656 + text_matches: *657 required: - id - node_id @@ -90041,7 +90083,7 @@ paths: - forks - help-wanted-issues - updated - - *657 + - *658 - *4 - *5 responses: @@ -90280,7 +90322,7 @@ paths: - admin - pull - push - text_matches: *656 + text_matches: *657 temp_clone_token: type: string allow_merge_commit: @@ -90581,7 +90623,7 @@ paths: type: string format: uri nullable: true - text_matches: *656 + text_matches: *657 related: type: array nullable: true @@ -90774,7 +90816,7 @@ paths: - followers - repositories - joined - - *657 + - *658 - *4 - *5 responses: @@ -90878,7 +90920,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *656 + text_matches: *657 blog: type: string nullable: true @@ -90963,9 +91005,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '404': *26 x-github: githubCloudOnly: false @@ -91055,16 +91097,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '201': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 '404': *26 '422': *35 '403': *43 @@ -91134,9 +91176,9 @@ paths: application/json: schema: type: array - items: *353 + items: *355 examples: - default: *662 + default: *663 headers: Link: *6 x-github: @@ -91199,9 +91241,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: triggersNotification: true githubCloudOnly: false @@ -91229,15 +91271,15 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#get-a-discussion-legacy parameters: - *7 - - *355 + - *357 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91263,7 +91305,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#update-a-discussion-legacy parameters: - *7 - - *355 + - *357 requestBody: required: false content: @@ -91286,9 +91328,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *663 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91314,7 +91356,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussions#delete-a-discussion-legacy parameters: - *7 - - *355 + - *357 responses: '204': description: Response @@ -91344,7 +91386,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - *7 - - *355 + - *357 - *9 - *4 - *5 @@ -91355,9 +91397,9 @@ paths: application/json: schema: type: array - items: *356 + items: *358 examples: - default: *664 + default: *665 headers: Link: *6 x-github: @@ -91387,7 +91429,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - *7 - - *355 + - *357 requestBody: required: true content: @@ -91409,9 +91451,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: triggersNotification: true githubCloudOnly: false @@ -91439,16 +91481,16 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - *7 - - *355 - - *358 + - *357 + - *360 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91474,8 +91516,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - *7 - - *355 - - *358 + - *357 + - *360 requestBody: required: true content: @@ -91497,9 +91539,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *665 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91525,8 +91567,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - *7 - - *355 - - *358 + - *357 + - *360 responses: '204': description: Response @@ -91556,8 +91598,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - *7 - - *355 - - *358 + - *357 + - *360 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -91583,9 +91625,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 x-github: @@ -91615,8 +91657,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - *7 - - *355 - - *358 + - *357 + - *360 requestBody: required: true content: @@ -91648,9 +91690,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91677,7 +91719,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - *7 - - *355 + - *357 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -91703,9 +91745,9 @@ paths: application/json: schema: type: array - items: *359 + items: *361 examples: - default: *361 + default: *363 headers: Link: *6 x-github: @@ -91735,7 +91777,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - *7 - - *355 + - *357 requestBody: required: true content: @@ -91767,9 +91809,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91816,7 +91858,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 '404': *26 @@ -91965,9 +92007,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - response-if-user-is-a-team-maintainer: *666 + response-if-user-is-a-team-maintainer: *667 '404': *26 x-github: githubCloudOnly: false @@ -92026,9 +92068,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - response-if-users-membership-with-team-is-now-pending: *667 + response-if-users-membership-with-team-is-now-pending: *668 '403': description: Forbidden if team synchronization is set up '422': @@ -92102,7 +92144,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 '404': *26 @@ -92133,14 +92175,14 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - *7 - - *368 - - *369 + - *370 + - *371 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *668 + schema: *669 examples: alternative-response-with-extra-repository-information: value: @@ -92292,8 +92334,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - *7 - - *368 - - *369 + - *370 + - *371 requestBody: required: false content: @@ -92344,8 +92386,8 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - *7 - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -92380,9 +92422,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - response-if-child-teams-exist: *669 + response-if-child-teams-exist: *670 headers: Link: *6 '404': *26 @@ -92415,7 +92457,7 @@ paths: application/json: schema: oneOf: - - &671 + - &672 title: Private User description: Private User type: object @@ -92618,7 +92660,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *670 + - *671 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -92769,7 +92811,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: default: value: @@ -92845,9 +92887,9 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: &680 + default: &681 value: - id: 197 name: hello_docker @@ -92934,7 +92976,7 @@ paths: application/json: schema: type: array - items: &672 + items: &673 title: Email description: Email type: object @@ -92959,7 +93001,7 @@ paths: - verified - visibility examples: - default: &682 + default: &683 value: - email: octocat@github.com verified: true @@ -93034,7 +93076,7 @@ paths: application/json: schema: type: array - items: *672 + items: *673 examples: default: value: @@ -93144,7 +93186,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 '304': *42 @@ -93177,7 +93219,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 '304': *42 @@ -93290,7 +93332,7 @@ paths: application/json: schema: type: array - items: &673 + items: &674 title: GPG Key description: A unique encryption key type: object @@ -93421,7 +93463,7 @@ paths: - subkeys - revoked examples: - default: &692 + default: &693 value: - id: 3 name: Octocat's GPG Key @@ -93506,9 +93548,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *674 examples: - default: &674 + default: &675 value: id: 3 name: Octocat's GPG Key @@ -93565,7 +93607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &675 + - &676 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -93577,9 +93619,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *674 examples: - default: *674 + default: *675 '404': *26 '304': *42 '403': *43 @@ -93602,7 +93644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *675 + - *676 responses: '204': description: Response @@ -93911,7 +93953,7 @@ paths: - closed - all default: open - - *268 + - *270 - name: sort description: What to sort results by. in: query @@ -93936,7 +93978,7 @@ paths: type: array items: *149 examples: - default: *269 + default: *271 headers: Link: *6 '404': *26 @@ -93969,7 +94011,7 @@ paths: application/json: schema: type: array - items: &676 + items: &677 title: Key description: Key type: object @@ -94070,9 +94112,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: &677 + default: &678 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94105,15 +94147,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *554 + - *555 responses: '200': description: Response content: application/json: - schema: *676 + schema: *677 examples: - default: *677 + default: *678 '404': *26 '304': *42 '403': *43 @@ -94136,7 +94178,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *554 + - *555 responses: '204': description: Response @@ -94179,7 +94221,7 @@ paths: application/json: schema: type: array - items: *270 + items: *272 examples: default: value: @@ -94287,7 +94329,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: default: value: @@ -94370,7 +94412,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: default: value: @@ -94438,7 +94480,7 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: default: value: @@ -94691,7 +94733,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: default: value: @@ -94884,7 +94926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/migrations/users#download-a-user-migration-archive parameters: - - *273 + - *275 responses: '302': description: Response @@ -94907,7 +94949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *273 + - *275 - *4 - *5 responses: @@ -94919,7 +94961,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 '404': *26 @@ -94956,7 +94998,7 @@ paths: type: array items: *74 examples: - default: *678 + default: *679 headers: Link: *6 '304': *42 @@ -94998,7 +95040,7 @@ paths: - docker - nuget - container - - *679 + - *680 - *5 - *4 responses: @@ -95008,10 +95050,10 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *680 - '400': *681 + default: *681 + '400': *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95031,16 +95073,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 + - *285 responses: '200': description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: &693 + default: &694 value: id: 40201 name: octo-name @@ -95153,8 +95195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 + - *285 responses: '204': description: Response @@ -95184,8 +95226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 + - *285 - name: token description: package token schema: @@ -95217,8 +95259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *282 - - *283 + - *284 + - *285 - *5 - *4 - name: state @@ -95238,7 +95280,7 @@ paths: application/json: schema: type: array - items: *284 + items: *286 examples: default: value: @@ -95287,15 +95329,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 - *285 + - *287 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: default: value: @@ -95331,9 +95373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 - *285 + - *287 responses: '204': description: Response @@ -95363,9 +95405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *282 - - *283 + - *284 - *285 + - *287 responses: '204': description: Response @@ -95402,9 +95444,9 @@ paths: application/json: schema: type: array - items: *672 + items: *673 examples: - default: *682 + default: *683 headers: Link: *6 '304': *42 @@ -95517,7 +95559,7 @@ paths: type: array items: *88 examples: - default: &689 + default: &690 summary: Default response value: - id: 1296269 @@ -95821,9 +95863,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *374 + default: *376 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95861,9 +95903,9 @@ paths: application/json: schema: type: array - items: *527 + items: *528 examples: - default: *683 + default: *684 headers: Link: *6 '304': *42 @@ -95886,7 +95928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *528 + - *529 responses: '204': description: Response @@ -95909,7 +95951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *528 + - *529 responses: '204': description: Response @@ -95942,7 +95984,7 @@ paths: application/json: schema: type: array - items: &684 + items: &685 title: Social account description: Social media account type: object @@ -95957,7 +95999,7 @@ paths: - provider - url examples: - default: &685 + default: &686 value: - provider: twitter url: https://twitter.com/github @@ -96019,9 +96061,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *685 + default: *686 '422': *35 '304': *42 '404': *26 @@ -96108,7 +96150,7 @@ paths: application/json: schema: type: array - items: &686 + items: &687 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -96128,7 +96170,7 @@ paths: - title - created_at examples: - default: &694 + default: &695 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -96192,9 +96234,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: &687 + default: &688 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -96224,7 +96266,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &688 + - &689 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -96236,9 +96278,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: *687 + default: *688 '404': *26 '304': *42 '403': *43 @@ -96261,7 +96303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *688 + - *689 responses: '204': description: Response @@ -96290,7 +96332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &695 + - &696 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 @@ -96315,11 +96357,11 @@ paths: type: array items: *88 examples: - default-response: *689 + default-response: *690 application/vnd.github.v3.star+json: schema: type: array - items: &696 + items: &697 title: Starred Repository description: Starred Repository type: object @@ -96475,8 +96517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response if this repository is starred by you @@ -96504,8 +96546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -96529,8 +96571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *368 - - *369 + - *370 + - *371 responses: '204': description: Response @@ -96565,7 +96607,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 '304': *42 @@ -96602,7 +96644,7 @@ paths: application/json: schema: type: array - items: *351 + items: *353 examples: default: value: @@ -96689,10 +96731,10 @@ paths: application/json: schema: oneOf: + - *672 - *671 - - *670 examples: - default-response: &690 + default-response: &691 summary: Default response value: login: octocat @@ -96727,7 +96769,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &691 + response-with-git-hub-plan-information: &692 summary: Response with GitHub plan information value: login: octocat @@ -96803,7 +96845,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: example: ; rel="next" @@ -96839,11 +96881,11 @@ paths: application/json: schema: oneOf: + - *672 - *671 - - *670 examples: - default-response: *690 - response-with-git-hub-plan-information: *691 + default-response: *691 + response-with-git-hub-plan-information: *692 '404': *26 x-github: githubCloudOnly: false @@ -96872,9 +96914,9 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *680 + default: *681 '403': *43 '401': *41 x-github: @@ -97166,7 +97208,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -97197,7 +97239,7 @@ paths: type: array items: *19 examples: - default: *279 + default: *281 headers: Link: *6 x-github: @@ -97287,9 +97329,9 @@ paths: application/json: schema: type: array - items: *673 + items: *674 examples: - default: *692 + default: *693 headers: Link: *6 x-github: @@ -97393,7 +97435,7 @@ paths: application/json: schema: *39 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97478,7 +97520,7 @@ paths: type: array items: *74 examples: - default: *678 + default: *679 headers: Link: *6 x-github: @@ -97517,7 +97559,7 @@ paths: - docker - nuget - container - - *679 + - *680 - *8 - *5 - *4 @@ -97528,12 +97570,12 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *680 + default: *681 '403': *43 '401': *41 - '400': *681 + '400': *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97553,17 +97595,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-for-a-user parameters: - - *282 - - *283 + - *284 + - *285 - *8 responses: '200': description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *693 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97584,8 +97626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-a-package-for-a-user parameters: - - *282 - - *283 + - *284 + - *285 - *8 responses: '204': @@ -97618,8 +97660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-a-package-for-a-user parameters: - - *282 - - *283 + - *284 + - *285 - *8 - name: token description: package token @@ -97652,8 +97694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *282 - - *283 + - *284 + - *285 - *8 responses: '200': @@ -97662,7 +97704,7 @@ paths: application/json: schema: type: array - items: *284 + items: *286 examples: default: value: @@ -97720,16 +97762,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *282 - - *283 + - *284 - *285 + - *287 - *8 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: default: value: @@ -97764,10 +97806,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#delete-package-version-for-a-user parameters: - - *282 - - *283 - - *8 + - *284 - *285 + - *8 + - *287 responses: '204': description: Response @@ -97799,10 +97841,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.19/rest/packages/packages#restore-package-version-for-a-user parameters: - - *282 - - *283 - - *8 + - *284 - *285 + - *8 + - *287 responses: '204': description: Response @@ -98041,7 +98083,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -98111,9 +98153,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *685 + default: *686 headers: Link: *6 x-github: @@ -98143,9 +98185,9 @@ paths: application/json: schema: type: array - items: *686 + items: *687 examples: - default: *694 + default: *695 headers: Link: *6 x-github: @@ -98170,7 +98212,7 @@ paths: url: https://docs.github.com/enterprise-server@3.19/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *8 - - *695 + - *696 - *9 - *4 - *5 @@ -98182,11 +98224,11 @@ paths: schema: anyOf: - type: array - items: *696 + items: *697 - type: array items: *88 examples: - default-response: *689 + default-response: *690 headers: Link: *6 x-github: @@ -98217,7 +98259,7 @@ paths: type: array items: *203 examples: - default: *286 + default: *288 headers: Link: *6 x-github: @@ -98396,7 +98438,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &697 + enterprise: &698 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -98454,7 +98496,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &698 + installation: &699 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -98473,7 +98515,7 @@ x-webhooks: required: - id - node_id - organization: &699 + organization: &700 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -98533,13 +98575,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &700 + repository: &701 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &733 + properties: &734 id: description: Unique identifier of the repository example: 42 @@ -99222,7 +99264,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &734 + required: &735 - archive_url - assignees_url - blobs_url @@ -99373,10 +99415,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -99462,11 +99504,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - rule: &701 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + rule: &702 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-server@3.19/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -99699,11 +99741,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - rule: *701 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + rule: *702 sender: *19 required: - action @@ -99896,11 +99938,11 @@ x-webhooks: - everyone required: - from - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - rule: *701 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + rule: *702 sender: *19 required: - action @@ -99973,7 +100015,7 @@ x-webhooks: required: true content: application/json: - schema: &721 + schema: &722 title: Exemption request cancellation event type: object properties: @@ -99981,11 +100023,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - exemption_request: &702 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + exemption_request: &703 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -100254,7 +100296,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &703 + items: &704 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -100364,7 +100406,7 @@ x-webhooks: required: true content: application/json: - schema: &722 + schema: &723 title: Exemption request completed event type: object properties: @@ -100372,11 +100414,11 @@ x-webhooks: type: string enum: - completed - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - exemption_request: *702 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + exemption_request: *703 sender: *19 required: - action @@ -100448,7 +100490,7 @@ x-webhooks: required: true content: application/json: - schema: &719 + schema: &720 title: Exemption request created event type: object properties: @@ -100456,11 +100498,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - exemption_request: *702 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + exemption_request: *703 sender: *19 required: - action @@ -100532,7 +100574,7 @@ x-webhooks: required: true content: application/json: - schema: &723 + schema: &724 title: Exemption response dismissed event type: object properties: @@ -100540,12 +100582,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - exemption_request: *702 - exemption_response: *703 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + exemption_request: *703 + exemption_response: *704 sender: *19 required: - action @@ -100619,7 +100661,7 @@ x-webhooks: required: true content: application/json: - schema: &720 + schema: &721 title: Exemption response submitted event type: object properties: @@ -100627,12 +100669,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - exemption_request: *702 - exemption_response: *703 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + exemption_request: *703 + exemption_response: *704 sender: *19 required: - action @@ -100717,12 +100759,12 @@ x-webhooks: type: string cache_location: type: string - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 ref: type: string - repository: *700 + repository: *701 sender: *19 required: - cache_location @@ -100816,7 +100858,7 @@ x-webhooks: type: string enum: - completed - check_run: &705 + check_run: &706 title: CheckRun description: A check performed on the code of a given code change type: object @@ -100869,7 +100911,7 @@ x-webhooks: type: string pull_requests: type: array - items: *431 + items: *433 repository: *203 status: example: completed @@ -100907,7 +100949,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *704 + deployment: *705 details_url: example: https://example.com type: string @@ -100957,7 +100999,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *431 + items: *433 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -100992,10 +101034,10 @@ x-webhooks: - output - app - pull_requests - installation: *698 - enterprise: *697 - organization: *699 - repository: *700 + installation: *699 + enterprise: *698 + organization: *700 + repository: *701 sender: *19 required: - check_run @@ -101398,11 +101440,11 @@ x-webhooks: type: string enum: - created - check_run: *705 - installation: *698 - enterprise: *697 - organization: *699 - repository: *700 + check_run: *706 + installation: *699 + enterprise: *698 + organization: *700 + repository: *701 sender: *19 required: - check_run @@ -101808,11 +101850,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *705 - installation: *698 - enterprise: *697 - organization: *699 - repository: *700 + check_run: *706 + installation: *699 + enterprise: *698 + organization: *700 + repository: *701 requested_action: description: The action requested by the user. type: object @@ -102227,11 +102269,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *705 - installation: *698 - enterprise: *697 - organization: *699 - repository: *700 + check_run: *706 + installation: *699 + enterprise: *698 + organization: *700 + repository: *701 sender: *19 required: - check_run @@ -103218,10 +103260,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -103925,10 +103967,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -104626,10 +104668,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -104805,7 +104847,7 @@ x-webhooks: required: - login - id - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104950,20 +104992,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &706 + commit_oid: &707 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: *697 - installation: *698 - organization: *699 - ref: &707 + enterprise: *698 + installation: *699 + organization: *700 + ref: &708 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: *700 + repository: *701 sender: *19 required: - action @@ -105138,7 +105180,7 @@ x-webhooks: required: - login - id - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105368,12 +105410,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *697 - installation: *698 - organization: *699 - ref: *707 - repository: *700 + commit_oid: *707 + enterprise: *698 + installation: *699 + organization: *700 + ref: *708 + repository: *701 sender: *19 required: - action @@ -105478,7 +105520,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105649,12 +105691,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *697 - installation: *698 - organization: *699 - ref: *707 - repository: *700 + commit_oid: *707 + enterprise: *698 + installation: *699 + organization: *700 + ref: *708 + repository: *701 sender: *19 required: - action @@ -105830,7 +105872,7 @@ x-webhooks: required: - login - id - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105996,12 +106038,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *697 - installation: *698 - organization: *699 - ref: *707 - repository: *700 + commit_oid: *707 + enterprise: *698 + installation: *699 + organization: *700 + ref: *708 + repository: *701 sender: *19 required: - action @@ -106110,7 +106152,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106285,16 +106327,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *700 + repository: *701 sender: *19 required: - action @@ -106401,7 +106443,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *444 + dismissed_comment: *446 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106541,12 +106583,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *706 - enterprise: *697 - installation: *698 - organization: *699 - ref: *707 - repository: *700 + commit_oid: *707 + enterprise: *698 + installation: *699 + organization: *700 + ref: *708 + repository: *701 sender: *19 required: - action @@ -106813,10 +106855,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -106906,18 +106948,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *699 - pusher_type: &708 + organization: *700 + pusher_type: &709 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &709 + ref: &710 description: The [`git ref`](https://docs.github.com/enterprise-server@3.19/rest/git/refs#get-a-reference) resource. type: string @@ -106927,7 +106969,7 @@ x-webhooks: enum: - tag - branch - repository: *700 + repository: *701 sender: *19 required: - ref @@ -107010,9 +107052,9 @@ x-webhooks: enum: - created definition: *136 - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 sender: *19 required: - action @@ -107097,9 +107139,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 sender: *19 required: - action @@ -107177,9 +107219,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *136 - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 sender: *19 required: - action @@ -107257,9 +107299,9 @@ x-webhooks: enum: - updated definition: *136 - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 sender: *19 required: - action @@ -107336,19 +107378,19 @@ x-webhooks: type: string enum: - updated - enterprise: *697 - installation: *698 - repository: *700 - organization: *699 + enterprise: *698 + installation: *699 + repository: *701 + organization: *700 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *299 + items: *301 old_property_values: type: array description: The old custom property values for the repository. - items: *299 + items: *301 required: - action - repository @@ -107434,18 +107476,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *697 - installation: *698 - organization: *699 - pusher_type: *708 - ref: *709 + enterprise: *698 + installation: *699 + organization: *700 + pusher_type: *709 + ref: *710 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *700 + repository: *701 sender: *19 required: - ref @@ -107539,11 +107581,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -107637,11 +107679,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -107735,11 +107777,11 @@ x-webhooks: type: string enum: - created - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -107831,11 +107873,11 @@ x-webhooks: type: string enum: - dismissed - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -107927,11 +107969,11 @@ x-webhooks: type: string enum: - fixed - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -108024,11 +108066,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -108120,11 +108162,11 @@ x-webhooks: type: string enum: - reopened - alert: *478 - installation: *698 - organization: *699 - enterprise: *697 - repository: *700 + alert: *480 + installation: *699 + organization: *700 + enterprise: *698 + repository: *701 sender: *19 required: - action @@ -108211,9 +108253,9 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - key: &710 + enterprise: *698 + installation: *699 + key: &711 description: The [`deploy key`](https://docs.github.com/enterprise-server@3.19/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -108249,8 +108291,8 @@ x-webhooks: - verified - created_at - read_only - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -108337,11 +108379,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - key: *710 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + key: *711 + organization: *700 + repository: *701 sender: *19 required: - action @@ -108912,12 +108954,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - workflow: &714 + workflow: &715 title: Workflow type: object nullable: true @@ -109653,13 +109695,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *484 + deployment: *486 pull_requests: type: array items: *157 - repository: *700 - organization: *699 - installation: *698 + repository: *701 + organization: *700 + installation: *699 sender: *19 responses: '200': @@ -109740,7 +109782,7 @@ x-webhooks: type: string enum: - approved - approver: &711 + approver: &712 type: object properties: avatar_url: @@ -109783,11 +109825,11 @@ x-webhooks: type: string comment: type: string - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - reviewers: &712 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + reviewers: &713 type: array items: type: object @@ -109866,7 +109908,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &713 + workflow_job_run: &714 type: object properties: conclusion: @@ -110607,18 +110649,18 @@ x-webhooks: type: string enum: - rejected - approver: *711 + approver: *712 comment: type: string - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - reviewers: *712 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + reviewers: *713 sender: *19 since: type: string - workflow_job_run: *713 + workflow_job_run: *714 workflow_job_runs: type: array items: @@ -111332,13 +111374,13 @@ x-webhooks: type: string enum: - requested - enterprise: *697 + enterprise: *698 environment: type: string - installation: *698 - organization: *699 - repository: *700 - requestor: &724 + installation: *699 + organization: *700 + repository: *701 + requestor: &725 title: User type: object nullable: true @@ -113247,12 +113289,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - workflow: *714 + workflow: *715 workflow_run: title: Deployment Workflow Run type: object @@ -113942,7 +113984,7 @@ x-webhooks: type: string enum: - answered - answer: &717 + answer: &718 type: object properties: author_association: @@ -114099,7 +114141,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &715 + discussion: &716 title: Discussion description: A Discussion in a repository. type: object @@ -114406,10 +114448,10 @@ x-webhooks: - updated_at - active_lock_reason - body - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -114546,11 +114588,11 @@ x-webhooks: - from required: - category - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -114643,11 +114685,11 @@ x-webhooks: type: string enum: - closed - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -114739,7 +114781,7 @@ x-webhooks: type: string enum: - created - comment: &716 + comment: &717 type: object properties: author_association: @@ -114896,11 +114938,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -114993,12 +115035,12 @@ x-webhooks: type: string enum: - deleted - comment: *716 - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + comment: *717 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115103,12 +115145,12 @@ x-webhooks: - from required: - body - comment: *716 - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + comment: *717 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115202,11 +115244,11 @@ x-webhooks: type: string enum: - created - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115298,11 +115340,11 @@ x-webhooks: type: string enum: - deleted - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115412,11 +115454,11 @@ x-webhooks: type: string required: - from - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115508,10 +115550,10 @@ x-webhooks: type: string enum: - labeled - discussion: *715 - enterprise: *697 - installation: *698 - label: &718 + discussion: *716 + enterprise: *698 + installation: *699 + label: &719 title: Label type: object properties: @@ -115543,8 +115585,8 @@ x-webhooks: - color - default - description - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115637,11 +115679,11 @@ x-webhooks: type: string enum: - locked - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115733,11 +115775,11 @@ x-webhooks: type: string enum: - pinned - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115829,11 +115871,11 @@ x-webhooks: type: string enum: - reopened - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -115928,16 +115970,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *715 - new_repository: *700 + new_discussion: *716 + new_repository: *701 required: - new_discussion - new_repository - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -116030,10 +116072,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *715 - old_answer: *717 - organization: *699 - repository: *700 + discussion: *716 + old_answer: *718 + organization: *700 + repository: *701 sender: *19 required: - action @@ -116125,12 +116167,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *715 - enterprise: *697 - installation: *698 - label: *718 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -116223,11 +116265,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -116319,11 +116361,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *715 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + discussion: *716 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -116392,7 +116434,7 @@ x-webhooks: required: true content: application/json: - schema: *719 + schema: *720 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116455,7 +116497,7 @@ x-webhooks: required: true content: application/json: - schema: *720 + schema: *721 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116518,7 +116560,7 @@ x-webhooks: required: true content: application/json: - schema: *721 + schema: *722 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116581,7 +116623,7 @@ x-webhooks: required: true content: application/json: - schema: *719 + schema: *720 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116644,7 +116686,7 @@ x-webhooks: required: true content: application/json: - schema: *720 + schema: *721 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116710,7 +116752,7 @@ x-webhooks: required: true content: application/json: - schema: *721 + schema: *722 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116776,7 +116818,7 @@ x-webhooks: required: true content: application/json: - schema: *722 + schema: *723 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116842,7 +116884,7 @@ x-webhooks: required: true content: application/json: - schema: *719 + schema: *720 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116908,7 +116950,7 @@ x-webhooks: required: true content: application/json: - schema: *723 + schema: *724 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116974,7 +117016,7 @@ x-webhooks: required: true content: application/json: - schema: *720 + schema: *721 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117197,7 +117239,7 @@ x-webhooks: required: true content: application/json: - schema: *721 + schema: *722 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117262,7 +117304,7 @@ x-webhooks: required: true content: application/json: - schema: *722 + schema: *723 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117327,7 +117369,7 @@ x-webhooks: required: true content: application/json: - schema: *719 + schema: *720 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117392,7 +117434,7 @@ x-webhooks: required: true content: application/json: - schema: *723 + schema: *724 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117458,7 +117500,7 @@ x-webhooks: required: true content: application/json: - schema: *720 + schema: *721 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117535,7 +117577,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *697 + enterprise: *698 forkee: description: The created [`repository`](https://docs.github.com/enterprise-server@3.19/rest/repos/repos#get-a-repository) resource. @@ -118195,9 +118237,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - forkee @@ -118363,9 +118405,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pages: description: The pages that were updated. type: array @@ -118402,7 +118444,7 @@ x-webhooks: - action - sha - html_url - repository: *700 + repository: *701 sender: *19 required: - pages @@ -118488,10 +118530,10 @@ x-webhooks: type: string enum: - created - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories: &725 + organization: *700 + repositories: &726 description: An array of repository objects that the installation can access. type: array @@ -118517,8 +118559,8 @@ x-webhooks: - name - full_name - private - repository: *700 - requester: *724 + repository: *701 + requester: *725 sender: *19 required: - action @@ -118603,11 +118645,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories: *725 - repository: *700 + organization: *700 + repositories: *726 + repository: *701 requester: nullable: true sender: *19 @@ -118693,11 +118735,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories: *725 - repository: *700 + organization: *700 + repositories: *726 + repository: *701 requester: nullable: true sender: *19 @@ -118783,10 +118825,10 @@ x-webhooks: type: string enum: - added - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories_added: &726 + organization: *700 + repositories_added: &727 description: An array of repository objects, which were added to the installation. type: array @@ -118832,15 +118874,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *700 - repository_selection: &727 + repository: *701 + repository_selection: &728 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *724 + requester: *725 sender: *19 required: - action @@ -118929,10 +118971,10 @@ x-webhooks: type: string enum: - removed - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories_added: *726 + organization: *700 + repositories_added: *727 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -118959,9 +119001,9 @@ x-webhooks: - name - full_name - private - repository: *700 - repository_selection: *727 - requester: *724 + repository: *701 + repository_selection: *728 + requester: *725 sender: *19 required: - action @@ -119050,11 +119092,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories: *725 - repository: *700 + organization: *700 + repositories: *726 + repository: *701 requester: nullable: true sender: *19 @@ -119243,10 +119285,10 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 target_type: type: string @@ -119335,11 +119377,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *697 + enterprise: *698 installation: *39 - organization: *699 - repositories: *725 - repository: *700 + organization: *700 + repositories: *726 + repository: *701 requester: nullable: true sender: *19 @@ -119601,8 +119643,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120396,8 +120438,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 state: description: State of the issue; either 'open' or 'closed' type: string @@ -120413,7 +120455,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -120746,8 +120788,8 @@ x-webhooks: - state - locked - assignee - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -120837,7 +120879,7 @@ x-webhooks: type: string enum: - deleted - comment: &728 + comment: &729 title: issue comment description: The [comment](https://docs.github.com/enterprise-server@3.19/rest/issues/comments#get-an-issue-comment) itself. @@ -121002,8 +121044,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121793,8 +121835,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 state: description: State of the issue; either 'open' or 'closed' type: string @@ -121810,7 +121852,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -122145,8 +122187,8 @@ x-webhooks: - state - locked - assignee - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -122236,7 +122278,7 @@ x-webhooks: type: string enum: - edited - changes: &751 + changes: &752 description: The changes to the comment. type: object properties: @@ -122248,9 +122290,9 @@ x-webhooks: type: string required: - from - comment: *728 - enterprise: *697 - installation: *698 + comment: *729 + enterprise: *698 + installation: *699 issue: description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123043,8 +123085,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123060,7 +123102,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -123393,8 +123435,8 @@ x-webhooks: - state - locked - assignee - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -123484,9 +123526,9 @@ x-webhooks: type: number blocking_issue: *149 blocking_issue_repo: *88 - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -123575,9 +123617,9 @@ x-webhooks: type: number blocking_issue: *149 blocking_issue_repo: *88 - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -123665,9 +123707,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *149 - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -123756,9 +123798,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *149 - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -123848,10 +123890,10 @@ x-webhooks: type: string enum: - assigned - assignee: *724 - enterprise: *697 - installation: *698 - issue: &731 + assignee: *725 + enterprise: *698 + installation: *699 + issue: &732 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) itself. @@ -124640,11 +124682,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124660,7 +124702,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -124761,8 +124803,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -124852,8 +124894,8 @@ x-webhooks: type: string enum: - closed - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) itself. @@ -125647,11 +125689,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125667,7 +125709,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -125903,8 +125945,8 @@ x-webhooks: required: - state - closed_at - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -125993,8 +126035,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -126779,11 +126821,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126799,7 +126841,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -126899,8 +126941,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -126989,8 +127031,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -127797,11 +127839,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127817,7 +127859,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -127896,7 +127938,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &729 + milestone: &730 title: Milestone description: A collection of related issues and pull requests. type: object @@ -128034,8 +128076,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -128144,8 +128186,8 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -128934,11 +128976,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128951,7 +128993,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *661 + type: *662 title: description: Title of the issue type: string @@ -129055,9 +129097,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *718 - organization: *699 - repository: *700 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -129147,8 +129189,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -129936,11 +129978,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129953,7 +129995,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *661 + type: *662 title: description: Title of the issue type: string @@ -130057,9 +130099,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *718 - organization: *699 - repository: *700 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -130149,8 +130191,8 @@ x-webhooks: type: string enum: - locked - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -130962,11 +131004,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130979,7 +131021,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *661 + type: *662 title: description: Title of the issue type: string @@ -131060,8 +131102,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -131150,8 +131192,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -131957,11 +131999,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131977,7 +132019,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -132055,9 +132097,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *729 - organization: *699 - repository: *700 + milestone: *730 + organization: *700 + repository: *701 sender: *19 required: - action @@ -132935,11 +132977,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133032,7 +133074,7 @@ x-webhooks: required: - login - id - type: *661 + type: *662 required: - id - number @@ -133501,8 +133543,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -134291,11 +134333,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134311,7 +134353,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -134411,8 +134453,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -134502,9 +134544,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *697 - installation: *698 - issue: &730 + enterprise: *698 + installation: *699 + issue: &731 title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) itself. @@ -135287,11 +135329,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135307,7 +135349,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -135407,8 +135449,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -135497,8 +135539,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -136308,11 +136350,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136406,9 +136448,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *661 - organization: *699 - repository: *700 + type: *662 + organization: *700 + repository: *701 sender: *19 required: - action @@ -137284,11 +137326,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137304,7 +137346,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -137872,11 +137914,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *697 - installation: *698 - issue: *730 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + issue: *731 + organization: *700 + repository: *701 sender: *19 required: - action @@ -137967,7 +138009,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &754 + assignee: &755 title: User type: object nullable: true @@ -138037,11 +138079,11 @@ x-webhooks: required: - login - id - enterprise: *697 - installation: *698 - issue: *731 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + issue: *732 + organization: *700 + repository: *701 sender: *19 required: - action @@ -138130,12 +138172,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *697 - installation: *698 - issue: *731 - label: *718 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + issue: *732 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -138225,8 +138267,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-server@3.19/rest/issues/issues#get-an-issue) @@ -139036,11 +139078,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *658 - issue_dependencies_summary: *659 + sub_issues_summary: *659 + issue_dependencies_summary: *660 issue_field_values: type: array - items: *660 + items: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139056,7 +139098,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *661 + type: *662 updated_at: type: string format: date-time @@ -139134,8 +139176,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139225,11 +139267,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *697 - installation: *698 - issue: *730 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + issue: *731 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139318,11 +139360,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - label: *718 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139410,11 +139452,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - label: *718 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139534,11 +139576,11 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - label: *718 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + label: *719 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139652,11 +139694,11 @@ x-webhooks: type: string required: - to - enterprise: *697 - installation: *698 - member: *724 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + member: *725 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139766,11 +139808,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *697 - installation: *698 - member: *724 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + member: *725 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139859,11 +139901,11 @@ x-webhooks: type: string enum: - removed - enterprise: *697 - installation: *698 - member: *724 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + member: *725 + organization: *700 + repository: *701 sender: *19 required: - action @@ -139951,11 +139993,11 @@ x-webhooks: type: string enum: - added - enterprise: *697 - installation: *698 - member: *724 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + member: *725 + organization: *700 + repository: *701 scope: description: The scope of the membership. Currently, can only be `team`. @@ -140031,7 +140073,7 @@ x-webhooks: required: - login - id - team: &732 + team: &733 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -140264,11 +140306,11 @@ x-webhooks: type: string enum: - removed - enterprise: *697 - installation: *698 - member: *724 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + member: *725 + organization: *700 + repository: *701 scope: description: The scope of the membership. Currently, can only be `team`. @@ -140345,7 +140387,7 @@ x-webhooks: required: - login - id - team: *732 + team: *733 required: - action - scope @@ -140433,7 +140475,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 + enterprise: *698 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -140542,16 +140584,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *698 - organization: *699 + installation: *699 + organization: *700 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *733 - required: *734 + properties: *734 + required: *735 nullable: true sender: *19 required: @@ -140642,11 +140684,11 @@ x-webhooks: type: string enum: - closed - enterprise: *697 - installation: *698 - milestone: *729 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + milestone: *730 + organization: *700 + repository: *701 sender: *19 required: - action @@ -140735,9 +140777,9 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - milestone: &735 + enterprise: *698 + installation: *699 + milestone: &736 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140874,8 +140916,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -140964,11 +141006,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - milestone: *729 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + milestone: *730 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141088,11 +141130,11 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - milestone: *729 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + milestone: *730 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141182,11 +141224,11 @@ x-webhooks: type: string enum: - opened - enterprise: *697 - installation: *698 - milestone: *735 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + milestone: *736 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141275,9 +141317,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - membership: &736 + enterprise: *698 + installation: *699 + membership: &737 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -141384,8 +141426,8 @@ x-webhooks: - role - organization_url - user - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141473,11 +141515,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *697 - installation: *698 - membership: *736 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + membership: *737 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141566,8 +141608,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -141683,10 +141725,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 - user: *724 + user: *725 required: - action - invitation @@ -141774,11 +141816,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *697 - installation: *698 - membership: *736 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + membership: *737 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141875,11 +141917,11 @@ x-webhooks: properties: from: type: string - enterprise: *697 - installation: *698 - membership: *736 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + membership: *737 + organization: *700 + repository: *701 sender: *19 required: - action @@ -141965,9 +142007,9 @@ x-webhooks: type: string enum: - published - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 package: description: Information about the package. type: object @@ -142466,7 +142508,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &737 + items: &738 title: Ruby Gems metadata type: object properties: @@ -142561,7 +142603,7 @@ x-webhooks: - owner - package_version - registry - repository: *700 + repository: *701 sender: *19 required: - action @@ -142647,9 +142689,9 @@ x-webhooks: type: string enum: - updated - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 package: description: Information about the package. type: object @@ -143002,7 +143044,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *737 + items: *738 source_url: type: string format: uri @@ -143072,7 +143114,7 @@ x-webhooks: - owner - package_version - registry - repository: *700 + repository: *701 sender: *19 required: - action @@ -143259,12 +143301,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *697 + enterprise: *698 id: type: integer - installation: *698 - organization: *699 - repository: *700 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - id @@ -143341,7 +143383,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &738 + personal_access_token_request: &739 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -143487,10 +143529,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *697 - organization: *699 + enterprise: *698 + organization: *700 sender: *19 - installation: *698 + installation: *699 required: - action - personal_access_token_request @@ -143567,11 +143609,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *738 - enterprise: *697 - organization: *699 + personal_access_token_request: *739 + enterprise: *698 + organization: *700 sender: *19 - installation: *698 + installation: *699 required: - action - personal_access_token_request @@ -143647,11 +143689,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *738 - enterprise: *697 - organization: *699 + personal_access_token_request: *739 + enterprise: *698 + organization: *700 sender: *19 - installation: *698 + installation: *699 required: - action - personal_access_token_request @@ -143726,11 +143768,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *738 - organization: *699 - enterprise: *697 + personal_access_token_request: *739 + organization: *700 + enterprise: *698 sender: *19 - installation: *698 + installation: *699 required: - action - personal_access_token_request @@ -143845,7 +143887,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *739 + last_response: *740 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -143877,8 +143919,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 zen: description: Random string of GitHub zen. @@ -144133,10 +144175,10 @@ x-webhooks: - from required: - note - enterprise: *697 - installation: *698 - organization: *699 - project_card: &740 + enterprise: *698 + installation: *699 + organization: *700 + project_card: &741 title: Project Card type: object properties: @@ -144255,7 +144297,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *700 + repository: *701 sender: *19 required: - action @@ -144346,11 +144388,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - project_card: *740 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project_card: *741 + repository: *701 sender: *19 required: - action @@ -144440,9 +144482,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 project_card: title: Project Card type: object @@ -144570,8 +144612,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *733 - required: *734 + properties: *734 + required: *735 nullable: true sender: *19 required: @@ -144675,11 +144717,11 @@ x-webhooks: - from required: - note - enterprise: *697 - installation: *698 - organization: *699 - project_card: *740 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project_card: *741 + repository: *701 sender: *19 required: - action @@ -144783,9 +144825,9 @@ x-webhooks: - from required: - column_id - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 project_card: allOf: - title: Project Card @@ -144975,7 +145017,7 @@ x-webhooks: type: string required: - after_id - repository: *700 + repository: *701 sender: *19 required: - action @@ -145065,10 +145107,10 @@ x-webhooks: type: string enum: - closed - enterprise: *697 - installation: *698 - organization: *699 - project: &742 + enterprise: *698 + installation: *699 + organization: *700 + project: &743 title: Project type: object properties: @@ -145192,7 +145234,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *700 + repository: *701 sender: *19 required: - action @@ -145282,10 +145324,10 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - project_column: &741 + enterprise: *698 + installation: *699 + organization: *700 + project_column: &742 title: Project Column type: object properties: @@ -145324,7 +145366,7 @@ x-webhooks: - name - created_at - updated_at - repository: *700 + repository: *701 sender: *19 required: - action @@ -145413,18 +145455,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - project_column: *741 + enterprise: *698 + installation: *699 + organization: *700 + project_column: *742 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *733 - required: *734 + properties: *734 + required: *735 nullable: true sender: *19 required: @@ -145524,11 +145566,11 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - organization: *699 - project_column: *741 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project_column: *742 + repository: *701 sender: *19 required: - action @@ -145618,11 +145660,11 @@ x-webhooks: type: string enum: - moved - enterprise: *697 - installation: *698 - organization: *699 - project_column: *741 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project_column: *742 + repository: *701 sender: *19 required: - action @@ -145712,11 +145754,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - project: *742 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project: *743 + repository: *701 sender: *19 required: - action @@ -145806,18 +145848,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - project: *742 + enterprise: *698 + installation: *699 + organization: *700 + project: *743 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *733 - required: *734 + properties: *734 + required: *735 nullable: true sender: *19 required: @@ -145929,11 +145971,11 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - organization: *699 - project: *742 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project: *743 + repository: *701 sender: *19 required: - action @@ -146022,11 +146064,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *697 - installation: *698 - organization: *699 - project: *742 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + project: *743 + repository: *701 sender: *19 required: - action @@ -146117,9 +146159,9 @@ x-webhooks: type: string enum: - closed - installation: *698 - organization: *699 - projects_v2: &743 + installation: *699 + organization: *700 + projects_v2: &744 title: Projects v2 Project description: A projects v2 project type: object @@ -146351,9 +146393,9 @@ x-webhooks: type: string enum: - created - installation: *698 - organization: *699 - projects_v2: *743 + installation: *699 + organization: *700 + projects_v2: *744 sender: *19 required: - action @@ -146444,9 +146486,9 @@ x-webhooks: type: string enum: - deleted - installation: *698 - organization: *699 - projects_v2: *743 + installation: *699 + organization: *700 + projects_v2: *744 sender: *19 required: - action @@ -146573,9 +146615,9 @@ x-webhooks: type: string to: type: string - installation: *698 - organization: *699 - projects_v2: *743 + installation: *699 + organization: *700 + projects_v2: *744 sender: *19 required: - action @@ -146668,7 +146710,7 @@ x-webhooks: type: string enum: - archived - changes: &747 + changes: &748 type: object properties: archived_at: @@ -146682,9 +146724,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *698 - organization: *699 - projects_v2_item: &744 + installation: *699 + organization: *700 + projects_v2_item: &745 title: Projects v2 Item description: An item belonging to a project type: object @@ -146836,9 +146878,9 @@ x-webhooks: nullable: true to: type: string - installation: *698 - organization: *699 - projects_v2_item: *744 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -146930,9 +146972,9 @@ x-webhooks: type: string enum: - created - installation: *698 - organization: *699 - projects_v2_item: *744 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -147023,9 +147065,9 @@ x-webhooks: type: string enum: - deleted - installation: *698 - organization: *699 - projects_v2_item: *744 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -147141,7 +147183,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &745 + - &746 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -147163,7 +147205,7 @@ x-webhooks: required: - id - name - - &746 + - &747 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -147197,8 +147239,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *745 - *746 + - *747 required: - field_value - type: object @@ -147214,9 +147256,9 @@ x-webhooks: nullable: true required: - body - installation: *698 - organization: *699 - projects_v2_item: *744 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -147321,9 +147363,9 @@ x-webhooks: to: type: string nullable: true - installation: *698 - organization: *699 - projects_v2_item: *744 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -147416,10 +147458,10 @@ x-webhooks: type: string enum: - restored - changes: *747 - installation: *698 - organization: *699 - projects_v2_item: *744 + changes: *748 + installation: *699 + organization: *700 + projects_v2_item: *745 sender: *19 required: - action @@ -147511,9 +147553,9 @@ x-webhooks: type: string enum: - reopened - installation: *698 - organization: *699 - projects_v2: *743 + installation: *699 + organization: *700 + projects_v2: *744 sender: *19 required: - action @@ -147594,10 +147636,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - repository @@ -147684,13 +147726,13 @@ x-webhooks: type: string enum: - assigned - assignee: *724 - enterprise: *697 - installation: *698 - number: &748 + assignee: *725 + enterprise: *698 + installation: *699 + number: &749 description: The pull request number. type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -149973,7 +150015,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -150065,11 +150107,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -152347,7 +152389,7 @@ x-webhooks: - draft reason: type: string - repository: *700 + repository: *701 sender: *19 required: - action @@ -152439,11 +152481,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -154721,7 +154763,7 @@ x-webhooks: - draft reason: type: string - repository: *700 + repository: *701 sender: *19 required: - action @@ -154813,11 +154855,11 @@ x-webhooks: type: string enum: - closed - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: &749 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: &750 allOf: - *157 - type: object @@ -154881,7 +154923,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *700 + repository: *701 sender: *19 required: - action @@ -154972,12 +155014,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: *749 - repository: *700 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: *750 + repository: *701 sender: *19 required: - action @@ -155067,11 +155109,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *697 - milestone: *557 - number: *748 - organization: *699 - pull_request: &750 + enterprise: *698 + milestone: *558 + number: *749 + organization: *700 + pull_request: &751 title: Pull Request type: object properties: @@ -157334,7 +157376,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -157466,12 +157508,12 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: *749 - repository: *700 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: *750 + repository: *701 sender: *19 required: - action @@ -157561,11 +157603,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *697 - installation: *698 - label: *718 - number: *748 - organization: *699 + enterprise: *698 + installation: *699 + label: *719 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -159847,7 +159889,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -159938,10 +159980,10 @@ x-webhooks: type: string enum: - locked - enterprise: *697 - installation: *698 - number: *748 - organization: *699 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -162221,7 +162263,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -162311,12 +162353,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *697 - milestone: *557 - number: *748 - organization: *699 - pull_request: *750 - repository: *700 + enterprise: *698 + milestone: *558 + number: *749 + organization: *700 + pull_request: *751 + repository: *701 sender: *19 required: - action @@ -162405,12 +162447,12 @@ x-webhooks: type: string enum: - opened - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: *749 - repository: *700 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: *750 + repository: *701 sender: *19 required: - action @@ -162501,12 +162543,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: *749 - repository: *700 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: *750 + repository: *701 sender: *19 required: - action @@ -162596,12 +162638,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *697 - installation: *698 - number: *748 - organization: *699 - pull_request: *749 - repository: *700 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 + pull_request: *750 + repository: *701 sender: *19 required: - action @@ -162977,9 +163019,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: type: object properties: @@ -165149,7 +165191,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *700 + repository: *701 sender: *19 required: - action @@ -165239,7 +165281,7 @@ x-webhooks: type: string enum: - deleted - comment: &752 + comment: &753 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.19/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -165524,9 +165566,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: type: object properties: @@ -167684,7 +167726,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *700 + repository: *701 sender: *19 required: - action @@ -167774,11 +167816,11 @@ x-webhooks: type: string enum: - edited - changes: *751 - comment: *752 - enterprise: *697 - installation: *698 - organization: *699 + changes: *752 + comment: *753 + enterprise: *698 + installation: *699 + organization: *700 pull_request: type: object properties: @@ -169939,7 +169981,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *700 + repository: *701 sender: *19 required: - action @@ -170030,9 +170072,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: title: Simple Pull Request type: object @@ -172205,7 +172247,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *700 + repository: *701 review: description: The review that was affected. type: object @@ -172462,9 +172504,9 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: title: Simple Pull Request type: object @@ -174518,8 +174560,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *700 - review: &753 + repository: *701 + review: &754 description: The review that was affected. type: object properties: @@ -174762,12 +174804,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: description: The pull request number. type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -177050,7 +177092,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 requested_reviewer: title: User type: object @@ -177134,12 +177176,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: description: The pull request number. type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -179429,7 +179471,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 requested_team: title: Team description: Groups of organization members that gives permissions @@ -179631,12 +179673,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: description: The pull request number. type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -181921,7 +181963,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 requested_reviewer: title: User type: object @@ -182006,12 +182048,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *697 - installation: *698 + enterprise: *698 + installation: *699 number: description: The pull request number. type: integer - organization: *699 + organization: *700 pull_request: title: Pull Request type: object @@ -184287,7 +184329,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184478,9 +184520,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: title: Simple Pull Request type: object @@ -186655,8 +186697,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *700 - review: *753 + repository: *701 + review: *754 sender: *19 required: - action @@ -186746,9 +186788,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: title: Simple Pull Request type: object @@ -188818,7 +188860,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *700 + repository: *701 sender: *19 thread: type: object @@ -189215,9 +189257,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 pull_request: title: Simple Pull Request type: object @@ -191273,7 +191315,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *700 + repository: *701 sender: *19 thread: type: object @@ -191673,10 +191715,10 @@ x-webhooks: type: string before: type: string - enterprise: *697 - installation: *698 - number: *748 - organization: *699 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -193947,7 +193989,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -194039,11 +194081,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *754 - enterprise: *697 - installation: *698 - number: *748 - organization: *699 + assignee: *755 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -196326,7 +196368,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -196415,11 +196457,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *697 - installation: *698 - label: *718 - number: *748 - organization: *699 + enterprise: *698 + installation: *699 + label: *719 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -198692,7 +198734,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -198783,10 +198825,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *697 - installation: *698 - number: *748 - organization: *699 + enterprise: *698 + installation: *699 + number: *749 + organization: *700 pull_request: title: Pull Request type: object @@ -201051,7 +201093,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *700 + repository: *701 sender: *19 required: - action @@ -201261,7 +201303,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *697 + enterprise: *698 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -201353,8 +201395,8 @@ x-webhooks: - url - author - committer - installation: *698 - organization: *699 + installation: *699 + organization: *700 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -201939,9 +201981,9 @@ x-webhooks: type: string enum: - published - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 registry_package: type: object properties: @@ -202387,7 +202429,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *737 + items: *738 summary: type: string tag_name: @@ -202441,7 +202483,7 @@ x-webhooks: - owner - package_version - registry - repository: *700 + repository: *701 sender: *19 required: - action @@ -202529,9 +202571,9 @@ x-webhooks: type: string enum: - updated - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 registry_package: type: object properties: @@ -202839,7 +202881,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *737 + items: *738 summary: type: string tag_name: @@ -202888,7 +202930,7 @@ x-webhooks: - owner - package_version - registry - repository: *700 + repository: *701 sender: *19 required: - action @@ -202975,10 +203017,10 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - release: &755 + enterprise: *698 + installation: *699 + organization: *700 + release: &756 title: Release description: The [release](https://docs.github.com/enterprise-server@3.19/rest/releases/releases/#get-a-release) object. @@ -203296,7 +203338,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *700 + repository: *701 sender: *19 required: - action @@ -203383,11 +203425,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - release: *755 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + release: *756 + repository: *701 sender: *19 required: - action @@ -203514,11 +203556,11 @@ x-webhooks: type: boolean required: - to - enterprise: *697 - installation: *698 - organization: *699 - release: *755 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + release: *756 + repository: *701 sender: *19 required: - action @@ -203606,9 +203648,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 release: title: Release description: The [release](https://docs.github.com/enterprise-server@3.19/rest/releases/releases/#get-a-release) @@ -203930,7 +203972,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *700 + repository: *701 sender: *19 required: - action @@ -204016,10 +204058,10 @@ x-webhooks: type: string enum: - published - enterprise: *697 - installation: *698 - organization: *699 - release: &756 + enterprise: *698 + installation: *699 + organization: *700 + release: &757 title: Release description: The [release](https://docs.github.com/enterprise-server@3.19/rest/releases/releases/#get-a-release) object. @@ -204338,7 +204380,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *700 + repository: *701 sender: *19 required: - action @@ -204424,11 +204466,11 @@ x-webhooks: type: string enum: - released - enterprise: *697 - installation: *698 - organization: *699 - release: *755 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + release: *756 + repository: *701 sender: *19 required: - action @@ -204514,11 +204556,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *697 - installation: *698 - organization: *699 - release: *756 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + release: *757 + repository: *701 sender: *19 required: - action @@ -204604,10 +204646,10 @@ x-webhooks: type: string enum: - anonymous_access_disabled - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -204692,10 +204734,10 @@ x-webhooks: type: string enum: - anonymous_access_enabled - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -204780,10 +204822,10 @@ x-webhooks: type: string enum: - archived - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -204870,10 +204912,10 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -204961,10 +205003,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205058,10 +205100,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205183,10 +205225,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205274,10 +205316,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205364,10 +205406,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205471,10 +205513,10 @@ x-webhooks: - name required: - repository - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -205554,11 +205596,11 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - repository_ruleset: *329 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + repository_ruleset: *331 sender: *19 required: - action @@ -205636,11 +205678,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - repository_ruleset: *329 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + repository_ruleset: *331 sender: *19 required: - action @@ -205718,11 +205760,11 @@ x-webhooks: type: string enum: - edited - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - repository_ruleset: *329 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + repository_ruleset: *331 changes: type: object properties: @@ -205741,16 +205783,16 @@ x-webhooks: properties: added: type: array - items: *303 + items: *305 deleted: type: array - items: *303 + items: *305 updated: type: array items: type: object properties: - condition: *303 + condition: *305 changes: type: object properties: @@ -205783,16 +205825,16 @@ x-webhooks: properties: added: type: array - items: *596 + items: *597 deleted: type: array - items: *596 + items: *597 updated: type: array items: type: object properties: - rule: *596 + rule: *597 changes: type: object properties: @@ -206036,10 +206078,10 @@ x-webhooks: - from required: - owner - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206127,10 +206169,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206218,7 +206260,7 @@ x-webhooks: type: string enum: - create - alert: &757 + alert: &758 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -206339,10 +206381,10 @@ x-webhooks: type: string enum: - open - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206558,10 +206600,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206649,11 +206691,11 @@ x-webhooks: type: string enum: - reopen - alert: *757 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + alert: *758 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206862,10 +206904,10 @@ x-webhooks: enum: - fixed - open - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -206953,7 +206995,7 @@ x-webhooks: type: string enum: - created - alert: &758 + alert: &759 type: object properties: number: *125 @@ -207067,10 +207109,10 @@ x-webhooks: properties: *17 required: *18 nullable: true - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -207161,11 +207203,11 @@ x-webhooks: type: string enum: - created - alert: *758 - installation: *698 - location: *759 - organization: *699 - repository: *700 + alert: *759 + installation: *699 + location: *760 + organization: *700 + repository: *701 sender: *19 required: - location @@ -207409,11 +207451,11 @@ x-webhooks: type: string enum: - reopened - alert: *758 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + alert: *759 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -207501,11 +207543,11 @@ x-webhooks: type: string enum: - resolved - alert: *758 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + alert: *759 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -207593,11 +207635,11 @@ x-webhooks: type: string enum: - validated - alert: *758 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + alert: *759 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -207723,10 +207765,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *700 - enterprise: *697 - installation: *698 - organization: *699 + repository: *701 + enterprise: *698 + installation: *699 + organization: *700 sender: *19 required: - action @@ -207814,11 +207856,11 @@ x-webhooks: type: string enum: - published - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - security_advisory: &760 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + security_advisory: &761 description: The details of the security advisory, including summary, description, and severity. type: object @@ -208011,11 +208053,11 @@ x-webhooks: type: string enum: - updated - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 - security_advisory: *760 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 + security_advisory: *761 sender: *19 required: - action @@ -208098,10 +208140,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -208295,11 +208337,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *302 - enterprise: *697 - installation: *698 - organization: *699 - repository: *372 + security_and_analysis: *304 + enterprise: *698 + installation: *699 + organization: *700 + repository: *374 sender: *19 required: - changes @@ -208387,12 +208429,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: &761 + sponsorship: &762 type: object properties: created_at: @@ -208703,12 +208745,12 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: *761 + sponsorship: *762 required: - action - sponsorship @@ -208806,12 +208848,12 @@ x-webhooks: type: string required: - from - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: *761 + sponsorship: *762 required: - action - changes @@ -208898,17 +208940,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &762 + effective_date: &763 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: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: *761 + sponsorship: *762 required: - action - sponsorship @@ -208992,7 +209034,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &763 + changes: &764 type: object properties: tier: @@ -209036,13 +209078,13 @@ x-webhooks: - from required: - tier - effective_date: *762 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + effective_date: *763 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: *761 + sponsorship: *762 required: - action - changes @@ -209129,13 +209171,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *763 - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + changes: *764 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - sponsorship: *761 + sponsorship: *762 required: - action - changes @@ -209219,10 +209261,10 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -209315,10 +209357,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -209748,15 +209790,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *697 + enterprise: *698 id: description: The unique identifier of the status. type: integer - installation: *698 + installation: *699 name: type: string - organization: *699 - repository: *700 + organization: *700 + repository: *701 sender: *19 sha: description: The Commit SHA. @@ -209868,12 +209910,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - team: &764 + team: &765 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -210106,9 +210148,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 repository: title: Repository description: A git repository @@ -210566,7 +210608,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *764 + team: *765 required: - action - team @@ -210652,9 +210694,9 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 repository: title: Repository description: A git repository @@ -211112,7 +211154,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *764 + team: *765 required: - action - team @@ -211199,9 +211241,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 repository: title: Repository description: A git repository @@ -211659,7 +211701,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *764 + team: *765 required: - action - team @@ -211813,9 +211855,9 @@ x-webhooks: - from required: - permissions - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 repository: title: Repository description: A git repository @@ -212273,7 +212315,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *764 + team: *765 required: - action - changes @@ -212361,9 +212403,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *697 - installation: *698 - organization: *699 + enterprise: *698 + installation: *699 + organization: *700 repository: title: Repository description: A git repository @@ -212821,7 +212863,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *764 + team: *765 required: - action - team @@ -212904,12 +212946,12 @@ x-webhooks: type: string enum: - created - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - user: *724 + user: *725 required: - action responses: @@ -212987,12 +213029,12 @@ x-webhooks: type: string enum: - deleted - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - user: *724 + user: *725 required: - action responses: @@ -213073,10 +213115,10 @@ x-webhooks: type: string enum: - started - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 required: - action @@ -213159,16 +213201,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *697 + enterprise: *698 inputs: type: object nullable: true additionalProperties: true - installation: *698 - organization: *699 + installation: *699 + organization: *700 ref: type: string - repository: *700 + repository: *701 sender: *19 workflow: type: string @@ -213260,10 +213302,10 @@ x-webhooks: type: string enum: - completed - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 workflow_job: allOf: @@ -213500,7 +213542,7 @@ x-webhooks: type: string required: - conclusion - deployment: *484 + deployment: *486 required: - action - repository @@ -213589,10 +213631,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 workflow_job: allOf: @@ -213852,7 +213894,7 @@ x-webhooks: required: - status - steps - deployment: *484 + deployment: *486 required: - action - repository @@ -213941,10 +213983,10 @@ x-webhooks: type: string enum: - queued - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 workflow_job: type: object @@ -214079,7 +214121,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *484 + deployment: *486 required: - action - repository @@ -214168,10 +214210,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 workflow_job: type: object @@ -214307,7 +214349,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *484 + deployment: *486 required: - action - repository @@ -214397,12 +214439,12 @@ x-webhooks: type: string enum: - completed - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -215411,12 +215453,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -216410,12 +216452,12 @@ x-webhooks: type: string enum: - requested - enterprise: *697 - installation: *698 - organization: *699 - repository: *700 + enterprise: *698 + installation: *699 + organization: *700 + repository: *701 sender: *19 - workflow: *714 + workflow: *715 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghes-3.19/ghes-3.19.2022-11-28.json b/descriptions/ghes-3.19/ghes-3.19.2022-11-28.json index 6e82dab44..38179857d 100644 --- a/descriptions/ghes-3.19/ghes-3.19.2022-11-28.json +++ b/descriptions/ghes-3.19/ghes-3.19.2022-11-28.json @@ -22178,6 +22178,81 @@ } } }, + "/orgs/{org}/dismissal-requests/dependabot": { + "get": { + "summary": "List dismissal requests for Dependabot alerts for an organization", + "description": "Lists dismissal requests for Dependabot alerts in an organization.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the appropriate permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/list-dismissal-requests-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.19/rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-name-in-query" + }, + { + "$ref": "#/components/parameters/bypass-reviewer-name" + }, + { + "$ref": "#/components/parameters/bypass-requester-name" + }, + { + "$ref": "#/components/parameters/time-period" + }, + { + "$ref": "#/components/parameters/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/dependabot-alert-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-alert-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", @@ -113362,6 +113437,147 @@ } } }, + "dependabot-alert-dismissal-request": { + "title": "Dependabot alert dismissal request", + "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "The alert number." + }, + "alert_title": { + "type": "string", + "description": "The title of the alert." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "123" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "$ref": "#/components/schemas/dismissal-request-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/security/dependabot/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.", @@ -126017,147 +126233,6 @@ "updated_at" ] }, - "dependabot-alert-dismissal-request": { - "title": "Dependabot alert dismissal request", - "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The unique identifier of the dismissal request." - }, - "number": { - "type": "integer", - "format": "int64", - "description": "The number uniquely identifying the dismissal request within its repository." - }, - "repository": { - "type": "object", - "description": "The repository the dismissal request is for.", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The ID of the repository the dismissal request is for." - }, - "name": { - "type": "string", - "description": "The name of the repository the dismissal request is for." - }, - "full_name": { - "type": "string", - "description": "The full name of the repository the dismissal request is for." - } - } - }, - "organization": { - "type": "object", - "description": "The organization associated with the repository the dismissal request is for.", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The ID of the organization." - }, - "name": { - "type": "string", - "description": "The name of the organization." - } - } - }, - "requester": { - "type": "object", - "description": "The user who requested the dismissal request.", - "properties": { - "actor_id": { - "type": "integer", - "format": "int64", - "description": "The ID of the GitHub user who requested the dismissal request." - }, - "actor_name": { - "type": "string", - "description": "The name of the GitHub user who requested the dismissal request." - } - } - }, - "request_type": { - "type": "string", - "description": "The type of request." - }, - "data": { - "nullable": true, - "type": "array", - "description": "Data describing the dismissal request metadata.", - "items": { - "type": "object", - "properties": { - "reason": { - "type": "string", - "description": "The reason for the dismissal request." - }, - "alert_number": { - "type": "string", - "description": "The alert number." - }, - "alert_title": { - "type": "string", - "description": "The title of the alert." - } - } - } - }, - "resource_identifier": { - "type": "string", - "description": "The unique identifier for the request type of the dismissal request.", - "example": "123" - }, - "status": { - "type": "string", - "description": "The status of the dismissal request.", - "enum": [ - "pending", - "denied", - "approved", - "expired" - ] - }, - "requester_comment": { - "type": "string", - "description": "The comment the requester provided when creating the dismissal request.", - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the dismissal request will expire." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the dismissal request was created." - }, - "responses": { - "type": "array", - "description": "The responses to the dismissal request.", - "nullable": true, - "items": { - "$ref": "#/components/schemas/dismissal-request-response" - } - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" - }, - "html_url": { - "type": "string", - "description": "The URL to view the dismissal request in a browser.", - "format": "uri", - "example": "https://github.com/octo-org/smile/security/dependabot/1" - } - } - }, "wait-timer": { "type": "integer", "example": 30, @@ -276165,6 +276240,96 @@ } ] }, + "dependabot-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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "no_bandwidth", + "alert_number": "1", + "alert_title": "lodash - GHSA-1234-abcd-5678" + } + ], + "resource_identifier": "1", + "status": "denied", + "requester_comment": "No bandwidth to fix this right now", + "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/dependabot/1", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "tolerable_risk", + "alert_number": "2", + "alert_title": "axios - GHSA-5678-efgh-9012" + } + ], + "resource_identifier": "2", + "status": "approved", + "requester_comment": "Risk is acceptable for this internal tool", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 43, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", + "html_url": "https://github.com/octo-org/smile/security/dependabot/2" + } + ] + }, "secret-scanning-dismissal-request-items": { "value": [ { @@ -285739,96 +285904,6 @@ "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" } }, - "dependabot-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": "dependabot_alert_dismissal", - "data": [ - { - "reason": "no_bandwidth", - "alert_number": "1", - "alert_title": "lodash - GHSA-1234-abcd-5678" - } - ], - "resource_identifier": "1", - "status": "denied", - "requester_comment": "No bandwidth to fix this right now", - "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/dependabot/1", - "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", - "data": [ - { - "reason": "tolerable_risk", - "alert_number": "2", - "alert_title": "axios - GHSA-5678-efgh-9012" - } - ], - "resource_identifier": "2", - "status": "approved", - "requester_comment": "Risk is acceptable for this internal tool", - "expires_at": "2024-07-08T07:43:03Z", - "created_at": "2024-07-01T07:43:03Z", - "responses": [ - { - "id": 43, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "approved", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", - "html_url": "https://github.com/octo-org/smile/security/dependabot/2" - } - ] - }, "dependabot-alert-dismissal-request-item": { "value": { "id": 21, diff --git a/descriptions/ghes-3.19/ghes-3.19.2022-11-28.yaml b/descriptions/ghes-3.19/ghes-3.19.2022-11-28.yaml index 54db7e08b..b209e0eac 100644 --- a/descriptions/ghes-3.19/ghes-3.19.2022-11-28.yaml +++ b/descriptions/ghes-3.19/ghes-3.19.2022-11-28.yaml @@ -15914,6 +15914,53 @@ paths: "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" + "/orgs/{org}/dismissal-requests/dependabot": + get: + summary: List dismissal requests for Dependabot alerts for an organization + description: |- + Lists dismissal requests for Dependabot alerts in an organization. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the appropriate permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - dependabot + operationId: dependabot/list-dismissal-requests-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: dependabot + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-name-in-query" + - "$ref": "#/components/parameters/bypass-reviewer-name" + - "$ref": "#/components/parameters/bypass-requester-name" + - "$ref": "#/components/parameters/time-period" + - "$ref": "#/components/parameters/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/dependabot-alert-dismissal-request" + examples: + default: + "$ref": "#/components/examples/dependabot-alert-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -82294,6 +82341,120 @@ components: description: The URL to view the dismissal request in a browser. format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 + dependabot-alert-dismissal-request: + title: Dependabot alert dismissal request + description: Alert dismissal request made by a user asking to dismiss a Dependabot + alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request within + its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request is for. + name: + type: string + description: The name of the repository the dismissal request is for. + full_name: + type: string + description: The full name of the repository the dismissal request is + for. + organization: + type: object + description: The organization associated with the repository the dismissal + request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the dismissal + request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: The alert number. + alert_title: + type: string + description: The title of the alert. + resource_identifier: + type: string + description: The unique identifier for the request type of the dismissal + request. + example: '123' + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating the dismissal + request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: + "$ref": "#/components/schemas/dismissal-request-response" + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/security/dependabot/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 @@ -92152,120 +92313,6 @@ components: - url - created_at - updated_at - dependabot-alert-dismissal-request: - title: Dependabot alert dismissal request - description: Alert dismissal request made by a user asking to dismiss a Dependabot - alert. - type: object - properties: - id: - type: integer - format: int64 - description: The unique identifier of the dismissal request. - number: - type: integer - format: int64 - description: The number uniquely identifying the dismissal request within - its repository. - repository: - type: object - description: The repository the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the repository the dismissal request is for. - name: - type: string - description: The name of the repository the dismissal request is for. - full_name: - type: string - description: The full name of the repository the dismissal request is - for. - organization: - type: object - description: The organization associated with the repository the dismissal - request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the dismissal request. - properties: - actor_id: - type: integer - format: int64 - description: The ID of the GitHub user who requested the dismissal request. - actor_name: - type: string - description: The name of the GitHub user who requested the dismissal - request. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the dismissal request metadata. - items: - type: object - properties: - reason: - type: string - description: The reason for the dismissal request. - alert_number: - type: string - description: The alert number. - alert_title: - type: string - description: The title of the alert. - resource_identifier: - type: string - description: The unique identifier for the request type of the dismissal - request. - example: '123' - status: - type: string - description: The status of the dismissal request. - enum: - - pending - - denied - - approved - - expired - requester_comment: - type: string - description: The comment the requester provided when creating the dismissal - request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the dismissal request will expire. - created_at: - type: string - format: date-time - description: The date and time the dismissal request was created. - responses: - type: array - description: The responses to the dismissal request. - nullable: true - items: - "$ref": "#/components/schemas/dismissal-request-response" - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 - html_url: - type: string - description: The URL to view the dismissal request in a browser. - format: uri - example: https://github.com/octo-org/smile/security/dependabot/1 wait-timer: type: integer example: 30 @@ -206177,6 +206224,70 @@ components: 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 + dependabot-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: dependabot_alert_dismissal + data: + - reason: no_bandwidth + alert_number: '1' + alert_title: lodash - GHSA-1234-abcd-5678 + resource_identifier: '1' + status: denied + requester_comment: No bandwidth to fix this right now + 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/dependabot/1 + html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal + data: + - reason: tolerable_risk + alert_number: '2' + alert_title: axios - GHSA-5678-efgh-9012 + resource_identifier: '2' + status: approved + requester_comment: Risk is acceptable for this internal tool + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 43 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 + html_url: https://github.com/octo-org/smile/security/dependabot/2 secret-scanning-dismissal-request-items: value: - id: 21 @@ -214335,70 +214446,6 @@ components: 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 - dependabot-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: dependabot_alert_dismissal - data: - - reason: no_bandwidth - alert_number: '1' - alert_title: lodash - GHSA-1234-abcd-5678 - resource_identifier: '1' - status: denied - requester_comment: No bandwidth to fix this right now - 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/dependabot/1 - html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal - data: - - reason: tolerable_risk - alert_number: '2' - alert_title: axios - GHSA-5678-efgh-9012 - resource_identifier: '2' - status: approved - requester_comment: Risk is acceptable for this internal tool - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 43 - reviewer: - actor_id: 4 - actor_name: octocat - status: approved - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 - html_url: https://github.com/octo-org/smile/security/dependabot/2 dependabot-alert-dismissal-request-item: value: id: 21 diff --git a/descriptions/ghes-3.19/ghes-3.19.json b/descriptions/ghes-3.19/ghes-3.19.json index 6e82dab44..38179857d 100644 --- a/descriptions/ghes-3.19/ghes-3.19.json +++ b/descriptions/ghes-3.19/ghes-3.19.json @@ -22178,6 +22178,81 @@ } } }, + "/orgs/{org}/dismissal-requests/dependabot": { + "get": { + "summary": "List dismissal requests for Dependabot alerts for an organization", + "description": "Lists dismissal requests for Dependabot alerts in an organization.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the appropriate permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/list-dismissal-requests-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.19/rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-name-in-query" + }, + { + "$ref": "#/components/parameters/bypass-reviewer-name" + }, + { + "$ref": "#/components/parameters/bypass-requester-name" + }, + { + "$ref": "#/components/parameters/time-period" + }, + { + "$ref": "#/components/parameters/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/dependabot-alert-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-alert-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/orgs/{org}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an org", @@ -113362,6 +113437,147 @@ } } }, + "dependabot-alert-dismissal-request": { + "title": "Dependabot alert dismissal request", + "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "The alert number." + }, + "alert_title": { + "type": "string", + "description": "The title of the alert." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "example": "123" + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "$ref": "#/components/schemas/dismissal-request-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/security/dependabot/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.", @@ -126017,147 +126233,6 @@ "updated_at" ] }, - "dependabot-alert-dismissal-request": { - "title": "Dependabot alert dismissal request", - "description": "Alert dismissal request made by a user asking to dismiss a Dependabot alert.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The unique identifier of the dismissal request." - }, - "number": { - "type": "integer", - "format": "int64", - "description": "The number uniquely identifying the dismissal request within its repository." - }, - "repository": { - "type": "object", - "description": "The repository the dismissal request is for.", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The ID of the repository the dismissal request is for." - }, - "name": { - "type": "string", - "description": "The name of the repository the dismissal request is for." - }, - "full_name": { - "type": "string", - "description": "The full name of the repository the dismissal request is for." - } - } - }, - "organization": { - "type": "object", - "description": "The organization associated with the repository the dismissal request is for.", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "The ID of the organization." - }, - "name": { - "type": "string", - "description": "The name of the organization." - } - } - }, - "requester": { - "type": "object", - "description": "The user who requested the dismissal request.", - "properties": { - "actor_id": { - "type": "integer", - "format": "int64", - "description": "The ID of the GitHub user who requested the dismissal request." - }, - "actor_name": { - "type": "string", - "description": "The name of the GitHub user who requested the dismissal request." - } - } - }, - "request_type": { - "type": "string", - "description": "The type of request." - }, - "data": { - "nullable": true, - "type": "array", - "description": "Data describing the dismissal request metadata.", - "items": { - "type": "object", - "properties": { - "reason": { - "type": "string", - "description": "The reason for the dismissal request." - }, - "alert_number": { - "type": "string", - "description": "The alert number." - }, - "alert_title": { - "type": "string", - "description": "The title of the alert." - } - } - } - }, - "resource_identifier": { - "type": "string", - "description": "The unique identifier for the request type of the dismissal request.", - "example": "123" - }, - "status": { - "type": "string", - "description": "The status of the dismissal request.", - "enum": [ - "pending", - "denied", - "approved", - "expired" - ] - }, - "requester_comment": { - "type": "string", - "description": "The comment the requester provided when creating the dismissal request.", - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the dismissal request will expire." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the dismissal request was created." - }, - "responses": { - "type": "array", - "description": "The responses to the dismissal request.", - "nullable": true, - "items": { - "$ref": "#/components/schemas/dismissal-request-response" - } - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1" - }, - "html_url": { - "type": "string", - "description": "The URL to view the dismissal request in a browser.", - "format": "uri", - "example": "https://github.com/octo-org/smile/security/dependabot/1" - } - } - }, "wait-timer": { "type": "integer", "example": 30, @@ -276165,6 +276240,96 @@ } ] }, + "dependabot-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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "no_bandwidth", + "alert_number": "1", + "alert_title": "lodash - GHSA-1234-abcd-5678" + } + ], + "resource_identifier": "1", + "status": "denied", + "requester_comment": "No bandwidth to fix this right now", + "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/dependabot/1", + "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", + "data": [ + { + "reason": "tolerable_risk", + "alert_number": "2", + "alert_title": "axios - GHSA-5678-efgh-9012" + } + ], + "resource_identifier": "2", + "status": "approved", + "requester_comment": "Risk is acceptable for this internal tool", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 43, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", + "html_url": "https://github.com/octo-org/smile/security/dependabot/2" + } + ] + }, "secret-scanning-dismissal-request-items": { "value": [ { @@ -285739,96 +285904,6 @@ "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" } }, - "dependabot-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": "dependabot_alert_dismissal", - "data": [ - { - "reason": "no_bandwidth", - "alert_number": "1", - "alert_title": "lodash - GHSA-1234-abcd-5678" - } - ], - "resource_identifier": "1", - "status": "denied", - "requester_comment": "No bandwidth to fix this right now", - "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/dependabot/1", - "html_url": "https://github.com/octo-org/smile/security/dependabot/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": "dependabot_alert_dismissal", - "data": [ - { - "reason": "tolerable_risk", - "alert_number": "2", - "alert_title": "axios - GHSA-5678-efgh-9012" - } - ], - "resource_identifier": "2", - "status": "approved", - "requester_comment": "Risk is acceptable for this internal tool", - "expires_at": "2024-07-08T07:43:03Z", - "created_at": "2024-07-01T07:43:03Z", - "responses": [ - { - "id": 43, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "approved", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2", - "html_url": "https://github.com/octo-org/smile/security/dependabot/2" - } - ] - }, "dependabot-alert-dismissal-request-item": { "value": { "id": 21, diff --git a/descriptions/ghes-3.19/ghes-3.19.yaml b/descriptions/ghes-3.19/ghes-3.19.yaml index 54db7e08b..b209e0eac 100644 --- a/descriptions/ghes-3.19/ghes-3.19.yaml +++ b/descriptions/ghes-3.19/ghes-3.19.yaml @@ -15914,6 +15914,53 @@ paths: "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" + "/orgs/{org}/dismissal-requests/dependabot": + get: + summary: List dismissal requests for Dependabot alerts for an organization + description: |- + Lists dismissal requests for Dependabot alerts in an organization. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the appropriate permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - dependabot + operationId: dependabot/list-dismissal-requests-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-server@3.19/rest/dependabot/alert-dismissal-requests#list-dismissal-requests-for-dependabot-alerts-for-an-organization + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: dependabot + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-name-in-query" + - "$ref": "#/components/parameters/bypass-reviewer-name" + - "$ref": "#/components/parameters/bypass-requester-name" + - "$ref": "#/components/parameters/time-period" + - "$ref": "#/components/parameters/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/dependabot-alert-dismissal-request" + examples: + default: + "$ref": "#/components/examples/dependabot-alert-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -82294,6 +82341,120 @@ components: description: The URL to view the dismissal request in a browser. format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 + dependabot-alert-dismissal-request: + title: Dependabot alert dismissal request + description: Alert dismissal request made by a user asking to dismiss a Dependabot + alert. + type: object + properties: + id: + type: integer + format: int64 + description: The unique identifier of the dismissal request. + number: + type: integer + format: int64 + description: The number uniquely identifying the dismissal request within + its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the repository the dismissal request is for. + name: + type: string + description: The name of the repository the dismissal request is for. + full_name: + type: string + description: The full name of the repository the dismissal request is + for. + organization: + type: object + description: The organization associated with the repository the dismissal + request is for. + properties: + id: + type: integer + format: int64 + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal request. + properties: + actor_id: + type: integer + format: int64 + description: The ID of the GitHub user who requested the dismissal request. + actor_name: + type: string + description: The name of the GitHub user who requested the dismissal + request. + request_type: + type: string + description: The type of request. + data: + nullable: true + type: array + description: Data describing the dismissal request metadata. + items: + type: object + properties: + reason: + type: string + description: The reason for the dismissal request. + alert_number: + type: string + description: The alert number. + alert_title: + type: string + description: The title of the alert. + resource_identifier: + type: string + description: The unique identifier for the request type of the dismissal + request. + example: '123' + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - expired + requester_comment: + type: string + description: The comment the requester provided when creating the dismissal + request. + nullable: true + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: array + description: The responses to the dismissal request. + nullable: true + items: + "$ref": "#/components/schemas/dismissal-request-response" + url: + type: string + format: uri + example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + example: https://github.com/octo-org/smile/security/dependabot/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 @@ -92152,120 +92313,6 @@ components: - url - created_at - updated_at - dependabot-alert-dismissal-request: - title: Dependabot alert dismissal request - description: Alert dismissal request made by a user asking to dismiss a Dependabot - alert. - type: object - properties: - id: - type: integer - format: int64 - description: The unique identifier of the dismissal request. - number: - type: integer - format: int64 - description: The number uniquely identifying the dismissal request within - its repository. - repository: - type: object - description: The repository the dismissal request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the repository the dismissal request is for. - name: - type: string - description: The name of the repository the dismissal request is for. - full_name: - type: string - description: The full name of the repository the dismissal request is - for. - organization: - type: object - description: The organization associated with the repository the dismissal - request is for. - properties: - id: - type: integer - format: int64 - description: The ID of the organization. - name: - type: string - description: The name of the organization. - requester: - type: object - description: The user who requested the dismissal request. - properties: - actor_id: - type: integer - format: int64 - description: The ID of the GitHub user who requested the dismissal request. - actor_name: - type: string - description: The name of the GitHub user who requested the dismissal - request. - request_type: - type: string - description: The type of request. - data: - nullable: true - type: array - description: Data describing the dismissal request metadata. - items: - type: object - properties: - reason: - type: string - description: The reason for the dismissal request. - alert_number: - type: string - description: The alert number. - alert_title: - type: string - description: The title of the alert. - resource_identifier: - type: string - description: The unique identifier for the request type of the dismissal - request. - example: '123' - status: - type: string - description: The status of the dismissal request. - enum: - - pending - - denied - - approved - - expired - requester_comment: - type: string - description: The comment the requester provided when creating the dismissal - request. - nullable: true - expires_at: - type: string - format: date-time - description: The date and time the dismissal request will expire. - created_at: - type: string - format: date-time - description: The date and time the dismissal request was created. - responses: - type: array - description: The responses to the dismissal request. - nullable: true - items: - "$ref": "#/components/schemas/dismissal-request-response" - url: - type: string - format: uri - example: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/1 - html_url: - type: string - description: The URL to view the dismissal request in a browser. - format: uri - example: https://github.com/octo-org/smile/security/dependabot/1 wait-timer: type: integer example: 30 @@ -206177,6 +206224,70 @@ components: 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 + dependabot-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: dependabot_alert_dismissal + data: + - reason: no_bandwidth + alert_number: '1' + alert_title: lodash - GHSA-1234-abcd-5678 + resource_identifier: '1' + status: denied + requester_comment: No bandwidth to fix this right now + 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/dependabot/1 + html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal + data: + - reason: tolerable_risk + alert_number: '2' + alert_title: axios - GHSA-5678-efgh-9012 + resource_identifier: '2' + status: approved + requester_comment: Risk is acceptable for this internal tool + expires_at: '2024-07-08T07:43:03Z' + created_at: '2024-07-01T07:43:03Z' + responses: + - id: 43 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 + html_url: https://github.com/octo-org/smile/security/dependabot/2 secret-scanning-dismissal-request-items: value: - id: 21 @@ -214335,70 +214446,6 @@ components: 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 - dependabot-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: dependabot_alert_dismissal - data: - - reason: no_bandwidth - alert_number: '1' - alert_title: lodash - GHSA-1234-abcd-5678 - resource_identifier: '1' - status: denied - requester_comment: No bandwidth to fix this right now - 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/dependabot/1 - html_url: https://github.com/octo-org/smile/security/dependabot/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: dependabot_alert_dismissal - data: - - reason: tolerable_risk - alert_number: '2' - alert_title: axios - GHSA-5678-efgh-9012 - resource_identifier: '2' - status: approved - requester_comment: Risk is acceptable for this internal tool - expires_at: '2024-07-08T07:43:03Z' - created_at: '2024-07-01T07:43:03Z' - responses: - - id: 43 - reviewer: - actor_id: 4 - actor_name: octocat - status: approved - created_at: '2024-07-02T08:43:04Z' - url: https://api.github.com/repos/octo-org/smile/dismissal-requests/dependabot/2 - html_url: https://github.com/octo-org/smile/security/dependabot/2 dependabot-alert-dismissal-request-item: value: id: 21