diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 43cb07125..79cddb95e 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -175,6 +175,10 @@ { "name": "private-registries", "description": "Manage private registry configurations." + }, + { + "name": "hosted-compute", + "description": "Manage hosted compute networking resources." } ], "servers": [ @@ -2997,6 +3001,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -13391,6 +13398,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -21377,6 +21387,380 @@ } } }, + "/orgs/{org}/settings/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an organization", + "description": "Lists all hosted compute network configurations configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "network_configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "network_configurations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/network-configuration" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configurations-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an organization", + "description": "Creates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": { + "get": { + "summary": "Get a hosted compute network configuration for an organization", + "description": "Gets a hosted compute network configuration configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an organization", + "description": "Updates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an organization", + "description": "Deletes a hosted compute network configuration from an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-settings/{network_settings_id}": { + "get": { + "summary": "Get a hosted compute network settings resource for an organization", + "description": "Gets a hosted compute network settings resource configured for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-settings-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-settings-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-settings" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, "/orgs/{org}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for a team", @@ -39549,6 +39933,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -47972,7 +48359,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to remove" + "description": "The id of the sub-issue to remove" } }, "required": [ @@ -48127,7 +48514,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to add" + "description": "The id of the sub-issue to add. The sub-issue must belong to the same repository as the parent issue" }, "replace_parent": { "type": "boolean", @@ -108446,6 +108833,90 @@ "estimated_storage_for_month" ] }, + "network-configuration": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "network-settings": { + "title": "Hosted compute network settings resource", + "description": "A hosted compute network settings resource.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network settings resource.", + "type": "string", + "example": "220F78DACB92BBFBC5E6F22DE1CCF52309D" + }, + "network_configuration_id": { + "description": "The identifier of the network configuration that is using this settings resource.", + "type": "string", + "example": "934E208B3EE0BD60CF5F752C426BFB53562" + }, + "name": { + "description": "The name of the network settings resource.", + "type": "string", + "example": "my-network-settings" + }, + "subnet_id": { + "description": "The subnet this network settings resource is configured for.", + "type": "string", + "example": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + }, + "region": { + "description": "The location of the subnet this network settings resource is configured for.", + "type": "string", + "example": "eastus" + } + }, + "required": [ + "id", + "name", + "subnet_id", + "region" + ] + }, "team-organization": { "title": "Team Organization", "description": "Team Organization", @@ -276086,6 +276557,54 @@ "estimated_storage_for_month": 40 } }, + "network-configurations-paginated": { + "value": { + "total_count": 2, + "network_configurations": [ + { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + }, + { + "id": "456789ABDCEF123", + "name": "My other configuration", + "compute_service": "none", + "network_settings_ids": [ + "56789ABDCEF1234", + "6789ABDCEF12345" + ], + "created_on": "2023-04-26T15:23:37Z" + } + ] + } + }, + "network-configuration": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + }, + "network-settings": { + "value": { + "id": "220F78DACB92BBFBC5E6F22DE1CCF52309D", + "network_configuration_id": "934E208B3EE0BD60CF5F752C426BFB53562", + "name": "my_network_settings", + "subnet_id": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet", + "region": "eastus" + } + }, "team-full": { "value": { "id": 1, @@ -296733,6 +297252,14 @@ "type": "string" } }, + "dependabot-alert-comma-separated-epss": { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, "dependabot-alert-scope": { "name": "scope", "in": "query", @@ -297554,6 +298081,24 @@ "type": "string" } }, + "network-configuration-id": { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + "network-settings-id": { + "name": "network_settings_id", + "description": "Unique identifier of the hosted compute network settings.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "discussion-number": { "name": "discussion_number", "description": "The number that identifies the discussion.", diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 8fbfce71e..75b9fed79 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -93,6 +93,8 @@ tags: description: Endpoints to manage Code security using the REST API. - name: private-registries description: Manage private registry configurations. +- name: hosted-compute + description: Manage hosted compute networking resources. servers: - url: https://api.github.com externalDocs: @@ -2129,6 +2131,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -9784,6 +9787,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -15498,6 +15502,270 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/network-configurations": + get: + summary: List hosted compute network configurations for an organization + description: |- + Lists all hosted compute network configurations configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configurations-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an organization + description: |- + Creates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an organization + description: |- + Gets a hosted compute network configuration configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an organization + description: |- + Updates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an organization + description: |- + Deletes a hosted compute network configuration from an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an organization + description: |- + Gets a hosted compute network settings resource configured for an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-settings-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-settings-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-settings" + examples: + default: + "$ref": "#/components/examples/network-settings" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations "/orgs/{org}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for a team @@ -28803,6 +29071,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -34914,7 +35183,7 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to remove + description: The id of the sub-issue to remove required: - sub_issue_id examples: @@ -35028,7 +35297,8 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to add + description: The id of the sub-issue to add. The sub-issue must + belong to the same repository as the parent issue replace_parent: type: boolean description: Option that, when true, instructs the operation to @@ -79505,6 +79775,75 @@ components: - days_left_in_billing_cycle - estimated_paid_storage_for_month - estimated_storage_for_month + network-configuration: + title: Hosted compute network configuration + description: A hosted compute network configuration. + type: object + properties: + id: + description: The unique identifier of the network configuration. + type: string + example: 123ABC456DEF789 + name: + description: The name of the network configuration. + type: string + example: my-network-configuration + compute_service: + description: The hosted compute service the network configuration supports. + type: string + enum: + - none + - actions + - codespaces + network_settings_ids: + description: The unique identifier of each network settings in the configuration. + type: array + items: + type: string + example: 123ABC456DEF789 + created_on: + description: The time at which the network configuration was created, in + ISO 8601 format. + type: string + format: date-time + example: '2024-04-26T11:31:07Z' + nullable: true + required: + - id + - name + - created_on + network-settings: + title: Hosted compute network settings resource + description: A hosted compute network settings resource. + type: object + properties: + id: + description: The unique identifier of the network settings resource. + type: string + example: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: + description: The identifier of the network configuration that is using this + settings resource. + type: string + example: 934E208B3EE0BD60CF5F752C426BFB53562 + name: + description: The name of the network settings resource. + type: string + example: my-network-settings + subnet_id: + description: The subnet this network settings resource is configured for. + type: string + example: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: + description: The location of the subnet this network settings resource is + configured for. + type: string + example: eastus + required: + - id + - name + - subnet_id + - region team-organization: title: Team Organization description: Team Organization @@ -207489,6 +207828,40 @@ components: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 estimated_storage_for_month: 40 + network-configurations-paginated: + value: + total_count: 2 + network_configurations: + - id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + - id: 456789ABDCEF123 + name: My other configuration + compute_service: none + network_settings_ids: + - 56789ABDCEF1234 + - 6789ABDCEF12345 + created_on: '2023-04-26T15:23:37Z' + network-configuration: + value: + id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + network-settings: + value: + id: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 + name: my_network_settings + subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: eastus team-full: value: id: 1 @@ -225309,6 +225682,18 @@ components: for these packages will be returned. schema: type: string + dependabot-alert-comma-separated-epss: + name: epss_percentage + in: query + description: |- + CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as: + - An exact number (`n`) + - Comparators such as `>n`, `=n`, `<=n` + - A range like `n..n`, where `n` is a number from 0.0 to 1.0 + + Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. + schema: + type: string dependabot-alert-scope: name: scope in: query @@ -226033,6 +226418,20 @@ components: required: false schema: type: string + network-configuration-id: + name: network_configuration_id + description: Unique identifier of the hosted compute network configuration. + in: path + required: true + schema: + type: string + network-settings-id: + name: network_settings_id + description: Unique identifier of the hosted compute network settings. + in: path + required: true + schema: + type: string discussion-number: name: discussion_number description: The number that identifies the discussion. diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 43cb07125..79cddb95e 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -175,6 +175,10 @@ { "name": "private-registries", "description": "Manage private registry configurations." + }, + { + "name": "hosted-compute", + "description": "Manage hosted compute networking resources." } ], "servers": [ @@ -2997,6 +3001,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -13391,6 +13398,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -21377,6 +21387,380 @@ } } }, + "/orgs/{org}/settings/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an organization", + "description": "Lists all hosted compute network configurations configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "network_configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "network_configurations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/network-configuration" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configurations-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an organization", + "description": "Creates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": { + "get": { + "summary": "Get a hosted compute network configuration for an organization", + "description": "Gets a hosted compute network configuration configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an organization", + "description": "Updates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an organization", + "description": "Deletes a hosted compute network configuration from an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-settings/{network_settings_id}": { + "get": { + "summary": "Get a hosted compute network settings resource for an organization", + "description": "Gets a hosted compute network settings resource configured for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-settings-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-settings-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-settings" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, "/orgs/{org}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for a team", @@ -39549,6 +39933,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -47972,7 +48359,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to remove" + "description": "The id of the sub-issue to remove" } }, "required": [ @@ -48127,7 +48514,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to add" + "description": "The id of the sub-issue to add. The sub-issue must belong to the same repository as the parent issue" }, "replace_parent": { "type": "boolean", @@ -108446,6 +108833,90 @@ "estimated_storage_for_month" ] }, + "network-configuration": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "network-settings": { + "title": "Hosted compute network settings resource", + "description": "A hosted compute network settings resource.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network settings resource.", + "type": "string", + "example": "220F78DACB92BBFBC5E6F22DE1CCF52309D" + }, + "network_configuration_id": { + "description": "The identifier of the network configuration that is using this settings resource.", + "type": "string", + "example": "934E208B3EE0BD60CF5F752C426BFB53562" + }, + "name": { + "description": "The name of the network settings resource.", + "type": "string", + "example": "my-network-settings" + }, + "subnet_id": { + "description": "The subnet this network settings resource is configured for.", + "type": "string", + "example": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + }, + "region": { + "description": "The location of the subnet this network settings resource is configured for.", + "type": "string", + "example": "eastus" + } + }, + "required": [ + "id", + "name", + "subnet_id", + "region" + ] + }, "team-organization": { "title": "Team Organization", "description": "Team Organization", @@ -276086,6 +276557,54 @@ "estimated_storage_for_month": 40 } }, + "network-configurations-paginated": { + "value": { + "total_count": 2, + "network_configurations": [ + { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + }, + { + "id": "456789ABDCEF123", + "name": "My other configuration", + "compute_service": "none", + "network_settings_ids": [ + "56789ABDCEF1234", + "6789ABDCEF12345" + ], + "created_on": "2023-04-26T15:23:37Z" + } + ] + } + }, + "network-configuration": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + }, + "network-settings": { + "value": { + "id": "220F78DACB92BBFBC5E6F22DE1CCF52309D", + "network_configuration_id": "934E208B3EE0BD60CF5F752C426BFB53562", + "name": "my_network_settings", + "subnet_id": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet", + "region": "eastus" + } + }, "team-full": { "value": { "id": 1, @@ -296733,6 +297252,14 @@ "type": "string" } }, + "dependabot-alert-comma-separated-epss": { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, "dependabot-alert-scope": { "name": "scope", "in": "query", @@ -297554,6 +298081,24 @@ "type": "string" } }, + "network-configuration-id": { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + "network-settings-id": { + "name": "network_settings_id", + "description": "Unique identifier of the hosted compute network settings.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "discussion-number": { "name": "discussion_number", "description": "The number that identifies the discussion.", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 8fbfce71e..75b9fed79 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -93,6 +93,8 @@ tags: description: Endpoints to manage Code security using the REST API. - name: private-registries description: Manage private registry configurations. +- name: hosted-compute + description: Manage hosted compute networking resources. servers: - url: https://api.github.com externalDocs: @@ -2129,6 +2131,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -9784,6 +9787,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -15498,6 +15502,270 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/network-configurations": + get: + summary: List hosted compute network configurations for an organization + description: |- + Lists all hosted compute network configurations configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configurations-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an organization + description: |- + Creates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an organization + description: |- + Gets a hosted compute network configuration configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an organization + description: |- + Updates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an organization + description: |- + Deletes a hosted compute network configuration from an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an organization + description: |- + Gets a hosted compute network settings resource configured for an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-settings-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-settings-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-settings" + examples: + default: + "$ref": "#/components/examples/network-settings" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations "/orgs/{org}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for a team @@ -28803,6 +29071,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -34914,7 +35183,7 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to remove + description: The id of the sub-issue to remove required: - sub_issue_id examples: @@ -35028,7 +35297,8 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to add + description: The id of the sub-issue to add. The sub-issue must + belong to the same repository as the parent issue replace_parent: type: boolean description: Option that, when true, instructs the operation to @@ -79505,6 +79775,75 @@ components: - days_left_in_billing_cycle - estimated_paid_storage_for_month - estimated_storage_for_month + network-configuration: + title: Hosted compute network configuration + description: A hosted compute network configuration. + type: object + properties: + id: + description: The unique identifier of the network configuration. + type: string + example: 123ABC456DEF789 + name: + description: The name of the network configuration. + type: string + example: my-network-configuration + compute_service: + description: The hosted compute service the network configuration supports. + type: string + enum: + - none + - actions + - codespaces + network_settings_ids: + description: The unique identifier of each network settings in the configuration. + type: array + items: + type: string + example: 123ABC456DEF789 + created_on: + description: The time at which the network configuration was created, in + ISO 8601 format. + type: string + format: date-time + example: '2024-04-26T11:31:07Z' + nullable: true + required: + - id + - name + - created_on + network-settings: + title: Hosted compute network settings resource + description: A hosted compute network settings resource. + type: object + properties: + id: + description: The unique identifier of the network settings resource. + type: string + example: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: + description: The identifier of the network configuration that is using this + settings resource. + type: string + example: 934E208B3EE0BD60CF5F752C426BFB53562 + name: + description: The name of the network settings resource. + type: string + example: my-network-settings + subnet_id: + description: The subnet this network settings resource is configured for. + type: string + example: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: + description: The location of the subnet this network settings resource is + configured for. + type: string + example: eastus + required: + - id + - name + - subnet_id + - region team-organization: title: Team Organization description: Team Organization @@ -207489,6 +207828,40 @@ components: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 estimated_storage_for_month: 40 + network-configurations-paginated: + value: + total_count: 2 + network_configurations: + - id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + - id: 456789ABDCEF123 + name: My other configuration + compute_service: none + network_settings_ids: + - 56789ABDCEF1234 + - 6789ABDCEF12345 + created_on: '2023-04-26T15:23:37Z' + network-configuration: + value: + id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + network-settings: + value: + id: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 + name: my_network_settings + subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: eastus team-full: value: id: 1 @@ -225309,6 +225682,18 @@ components: for these packages will be returned. schema: type: string + dependabot-alert-comma-separated-epss: + name: epss_percentage + in: query + description: |- + CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as: + - An exact number (`n`) + - Comparators such as `>n`, `=n`, `<=n` + - A range like `n..n`, where `n` is a number from 0.0 to 1.0 + + Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. + schema: + type: string dependabot-alert-scope: name: scope in: query @@ -226033,6 +226418,20 @@ components: required: false schema: type: string + network-configuration-id: + name: network_configuration_id + description: Unique identifier of the hosted compute network configuration. + in: path + required: true + schema: + type: string + network-settings-id: + name: network_settings_id + description: Unique identifier of the hosted compute network settings. + in: path + required: true + schema: + type: string discussion-number: name: discussion_number description: The number that identifies the discussion. diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index ff85af147..934977b48 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -175,6 +175,10 @@ { "name": "private-registries", "description": "Manage private registry configurations." + }, + { + "name": "hosted-compute", + "description": "Manage hosted compute networking resources." } ], "servers": [ @@ -19880,6 +19884,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -76885,6 +76897,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -134824,6 +134844,725 @@ } } }, + "/orgs/{org}/settings/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an organization", + "description": "Lists all hosted compute network configurations configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "network_configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "network_configurations": { + "type": "array", + "items": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "network_configurations": [ + { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + }, + { + "id": "456789ABDCEF123", + "name": "My other configuration", + "compute_service": "none", + "network_settings_ids": [ + "56789ABDCEF1234", + "6789ABDCEF12345" + ], + "created_on": "2023-04-26T15:23:37Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an organization", + "description": "Creates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": { + "get": { + "summary": "Get a hosted compute network configuration for an organization", + "description": "Gets a hosted compute network configuration configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an organization", + "description": "Updates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an organization", + "description": "Deletes a hosted compute network configuration from an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-settings/{network_settings_id}": { + "get": { + "summary": "Get a hosted compute network settings resource for an organization", + "description": "Gets a hosted compute network settings resource configured for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-settings-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_settings_id", + "description": "Unique identifier of the hosted compute network settings.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network settings resource", + "description": "A hosted compute network settings resource.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network settings resource.", + "type": "string", + "example": "220F78DACB92BBFBC5E6F22DE1CCF52309D" + }, + "network_configuration_id": { + "description": "The identifier of the network configuration that is using this settings resource.", + "type": "string", + "example": "934E208B3EE0BD60CF5F752C426BFB53562" + }, + "name": { + "description": "The name of the network settings resource.", + "type": "string", + "example": "my-network-settings" + }, + "subnet_id": { + "description": "The subnet this network settings resource is configured for.", + "type": "string", + "example": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + }, + "region": { + "description": "The location of the subnet this network settings resource is configured for.", + "type": "string", + "example": "eastus" + } + }, + "required": [ + "id", + "name", + "subnet_id", + "region" + ] + }, + "examples": { + "default": { + "value": { + "id": "220F78DACB92BBFBC5E6F22DE1CCF52309D", + "network_configuration_id": "934E208B3EE0BD60CF5F752C426BFB53562", + "name": "my_network_settings", + "subnet_id": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet", + "region": "eastus" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, "/orgs/{org}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for a team", @@ -253547,6 +254286,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -325777,7 +326524,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to remove" + "description": "The id of the sub-issue to remove" } }, "required": [ @@ -330553,7 +331300,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to add" + "description": "The id of the sub-issue to add. The sub-issue must belong to the same repository as the parent issue" }, "replace_parent": { "type": "boolean", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index ba752fd36..84846c5ac 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -93,6 +93,8 @@ tags: description: Endpoints to manage Code security using the REST API. - name: private-registries description: Manage private registry configurations. +- name: hosted-compute + description: Manage hosted compute networking resources. servers: - url: https://api.github.com externalDocs: @@ -838,7 +840,7 @@ paths: - subscriptions_url - type - url - type: &246 + type: &247 type: string description: The type of credit the user is receiving. enum: @@ -1004,7 +1006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &567 + - &571 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1567,7 +1569,7 @@ paths: schema: type: integer default: 30 - - &164 + - &165 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 @@ -1583,7 +1585,7 @@ paths: application/json: schema: type: array - items: &165 + items: &166 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1660,7 +1662,7 @@ paths: - installation_id - repository_id examples: - default: &166 + default: &167 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1788,7 +1790,7 @@ paths: description: Response content: application/json: - schema: &167 + schema: &168 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1902,7 +1904,7 @@ paths: - request - response examples: - default: &168 + default: &169 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2829,7 +2831,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &226 + properties: &227 id: description: Unique identifier of the repository example: 42 @@ -3258,7 +3260,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &227 + required: &228 - archive_url - assignees_url - blobs_url @@ -8348,6 +8350,18 @@ paths: schema: type: string - &152 + name: epss_percentage + in: query + description: |- + CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as: + - An exact number (`n`) + - Comparators such as `>n`, `=n`, `<=n` + - A range like `n..n`, where `n` is a number from 0.0 to 1.0 + + Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. + schema: + type: string + - &153 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8357,7 +8371,7 @@ paths: enum: - development - runtime - - &153 + - &154 name: sort in: query description: |- @@ -8375,7 +8389,7 @@ paths: - *48 - *39 - *40 - - &154 + - &155 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8388,7 +8402,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &155 + - &156 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8408,7 +8422,7 @@ paths: application/json: schema: type: array - items: &156 + items: &157 type: object description: A Dependabot alert. properties: @@ -8461,7 +8475,7 @@ paths: enum: - development - runtime - security_advisory: &418 + security_advisory: &422 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8722,7 +8736,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &419 + auto_dismissed_at: &423 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8748,7 +8762,7 @@ paths: - repository additionalProperties: false examples: - default: &157 + default: &158 value: - number: 2 state: dismissed @@ -9092,7 +9106,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &237 + - &238 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9103,7 +9117,7 @@ paths: enum: - open - resolved - - &238 + - &239 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9113,7 +9127,7 @@ paths: required: false schema: type: string - - &239 + - &240 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9122,7 +9136,7 @@ paths: required: false schema: type: string - - &240 + - &241 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. @@ -9138,7 +9152,7 @@ paths: - *17 - *39 - *40 - - &241 + - &242 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9147,7 +9161,7 @@ paths: required: false schema: type: string - - &242 + - &243 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9156,7 +9170,7 @@ paths: schema: type: boolean default: false - - &243 + - &244 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9172,7 +9186,7 @@ paths: application/json: schema: type: array - items: &244 + items: &245 type: object properties: number: *53 @@ -9191,14 +9205,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &559 + state: &563 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: &560 + resolution: &564 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9295,7 +9309,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &245 + default: &246 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9631,7 +9645,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &467 + properties: &471 id: type: integer format: int64 @@ -9742,7 +9756,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &403 + properties: &407 url: type: string format: uri @@ -9812,7 +9826,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &404 + required: &408 - closed_issues - creator - description @@ -9967,7 +9981,7 @@ paths: - total - completed - percent_completed - required: &468 + required: &472 - assignee - closed_at - comments @@ -9989,7 +10003,7 @@ paths: - author_association - created_at - updated_at - comment: &465 + comment: &469 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10556,7 +10570,7 @@ paths: url: type: string format: uri - user: &590 + user: &594 title: Public User description: Public User type: object @@ -12426,7 +12440,7 @@ paths: - closed - all default: open - - &187 + - &188 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -12477,7 +12491,7 @@ paths: type: array items: *76 examples: - default: &188 + default: &189 value: - id: 1 node_id: MDU6SXNzdWUx @@ -13861,14 +13875,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &268 + - &272 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &269 + - &273 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -13939,7 +13953,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &280 + '301': &284 description: Moved permanently content: application/json: @@ -13961,7 +13975,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &497 + - &501 name: all description: If `true`, show notifications marked as read. in: query @@ -13969,7 +13983,7 @@ paths: schema: type: boolean default: false - - &498 + - &502 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -13979,7 +13993,7 @@ paths: type: boolean default: false - *66 - - &499 + - &503 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: @@ -14015,7 +14029,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &159 + properties: &160 id: type: integer format: int64 @@ -14291,7 +14305,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &228 + security_and_analysis: &229 nullable: true type: object properties: @@ -14347,7 +14361,7 @@ paths: enum: - enabled - disabled - required: &160 + required: &161 - archive_url - assignees_url - blobs_url @@ -14435,7 +14449,7 @@ paths: - url - subscription_url examples: - default: &500 + default: &504 value: - id: '1' repository: @@ -14977,7 +14991,7 @@ paths: application/json: schema: type: array - items: &194 + items: &195 title: Organization Simple description: A GitHub organization. type: object @@ -15036,7 +15050,7 @@ paths: - avatar_url - description examples: - default: &608 + default: &612 value: - login: github id: 1 @@ -15942,7 +15956,7 @@ paths: type: integer repository_cache_usages: type: array - items: &285 + items: &289 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16827,7 +16841,7 @@ paths: - all - local_only - selected - selected_actions_url: &291 + selected_actions_url: &295 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -16917,7 +16931,7 @@ paths: type: array items: *59 examples: - default: &602 + default: &606 value: total_count: 1 repositories: @@ -17245,7 +17259,7 @@ paths: description: Response content: application/json: - schema: &295 + schema: &299 type: object properties: default_workflow_permissions: &111 @@ -17296,7 +17310,7 @@ paths: required: false content: application/json: - schema: &296 + schema: &300 type: object properties: default_workflow_permissions: *111 @@ -17785,7 +17799,7 @@ paths: type: array items: *118 examples: - default: &593 + default: &597 value: total_count: 1 repositories: @@ -18423,7 +18437,7 @@ paths: application/json: schema: type: array - items: &297 + items: &301 title: Runner Application description: Runner Application type: object @@ -18448,7 +18462,7 @@ paths: - download_url - filename examples: - default: &298 + default: &302 value: - os: osx architecture: x64 @@ -18534,7 +18548,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &299 + '201': &303 description: Response content: application/json: @@ -18644,7 +18658,7 @@ paths: - token - expires_at examples: - default: &300 + default: &304 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18683,7 +18697,7 @@ paths: application/json: schema: *122 examples: - default: &301 + default: &305 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18717,7 +18731,7 @@ paths: application/json: schema: *120 examples: - default: &302 + default: &306 value: id: 23 name: MBP @@ -18941,7 +18955,7 @@ paths: - *93 - *119 responses: - '200': &303 + '200': &307 description: Response content: application/json: @@ -18998,7 +19012,7 @@ paths: parameters: - *93 - *119 - - &304 + - &308 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19128,7 +19142,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &320 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19157,7 +19171,7 @@ paths: - key_id - key examples: - default: &317 + default: &321 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19568,7 +19582,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *93 - - &290 + - &294 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -20095,7 +20109,7 @@ paths: bundle_url: type: string examples: - default: &330 + default: &334 value: attestations: - bundle: @@ -20214,7 +20228,7 @@ paths: type: array items: *4 examples: - default: &189 + default: &190 value: - login: octocat id: 1 @@ -20332,7 +20346,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *93 - - &356 + - &360 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -20342,7 +20356,7 @@ paths: schema: &135 type: string description: The name of the tool used to generate the code scanning analysis. - - &357 + - &361 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -20365,7 +20379,7 @@ paths: be returned. in: query required: false - schema: &359 + schema: &363 type: string description: State of a code scanning alert. enum: @@ -20388,7 +20402,7 @@ paths: be returned. in: query required: false - schema: &360 + schema: &364 type: string description: Severity of a code scanning alert. enum: @@ -20414,7 +20428,7 @@ paths: updated_at: *132 url: *55 html_url: *56 - instances_url: &361 + instances_url: &365 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20437,7 +20451,7 @@ paths: required: *21 nullable: true dismissed_at: *134 - dismissed_reason: &362 + dismissed_reason: &366 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -20446,13 +20460,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &363 + dismissed_comment: &367 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &364 + rule: &368 type: object properties: id: @@ -20505,7 +20519,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &365 + tool: &369 type: object properties: name: *135 @@ -20515,15 +20529,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *136 - most_recent_instance: &366 + most_recent_instance: &370 type: object properties: - ref: &358 + ref: &362 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &376 + analysis_key: &380 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20534,7 +20548,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &377 + category: &381 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21716,7 +21730,7 @@ paths: type: integer codespaces: type: array - items: &190 + items: &191 type: object title: Codespace description: A codespace. @@ -21746,7 +21760,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &389 + properties: &393 name: type: string description: The name of the machine. @@ -21788,7 +21802,7 @@ paths: - ready - in_progress nullable: true - required: &390 + required: &394 - name - display_name - operating_system @@ -21993,7 +22007,7 @@ paths: - pulls_url - recent_folders examples: - default: &191 + default: &192 value: total_count: 3 codespaces: @@ -22656,7 +22670,7 @@ paths: - updated_at - visibility examples: - default: &391 + default: &395 value: total_count: 2 secrets: @@ -22694,7 +22708,7 @@ paths: description: Response content: application/json: - schema: &392 + schema: &396 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22723,7 +22737,7 @@ paths: - key_id - key examples: - default: &393 + default: &397 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22755,7 +22769,7 @@ paths: application/json: schema: *145 examples: - default: &395 + default: &399 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23224,7 +23238,7 @@ paths: currently being billed. seats: type: array - items: &193 + items: &194 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -23242,7 +23256,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &186 + - &187 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23301,7 +23315,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &202 + properties: &203 id: description: Unique identifier of the team type: integer @@ -23357,7 +23371,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &203 + required: &204 - id - node_id - url @@ -23926,7 +23940,7 @@ paths: application/json: schema: type: array - items: &248 + items: &252 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -24234,7 +24248,7 @@ paths: - date additionalProperties: true examples: - default: &249 + default: &253 value: - date: '2024-06-24' total_active_users: 24 @@ -24336,7 +24350,7 @@ paths: '500': *144 '403': *29 '404': *6 - '422': &250 + '422': &254 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -24404,7 +24418,7 @@ paths: application/json: schema: type: array - items: &251 + items: &255 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -24491,7 +24505,7 @@ paths: - breakdown additionalProperties: false examples: - default: &252 + default: &256 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -24587,11 +24601,12 @@ paths: - *151 - *152 - *153 + - *154 - *48 - *39 - *40 - - *154 - *155 + - *156 - *17 responses: '200': @@ -24600,9 +24615,9 @@ paths: application/json: schema: type: array - items: *156 + items: *157 examples: - default: *157 + default: *158 '304': *37 '400': *14 '403': *29 @@ -24646,7 +24661,7 @@ paths: type: integer secrets: type: array - items: &158 + items: &159 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -24723,7 +24738,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &426 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24740,7 +24755,7 @@ paths: - key_id - key examples: - default: &423 + default: &427 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24770,7 +24785,7 @@ paths: description: Response content: application/json: - schema: *158 + schema: *159 examples: default: value: @@ -25067,7 +25082,7 @@ paths: application/json: schema: type: array - items: &205 + items: &206 title: Package description: A software package type: object @@ -25117,8 +25132,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *159 - required: *160 + properties: *160 + required: *161 nullable: true created_at: type: string @@ -25137,7 +25152,7 @@ paths: - created_at - updated_at examples: - default: &206 + default: &207 value: - id: 197 name: hello_docker @@ -25304,7 +25319,7 @@ paths: application/json: schema: type: array - items: &183 + items: &184 title: Organization Invitation description: Organization Invitation type: object @@ -25351,7 +25366,7 @@ paths: - invitation_teams_url - node_id examples: - default: &184 + default: &185 value: - id: 1 login: monalisa @@ -25418,7 +25433,7 @@ paths: application/json: schema: type: array - items: &161 + items: &162 title: Org Hook description: Org Hook type: object @@ -25589,9 +25604,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: &162 + default: &163 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -25639,7 +25654,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *93 - - &163 + - &164 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. @@ -25652,9 +25667,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *162 + default: *163 '404': *6 x-github: githubCloudOnly: false @@ -25682,7 +25697,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *93 - - *163 + - *164 requestBody: required: false content: @@ -25727,7 +25742,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -25769,7 +25784,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *93 - - *163 + - *164 responses: '204': description: Response @@ -25797,7 +25812,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *93 - - *163 + - *164 responses: '200': description: Response @@ -25828,7 +25843,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *93 - - *163 + - *164 requestBody: required: false content: @@ -25879,9 +25894,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *93 - - *163 - - *17 - *164 + - *17 + - *165 responses: '200': description: Response @@ -25889,9 +25904,9 @@ paths: application/json: schema: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 '400': *14 '422': *15 x-github: @@ -25917,16 +25932,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *93 - - *163 + - *164 - *16 responses: '200': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *168 + default: *169 '400': *14 '422': *15 x-github: @@ -25952,7 +25967,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *93 - - *163 + - *164 - *16 responses: '202': *47 @@ -25982,7 +25997,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *93 - - *163 + - *164 responses: '204': description: Response @@ -26005,7 +26020,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *93 - - &173 + - &174 name: actor_type in: path description: The type of the actor @@ -26018,14 +26033,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &174 + - &175 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &169 + - &170 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`.' @@ -26033,7 +26048,7 @@ paths: required: true schema: type: string - - &170 + - &171 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) @@ -26127,12 +26142,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *93 - - *169 - *170 + - *171 - *19 - *17 - *48 - - &179 + - &180 name: sort description: The property to sort the results by. in: query @@ -26211,14 +26226,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *93 - - *169 - *170 + - *171 responses: '200': description: Response content: application/json: - schema: &171 + schema: &172 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -26234,7 +26249,7 @@ paths: type: integer format: int64 examples: - default: &172 + default: &173 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -26255,23 +26270,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *93 - - &175 + - &176 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *169 - *170 + - *171 responses: '200': description: Response content: application/json: - schema: *171 + schema: *172 examples: - default: *172 + default: *173 x-github: enabledForGitHubApps: true category: orgs @@ -26290,18 +26305,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *93 - - *169 - *170 - - *173 + - *171 - *174 + - *175 responses: '200': description: Response content: application/json: - schema: *171 + schema: *172 examples: - default: *172 + default: *173 x-github: enabledForGitHubApps: true category: orgs @@ -26319,9 +26334,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *93 - - *169 - *170 - - &176 + - *171 + - &177 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -26334,7 +26349,7 @@ paths: description: Response content: application/json: - schema: &177 + schema: &178 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -26350,7 +26365,7 @@ paths: type: integer format: int64 examples: - default: &178 + default: &179 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -26387,18 +26402,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *93 - - *175 - - *169 - - *170 - *176 + - *170 + - *171 + - *177 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: enabledForGitHubApps: true category: orgs @@ -26416,19 +26431,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *93 - - *173 - *174 - - *169 + - *175 - *170 - - *176 + - *171 + - *177 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: enabledForGitHubApps: true category: orgs @@ -26446,13 +26461,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *93 - - *175 - - *169 + - *176 - *170 + - *171 - *19 - *17 - *48 - - *179 + - *180 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -26533,7 +26548,7 @@ paths: application/json: schema: *22 examples: - default: &461 + default: &465 value: id: 1 account: @@ -26699,12 +26714,12 @@ paths: application/json: schema: anyOf: - - &181 + - &182 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &180 + limit: &181 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -26729,7 +26744,7 @@ paths: properties: {} additionalProperties: false examples: - default: &182 + default: &183 value: limit: collaborators_only origin: organization @@ -26758,13 +26773,13 @@ paths: required: true content: application/json: - schema: &462 + schema: &466 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *180 + limit: *181 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -26788,9 +26803,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: - default: *182 + default: *183 '422': *15 x-github: githubCloudOnly: false @@ -26866,9 +26881,9 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: - default: *184 + default: *185 headers: Link: *57 '404': *6 @@ -26945,7 +26960,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: value: @@ -27000,7 +27015,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *93 - - &185 + - &186 name: invitation_id description: The unique identifier of the invitation. in: path @@ -27031,7 +27046,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *93 - - *185 + - *186 - *17 - *19 responses: @@ -27041,9 +27056,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: &204 + default: &205 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -27118,7 +27133,7 @@ paths: - closed - all default: open - - *187 + - *188 - name: sort description: What to sort results by. in: query @@ -27143,7 +27158,7 @@ paths: type: array items: *76 examples: - default: *188 + default: *189 headers: Link: *57 '404': *6 @@ -27201,7 +27216,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '422': *15 @@ -27297,9 +27312,9 @@ paths: type: integer codespaces: type: array - items: *190 + items: *191 examples: - default: *191 + default: *192 '304': *37 '500': *144 '401': *25 @@ -27326,7 +27341,7 @@ paths: parameters: - *93 - *131 - - &192 + - &193 name: codespace_name in: path required: true @@ -27361,15 +27376,15 @@ paths: parameters: - *93 - *131 - - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: &388 + default: &392 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -27549,7 +27564,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *193 + schema: *194 examples: default: value: @@ -27624,7 +27639,7 @@ paths: description: Response content: application/json: - schema: &195 + schema: &196 title: Org Membership description: Org Membership type: object @@ -27653,7 +27668,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *194 + organization: *195 user: title: Simple User description: A GitHub user. @@ -27676,7 +27691,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &196 + response-if-user-has-an-active-admin-membership-with-organization: &197 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -27773,9 +27788,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - response-if-user-already-had-membership-with-organization: *196 + response-if-user-already-had-membership-with-organization: *197 '422': *15 '403': *29 x-github: @@ -27843,7 +27858,7 @@ paths: application/json: schema: type: array - items: &197 + items: &198 title: Migration description: A migration. type: object @@ -28172,7 +28187,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -28351,7 +28366,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *93 - - &198 + - &199 name: migration_id description: The unique identifier of the migration. in: path @@ -28378,7 +28393,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -28548,7 +28563,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *93 - - *198 + - *199 responses: '302': description: Response @@ -28570,7 +28585,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *93 - - *198 + - *199 responses: '204': description: Response @@ -28594,8 +28609,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *93 - - *198 - - &607 + - *199 + - &611 name: repo_name description: repo_name parameter in: path @@ -28623,7 +28638,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *93 - - *198 + - *199 - *17 - *19 responses: @@ -28635,7 +28650,7 @@ paths: type: array items: *118 examples: - default: &211 + default: &212 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -28788,7 +28803,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &201 + items: &202 title: Organization Role description: Organization roles type: object @@ -28936,7 +28951,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *93 - - &199 + - &200 name: team_slug description: The slug of the team name. in: path @@ -28968,8 +28983,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *93 - - *199 - - &200 + - *200 + - &201 name: role_id description: The unique identifier of the role. in: path @@ -29005,8 +29020,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *93 - - *199 - *200 + - *201 responses: '204': description: Response @@ -29059,7 +29074,7 @@ paths: parameters: - *93 - *131 - - *200 + - *201 responses: '204': description: Response @@ -29091,7 +29106,7 @@ paths: parameters: - *93 - *131 - - *200 + - *201 responses: '204': description: Response @@ -29120,13 +29135,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *93 - - *200 + - *201 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: default: value: @@ -29177,7 +29192,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *93 - - *200 + - *201 - *17 - *19 responses: @@ -29255,8 +29270,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *202 - required: *203 + properties: *203 + required: *204 nullable: true required: - id @@ -29271,7 +29286,7 @@ paths: - slug - parent examples: - default: *204 + default: *205 headers: Link: *57 '404': @@ -29301,7 +29316,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *93 - - *200 + - *201 - *17 - *19 responses: @@ -29329,13 +29344,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &247 + items: &248 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *202 - required: *203 + properties: *203 + required: *204 name: nullable: true type: string @@ -29430,7 +29445,7 @@ paths: - type - url examples: - default: *189 + default: *190 headers: Link: *57 '404': @@ -29478,7 +29493,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -29620,7 +29635,7 @@ paths: - nuget - container - *93 - - &609 + - &613 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29656,12 +29671,12 @@ paths: application/json: schema: type: array - items: *205 + items: *206 examples: - default: *206 + default: *207 '403': *29 '401': *25 - '400': &611 + '400': &615 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -29683,7 +29698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &207 + - &208 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 @@ -29701,7 +29716,7 @@ paths: - docker - nuget - container - - &208 + - &209 name: package_name description: The name of the package. in: path @@ -29714,7 +29729,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *206 examples: default: value: @@ -29766,8 +29781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *207 - *208 + - *209 - *93 responses: '204': @@ -29800,8 +29815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *207 - *208 + - *209 - *93 - name: token description: package token @@ -29834,8 +29849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *207 - *208 + - *209 - *93 - *19 - *17 @@ -29856,7 +29871,7 @@ paths: application/json: schema: type: array - items: &209 + items: &210 title: Package Version description: A version of a software package type: object @@ -29981,10 +29996,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *207 - *208 + - *209 - *93 - - &210 + - &211 name: package_version_id description: Unique identifier of the package version. in: path @@ -29996,7 +30011,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *210 examples: default: value: @@ -30032,10 +30047,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *207 - *208 + - *209 - *93 - - *210 + - *211 responses: '204': description: Response @@ -30067,10 +30082,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *207 - *208 + - *209 - *93 - - *210 + - *211 responses: '204': description: Response @@ -30100,7 +30115,7 @@ paths: - *93 - *17 - *19 - - &212 + - &213 name: sort description: The property by which to sort the results. in: query @@ -30111,7 +30126,7 @@ paths: - created_at default: created_at - *48 - - &213 + - &214 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -30122,7 +30137,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &214 + - &215 name: repository description: The name of the repository to use to filter the results. in: query @@ -30130,7 +30145,7 @@ paths: schema: type: string example: Hello-World - - &215 + - &216 name: permission description: The permission to use to filter the results. in: query @@ -30138,7 +30153,7 @@ paths: schema: type: string example: issues_read - - &216 + - &217 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) @@ -30148,7 +30163,7 @@ paths: schema: type: string format: date-time - - &217 + - &218 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) @@ -30460,7 +30475,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -30486,13 +30501,13 @@ paths: - *93 - *17 - *19 - - *212 - - *48 - *213 + - *48 - *214 - *215 - *216 - *217 + - *218 responses: '500': *144 '422': *15 @@ -30774,7 +30789,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -30818,7 +30833,7 @@ paths: type: integer configurations: type: array - items: &218 + items: &219 title: Organization private registry description: Private registry configuration for an organization type: object @@ -31024,7 +31039,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &219 + org-private-registry-with-selected-visibility: &220 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -31124,9 +31139,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *218 + schema: *219 examples: - default: *219 + default: *220 '404': *6 x-github: githubCloudOnly: false @@ -31276,7 +31291,7 @@ paths: application/json: schema: type: array - items: &220 + items: &221 title: Project description: Projects are a way to organize columns and cards of work. @@ -31446,7 +31461,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: value: @@ -31484,7 +31499,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &277 + '410': &281 description: Gone content: application/json: @@ -31516,7 +31531,7 @@ paths: application/json: schema: type: array - items: &221 + items: &222 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -31582,7 +31597,7 @@ paths: - property_name - value_type examples: - default: &222 + default: &223 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -31637,7 +31652,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *221 + items: *222 minItems: 1 maxItems: 100 required: @@ -31667,9 +31682,9 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '403': *29 '404': *6 x-github: @@ -31691,7 +31706,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *93 - - &223 + - &224 name: custom_property_name description: The custom property name in: path @@ -31703,9 +31718,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: &224 + default: &225 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -31740,7 +31755,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *93 - - *223 + - *224 requestBody: required: true content: @@ -31801,9 +31816,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *224 + default: *225 '403': *29 '404': *6 x-github: @@ -31827,7 +31842,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *93 - - *223 + - *224 responses: '204': *141 '403': *29 @@ -31888,7 +31903,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &225 + items: &226 title: Custom Property Value description: Custom property name and associated value type: object @@ -31975,7 +31990,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *225 + items: *226 required: - repository_names - properties @@ -32028,7 +32043,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -32167,7 +32182,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -32369,7 +32384,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &283 title: Full Repository description: Full Repository type: object @@ -32646,8 +32661,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *226 - required: *227 + properties: *227 + required: *228 nullable: true temp_clone_token: type: string @@ -32762,7 +32777,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &410 + properties: &414 url: type: string format: uri @@ -32778,12 +32793,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &411 + required: &415 - url - key - name - html_url - security_and_analysis: *228 + security_and_analysis: *229 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -32867,7 +32882,7 @@ paths: - network_count - subscribers_count examples: - default: &281 + default: &285 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33388,7 +33403,7 @@ paths: - *93 - *17 - *19 - - &546 + - &550 name: targets description: | A comma-separated list of rule targets to filter by. @@ -33406,7 +33421,7 @@ paths: application/json: schema: type: array - items: &235 + items: &236 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -33441,7 +33456,7 @@ paths: source: type: string description: The name of the source - enforcement: &231 + enforcement: &232 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -33454,7 +33469,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &232 + items: &233 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -33519,7 +33534,7 @@ paths: conditions: nullable: true anyOf: - - &229 + - &230 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -33543,7 +33558,7 @@ paths: match. items: type: string - - &233 + - &234 title: Organization ruleset conditions type: object description: |- @@ -33557,7 +33572,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *229 + - *230 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -33591,7 +33606,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *229 + - *230 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -33613,7 +33628,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *229 + - *230 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -33626,7 +33641,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &230 + items: &231 title: Repository ruleset property targeting definition type: object @@ -33659,17 +33674,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *230 + items: *231 required: - repository_property rules: type: array - items: &234 + items: &235 title: Repository Rule type: object description: A repository rule. oneOf: - - &528 + - &532 title: creation description: Only allow users with bypass permission to create matching refs. @@ -33681,7 +33696,7 @@ paths: type: string enum: - creation - - &529 + - &533 title: update description: Only allow users with bypass permission to update matching refs. @@ -33702,7 +33717,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &531 + - &535 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -33714,7 +33729,7 @@ paths: type: string enum: - deletion - - &532 + - &536 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -33726,7 +33741,7 @@ paths: type: string enum: - required_linear_history - - &533 + - &537 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -33804,7 +33819,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &534 + - &538 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -33828,7 +33843,7 @@ paths: type: string required: - required_deployment_environments - - &535 + - &539 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -33840,7 +33855,7 @@ paths: type: string enum: - required_signatures - - &536 + - &540 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -33893,7 +33908,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &537 + - &541 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -33941,7 +33956,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &538 + - &542 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -33953,7 +33968,7 @@ paths: type: string enum: - non_fast_forward - - &539 + - &543 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -33989,7 +34004,7 @@ paths: required: - operator - pattern - - &540 + - &544 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -34025,7 +34040,7 @@ paths: required: - operator - pattern - - &541 + - &545 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -34061,7 +34076,7 @@ paths: required: - operator - pattern - - &542 + - &546 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -34097,7 +34112,7 @@ paths: required: - operator - pattern - - &543 + - &547 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -34223,7 +34238,7 @@ paths: maximum: 100 required: - max_file_size - - &544 + - &548 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -34273,7 +34288,7 @@ paths: - repository_id required: - workflows - - &545 + - &549 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -34407,16 +34422,16 @@ paths: - push - repository default: branch - enforcement: *231 + enforcement: *232 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *232 - conditions: *233 + items: *233 + conditions: *234 rules: type: array description: An array of rules within the ruleset. - items: *234 + items: *235 required: - name - enforcement @@ -34454,9 +34469,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: &236 + default: &237 value: id: 21 name: super cool ruleset @@ -34511,7 +34526,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *93 - - &547 + - &551 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 @@ -34526,7 +34541,7 @@ paths: in: query schema: type: string - - &548 + - &552 name: time_period description: |- The time period to filter by. @@ -34542,14 +34557,14 @@ paths: - week - month default: day - - &549 + - &553 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 - - &550 + - &554 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -34569,7 +34584,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &555 title: Rule Suites description: Response type: array @@ -34624,7 +34639,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &552 + default: &556 value: - id: 21 actor_id: 12 @@ -34668,7 +34683,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *93 - - &553 + - &557 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -34684,7 +34699,7 @@ paths: description: Response content: application/json: - schema: &554 + schema: &558 title: Rule Suite description: Response type: object @@ -34783,7 +34798,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &555 + default: &559 value: id: 21 actor_id: 12 @@ -34856,9 +34871,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *236 + default: *237 '404': *6 '500': *144 put: @@ -34902,16 +34917,16 @@ paths: - tag - push - repository - enforcement: *231 + enforcement: *232 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *232 - conditions: *233 + items: *233 + conditions: *234 rules: description: An array of rules within the ruleset. type: array - items: *234 + items: *235 examples: default: value: @@ -34946,9 +34961,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *236 + default: *237 '404': *6 '500': *144 delete: @@ -34995,14 +35010,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *93 - - *237 - *238 - *239 - *240 + - *241 - *48 - *19 - *17 - - &557 + - &561 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -35012,7 +35027,7 @@ paths: required: false schema: type: string - - &558 + - &562 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -35022,9 +35037,9 @@ paths: required: false schema: type: string - - *241 - *242 - *243 + - *244 responses: '200': description: Response @@ -35032,9 +35047,9 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: - default: *245 + default: *246 headers: Link: *57 '404': *6 @@ -35104,7 +35119,7 @@ paths: application/json: schema: type: array - items: &565 + items: &569 description: A repository security advisory. type: object properties: @@ -35324,7 +35339,7 @@ paths: login: type: string description: The username of the user credited. - type: *246 + type: *247 credits_detailed: type: array nullable: true @@ -35334,7 +35349,7 @@ paths: type: object properties: user: *4 - type: *246 + type: *247 state: type: string description: The state of the user's acceptance of the @@ -35358,7 +35373,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *186 + items: *187 private_fork: readOnly: true nullable: true @@ -35395,7 +35410,7 @@ paths: - private_fork additionalProperties: false examples: - default: &566 + default: &570 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -35782,9 +35797,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *204 + default: *205 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35808,7 +35823,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *93 - - *199 + - *200 responses: '204': description: Response @@ -35834,7 +35849,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *93 - - *199 + - *200 responses: '204': description: Response @@ -35869,7 +35884,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &629 type: object properties: total_minutes_used: @@ -35939,7 +35954,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &626 + default: &630 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -35975,7 +35990,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &631 type: object properties: total_gigabytes_bandwidth_used: @@ -35993,7 +36008,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &628 + default: &632 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -36025,7 +36040,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &633 type: object properties: days_left_in_billing_cycle: @@ -36043,7 +36058,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &630 + default: &634 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -36053,6 +36068,369 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/network-configurations": + get: + summary: List hosted compute network configurations for an organization + description: |- + Lists all hosted compute network configurations configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization + parameters: + - *93 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: &249 + title: Hosted compute network configuration + description: A hosted compute network configuration. + type: object + properties: + id: + description: The unique identifier of the network configuration. + type: string + example: 123ABC456DEF789 + name: + description: The name of the network configuration. + type: string + example: my-network-configuration + compute_service: + description: The hosted compute service the network configuration + supports. + type: string + enum: + - none + - actions + - codespaces + network_settings_ids: + description: The unique identifier of each network settings + in the configuration. + type: array + items: + type: string + example: 123ABC456DEF789 + created_on: + description: The time at which the network configuration + was created, in ISO 8601 format. + type: string + format: date-time + example: '2024-04-26T11:31:07Z' + nullable: true + required: + - id + - name + - created_on + examples: + default: + value: + total_count: 2 + network_configurations: + - id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + - id: 456789ABDCEF123 + name: My other configuration + compute_service: none + network_settings_ids: + - 56789ABDCEF1234 + - 6789ABDCEF12345 + created_on: '2023-04-26T15:23:37Z' + headers: + Link: *57 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an organization + description: |- + Creates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *93 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: *249 + examples: + default: &250 + value: + id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an organization + description: |- + Gets a hosted compute network configuration configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *93 + - &251 + name: network_configuration_id + description: Unique identifier of the hosted compute network configuration. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *249 + examples: + default: *250 + headers: + Link: *57 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an organization + description: |- + Updates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *93 + - *251 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: *249 + examples: + default: *250 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an organization + description: |- + Deletes a hosted compute network configuration from an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization + parameters: + - *93 + - *251 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an organization + description: |- + Gets a hosted compute network settings resource configured for an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-settings-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization + parameters: + - *93 + - name: network_settings_id + description: Unique identifier of the hosted compute network settings. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + title: Hosted compute network settings resource + description: A hosted compute network settings resource. + type: object + properties: + id: + description: The unique identifier of the network settings resource. + type: string + example: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: + description: The identifier of the network configuration that + is using this settings resource. + type: string + example: 934E208B3EE0BD60CF5F752C426BFB53562 + name: + description: The name of the network settings resource. + type: string + example: my-network-settings + subnet_id: + description: The subnet this network settings resource is configured + for. + type: string + example: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: + description: The location of the subnet this network settings + resource is configured for. + type: string + example: eastus + required: + - id + - name + - subnet_id + - region + examples: + default: + value: + id: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 + name: my_network_settings + subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: eastus + headers: + Link: *57 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations "/orgs/{org}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for a team @@ -36078,7 +36456,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *93 - - *199 + - *200 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -36110,13 +36488,13 @@ paths: application/json: schema: type: array - items: *248 + items: *252 examples: - default: *249 + default: *253 '500': *144 '403': *29 '404': *6 - '422': *250 + '422': *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36151,7 +36529,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *93 - - *199 + - *200 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -36183,9 +36561,9 @@ paths: application/json: schema: type: array - items: *251 + items: *255 examples: - default: *252 + default: *256 '500': *144 '401': *25 '403': *29 @@ -36217,9 +36595,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 headers: Link: *57 '403': *29 @@ -36313,7 +36691,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &257 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -36376,8 +36754,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *202 - required: *203 + properties: *203 + required: *204 nullable: true members_count: type: integer @@ -36623,7 +37001,7 @@ paths: - repos_count - organization examples: - default: &254 + default: &258 value: id: 1 node_id: MDQ6VGVhbTE= @@ -36694,15 +37072,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *93 - - *199 + - *200 responses: '200': description: Response content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '404': *6 x-github: githubCloudOnly: false @@ -36724,7 +37102,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *93 - - *199 + - *200 requestBody: required: false content: @@ -36786,16 +37164,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '201': description: Response content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '404': *6 '422': *15 '403': *29 @@ -36821,7 +37199,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *93 - - *199 + - *200 responses: '204': description: Response @@ -36848,7 +37226,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *93 - - *199 + - *200 - *48 - *17 - *19 @@ -36865,7 +37243,7 @@ paths: application/json: schema: type: array - items: &255 + items: &259 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -36964,7 +37342,7 @@ paths: - updated_at - url examples: - default: &580 + default: &584 value: - author: login: octocat @@ -37039,7 +37417,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *93 - - *199 + - *200 requestBody: required: true content: @@ -37073,9 +37451,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: &256 + default: &260 value: author: login: octocat @@ -37148,8 +37526,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *93 - - *199 - - &257 + - *200 + - &261 name: discussion_number description: The number that identifies the discussion. in: path @@ -37161,9 +37539,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *256 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37186,8 +37564,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *93 - - *199 - - *257 + - *200 + - *261 requestBody: required: false content: @@ -37210,9 +37588,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: &581 + default: &585 value: author: login: octocat @@ -37283,8 +37661,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *93 - - *199 - - *257 + - *200 + - *261 responses: '204': description: Response @@ -37311,8 +37689,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *93 - - *199 - - *257 + - *200 + - *261 - *48 - *17 - *19 @@ -37323,7 +37701,7 @@ paths: application/json: schema: type: array - items: &258 + items: &262 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -37395,7 +37773,7 @@ paths: - updated_at - url examples: - default: &582 + default: &586 value: - author: login: octocat @@ -37464,8 +37842,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *93 - - *199 - - *257 + - *200 + - *261 requestBody: required: true content: @@ -37487,9 +37865,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: &259 + default: &263 value: author: login: octocat @@ -37556,9 +37934,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *93 - - *199 - - *257 - - &260 + - *200 + - *261 + - &264 name: comment_number description: The number that identifies the comment. in: path @@ -37570,9 +37948,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: *259 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37595,9 +37973,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *93 - - *199 - - *257 - - *260 + - *200 + - *261 + - *264 requestBody: required: true content: @@ -37619,9 +37997,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: &583 + default: &587 value: author: login: octocat @@ -37686,9 +38064,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *93 - - *199 - - *257 - - *260 + - *200 + - *261 + - *264 responses: '204': description: Response @@ -37715,9 +38093,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *93 - - *199 - - *257 - - *260 + - *200 + - *261 + - *264 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -37743,7 +38121,7 @@ paths: application/json: schema: type: array - items: &261 + items: &265 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -37786,7 +38164,7 @@ paths: - content - created_at examples: - default: &263 + default: &267 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37837,9 +38215,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *93 - - *199 - - *257 - - *260 + - *200 + - *261 + - *264 requestBody: required: true content: @@ -37872,9 +38250,9 @@ paths: team discussion comment content: application/json: - schema: *261 + schema: *265 examples: - default: &262 + default: &266 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37903,9 +38281,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37929,10 +38307,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *93 - - *199 - - *257 - - *260 - - &264 + - *200 + - *261 + - *264 + - &268 name: reaction_id description: The unique identifier of the reaction. in: path @@ -37965,8 +38343,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *93 - - *199 - - *257 + - *200 + - *261 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -37992,9 +38370,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 x-github: @@ -38021,8 +38399,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *93 - - *199 - - *257 + - *200 + - *261 requestBody: required: true content: @@ -38054,16 +38432,16 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38087,9 +38465,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *93 - - *199 - - *257 - - *264 + - *200 + - *261 + - *268 responses: '204': description: Response @@ -38114,7 +38492,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *93 - - *199 + - *200 - *17 - *19 responses: @@ -38124,9 +38502,9 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: - default: *184 + default: *185 headers: Link: *57 x-github: @@ -38149,7 +38527,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *93 - - *199 + - *200 - name: role description: Filters members returned by their role in the team. in: query @@ -38172,7 +38550,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -38203,14 +38581,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *93 - - *199 + - *200 - *131 responses: '200': description: Response content: application/json: - schema: &265 + schema: &269 title: Team Membership description: Team Membership type: object @@ -38237,7 +38615,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &584 + response-if-user-is-a-team-maintainer: &588 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -38274,7 +38652,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *93 - - *199 + - *200 - *131 requestBody: required: false @@ -38300,9 +38678,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *269 examples: - response-if-users-membership-with-team-is-now-pending: &585 + response-if-users-membership-with-team-is-now-pending: &589 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -38338,7 +38716,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *93 - - *199 + - *200 - *131 responses: '204': @@ -38366,7 +38744,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *93 - - *199 + - *200 - *17 - *19 responses: @@ -38376,7 +38754,7 @@ paths: application/json: schema: type: array - items: &266 + items: &270 title: Team Project description: A team's access to a project. type: object @@ -38444,7 +38822,7 @@ paths: - updated_at - permissions examples: - default: &586 + default: &590 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38506,8 +38884,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *93 - - *199 - - &267 + - *200 + - &271 name: project_id description: The unique identifier of the project. in: path @@ -38519,9 +38897,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *270 examples: - default: &587 + default: &591 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38582,8 +38960,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *93 - - *199 - - *267 + - *200 + - *271 requestBody: required: false content: @@ -38648,8 +39026,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *93 - - *199 - - *267 + - *200 + - *271 responses: '204': description: Response @@ -38674,7 +39052,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *93 - - *199 + - *200 - *17 - *19 responses: @@ -38686,7 +39064,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -38716,15 +39094,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *93 - - *199 - - *268 - - *269 + - *200 + - *272 + - *273 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &588 + schema: &592 title: Team Repository description: A team's access to a repository. type: object @@ -39294,9 +39672,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *93 - - *199 - - *268 - - *269 + - *200 + - *272 + - *273 requestBody: required: false content: @@ -39342,9 +39720,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *93 - - *199 - - *268 - - *269 + - *200 + - *272 + - *273 responses: '204': description: Response @@ -39369,7 +39747,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *93 - - *199 + - *200 - *17 - *19 responses: @@ -39379,9 +39757,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - response-if-child-teams-exist: &589 + response-if-child-teams-exist: &593 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -39505,7 +39883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &270 + - &274 name: card_id description: The unique identifier of the card. in: path @@ -39517,7 +39895,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &275 title: Project Card description: Project cards represent a scope of work. type: object @@ -39584,7 +39962,7 @@ paths: - created_at - updated_at examples: - default: &272 + default: &276 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -39634,7 +40012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *270 + - *274 requestBody: required: false content: @@ -39661,9 +40039,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *275 examples: - default: *272 + default: *276 '304': *37 '403': *29 '401': *25 @@ -39684,7 +40062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *270 + - *274 responses: '204': description: Response @@ -39722,7 +40100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *270 + - *274 requestBody: required: true content: @@ -39827,7 +40205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &273 + - &277 name: column_id description: The unique identifier of the column. in: path @@ -39839,7 +40217,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &278 title: Project Column description: Project columns contain cards of work. type: object @@ -39885,7 +40263,7 @@ paths: - created_at - updated_at examples: - default: &275 + default: &279 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -39914,7 +40292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *273 + - *277 requestBody: required: true content: @@ -39938,9 +40316,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: *275 + default: *279 '304': *37 '403': *29 '401': *25 @@ -39959,7 +40337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *273 + - *277 responses: '204': description: Response @@ -39982,7 +40360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *273 + - *277 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -40003,7 +40381,7 @@ paths: application/json: schema: type: array - items: *271 + items: *275 examples: default: value: @@ -40056,7 +40434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *273 + - *277 requestBody: required: true content: @@ -40096,9 +40474,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *275 examples: - default: *272 + default: *276 '304': *37 '403': *29 '401': *25 @@ -40148,7 +40526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *273 + - *277 requestBody: required: true content: @@ -40204,15 +40582,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *267 + - *271 responses: '200': description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: &276 + default: &280 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -40265,7 +40643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *267 + - *271 requestBody: required: false content: @@ -40311,9 +40689,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: *276 + default: *280 '404': description: Not Found if the authenticated user does not have access to the project @@ -40334,7 +40712,7 @@ paths: items: type: string '401': *25 - '410': *277 + '410': *281 '422': *7 x-github: githubCloudOnly: false @@ -40352,7 +40730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *267 + - *271 responses: '204': description: Delete Success @@ -40373,7 +40751,7 @@ paths: items: type: string '401': *25 - '410': *277 + '410': *281 '404': *6 x-github: githubCloudOnly: false @@ -40396,7 +40774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *267 + - *271 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -40423,7 +40801,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '404': *6 @@ -40448,7 +40826,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *267 + - *271 - *131 requestBody: required: false @@ -40496,7 +40874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *267 + - *271 - *131 responses: '204': @@ -40525,7 +40903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *267 + - *271 - *131 responses: '200': @@ -40593,7 +40971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *267 + - *271 - *17 - *19 responses: @@ -40603,7 +40981,7 @@ paths: application/json: schema: type: array - items: *274 + items: *278 examples: default: value: @@ -40635,7 +41013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *267 + - *271 requestBody: required: true content: @@ -40658,7 +41036,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *278 examples: default: value: @@ -40719,7 +41097,7 @@ paths: resources: type: object properties: - core: &278 + core: &282 title: Rate Limit type: object properties: @@ -40736,20 +41114,20 @@ paths: - remaining - reset - used - graphql: *278 - search: *278 - code_search: *278 - source_import: *278 - integration_manifest: *278 - code_scanning_upload: *278 - actions_runner_registration: *278 - scim: *278 - dependency_snapshots: *278 - code_scanning_autofix: *278 + graphql: *282 + search: *282 + code_search: *282 + source_import: *282 + integration_manifest: *282 + code_scanning_upload: *282 + actions_runner_registration: *282 + scim: *282 + dependency_snapshots: *282 + code_scanning_autofix: *282 required: - core - search - rate: *278 + rate: *282 required: - rate - resources @@ -40853,14 +41231,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *279 + schema: *283 examples: default-response: summary: Default response @@ -41361,7 +41739,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *280 + '301': *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41379,8 +41757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -41616,10 +41994,10 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *281 - '307': &282 + default: *285 + '307': &286 description: Temporary Redirect content: application/json: @@ -41648,8 +42026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -41671,7 +42049,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *282 + '307': *286 '404': *6 x-github: githubCloudOnly: false @@ -41694,11 +42072,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 - - &308 + - &312 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -41721,7 +42099,7 @@ paths: type: integer artifacts: type: array - items: &283 + items: &287 title: Artifact description: An artifact type: object @@ -41792,7 +42170,7 @@ paths: - expires_at - updated_at examples: - default: &309 + default: &313 value: total_count: 2 artifacts: @@ -41851,9 +42229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *268 - - *269 - - &284 + - *272 + - *273 + - &288 name: artifact_id description: The unique identifier of the artifact. in: path @@ -41865,7 +42243,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: default: value: @@ -41902,9 +42280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *268 - - *269 - - *284 + - *272 + - *273 + - *288 responses: '204': description: Response @@ -41928,9 +42306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *268 - - *269 - - *284 + - *272 + - *273 + - *288 - name: archive_format in: path required: true @@ -41944,7 +42322,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': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41967,14 +42345,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *285 + schema: *289 examples: default: value: @@ -42000,11 +42378,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 - - &286 + - &290 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 @@ -42038,7 +42416,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &291 title: Repository actions caches description: Repository actions caches type: object @@ -42080,7 +42458,7 @@ paths: - total_count - actions_caches examples: - default: &288 + default: &292 value: total_count: 1 actions_caches: @@ -42112,23 +42490,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *268 - - *269 + - *272 + - *273 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *286 + - *290 responses: '200': description: Response content: application/json: - schema: *287 + schema: *291 examples: - default: *288 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42148,8 +42526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *268 - - *269 + - *272 + - *273 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -42180,9 +42558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *268 - - *269 - - &289 + - *272 + - *273 + - &293 name: job_id description: The unique identifier of the job. in: path @@ -42194,7 +42572,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &316 title: Job description: Information of a job execution in a workflow run type: object @@ -42501,9 +42879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *268 - - *269 - - *289 + - *272 + - *273 + - *293 responses: '302': description: Response @@ -42531,9 +42909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *268 - - *269 - - *289 + - *272 + - *273 + - *293 requestBody: required: false content: @@ -42578,8 +42956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Status response @@ -42629,8 +43007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -42693,8 +43071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -42712,7 +43090,7 @@ paths: type: integer secrets: type: array - items: &314 + items: &318 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -42732,7 +43110,7 @@ paths: - created_at - updated_at examples: - default: &315 + default: &319 value: total_count: 2 secrets: @@ -42765,9 +43143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *268 - - *269 - - *290 + - *272 + - *273 + - *294 - *19 responses: '200': @@ -42784,7 +43162,7 @@ paths: type: integer variables: type: array - items: &318 + items: &322 title: Actions Variable type: object properties: @@ -42814,7 +43192,7 @@ paths: - created_at - updated_at examples: - default: &319 + default: &323 value: total_count: 2 variables: @@ -42847,8 +43225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -42857,11 +43235,11 @@ paths: schema: type: object properties: - enabled: &292 + enabled: &296 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *107 - selected_actions_url: *291 + selected_actions_url: *295 required: - enabled examples: @@ -42888,8 +43266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -42900,7 +43278,7 @@ paths: schema: type: object properties: - enabled: *292 + enabled: *296 allowed_actions: *107 required: - enabled @@ -42930,14 +43308,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: &293 + schema: &297 type: object properties: access_level: @@ -42954,7 +43332,7 @@ paths: required: - access_level examples: - default: &294 + default: &298 value: access_level: organization x-github: @@ -42978,15 +43356,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: application/json: - schema: *293 + schema: *297 examples: - default: *294 + default: *298 responses: '204': description: Response @@ -43010,8 +43388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -43038,8 +43416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -43071,14 +43449,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *295 + schema: *299 examples: default: *113 x-github: @@ -43101,8 +43479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Success response @@ -43113,7 +43491,7 @@ paths: required: true content: application/json: - schema: *296 + schema: *300 examples: default: *113 x-github: @@ -43142,8 +43520,8 @@ paths: in: query schema: type: string - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -43187,8 +43565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -43196,9 +43574,9 @@ paths: application/json: schema: type: array - items: *297 + items: *301 examples: - default: *298 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,8 +43598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -43264,7 +43642,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *299 + '201': *303 '404': *6 '422': *7 x-github: @@ -43294,8 +43672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '201': description: Response @@ -43303,7 +43681,7 @@ paths: application/json: schema: *122 examples: - default: *300 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43331,8 +43709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '201': description: Response @@ -43340,7 +43718,7 @@ paths: application/json: schema: *122 examples: - default: *301 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43362,8 +43740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 responses: '200': @@ -43372,7 +43750,7 @@ paths: application/json: schema: *120 examples: - default: *302 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43393,8 +43771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 responses: '204': @@ -43420,8 +43798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 responses: '200': *124 @@ -43446,8 +43824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 requestBody: required: true @@ -43496,8 +43874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 requestBody: required: true @@ -43547,11 +43925,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 responses: - '200': *303 + '200': *307 '404': *6 x-github: githubCloudOnly: false @@ -43578,10 +43956,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 - - *304 + - *308 responses: '200': *124 '404': *6 @@ -43609,9 +43987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *268 - - *269 - - &322 + - *272 + - *273 + - &326 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. @@ -43619,7 +43997,7 @@ paths: required: false schema: type: string - - &323 + - &327 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -43627,7 +44005,7 @@ paths: required: false schema: type: string - - &324 + - &328 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -43636,7 +44014,7 @@ paths: required: false schema: type: string - - &325 + - &329 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 @@ -43663,7 +44041,7 @@ paths: - pending - *17 - *19 - - &326 + - &330 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -43672,7 +44050,7 @@ paths: schema: type: string format: date-time - - &305 + - &309 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -43681,13 +44059,13 @@ paths: schema: type: boolean default: false - - &327 + - &331 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &328 + - &332 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -43710,7 +44088,7 @@ paths: type: integer workflow_runs: type: array - items: &306 + items: &310 title: Workflow Run description: An invocation of a workflow type: object @@ -43805,7 +44183,7 @@ paths: that triggered the run. type: array nullable: true - items: &347 + items: &351 title: Pull Request Minimal type: object properties: @@ -43924,7 +44302,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &351 + properties: &355 id: type: string description: SHA for the commit @@ -43975,7 +44353,7 @@ paths: - name - email nullable: true - required: &352 + required: &356 - id - tree_id - message @@ -44022,7 +44400,7 @@ paths: - workflow_url - pull_requests examples: - default: &329 + default: &333 value: total_count: 1 workflow_runs: @@ -44258,24 +44636,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *268 - - *269 - - &307 + - *272 + - *273 + - &311 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *305 + - *309 responses: '200': description: Response content: application/json: - schema: *306 + schema: *310 examples: - default: &310 + default: &314 value: id: 30433642 name: Build @@ -44516,9 +44894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '204': description: Response @@ -44541,9 +44919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '200': description: Response @@ -44662,9 +45040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '201': description: Response @@ -44697,12 +45075,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 - *17 - *19 - - *308 + - *312 responses: '200': description: Response @@ -44718,9 +45096,9 @@ paths: type: integer artifacts: type: array - items: *283 + items: *287 examples: - default: *309 + default: *313 headers: Link: *57 x-github: @@ -44744,25 +45122,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *268 - - *269 - - *307 - - &311 + - *272 + - *273 + - *311 + - &315 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *305 + - *309 responses: '200': description: Response content: application/json: - schema: *306 + schema: *310 examples: - default: *310 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44785,10 +45163,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *268 - - *269 - - *307 + - *272 + - *273 - *311 + - *315 - *17 - *19 responses: @@ -44806,9 +45184,9 @@ paths: type: integer jobs: type: array - items: *312 + items: *316 examples: - default: &313 + default: &317 value: total_count: 1 jobs: @@ -44921,10 +45299,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *268 - - *269 - - *307 + - *272 + - *273 - *311 + - *315 responses: '302': description: Response @@ -44952,9 +45330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '202': description: Response @@ -44987,9 +45365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 requestBody: required: true content: @@ -45056,9 +45434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '202': description: Response @@ -45091,9 +45469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 - 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 @@ -45123,9 +45501,9 @@ paths: type: integer jobs: type: array - items: *312 + items: *316 examples: - default: *313 + default: *317 headers: Link: *57 x-github: @@ -45150,9 +45528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '302': description: Response @@ -45179,9 +45557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '204': description: Response @@ -45208,9 +45586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '200': description: Response @@ -45270,7 +45648,7 @@ paths: items: type: object properties: - type: &431 + type: &435 type: string description: The type of reviewer. enum: @@ -45280,7 +45658,7 @@ paths: reviewer: anyOf: - *4 - - *186 + - *187 required: - environment - wait_timer @@ -45355,9 +45733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 requestBody: required: true content: @@ -45404,7 +45782,7 @@ paths: application/json: schema: type: array - items: &426 + items: &430 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -45510,7 +45888,7 @@ paths: - created_at - updated_at examples: - default: &427 + default: &431 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -45566,9 +45944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 requestBody: required: false content: @@ -45612,9 +45990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 requestBody: required: false content: @@ -45660,9 +46038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '200': description: Response @@ -45799,8 +46177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -45818,9 +46196,9 @@ paths: type: integer secrets: type: array - items: *314 + items: *318 examples: - default: *315 + default: *319 headers: Link: *57 x-github: @@ -45845,16 +46223,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *316 + schema: *320 examples: - default: *317 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45876,17 +46254,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '200': description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: &444 + default: &448 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -45912,8 +46290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 requestBody: required: true @@ -45968,8 +46346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '204': @@ -45995,9 +46373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *268 - - *269 - - *290 + - *272 + - *273 + - *294 - *19 responses: '200': @@ -46014,9 +46392,9 @@ paths: type: integer variables: type: array - items: *318 + items: *322 examples: - default: *319 + default: *323 headers: Link: *57 x-github: @@ -46039,8 +46417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -46092,17 +46470,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *268 - - *269 + - *272 + - *273 - *129 responses: '200': description: Response content: application/json: - schema: *318 + schema: *322 examples: - default: &445 + default: &449 value: name: USERNAME value: octocat @@ -46128,8 +46506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *268 - - *269 + - *272 + - *273 - *129 requestBody: required: true @@ -46172,8 +46550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *268 - - *269 + - *272 + - *273 - *129 responses: '204': @@ -46199,8 +46577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -46218,7 +46596,7 @@ paths: type: integer workflows: type: array - items: &320 + items: &324 title: Workflow description: A GitHub Actions workflow type: object @@ -46325,9 +46703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *268 - - *269 - - &321 + - *272 + - *273 + - &325 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -46342,7 +46720,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *324 examples: default: value: @@ -46375,9 +46753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *268 - - *269 - - *321 + - *272 + - *273 + - *325 responses: '204': description: Response @@ -46402,9 +46780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *268 - - *269 - - *321 + - *272 + - *273 + - *325 responses: '204': description: Response @@ -46455,9 +46833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *268 - - *269 - - *321 + - *272 + - *273 + - *325 responses: '204': description: Response @@ -46484,19 +46862,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *268 - - *269 - - *321 - - *322 - - *323 - - *324 + - *272 + - *273 - *325 - - *17 - - *19 - *326 - - *305 - *327 - *328 + - *329 + - *17 + - *19 + - *330 + - *309 + - *331 + - *332 responses: '200': description: Response @@ -46512,9 +46890,9 @@ paths: type: integer workflow_runs: type: array - items: *306 + items: *310 examples: - default: *329 + default: *333 headers: Link: *57 x-github: @@ -46540,9 +46918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *268 - - *269 - - *321 + - *272 + - *273 + - *325 responses: '200': description: Response @@ -46603,8 +46981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *268 - - *269 + - *272 + - *273 - *48 - *17 - *39 @@ -46768,8 +47146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -46781,7 +47159,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '404': *6 @@ -46806,8 +47184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *268 - - *269 + - *272 + - *273 - name: assignee in: path required: true @@ -46843,8 +47221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -46956,8 +47334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *39 - *40 @@ -47003,7 +47381,7 @@ paths: bundle_url: type: string examples: - default: *330 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47023,8 +47401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -47032,7 +47410,7 @@ paths: application/json: schema: type: array - items: &331 + items: &335 title: Autolink reference description: An autolink reference. type: object @@ -47082,8 +47460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -47122,9 +47500,9 @@ paths: description: response content: application/json: - schema: *331 + schema: *335 examples: - default: &332 + default: &336 value: id: 1 key_prefix: TICKET- @@ -47155,9 +47533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *268 - - *269 - - &333 + - *272 + - *273 + - &337 name: autolink_id description: The unique identifier of the autolink. in: path @@ -47169,9 +47547,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: *332 + default: *336 '404': *6 x-github: githubCloudOnly: false @@ -47191,9 +47569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *268 - - *269 - - *333 + - *272 + - *273 + - *337 responses: '204': description: Response @@ -47217,8 +47595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response if Dependabot is enabled @@ -47266,8 +47644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -47288,8 +47666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -47309,8 +47687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *268 - - *269 + - *272 + - *273 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -47348,7 +47726,7 @@ paths: - url protected: type: boolean - protection: &335 + protection: &339 title: Branch Protection description: Branch Protection type: object @@ -47390,7 +47768,7 @@ paths: required: - contexts - checks - enforce_admins: &338 + enforce_admins: &342 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -47405,7 +47783,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &340 + required_pull_request_reviews: &344 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -47426,7 +47804,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *186 + items: *187 apps: description: The list of apps with review dismissal access. @@ -47455,7 +47833,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *186 + items: *187 apps: description: The list of apps allowed to bypass pull request requirements. @@ -47481,7 +47859,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &337 + restrictions: &341 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -47788,9 +48166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *268 - - *269 - - &336 + - *272 + - *273 + - &340 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -47804,14 +48182,14 @@ paths: description: Response content: application/json: - schema: &346 + schema: &350 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &399 + commit: &403 title: Commit description: Commit type: object @@ -47845,7 +48223,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &334 + properties: &338 name: type: string example: '"Chris Wanstrath"' @@ -47860,7 +48238,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *334 + properties: *338 nullable: true message: type: string @@ -47881,7 +48259,7 @@ paths: required: - sha - url - verification: &451 + verification: &455 title: Verification type: object properties: @@ -47950,7 +48328,7 @@ paths: type: integer files: type: array - items: &414 + items: &418 title: Diff Entry description: Diff Entry type: object @@ -48033,7 +48411,7 @@ paths: - self protected: type: boolean - protection: *335 + protection: *339 protection_url: type: string format: uri @@ -48140,7 +48518,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *280 + '301': *284 '404': *6 x-github: githubCloudOnly: false @@ -48162,15 +48540,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *335 + schema: *339 examples: default: value: @@ -48364,9 +48742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -48621,7 +48999,7 @@ paths: url: type: string format: uri - required_status_checks: &343 + required_status_checks: &347 title: Status Check Policy description: Status Check Policy type: object @@ -48697,7 +49075,7 @@ paths: items: *4 teams: type: array - items: *186 + items: *187 apps: type: array items: *5 @@ -48715,7 +49093,7 @@ paths: items: *4 teams: type: array - items: *186 + items: *187 apps: type: array items: *5 @@ -48773,7 +49151,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *337 + restrictions: *341 required_conversation_resolution: type: object properties: @@ -48885,9 +49263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -48912,17 +49290,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: - default: &339 + default: &343 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -48944,17 +49322,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: - default: *339 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48973,9 +49351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -49000,17 +49378,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *340 + schema: *344 examples: - default: &341 + default: &345 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -49106,9 +49484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -49206,9 +49584,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *344 examples: - default: *341 + default: *345 '422': *15 x-github: githubCloudOnly: false @@ -49229,9 +49607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -49258,17 +49636,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: - default: &342 + default: &346 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -49291,17 +49669,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: - default: *342 + default: *346 '404': *6 x-github: githubCloudOnly: false @@ -49321,9 +49699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -49348,17 +49726,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *343 + schema: *347 examples: - default: &344 + default: &348 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -49384,9 +49762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -49438,9 +49816,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *347 examples: - default: *344 + default: *348 '404': *6 '422': *15 x-github: @@ -49462,9 +49840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -49488,9 +49866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response @@ -49524,9 +49902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -49593,9 +49971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -49659,9 +50037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: content: application/json: @@ -49727,15 +50105,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *337 + schema: *341 examples: default: value: @@ -49826,9 +50204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -49851,9 +50229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response @@ -49863,7 +50241,7 @@ paths: type: array items: *5 examples: - default: &345 + default: &349 value: - id: 1 slug: octoapp @@ -49920,9 +50298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -49956,7 +50334,7 @@ paths: type: array items: *5 examples: - default: *345 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -49977,9 +50355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50013,7 +50391,7 @@ paths: type: array items: *5 examples: - default: *345 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -50034,9 +50412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50070,7 +50448,7 @@ paths: type: array items: *5 examples: - default: *345 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -50092,9 +50470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response @@ -50102,9 +50480,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 '404': *6 x-github: githubCloudOnly: false @@ -50124,9 +50502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -50162,9 +50540,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 '422': *15 x-github: githubCloudOnly: false @@ -50185,9 +50563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -50223,9 +50601,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 '422': *15 x-github: githubCloudOnly: false @@ -50246,9 +50624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: content: application/json: @@ -50283,9 +50661,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 '422': *15 x-github: githubCloudOnly: false @@ -50307,9 +50685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response @@ -50319,7 +50697,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 '404': *6 x-github: githubCloudOnly: false @@ -50343,9 +50721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50378,7 +50756,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 '422': *15 x-github: githubCloudOnly: false @@ -50403,9 +50781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50438,7 +50816,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 '422': *15 x-github: githubCloudOnly: false @@ -50463,9 +50841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50498,7 +50876,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 '422': *15 x-github: githubCloudOnly: false @@ -50525,9 +50903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50549,7 +50927,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *350 examples: default: value: @@ -50665,8 +51043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -50945,7 +51323,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &352 title: CheckRun description: A check performed on the code of a given code change type: object @@ -51064,8 +51442,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *347 - deployment: &639 + items: *351 + deployment: &643 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -51345,9 +51723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *268 - - *269 - - &349 + - *272 + - *273 + - &353 name: check_run_id description: The unique identifier of the check run. in: path @@ -51359,9 +51737,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *352 examples: - default: &350 + default: &354 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -51461,9 +51839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *268 - - *269 - - *349 + - *272 + - *273 + - *353 requestBody: required: true content: @@ -51703,9 +52081,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *352 examples: - default: *350 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51725,9 +52103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *268 - - *269 - - *349 + - *272 + - *273 + - *353 - *17 - *19 responses: @@ -51824,9 +52202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *268 - - *269 - - *349 + - *272 + - *273 + - *353 responses: '201': description: Response @@ -51870,8 +52248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -51893,7 +52271,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &353 + schema: &357 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -51957,7 +52335,7 @@ paths: nullable: true pull_requests: type: array - items: *347 + items: *351 nullable: true app: title: GitHub app @@ -51979,12 +52357,12 @@ paths: type: string format: date-time nullable: true - head_commit: &665 + head_commit: &669 title: Simple Commit description: A commit. type: object - properties: *351 - required: *352 + properties: *355 + required: *356 latest_check_runs_count: type: integer check_runs_url: @@ -52012,7 +52390,7 @@ paths: - check_runs_url - pull_requests examples: - default: &354 + default: &358 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -52303,9 +52681,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *353 + schema: *357 examples: - default: *354 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52324,8 +52702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -52634,9 +53012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *268 - - *269 - - &355 + - *272 + - *273 + - &359 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -52648,9 +53026,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *357 examples: - default: *354 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52673,17 +53051,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *268 - - *269 - - *355 - - &407 + - *272 + - *273 + - *359 + - &411 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &408 + - &412 name: status description: Returns check runs with the specified `status`. in: query @@ -52722,9 +53100,9 @@ paths: type: integer check_runs: type: array - items: *348 + items: *352 examples: - default: &409 + default: &413 value: total_count: 1 check_runs: @@ -52826,9 +53204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *268 - - *269 - - *355 + - *272 + - *273 + - *359 responses: '201': description: Response @@ -52861,21 +53239,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *268 - - *269 - - *356 - - *357 + - *272 + - *273 + - *360 + - *361 - *19 - *17 - - &374 + - &378 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: *358 - - &375 + schema: *362 + - &379 name: pr description: The number of the pull request for the results you want to list. in: query @@ -52900,13 +53278,13 @@ paths: be returned. in: query required: false - schema: *359 + schema: *363 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *360 + schema: *364 responses: '200': description: Response @@ -52922,7 +53300,7 @@ paths: updated_at: *132 url: *55 html_url: *56 - instances_url: *361 + instances_url: *365 state: *137 fixed_at: *133 dismissed_by: @@ -52933,11 +53311,11 @@ paths: required: *21 nullable: true dismissed_at: *134 - dismissed_reason: *362 - dismissed_comment: *363 - rule: *364 - tool: *365 - most_recent_instance: *366 + dismissed_reason: *366 + dismissed_comment: *367 + rule: *368 + tool: *369 + most_recent_instance: *370 required: - number - created_at @@ -53053,7 +53431,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &367 + '403': &371 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -53080,9 +53458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *268 - - *269 - - &368 + - *272 + - *273 + - &372 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -53096,7 +53474,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &373 type: object properties: number: *53 @@ -53104,7 +53482,7 @@ paths: updated_at: *132 url: *55 html_url: *56 - instances_url: *361 + instances_url: *365 state: *137 fixed_at: *133 dismissed_by: @@ -53115,8 +53493,8 @@ paths: required: *21 nullable: true dismissed_at: *134 - dismissed_reason: *362 - dismissed_comment: *363 + dismissed_reason: *366 + dismissed_comment: *367 rule: type: object properties: @@ -53170,8 +53548,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *365 - most_recent_instance: *366 + tool: *369 + most_recent_instance: *370 required: - number - created_at @@ -53260,7 +53638,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -53280,9 +53658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 requestBody: required: true content: @@ -53297,8 +53675,8 @@ paths: enum: - open - dismissed - dismissed_reason: *362 - dismissed_comment: *363 + dismissed_reason: *366 + dismissed_comment: *367 required: - state examples: @@ -53313,7 +53691,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *373 examples: default: value: @@ -53388,7 +53766,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &373 + '403': &377 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -53415,15 +53793,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 responses: '200': description: Response content: application/json: - schema: &370 + schema: &374 type: object properties: status: @@ -53449,13 +53827,13 @@ paths: - description - started_at examples: - default: &371 + default: &375 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &372 + '400': &376 description: Bad Request content: application/json: @@ -53466,7 +53844,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': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -53491,29 +53869,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 responses: '200': description: OK content: application/json: - schema: *370 + schema: *374 examples: - default: *371 + default: *375 '202': description: Accepted content: application/json: - schema: *370 + schema: *374 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *372 + '400': *376 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -53545,9 +53923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 requestBody: required: false content: @@ -53592,8 +53970,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *372 - '403': *373 + '400': *376 + '403': *377 '404': *6 '422': description: Unprocessable Entity @@ -53617,13 +53995,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 - *19 - *17 - - *374 - - *375 + - *378 + - *379 responses: '200': description: Response @@ -53631,7 +54009,7 @@ paths: application/json: schema: type: array - items: *366 + items: *370 examples: default: value: @@ -53670,7 +54048,7 @@ paths: end_column: 50 classifications: - source - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -53704,25 +54082,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *268 - - *269 - - *356 - - *357 + - *272 + - *273 + - *360 + - *361 - *19 - *17 - - *375 + - *379 - 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: *358 + schema: *362 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &378 + schema: &382 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -53743,23 +54121,23 @@ paths: application/json: schema: type: array - items: &379 + items: &383 type: object properties: - ref: *358 - commit_sha: &387 + ref: *362 + commit_sha: &391 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: *376 + analysis_key: *380 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *377 + category: *381 error: type: string example: error reading field xyz @@ -53783,8 +54161,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *378 - tool: *365 + sarif_id: *382 + tool: *369 deletable: type: boolean warning: @@ -53845,7 +54223,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -53881,8 +54259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -53895,7 +54273,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *383 examples: response: summary: application/json response @@ -53949,7 +54327,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -54031,8 +54409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54085,7 +54463,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': *373 + '403': *377 '404': *6 '503': *64 x-github: @@ -54107,8 +54485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -54116,7 +54494,7 @@ paths: application/json: schema: type: array - items: &380 + items: &384 title: CodeQL Database description: A CodeQL database. type: object @@ -54227,7 +54605,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': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -54256,8 +54634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: language in: path description: The language of the CodeQL database. @@ -54269,7 +54647,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: default: value: @@ -54301,9 +54679,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': &416 + '302': &420 description: Found - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -54325,8 +54703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *268 - - *269 + - *272 + - *273 - name: language in: path description: The language of the CodeQL database. @@ -54336,7 +54714,7 @@ paths: responses: '204': description: Response - '403': *373 + '403': *377 '404': *6 '503': *64 x-github: @@ -54364,8 +54742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -54374,7 +54752,7 @@ paths: type: object additionalProperties: false properties: - language: &381 + language: &385 type: string description: The language targeted by the CodeQL query enum: @@ -54452,7 +54830,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &385 + schema: &389 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -54462,7 +54840,7 @@ paths: description: The ID of the variant analysis. controller_repo: *52 actor: *4 - query_language: *381 + query_language: *385 query_pack_url: type: string description: The download url for the query pack. @@ -54509,7 +54887,7 @@ paths: items: type: object properties: - repository: &382 + repository: &386 title: Repository Identifier description: Repository Identifier type: object @@ -54545,7 +54923,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &386 + analysis_status: &390 type: string description: The new status of the CodeQL variant analysis repository task. @@ -54577,7 +54955,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &383 + access_mismatch_repos: &387 type: object properties: repository_count: @@ -54591,7 +54969,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: *382 + items: *386 required: - repository_count - repositories @@ -54613,8 +54991,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *383 - over_limit_repos: *383 + no_codeql_db_repos: *387 + over_limit_repos: *387 required: - access_mismatch_repos - not_found_repos @@ -54630,7 +55008,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &384 + value: &388 summary: Default response value: id: 1 @@ -54782,10 +55160,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *384 + value: *388 repository_lists: summary: Response for a successful variant analysis submission - value: *384 + value: *388 '404': *6 '422': description: Unable to process variant analysis submission @@ -54813,8 +55191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *268 - - *269 + - *272 + - *273 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -54826,9 +55204,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *389 examples: - default: *384 + default: *388 '404': *6 '503': *64 x-github: @@ -54851,7 +55229,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *268 + - *272 - name: repo in: path description: The name of the controller repository. @@ -54886,7 +55264,7 @@ paths: type: object properties: repository: *52 - analysis_status: *386 + analysis_status: *390 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -55011,8 +55389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -55086,7 +55464,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -55107,8 +55485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -55190,7 +55568,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *373 + '403': *377 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -55255,8 +55633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -55264,7 +55642,7 @@ paths: schema: type: object properties: - commit_sha: *387 + commit_sha: *391 ref: type: string description: |- @@ -55322,7 +55700,7 @@ paths: schema: type: object properties: - id: *378 + id: *382 url: type: string description: The REST API URL for checking the status of the upload. @@ -55336,7 +55714,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': *373 + '403': *377 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -55359,8 +55737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *268 - - *269 + - *272 + - *273 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -55406,7 +55784,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': *367 + '403': *371 '404': description: Not Found if the sarif id does not match any upload '503': *64 @@ -55431,8 +55809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -55510,8 +55888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *268 - - *269 + - *272 + - *273 - 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 @@ -55631,8 +56009,8 @@ paths: parameters: - *17 - *19 - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -55648,7 +56026,7 @@ paths: type: integer codespaces: type: array - items: *190 + items: *191 examples: default: value: @@ -55946,8 +56324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -56010,17 +56388,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '400': *14 '401': *25 '403': *29 @@ -56049,8 +56427,8 @@ paths: parameters: - *17 - *19 - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -56114,8 +56492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -56150,14 +56528,14 @@ paths: type: integer machines: type: array - items: &596 + items: &600 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *389 - required: *390 + properties: *393 + required: *394 examples: - default: &597 + default: &601 value: total_count: 2 machines: @@ -56197,8 +56575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *268 - - *269 + - *272 + - *273 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -56282,8 +56660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *268 - - *269 + - *272 + - *273 - 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 @@ -56349,8 +56727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -56368,7 +56746,7 @@ paths: type: integer secrets: type: array - items: &394 + items: &398 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -56388,7 +56766,7 @@ paths: - created_at - updated_at examples: - default: *391 + default: *395 headers: Link: *57 x-github: @@ -56411,16 +56789,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *392 + schema: *396 examples: - default: *393 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56440,17 +56818,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '200': description: Response content: application/json: - schema: *394 + schema: *398 examples: - default: *395 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56470,8 +56848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 requestBody: required: true @@ -56524,8 +56902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '204': @@ -56554,8 +56932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *268 - - *269 + - *272 + - *273 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -56597,7 +56975,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &396 + properties: &400 login: type: string example: octocat @@ -56690,7 +57068,7 @@ paths: user_view_type: type: string example: public - required: &397 + required: &401 - avatar_url - events_url - followers_url @@ -56764,8 +57142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *268 - - *269 + - *272 + - *273 - *131 responses: '204': @@ -56808,8 +57186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *268 - - *269 + - *272 + - *273 - *131 requestBody: required: false @@ -56836,7 +57214,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &464 + schema: &468 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -57058,8 +57436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *268 - - *269 + - *272 + - *273 - *131 responses: '204': @@ -57089,8 +57467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *268 - - *269 + - *272 + - *273 - *131 responses: '200': @@ -57111,8 +57489,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *396 - required: *397 + properties: *400 + required: *401 nullable: true required: - permission @@ -57167,8 +57545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -57178,7 +57556,7 @@ paths: application/json: schema: type: array - items: &398 + items: &402 title: Commit Comment description: Commit Comment type: object @@ -57236,7 +57614,7 @@ paths: - created_at - updated_at examples: - default: &401 + default: &405 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57295,17 +57673,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '200': description: Response content: application/json: - schema: *398 + schema: *402 examples: - default: &402 + default: &406 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57362,8 +57740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -57386,7 +57764,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *402 examples: default: value: @@ -57437,8 +57815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '204': @@ -57460,8 +57838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -57488,9 +57866,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 '404': *6 @@ -57511,8 +57889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -57545,16 +57923,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Reaction created content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '422': *15 x-github: githubCloudOnly: false @@ -57576,10 +57954,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *268 - - *269 + - *272 + - *273 - *75 - - *264 + - *268 responses: '204': description: Response @@ -57628,8 +58006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *268 - - *269 + - *272 + - *273 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -57685,9 +58063,9 @@ paths: application/json: schema: type: array - items: *399 + items: *403 examples: - default: &515 + default: &519 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57781,9 +58159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *268 - - *269 - - &400 + - *272 + - *273 + - &404 name: commit_sha description: The SHA of the commit. in: path @@ -57855,9 +58233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *268 - - *269 - - *400 + - *272 + - *273 + - *404 - *17 - *19 responses: @@ -57867,9 +58245,9 @@ paths: application/json: schema: type: array - items: *398 + items: *402 examples: - default: *401 + default: *405 headers: Link: *57 x-github: @@ -57897,9 +58275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *268 - - *269 - - *400 + - *272 + - *273 + - *404 requestBody: required: true content: @@ -57934,9 +58312,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *402 examples: - default: *402 + default: *406 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57964,9 +58342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *268 - - *269 - - *400 + - *272 + - *273 + - *404 - *17 - *19 responses: @@ -57976,7 +58354,7 @@ paths: application/json: schema: type: array - items: &506 + items: &510 title: Pull Request Simple description: Pull Request Simple type: object @@ -58082,8 +58460,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *403 - required: *404 + properties: *407 + required: *408 nullable: true active_lock_reason: type: string @@ -58128,7 +58506,7 @@ paths: nullable: true requested_teams: type: array - items: *186 + items: *187 nullable: true head: type: object @@ -58179,7 +58557,7 @@ paths: _links: type: object properties: - comments: &405 + comments: &409 title: Link description: Hypermedia Link type: object @@ -58188,13 +58566,13 @@ paths: type: string required: - href - commits: *405 - statuses: *405 - html: *405 - issue: *405 - review_comments: *405 - review_comment: *405 - self: *405 + commits: *409 + statuses: *409 + html: *409 + issue: *409 + review_comments: *409 + review_comment: *409 + self: *409 required: - comments - commits @@ -58205,7 +58583,7 @@ paths: - review_comment - self author_association: *62 - auto_merge: &508 + auto_merge: &512 title: Auto merge description: The status of auto merging a pull request. type: object @@ -58268,7 +58646,7 @@ paths: - author_association - auto_merge examples: - default: &507 + default: &511 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -58805,11 +59183,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *268 - - *269 + - *272 + - *273 - *19 - *17 - - &406 + - &410 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)" @@ -58824,9 +59202,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *403 examples: - default: &493 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58939,11 +59317,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *268 - - *269 - - *406 - - *407 - - *408 + - *272 + - *273 + - *410 + - *411 + - *412 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -58977,9 +59355,9 @@ paths: type: integer check_runs: type: array - items: *348 + items: *352 examples: - default: *409 + default: *413 headers: Link: *57 x-github: @@ -59004,9 +59382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *268 - - *269 - - *406 + - *272 + - *273 + - *410 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -59014,7 +59392,7 @@ paths: schema: type: integer example: 1 - - *407 + - *411 - *17 - *19 responses: @@ -59032,7 +59410,7 @@ paths: type: integer check_suites: type: array - items: *353 + items: *357 examples: default: value: @@ -59232,9 +59610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *268 - - *269 - - *406 + - *272 + - *273 + - *410 - *17 - *19 responses: @@ -59432,9 +59810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *268 - - *269 - - *406 + - *272 + - *273 + - *410 - *17 - *19 responses: @@ -59444,7 +59822,7 @@ paths: application/json: schema: type: array - items: &570 + items: &574 title: Status description: The status of a commit. type: object @@ -59525,7 +59903,7 @@ paths: site_admin: false headers: Link: *57 - '301': *280 + '301': *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59553,8 +59931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -59583,20 +59961,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *410 - required: *411 + properties: *414 + required: *415 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &412 + properties: &416 url: type: string format: uri html_url: type: string format: uri - required: &413 + required: &417 - url - html_url nullable: true @@ -59610,26 +59988,26 @@ paths: contributing: title: Community Health File type: object - properties: *412 - required: *413 + properties: *416 + required: *417 nullable: true readme: title: Community Health File type: object - properties: *412 - required: *413 + properties: *416 + required: *417 nullable: true issue_template: title: Community Health File type: object - properties: *412 - required: *413 + properties: *416 + required: *417 nullable: true pull_request_template: title: Community Health File type: object - properties: *412 - required: *413 + properties: *416 + required: *417 nullable: true required: - code_of_conduct @@ -59756,8 +60134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *268 - - *269 + - *272 + - *273 - *19 - *17 - name: basehead @@ -59800,8 +60178,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *399 - merge_base_commit: *399 + base_commit: *403 + merge_base_commit: *403 status: type: string enum: @@ -59821,10 +60199,10 @@ paths: example: 6 commits: type: array - items: *399 + items: *403 files: type: array - items: *414 + items: *418 required: - url - html_url @@ -60110,8 +60488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *268 - - *269 + - *272 + - *273 - name: path description: path parameter in: path @@ -60252,7 +60630,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &415 + response-if-content-is-a-file: &419 summary: Response if content is a file value: type: file @@ -60384,7 +60762,7 @@ paths: - size - type - url - - &520 + - &524 title: Content File description: Content File type: object @@ -60585,7 +60963,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *415 + response-if-content-is-a-file: *419 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -60654,7 +61032,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *416 + '302': *420 '304': *37 x-github: githubCloudOnly: false @@ -60677,8 +61055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *268 - - *269 + - *272 + - *273 - name: path description: path parameter in: path @@ -60771,7 +61149,7 @@ paths: description: Response content: application/json: - schema: &417 + schema: &421 title: File Commit description: File Commit type: object @@ -60923,7 +61301,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *421 examples: example-for-creating-a-file: value: @@ -60977,7 +61355,7 @@ paths: schema: oneOf: - *3 - - &446 + - &450 description: Repository rule violation was detected type: object properties: @@ -60998,7 +61376,7 @@ paths: items: type: object properties: - placeholder_id: &562 + placeholder_id: &566 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -61030,8 +61408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *268 - - *269 + - *272 + - *273 - name: path description: path parameter in: path @@ -61092,7 +61470,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *421 examples: default: value: @@ -61147,8 +61525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *268 - - *269 + - *272 + - *273 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -61271,8 +61649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *148 - *149 - *150 @@ -61285,6 +61663,7 @@ paths: type: string - *152 - *153 + - *154 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -61304,8 +61683,8 @@ paths: default: 30 - *39 - *40 - - *154 - *155 + - *156 responses: '200': description: Response @@ -61313,7 +61692,7 @@ paths: application/json: schema: type: array - items: &420 + items: &424 type: object description: A Dependabot alert. properties: @@ -61346,7 +61725,7 @@ paths: enum: - development - runtime - security_advisory: *418 + security_advisory: *422 security_vulnerability: *51 url: *55 html_url: *56 @@ -61377,7 +61756,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: *419 + auto_dismissed_at: *423 required: - number - state @@ -61604,9 +61983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *268 - - *269 - - &421 + - *272 + - *273 + - &425 name: alert_number in: path description: |- @@ -61621,7 +62000,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *424 examples: default: value: @@ -61731,9 +62110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *268 - - *269 - - *421 + - *272 + - *273 + - *425 requestBody: required: true content: @@ -61778,7 +62157,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *424 examples: default: value: @@ -61907,8 +62286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -61926,7 +62305,7 @@ paths: type: integer secrets: type: array - items: &424 + items: &428 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -61979,16 +62358,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62008,15 +62387,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '200': description: Response content: application/json: - schema: *424 + schema: *428 examples: default: value: @@ -62042,8 +62421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 requestBody: required: true @@ -62096,8 +62475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '204': @@ -62120,8 +62499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *268 - - *269 + - *272 + - *273 - 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 @@ -62281,8 +62660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -62521,8 +62900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -62597,7 +62976,7 @@ paths: - version - url additionalProperties: false - metadata: &425 + metadata: &429 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -62630,7 +63009,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *425 + metadata: *429 resolved: type: object description: A collection of resolved package dependencies. @@ -62643,7 +63022,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *425 + metadata: *429 relationship: type: string description: A notation of whether a dependency is requested @@ -62772,8 +63151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *268 - - *269 + - *272 + - *273 - name: sha description: The SHA recorded at creation time. in: query @@ -62813,9 +63192,9 @@ paths: application/json: schema: type: array - items: *426 + items: *430 examples: - default: *427 + default: *431 headers: Link: *57 x-github: @@ -62881,8 +63260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -62963,7 +63342,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *430 examples: simple-example: summary: Simple example @@ -63036,9 +63415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *268 - - *269 - - &428 + - *272 + - *273 + - &432 name: deployment_id description: deployment_id parameter in: path @@ -63050,7 +63429,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *430 examples: default: value: @@ -63115,9 +63494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *268 - - *269 - - *428 + - *272 + - *273 + - *432 responses: '204': description: Response @@ -63139,9 +63518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *268 - - *269 - - *428 + - *272 + - *273 + - *432 - *17 - *19 responses: @@ -63151,7 +63530,7 @@ paths: application/json: schema: type: array - items: &429 + items: &433 title: Deployment Status description: The status of a deployment. type: object @@ -63312,9 +63691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *268 - - *269 - - *428 + - *272 + - *273 + - *432 requestBody: required: true content: @@ -63389,9 +63768,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *433 examples: - default: &430 + default: &434 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -63447,9 +63826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *268 - - *269 - - *428 + - *272 + - *273 + - *432 - name: status_id in: path required: true @@ -63460,9 +63839,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *433 examples: - default: *430 + default: *434 '404': *6 x-github: githubCloudOnly: false @@ -63487,8 +63866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -63545,8 +63924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -63563,7 +63942,7 @@ paths: type: integer environments: type: array - items: &432 + items: &436 title: Environment description: Details of a deployment environment type: object @@ -63615,7 +63994,7 @@ paths: type: type: string example: wait_timer - wait_timer: &434 + wait_timer: &438 type: integer example: 30 description: The amount of time to delay a job after @@ -63652,11 +64031,11 @@ paths: items: type: object properties: - type: *431 + type: *435 reviewer: anyOf: - *4 - - *186 + - *187 required: - id - node_id @@ -63676,7 +64055,7 @@ paths: - id - node_id - type - deployment_branch_policy: &435 + deployment_branch_policy: &439 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -63792,9 +64171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *268 - - *269 - - &433 + - *272 + - *273 + - &437 name: environment_name in: path required: true @@ -63807,9 +64186,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *436 examples: - default: &436 + default: &440 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -63893,9 +64272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 requestBody: required: false content: @@ -63904,7 +64283,7 @@ paths: type: object nullable: true properties: - wait_timer: *434 + wait_timer: *438 prevent_self_review: type: boolean example: false @@ -63921,13 +64300,13 @@ paths: items: type: object properties: - type: *431 + type: *435 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *435 + deployment_branch_policy: *439 additionalProperties: false examples: default: @@ -63947,9 +64326,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *436 examples: - default: *436 + default: *440 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -63973,9 +64352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 responses: '204': description: Default response @@ -64000,9 +64379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *17 - *19 responses: @@ -64020,7 +64399,7 @@ paths: example: 2 branch_policies: type: array - items: &437 + items: &441 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -64077,9 +64456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 requestBody: required: true content: @@ -64125,9 +64504,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *441 examples: - example-wildcard: &438 + example-wildcard: &442 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -64169,10 +64548,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *268 - - *269 - - *433 - - &439 + - *272 + - *273 + - *437 + - &443 name: branch_policy_id in: path required: true @@ -64184,9 +64563,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *441 examples: - default: *438 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64205,10 +64584,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *268 - - *269 - - *433 - - *439 + - *272 + - *273 + - *437 + - *443 requestBody: required: true content: @@ -64236,9 +64615,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *441 examples: - default: *438 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64257,10 +64636,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *268 - - *269 - - *433 - - *439 + - *272 + - *273 + - *437 + - *443 responses: '204': description: Response @@ -64285,9 +64664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *433 - - *269 - - *268 + - *437 + - *273 + - *272 responses: '200': description: List of deployment protection rules @@ -64303,7 +64682,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &440 + items: &444 title: Deployment protection rule description: Deployment protection rule type: object @@ -64322,7 +64701,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &441 + app: &445 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -64421,9 +64800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *433 - - *269 - - *268 + - *437 + - *273 + - *272 requestBody: content: application/json: @@ -64444,9 +64823,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *440 + schema: *444 examples: - default: &442 + default: &446 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -64481,9 +64860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *433 - - *269 - - *268 + - *437 + - *273 + - *272 - *19 - *17 responses: @@ -64502,7 +64881,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *441 + items: *445 examples: default: value: @@ -64537,10 +64916,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *268 - - *269 - - *433 - - &443 + - *272 + - *273 + - *437 + - &447 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -64552,9 +64931,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *444 examples: - default: *442 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64575,10 +64954,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *433 - - *269 - - *268 - - *443 + - *437 + - *273 + - *272 + - *447 responses: '204': description: Response @@ -64604,9 +64983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *17 - *19 responses: @@ -64624,9 +65003,9 @@ paths: type: integer secrets: type: array - items: *314 + items: *318 examples: - default: *315 + default: *319 headers: Link: *57 x-github: @@ -64651,17 +65030,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 responses: '200': description: Response content: application/json: - schema: *316 + schema: *320 examples: - default: *317 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64683,18 +65062,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *126 responses: '200': description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *444 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64716,9 +65095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *126 requestBody: required: true @@ -64776,9 +65155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *126 responses: '204': @@ -64804,10 +65183,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *268 - - *269 - - *433 - - *290 + - *272 + - *273 + - *437 + - *294 - *19 responses: '200': @@ -64824,9 +65203,9 @@ paths: type: integer variables: type: array - items: *318 + items: *322 examples: - default: *319 + default: *323 headers: Link: *57 x-github: @@ -64849,9 +65228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 requestBody: required: true content: @@ -64903,18 +65282,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *129 responses: '200': description: Response content: application/json: - schema: *318 + schema: *322 examples: - default: *445 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64935,10 +65314,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *268 - - *269 + - *272 + - *273 - *129 - - *433 + - *437 requestBody: required: true content: @@ -64980,10 +65359,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *268 - - *269 + - *272 + - *273 - *129 - - *433 + - *437 responses: '204': description: Response @@ -65005,8 +65384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -65083,8 +65462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *268 - - *269 + - *272 + - *273 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -65243,8 +65622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -65276,9 +65655,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *281 + default: *285 '400': *14 '422': *15 '403': *29 @@ -65299,8 +65678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -65360,7 +65739,7 @@ paths: schema: oneOf: - *96 - - *446 + - *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65385,8 +65764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *268 - - *269 + - *272 + - *273 - name: file_sha in: path required: true @@ -65485,8 +65864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -65595,7 +65974,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &451 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -65808,15 +66187,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *268 - - *269 - - *400 + - *272 + - *273 + - *404 responses: '200': description: Response content: application/json: - schema: *447 + schema: *451 examples: default: value: @@ -65872,9 +66251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *268 - - *269 - - &448 + - *272 + - *273 + - &452 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. @@ -65891,7 +66270,7 @@ paths: application/json: schema: type: array - items: &449 + items: &453 title: Git Reference description: Git references within a repository type: object @@ -65966,17 +66345,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *268 - - *269 - - *448 + - *272 + - *273 + - *452 responses: '200': description: Response content: application/json: - schema: *449 + schema: *453 examples: - default: &450 + default: &454 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -66005,8 +66384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -66035,9 +66414,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *453 examples: - default: *450 + default: *454 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -66063,9 +66442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *268 - - *269 - - *448 + - *272 + - *273 + - *452 requestBody: required: true content: @@ -66094,9 +66473,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *453 examples: - default: *450 + default: *454 '422': *15 '409': *46 x-github: @@ -66114,9 +66493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *268 - - *269 - - *448 + - *272 + - *273 + - *452 responses: '204': description: Response @@ -66169,8 +66548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -66237,7 +66616,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &456 title: Git Tag description: Metadata for a Git tag type: object @@ -66288,7 +66667,7 @@ paths: - sha - type - url - verification: *451 + verification: *455 required: - sha - url @@ -66298,7 +66677,7 @@ paths: - tag - message examples: - default: &453 + default: &457 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -66371,8 +66750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *268 - - *269 + - *272 + - *273 - name: tag_sha in: path required: true @@ -66383,9 +66762,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *456 examples: - default: *453 + default: *457 '404': *6 '409': *46 x-github: @@ -66409,8 +66788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -66483,7 +66862,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &458 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -66595,8 +66974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *268 - - *269 + - *272 + - *273 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -66619,7 +66998,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: default-response: summary: Default response @@ -66678,8 +67057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -66689,7 +67068,7 @@ paths: application/json: schema: type: array - items: &455 + items: &459 title: Webhook description: Webhooks for repositories. type: object @@ -66743,7 +67122,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &673 + last_response: &677 title: Hook Response type: object properties: @@ -66817,8 +67196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -66870,9 +67249,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *459 examples: - default: &456 + default: &460 value: type: Repository id: 12345678 @@ -66920,17 +67299,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 responses: '200': description: Response content: application/json: - schema: *455 + schema: *459 examples: - default: *456 + default: *460 '404': *6 x-github: githubCloudOnly: false @@ -66950,9 +67329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 requestBody: required: true content: @@ -66997,9 +67376,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *459 examples: - default: *456 + default: *460 '422': *15 '404': *6 x-github: @@ -67020,9 +67399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 responses: '204': description: Response @@ -67046,9 +67425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 responses: '200': description: Response @@ -67075,9 +67454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 requestBody: required: false content: @@ -67121,11 +67500,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *268 - - *269 - - *163 - - *17 + - *272 + - *273 - *164 + - *17 + - *165 responses: '200': description: Response @@ -67133,9 +67512,9 @@ paths: application/json: schema: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 '400': *14 '422': *15 x-github: @@ -67154,18 +67533,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 - *16 responses: '200': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *168 + default: *169 '400': *14 '422': *15 x-github: @@ -67184,9 +67563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 - *16 responses: '202': *47 @@ -67209,9 +67588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 responses: '204': description: Response @@ -67236,9 +67615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 responses: '204': description: Response @@ -67296,14 +67675,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: &457 + schema: &461 title: Import description: A repository import from an external source. type: object @@ -67402,7 +67781,7 @@ paths: - html_url - authors_url examples: - default: &460 + default: &464 value: vcs: subversion use_lfs: true @@ -67418,7 +67797,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': &458 + '503': &462 description: Unavailable due to service under maintenance. content: application/json: @@ -67447,8 +67826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -67496,7 +67875,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *461 examples: default: value: @@ -67521,7 +67900,7 @@ paths: type: string '422': *15 '404': *6 - '503': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67549,8 +67928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -67599,7 +67978,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *461 examples: example-1: summary: Example 1 @@ -67647,7 +68026,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': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67670,12 +68049,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response - '503': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67701,9 +68080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *268 - - *269 - - &620 + - *272 + - *273 + - &624 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -67717,7 +68096,7 @@ paths: application/json: schema: type: array - items: &459 + items: &463 title: Porter Author description: Porter Author type: object @@ -67771,7 +68150,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': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67796,8 +68175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *268 - - *269 + - *272 + - *273 - name: author_id in: path required: true @@ -67827,7 +68206,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *463 examples: default: value: @@ -67840,7 +68219,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67864,8 +68243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -67906,7 +68285,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67934,8 +68313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -67962,11 +68341,11 @@ paths: description: Response content: application/json: - schema: *457 + schema: *461 examples: - default: *460 + default: *464 '422': *15 - '503': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67989,8 +68368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -67998,8 +68377,8 @@ paths: application/json: schema: *22 examples: - default: *461 - '301': *280 + default: *465 + '301': *284 '404': *6 x-github: githubCloudOnly: false @@ -68019,8 +68398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -68028,12 +68407,12 @@ paths: application/json: schema: anyOf: - - *181 + - *182 - type: object properties: {} additionalProperties: false examples: - default: &463 + default: &467 value: limit: collaborators_only origin: repository @@ -68058,13 +68437,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: application/json: - schema: *462 + schema: *466 examples: default: summary: Example request body @@ -68076,9 +68455,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: - default: *463 + default: *467 '409': description: Response x-github: @@ -68100,8 +68479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -68124,8 +68503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -68135,9 +68514,9 @@ paths: application/json: schema: type: array - items: *464 + items: *468 examples: - default: &613 + default: &617 value: - id: 1 repository: @@ -68268,9 +68647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *268 - - *269 - - *185 + - *272 + - *273 + - *186 requestBody: required: false content: @@ -68299,7 +68678,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *468 examples: default: value: @@ -68430,9 +68809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *268 - - *269 - - *185 + - *272 + - *273 + - *186 responses: '204': description: Response @@ -68463,8 +68842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *268 - - *269 + - *272 + - *273 - 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 @@ -68504,7 +68883,7 @@ paths: required: false schema: type: string - - *187 + - *188 - name: sort description: What to sort results by. in: query @@ -68529,7 +68908,7 @@ paths: type: array items: *76 examples: - default: &475 + default: &479 value: - id: 1 node_id: MDU6SXNzdWUx @@ -68677,7 +69056,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *280 + '301': *284 '422': *15 '404': *6 x-github: @@ -68706,8 +69085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -68784,7 +69163,7 @@ paths: application/json: schema: *76 examples: - default: &470 + default: &474 value: id: 1 node_id: MDU6SXNzdWUx @@ -68940,7 +69319,7 @@ paths: '422': *15 '503': *64 '404': *6 - '410': *277 + '410': *281 x-github: triggersNotification: true githubCloudOnly: false @@ -68968,8 +69347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *86 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -68990,9 +69369,9 @@ paths: application/json: schema: type: array - items: *465 + items: *469 examples: - default: &472 + default: &476 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69050,17 +69429,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '200': description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: &466 + default: &470 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69114,8 +69493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -69138,9 +69517,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: *466 + default: *470 '422': *15 x-github: githubCloudOnly: false @@ -69158,8 +69537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '204': @@ -69180,8 +69559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -69208,9 +69587,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 '404': *6 @@ -69231,8 +69610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -69265,16 +69644,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Reaction created content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '422': *15 x-github: githubCloudOnly: false @@ -69296,10 +69675,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *268 - - *269 + - *272 + - *273 - *75 - - *264 + - *268 responses: '204': description: Response @@ -69319,8 +69698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -69330,7 +69709,7 @@ paths: application/json: schema: type: array - items: &469 + items: &473 title: Issue Event description: Issue Event type: object @@ -69373,8 +69752,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *467 - required: *468 + properties: *471 + required: *472 nullable: true label: title: Issue Event Label @@ -69418,7 +69797,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *186 + requested_team: *187 dismissed_review: title: Issue Event Dismissed Review type: object @@ -69681,8 +70060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *268 - - *269 + - *272 + - *273 - name: event_id in: path required: true @@ -69693,7 +70072,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *473 examples: default: value: @@ -69886,7 +70265,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *277 + '410': *281 '403': *29 x-github: githubCloudOnly: false @@ -69920,9 +70299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *268 - - *269 - - &471 + - *272 + - *273 + - &475 name: issue_number description: The number that identifies the issue. in: path @@ -69936,10 +70315,10 @@ paths: application/json: schema: *76 examples: - default: *470 - '301': *280 + default: *474 + '301': *284 '404': *6 - '410': *277 + '410': *281 '304': *37 x-github: githubCloudOnly: false @@ -69964,9 +70343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: false content: @@ -70063,13 +70442,13 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 '422': *15 '503': *64 '403': *29 - '301': *280 + '301': *284 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70087,9 +70466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: false content: @@ -70117,7 +70496,7 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70133,9 +70512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: content: application/json: @@ -70162,7 +70541,7 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70184,9 +70563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - name: assignee in: path required: true @@ -70226,9 +70605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - *66 - *17 - *19 @@ -70239,13 +70618,13 @@ paths: application/json: schema: type: array - items: *465 + items: *469 examples: - default: *472 + default: *476 headers: Link: *57 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70274,9 +70653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: true content: @@ -70298,16 +70677,16 @@ paths: description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: *466 + default: *470 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *277 + '410': *281 '422': *15 '404': *6 x-github: @@ -70327,9 +70706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - *17 - *19 responses: @@ -70343,7 +70722,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &476 + - &480 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -70397,7 +70776,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &477 + - &481 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -70533,7 +70912,7 @@ paths: - performed_via_github_app - assignee - assigner - - &478 + - &482 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -70584,7 +70963,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &479 + - &483 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -70635,7 +71014,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &480 + - &484 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -70689,7 +71068,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &481 + - &485 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -70723,7 +71102,7 @@ paths: properties: *60 required: *61 review_requester: *4 - requested_team: *186 + requested_team: *187 requested_reviewer: *4 required: - review_requester @@ -70736,7 +71115,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &482 + - &486 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -70770,7 +71149,7 @@ paths: properties: *60 required: *61 review_requester: *4 - requested_team: *186 + requested_team: *187 requested_reviewer: *4 required: - review_requester @@ -70783,7 +71162,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &483 + - &487 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -70843,7 +71222,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &484 + - &488 title: Locked Issue Event description: Locked Issue Event type: object @@ -70891,7 +71270,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &489 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -70957,7 +71336,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &486 + - &490 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -71023,7 +71402,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &491 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -71089,7 +71468,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &492 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -71180,7 +71559,7 @@ paths: color: red headers: Link: *57 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71197,9 +71576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - *17 - *19 responses: @@ -71209,7 +71588,7 @@ paths: application/json: schema: type: array - items: &473 + items: &477 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -71256,7 +71635,7 @@ paths: - color - default examples: - default: &474 + default: &478 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71274,9 +71653,9 @@ paths: default: false headers: Link: *57 - '301': *280 + '301': *284 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71293,9 +71672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: false content: @@ -71354,12 +71733,12 @@ paths: application/json: schema: type: array - items: *473 + items: *477 examples: - default: *474 - '301': *280 + default: *478 + '301': *284 '404': *6 - '410': *277 + '410': *281 '422': *15 x-github: githubCloudOnly: false @@ -71376,9 +71755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: false content: @@ -71438,12 +71817,12 @@ paths: application/json: schema: type: array - items: *473 + items: *477 examples: - default: *474 - '301': *280 + default: *478 + '301': *284 '404': *6 - '410': *277 + '410': *281 '422': *15 x-github: githubCloudOnly: false @@ -71460,15 +71839,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 responses: '204': description: Response - '301': *280 + '301': *284 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71487,9 +71866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - name: name in: path required: true @@ -71502,7 +71881,7 @@ paths: application/json: schema: type: array - items: *473 + items: *477 examples: default: value: @@ -71513,9 +71892,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *280 + '301': *284 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71535,9 +71914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: false content: @@ -71565,7 +71944,7 @@ paths: '204': description: Response '403': *29 - '410': *277 + '410': *281 '404': *6 '422': *15 x-github: @@ -71583,9 +71962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 responses: '204': description: Response @@ -71607,9 +71986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -71635,13 +72014,13 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71659,9 +72038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: true content: @@ -71693,16 +72072,16 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '422': *15 x-github: githubCloudOnly: false @@ -71724,10 +72103,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *272 + - *273 + - *475 - *268 - - *269 - - *471 - - *264 responses: '204': description: Response @@ -71756,9 +72135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: true content: @@ -71768,7 +72147,7 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to remove + description: The id of the sub-issue to remove required: - sub_issue_id examples: @@ -71782,7 +72161,7 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -71815,9 +72194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - *17 - *19 responses: @@ -71829,11 +72208,11 @@ paths: type: array items: *76 examples: - default: *475 + default: *479 headers: Link: *57 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71861,9 +72240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: true content: @@ -71873,7 +72252,8 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to add + description: The id of the sub-issue to add. The sub-issue must + belong to the same repository as the parent issue replace_parent: type: boolean description: Option that, when true, instructs the operation to @@ -71891,14 +72271,14 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *277 + '410': *281 '422': *15 '404': *6 x-github: @@ -71918,9 +72298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: true content: @@ -71953,7 +72333,7 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 '403': *29 '404': *6 '422': *7 @@ -71975,9 +72355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - *17 - *19 responses: @@ -71992,10 +72372,6 @@ paths: description: Timeline Event type: object anyOf: - - *476 - - *477 - - *478 - - *479 - *480 - *481 - *482 @@ -72005,6 +72381,10 @@ paths: - *486 - *487 - *488 + - *489 + - *490 + - *491 + - *492 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -72308,7 +72688,7 @@ paths: type: string comments: type: array - items: &509 + items: &513 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -72517,7 +72897,7 @@ paths: type: string comments: type: array - items: *398 + items: *402 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -72806,7 +73186,7 @@ paths: headers: Link: *57 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72823,8 +73203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -72834,7 +73214,7 @@ paths: application/json: schema: type: array - items: &489 + items: &493 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -72899,8 +73279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -72936,9 +73316,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *493 examples: - default: &490 + default: &494 value: id: 1 key: ssh-rsa AAA... @@ -72972,9 +73352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *268 - - *269 - - &491 + - *272 + - *273 + - &495 name: key_id description: The unique identifier of the key. in: path @@ -72986,9 +73366,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *493 examples: - default: *490 + default: *494 '404': *6 x-github: githubCloudOnly: false @@ -73006,9 +73386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *268 - - *269 - - *491 + - *272 + - *273 + - *495 responses: '204': description: Response @@ -73028,8 +73408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -73039,9 +73419,9 @@ paths: application/json: schema: type: array - items: *473 + items: *477 examples: - default: *474 + default: *478 headers: Link: *57 '404': *6 @@ -73062,8 +73442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -73099,9 +73479,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *477 examples: - default: &492 + default: &496 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73133,8 +73513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *268 - - *269 + - *272 + - *273 - name: name in: path required: true @@ -73145,9 +73525,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *477 examples: - default: *492 + default: *496 '404': *6 x-github: githubCloudOnly: false @@ -73164,8 +73544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *268 - - *269 + - *272 + - *273 - name: name in: path required: true @@ -73204,7 +73584,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *477 examples: default: value: @@ -73230,8 +73610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *268 - - *269 + - *272 + - *273 - name: name in: path required: true @@ -73257,8 +73637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -73297,9 +73677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *268 - - *269 - - *374 + - *272 + - *273 + - *378 responses: '200': description: Response @@ -73444,8 +73824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -73510,8 +73890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -73545,9 +73925,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *399 + schema: *403 examples: - default: *493 + default: *497 '204': description: Response when already merged '404': @@ -73572,8 +73952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *268 - - *269 + - *272 + - *273 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -73614,12 +73994,12 @@ paths: application/json: schema: type: array - items: &494 + items: &498 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *403 - required: *404 + properties: *407 + required: *408 examples: default: value: @@ -73675,8 +74055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -73716,9 +74096,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *498 examples: - default: &495 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -73777,9 +74157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *268 - - *269 - - &496 + - *272 + - *273 + - &500 name: milestone_number description: The number that identifies the milestone. in: path @@ -73791,9 +74171,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *498 examples: - default: *495 + default: *499 '404': *6 x-github: githubCloudOnly: false @@ -73810,9 +74190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *268 - - *269 - - *496 + - *272 + - *273 + - *500 requestBody: required: false content: @@ -73850,9 +74230,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *498 examples: - default: *495 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73868,9 +74248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *268 - - *269 - - *496 + - *272 + - *273 + - *500 responses: '204': description: Response @@ -73891,9 +74271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *268 - - *269 - - *496 + - *272 + - *273 + - *500 - *17 - *19 responses: @@ -73903,9 +74283,9 @@ paths: application/json: schema: type: array - items: *473 + items: *477 examples: - default: *474 + default: *478 headers: Link: *57 x-github: @@ -73924,12 +74304,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *268 - - *269 - - *497 - - *498 + - *272 + - *273 + - *501 + - *502 - *66 - - *499 + - *503 - *17 - *19 responses: @@ -73941,7 +74321,7 @@ paths: type: array items: *89 examples: - default: *500 + default: *504 headers: Link: *57 x-github: @@ -73965,8 +74345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -74024,14 +74404,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: &501 + schema: &505 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -74156,7 +74536,7 @@ paths: - custom_404 - public examples: - default: &502 + default: &506 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -74197,8 +74577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -74252,9 +74632,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: *502 + default: *506 '422': *15 '409': *46 x-github: @@ -74277,8 +74657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -74377,8 +74757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -74404,8 +74784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -74415,7 +74795,7 @@ paths: application/json: schema: type: array - items: &503 + items: &507 title: Page Build description: Page Build type: object @@ -74509,8 +74889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *268 - - *269 + - *272 + - *273 responses: '201': description: Response @@ -74555,16 +74935,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *503 + schema: *507 examples: - default: &504 + default: &508 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -74612,8 +74992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *268 - - *269 + - *272 + - *273 - name: build_id in: path required: true @@ -74624,9 +75004,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *507 examples: - default: *504 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74646,8 +75026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -74753,9 +75133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *268 - - *269 - - &505 + - *272 + - *273 + - &509 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -74813,9 +75193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *268 - - *269 - - *505 + - *272 + - *273 + - *509 responses: '204': *141 '404': *6 @@ -74842,8 +75222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -75101,8 +75481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Private vulnerability reporting status @@ -75139,8 +75519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': *141 '422': *14 @@ -75161,8 +75541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': *141 '422': *14 @@ -75185,8 +75565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *268 - - *269 + - *272 + - *273 - name: state description: Indicates the state of the projects to return. in: query @@ -75207,7 +75587,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: value: @@ -75247,7 +75627,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *277 + '410': *281 '422': *7 x-github: githubCloudOnly: false @@ -75267,8 +75647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -75294,13 +75674,13 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: *276 + default: *280 '401': *25 '403': *29 '404': *6 - '410': *277 + '410': *281 '422': *7 x-github: githubCloudOnly: false @@ -75320,8 +75700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -75329,7 +75709,7 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: default: value: @@ -75360,8 +75740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -75373,7 +75753,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *225 + items: *226 required: - properties examples: @@ -75423,8 +75803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *268 - - *269 + - *272 + - *273 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -75484,9 +75864,9 @@ paths: application/json: schema: type: array - items: *506 + items: *510 examples: - default: *507 + default: *511 headers: Link: *57 '304': *37 @@ -75518,8 +75898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -75584,7 +75964,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &515 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -75695,8 +76075,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *403 - required: *404 + properties: *407 + required: *408 nullable: true active_lock_reason: type: string @@ -75741,7 +76121,7 @@ paths: nullable: true requested_teams: type: array - items: *247 + items: *248 nullable: true head: type: object @@ -75780,14 +76160,14 @@ paths: _links: type: object properties: - comments: *405 - commits: *405 - statuses: *405 - html: *405 - issue: *405 - review_comments: *405 - review_comment: *405 - self: *405 + comments: *409 + commits: *409 + statuses: *409 + html: *409 + issue: *409 + review_comments: *409 + review_comment: *409 + self: *409 required: - comments - commits @@ -75798,7 +76178,7 @@ paths: - review_comment - self author_association: *62 - auto_merge: *508 + auto_merge: *512 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -75890,7 +76270,7 @@ paths: - merged_by - review_comments examples: - default: &512 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76417,8 +76797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: sort in: query required: false @@ -76447,9 +76827,9 @@ paths: application/json: schema: type: array - items: *509 + items: *513 examples: - default: &514 + default: &518 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76526,17 +76906,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '200': description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: &510 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76611,8 +76991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -76635,9 +77015,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76653,8 +77033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '204': @@ -76676,8 +77056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76704,9 +77084,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 '404': *6 @@ -76727,8 +77107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -76761,16 +77141,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Reaction created content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '422': *15 x-github: githubCloudOnly: false @@ -76792,10 +77172,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *268 - - *269 + - *272 + - *273 - *75 - - *264 + - *268 responses: '204': description: Response @@ -76838,9 +77218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *268 - - *269 - - &513 + - *272 + - *273 + - &517 name: pull_number description: The number that identifies the pull request. in: path @@ -76853,9 +77233,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *511 + schema: *515 examples: - default: *512 + default: *516 '304': *37 '404': *6 '406': @@ -76890,9 +77270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: false content: @@ -76934,9 +77314,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *515 examples: - default: *512 + default: *516 '422': *15 '403': *29 x-github: @@ -76958,9 +77338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: true content: @@ -77020,17 +77400,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '401': *25 '403': *29 '404': *6 @@ -77060,9 +77440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 - *86 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -77083,9 +77463,9 @@ paths: application/json: schema: type: array - items: *509 + items: *513 examples: - default: *514 + default: *518 headers: Link: *57 x-github: @@ -77118,9 +77498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: true content: @@ -77225,7 +77605,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: example-for-a-multi-line-comment: value: @@ -77313,9 +77693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 - *75 requestBody: required: true @@ -77338,7 +77718,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: default: value: @@ -77424,9 +77804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 - *17 - *19 responses: @@ -77436,9 +77816,9 @@ paths: application/json: schema: type: array - items: *399 + items: *403 examples: - default: *515 + default: *519 headers: Link: *57 x-github: @@ -77468,9 +77848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 - *17 - *19 responses: @@ -77480,7 +77860,7 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: default: value: @@ -77518,9 +77898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 responses: '204': description: Response if pull request has been merged @@ -77543,9 +77923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: false content: @@ -77656,9 +78036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 responses: '200': description: Response @@ -77674,7 +78054,7 @@ paths: items: *4 teams: type: array - items: *186 + items: *187 required: - users - teams @@ -77733,9 +78113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: false content: @@ -77772,7 +78152,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *510 examples: default: value: @@ -78308,9 +78688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: true content: @@ -78344,7 +78724,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *510 examples: default: value: @@ -78849,9 +79229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 - *17 - *19 responses: @@ -78861,7 +79241,7 @@ paths: application/json: schema: type: array - items: &516 + items: &520 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -79012,9 +79392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: false content: @@ -79100,9 +79480,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: - default: &518 + default: &522 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79165,10 +79545,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 - - &517 + - *272 + - *273 + - *517 + - &521 name: review_id description: The unique identifier of the review. in: path @@ -79180,9 +79560,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: - default: &519 + default: &523 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79241,10 +79621,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 - *517 + - *521 requestBody: required: true content: @@ -79267,7 +79647,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: default: value: @@ -79329,18 +79709,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 - *517 + - *521 responses: '200': description: Response content: application/json: - schema: *516 + schema: *520 examples: - default: *518 + default: *522 '422': *7 '404': *6 x-github: @@ -79367,10 +79747,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *268 - - *269 - - *513 + - *272 + - *273 - *517 + - *521 - *17 - *19 responses: @@ -79453,9 +79833,9 @@ paths: _links: type: object properties: - self: *405 - html: *405 - pull_request: *405 + self: *409 + html: *409 + pull_request: *409 required: - self - html @@ -79598,10 +79978,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 - *517 + - *521 requestBody: required: true content: @@ -79629,7 +80009,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: default: value: @@ -79692,10 +80072,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 - *517 + - *521 requestBody: required: true content: @@ -79730,9 +80110,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: - default: *519 + default: *523 '404': *6 '422': *7 '403': *29 @@ -79754,9 +80134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: false content: @@ -79819,8 +80199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *268 - - *269 + - *272 + - *273 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -79833,9 +80213,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: &521 + default: &525 value: type: file encoding: base64 @@ -79877,8 +80257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *268 - - *269 + - *272 + - *273 - name: dir description: The alternate path to look for a README file in: path @@ -79898,9 +80278,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: *521 + default: *525 '404': *6 '422': *15 x-github: @@ -79922,8 +80302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -79933,7 +80313,7 @@ paths: application/json: schema: type: array - items: &522 + items: &526 title: Release description: A release. type: object @@ -79996,7 +80376,7 @@ paths: author: *4 assets: type: array - items: &523 + items: &527 title: Release Asset description: Data related to a release. type: object @@ -80177,8 +80557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -80254,9 +80634,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *526 examples: - default: &526 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -80359,9 +80739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *268 - - *269 - - &524 + - *272 + - *273 + - &528 name: asset_id description: The unique identifier of the asset. in: path @@ -80373,9 +80753,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *527 examples: - default: &525 + default: &529 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 @@ -80409,7 +80789,7 @@ paths: type: User site_admin: false '404': *6 - '302': *416 + '302': *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80425,9 +80805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *268 - - *269 - - *524 + - *272 + - *273 + - *528 requestBody: required: false content: @@ -80455,9 +80835,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *527 examples: - default: *525 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80473,9 +80853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *268 - - *269 - - *524 + - *272 + - *273 + - *528 responses: '204': description: Response @@ -80499,8 +80879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -80585,16 +80965,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *522 + schema: *526 examples: - default: *526 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80611,8 +80991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *268 - - *269 + - *272 + - *273 - name: tag description: tag parameter in: path @@ -80625,9 +81005,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *526 examples: - default: *526 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -80649,9 +81029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *268 - - *269 - - &527 + - *272 + - *273 + - &531 name: release_id description: The unique identifier of the release. in: path @@ -80665,9 +81045,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *522 + schema: *526 examples: - default: *526 + default: *530 '401': description: Unauthorized x-github: @@ -80685,9 +81065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 requestBody: required: false content: @@ -80751,9 +81131,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *526 examples: - default: *526 + default: *530 '404': description: Not Found if the discussion category name is invalid content: @@ -80774,9 +81154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 responses: '204': description: Response @@ -80796,9 +81176,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 - *17 - *19 responses: @@ -80808,7 +81188,7 @@ paths: application/json: schema: type: array - items: *523 + items: *527 examples: default: value: @@ -80888,9 +81268,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: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 - name: name in: query required: true @@ -80916,7 +81296,7 @@ paths: description: Response for successful upload content: application/json: - schema: *523 + schema: *527 examples: response-for-successful-upload: value: @@ -80970,9 +81350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -80996,9 +81376,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 '404': *6 @@ -81019,9 +81399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 requestBody: required: true content: @@ -81051,16 +81431,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Reaction created content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '422': *15 x-github: githubCloudOnly: false @@ -81082,10 +81462,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *272 + - *273 + - *531 - *268 - - *269 - - *527 - - *264 responses: '204': description: Response @@ -81109,9 +81489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 - *17 - *19 responses: @@ -81127,8 +81507,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *528 - - &530 + - *532 + - &534 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81147,54 +81527,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *529 - - *530 - - allOf: - - *531 - - *530 - - allOf: - - *532 - - *530 - allOf: - *533 - - *530 - - allOf: - *534 - - *530 - allOf: - *535 - - *530 + - *534 - allOf: - *536 - - *530 + - *534 - allOf: - *537 - - *530 + - *534 - allOf: - *538 - - *530 + - *534 - allOf: - *539 - - *530 + - *534 - allOf: - *540 - - *530 + - *534 - allOf: - *541 - - *530 + - *534 - allOf: - *542 - - *530 + - *534 - allOf: - *543 - - *530 + - *534 - allOf: - *544 - - *530 + - *534 - allOf: - *545 - - *530 + - *534 + - allOf: + - *546 + - *534 + - allOf: + - *547 + - *534 + - allOf: + - *548 + - *534 + - allOf: + - *549 + - *534 examples: default: value: @@ -81233,8 +81613,8 @@ paths: category: repos subcategory: rules parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 - name: includes_parents @@ -81245,7 +81625,7 @@ paths: schema: type: boolean default: true - - *546 + - *550 responses: '200': description: Response @@ -81253,7 +81633,7 @@ paths: application/json: schema: type: array - items: *235 + items: *236 examples: default: value: @@ -81300,8 +81680,8 @@ paths: category: repos subcategory: rules parameters: - - *268 - - *269 + - *272 + - *273 requestBody: description: Request body required: true @@ -81321,16 +81701,16 @@ paths: - tag - push default: branch - enforcement: *231 + enforcement: *232 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *232 - conditions: *229 + items: *233 + conditions: *230 rules: type: array description: An array of rules within the ruleset. - items: *234 + items: *235 required: - name - enforcement @@ -81361,9 +81741,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: &556 + default: &560 value: id: 42 name: super cool ruleset @@ -81410,12 +81790,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *268 - - *269 - - *547 - - *548 - - *549 - - *550 + - *272 + - *273 + - *551 + - *552 + - *553 + - *554 - *17 - *19 responses: @@ -81423,9 +81803,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: *552 + default: *556 '404': *6 '500': *144 x-github: @@ -81446,17 +81826,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *268 - - *269 - - *553 + - *272 + - *273 + - *557 responses: '200': description: Response content: application/json: - schema: *554 + schema: *558 examples: - default: *555 + default: *559 '404': *6 '500': *144 x-github: @@ -81484,8 +81864,8 @@ paths: category: repos subcategory: rules parameters: - - *268 - - *269 + - *272 + - *273 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81505,9 +81885,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *556 + default: *560 '404': *6 '500': *144 put: @@ -81525,8 +81905,8 @@ paths: category: repos subcategory: rules parameters: - - *268 - - *269 + - *272 + - *273 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81551,16 +81931,16 @@ paths: - branch - tag - push - enforcement: *231 + enforcement: *232 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *232 - conditions: *229 + items: *233 + conditions: *230 rules: description: An array of rules within the ruleset. type: array - items: *234 + items: *235 examples: default: value: @@ -81588,9 +81968,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *556 + default: *560 '404': *6 '500': *144 delete: @@ -81608,8 +81988,8 @@ paths: category: repos subcategory: rules parameters: - - *268 - - *269 + - *272 + - *273 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81637,20 +82017,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *268 - - *269 - - *237 + - *272 + - *273 - *238 - *239 - *240 + - *241 - *48 - *19 - *17 - - *557 - - *558 - - *241 + - *561 + - *562 - *242 - *243 + - *244 responses: '200': description: Response @@ -81658,7 +82038,7 @@ paths: application/json: schema: type: array - items: &561 + items: &565 type: object properties: number: *53 @@ -81677,8 +82057,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *559 - resolution: *560 + state: *563 + resolution: *564 resolved_at: type: string format: date-time @@ -81891,15 +82271,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 responses: '200': description: Response content: application/json: - schema: *561 + schema: *565 examples: default: value: @@ -81951,9 +82331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 requestBody: required: true content: @@ -81961,8 +82341,8 @@ paths: schema: type: object properties: - state: *559 - resolution: *560 + state: *563 + resolution: *564 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -81980,7 +82360,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *565 examples: default: value: @@ -82055,9 +82435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 - *19 - *17 responses: @@ -82068,7 +82448,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &694 + items: &698 type: object properties: type: @@ -82427,8 +82807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -82436,14 +82816,14 @@ paths: schema: type: object properties: - reason: &563 + reason: &567 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *562 + placeholder_id: *566 required: - reason - placeholder_id @@ -82460,7 +82840,7 @@ paths: schema: type: object properties: - reason: *563 + reason: *567 expire_at: type: string format: date-time @@ -82503,8 +82883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -82519,7 +82899,7 @@ paths: properties: incremental_scans: type: array - items: &564 + items: &568 description: Information on a single scan performed by secret scanning on the repository type: object @@ -82545,15 +82925,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *564 + items: *568 backfill_scans: type: array - items: *564 + items: *568 custom_pattern_backfill_scans: type: array items: allOf: - - *564 + - *568 - type: object properties: pattern_name: @@ -82623,8 +83003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *268 - - *269 + - *272 + - *273 - *48 - name: sort description: The property to sort the results by. @@ -82668,9 +83048,9 @@ paths: application/json: schema: type: array - items: *565 + items: *569 examples: - default: *566 + default: *570 '400': *14 '404': *6 x-github: @@ -82693,8 +83073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -82767,7 +83147,7 @@ paths: login: type: string description: The username of the user credited. - type: *246 + type: *247 required: - login - type @@ -82854,9 +83234,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *569 examples: - default: &568 + default: &572 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -83089,8 +83469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -83194,7 +83574,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *569 examples: default: value: @@ -83341,17 +83721,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *268 - - *269 - - *567 + - *272 + - *273 + - *571 responses: '200': description: Response content: application/json: - schema: *565 + schema: *569 examples: - default: *568 + default: *572 '403': *29 '404': *6 x-github: @@ -83375,9 +83755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *268 - - *269 - - *567 + - *272 + - *273 + - *571 requestBody: required: true content: @@ -83450,7 +83830,7 @@ paths: login: type: string description: The username of the user credited. - type: *246 + type: *247 required: - login - type @@ -83536,10 +83916,10 @@ paths: description: Response content: application/json: - schema: *565 + schema: *569 examples: - default: *568 - add_credit: *568 + default: *572 + add_credit: *572 '403': *29 '404': *6 '422': @@ -83577,9 +83957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *268 - - *269 - - *567 + - *272 + - *273 + - *571 responses: '202': *47 '400': *14 @@ -83606,17 +83986,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *268 - - *269 - - *567 + - *272 + - *273 + - *571 responses: '202': description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *281 + default: *285 '400': *14 '422': *15 '403': *29 @@ -83642,8 +84022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -83742,8 +84122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -83752,7 +84132,7 @@ paths: application/json: schema: type: array - items: &569 + items: &573 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -83785,8 +84165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -83862,8 +84242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -83959,8 +84339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -84114,8 +84494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -84125,7 +84505,7 @@ paths: application/json: schema: type: array - items: *569 + items: *573 examples: default: value: @@ -84158,8 +84538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *268 - - *269 + - *272 + - *273 - name: sha in: path required: true @@ -84213,7 +84593,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *574 examples: default: value: @@ -84267,8 +84647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -84280,7 +84660,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -84300,14 +84680,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &571 + schema: &575 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -84375,8 +84755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -84402,7 +84782,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *575 examples: default: value: @@ -84429,8 +84809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -84450,8 +84830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -84530,8 +84910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -84539,7 +84919,7 @@ paths: application/json: schema: type: array - items: &572 + items: &576 title: Tag protection description: Tag protection type: object @@ -84591,8 +84971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -84615,7 +84995,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *576 examples: default: value: @@ -84646,8 +85026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -84684,8 +85064,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *268 - - *269 + - *272 + - *273 - name: ref in: path required: true @@ -84721,8 +85101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -84732,9 +85112,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 headers: Link: *57 '404': *6 @@ -84754,8 +85134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *268 - - *269 + - *272 + - *273 - *19 - *17 responses: @@ -84763,7 +85143,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &577 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -84775,7 +85155,7 @@ paths: required: - names examples: - default: &574 + default: &578 value: names: - octocat @@ -84798,8 +85178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -84830,9 +85210,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: *574 + default: *578 '404': *6 '422': *7 x-github: @@ -84853,9 +85233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *268 - - *269 - - &575 + - *272 + - *273 + - &579 name: per description: The time frame to display results for. in: query @@ -84884,7 +85264,7 @@ paths: example: 128 clones: type: array - items: &576 + items: &580 title: Traffic type: object properties: @@ -84971,8 +85351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -85062,8 +85442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -85123,9 +85503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *268 - - *269 - - *575 + - *272 + - *273 + - *579 responses: '200': description: Response @@ -85144,7 +85524,7 @@ paths: example: 3782 views: type: array - items: *576 + items: *580 required: - uniques - count @@ -85221,8 +85601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -85496,8 +85876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -85520,8 +85900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -85543,8 +85923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -85570,8 +85950,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *268 - - *269 + - *272 + - *273 - name: ref in: path required: true @@ -85663,9 +86043,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *281 + default: *285 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -85913,7 +86293,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &577 + text_matches: &581 title: Search Result Text Matches type: array items: @@ -86075,7 +86455,7 @@ paths: enum: - author-date - committer-date - - &578 + - &582 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 @@ -86146,7 +86526,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *334 + properties: *338 nullable: true comment_count: type: integer @@ -86166,7 +86546,7 @@ paths: url: type: string format: uri - verification: *451 + verification: *455 required: - author - committer @@ -86185,7 +86565,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *334 + properties: *338 nullable: true parents: type: array @@ -86203,7 +86583,7 @@ paths: type: number node_id: type: string - text_matches: *577 + text_matches: *581 required: - sha - node_id @@ -86395,7 +86775,7 @@ paths: - interactions - created - updated - - *578 + - *582 - *17 - *19 responses: @@ -86514,8 +86894,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *403 - required: *404 + properties: *407 + required: *408 nullable: true comments: type: integer @@ -86529,7 +86909,7 @@ paths: type: string format: date-time nullable: true - text_matches: *577 + text_matches: *581 pull_request: type: object properties: @@ -86753,7 +87133,7 @@ paths: enum: - created - updated - - *578 + - *582 - *17 - *19 responses: @@ -86797,7 +87177,7 @@ paths: nullable: true score: type: number - text_matches: *577 + text_matches: *581 required: - id - node_id @@ -86882,7 +87262,7 @@ paths: - forks - help-wanted-issues - updated - - *578 + - *582 - *17 - *19 responses: @@ -87121,7 +87501,7 @@ paths: - admin - pull - push - text_matches: *577 + text_matches: *581 temp_clone_token: type: string allow_merge_commit: @@ -87421,7 +87801,7 @@ paths: type: string format: uri nullable: true - text_matches: *577 + text_matches: *581 related: type: array nullable: true @@ -87612,7 +87992,7 @@ paths: - followers - repositories - joined - - *578 + - *582 - *17 - *19 responses: @@ -87716,7 +88096,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *577 + text_matches: *581 blog: type: string nullable: true @@ -87795,7 +88175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &579 + - &583 name: team_id description: The unique identifier of the team. in: path @@ -87807,9 +88187,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '404': *6 x-github: githubCloudOnly: false @@ -87836,7 +88216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *579 + - *583 requestBody: required: true content: @@ -87899,16 +88279,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '201': description: Response content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '404': *6 '422': *15 '403': *29 @@ -87936,7 +88316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *579 + - *583 responses: '204': description: Response @@ -87967,7 +88347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *579 + - *583 - *48 - *17 - *19 @@ -87978,9 +88358,9 @@ paths: application/json: schema: type: array - items: *255 + items: *259 examples: - default: *580 + default: *584 headers: Link: *57 x-github: @@ -88009,7 +88389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *579 + - *583 requestBody: required: true content: @@ -88043,9 +88423,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *256 + default: *260 x-github: triggersNotification: true githubCloudOnly: false @@ -88072,16 +88452,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *579 - - *257 + - *583 + - *261 responses: '200': description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *256 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88106,8 +88486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *579 - - *257 + - *583 + - *261 requestBody: required: false content: @@ -88130,9 +88510,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *581 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88157,8 +88537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *579 - - *257 + - *583 + - *261 responses: '204': description: Response @@ -88187,8 +88567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *579 - - *257 + - *583 + - *261 - *48 - *17 - *19 @@ -88199,9 +88579,9 @@ paths: application/json: schema: type: array - items: *258 + items: *262 examples: - default: *582 + default: *586 headers: Link: *57 x-github: @@ -88230,8 +88610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *579 - - *257 + - *583 + - *261 requestBody: required: true content: @@ -88253,9 +88633,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: *259 + default: *263 x-github: triggersNotification: true githubCloudOnly: false @@ -88282,17 +88662,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *579 - - *257 - - *260 + - *583 + - *261 + - *264 responses: '200': description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: *259 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88317,9 +88697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *579 - - *257 - - *260 + - *583 + - *261 + - *264 requestBody: required: true content: @@ -88341,9 +88721,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: *583 + default: *587 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88368,9 +88748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *579 - - *257 - - *260 + - *583 + - *261 + - *264 responses: '204': description: Response @@ -88399,9 +88779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *579 - - *257 - - *260 + - *583 + - *261 + - *264 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -88427,9 +88807,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 x-github: @@ -88458,9 +88838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *579 - - *257 - - *260 + - *583 + - *261 + - *264 requestBody: required: true content: @@ -88492,9 +88872,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88520,8 +88900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *579 - - *257 + - *583 + - *261 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -88547,9 +88927,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 x-github: @@ -88578,8 +88958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *579 - - *257 + - *583 + - *261 requestBody: required: true content: @@ -88611,9 +88991,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88637,7 +89017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *579 + - *583 - *17 - *19 responses: @@ -88647,9 +89027,9 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: - default: *184 + default: *185 headers: Link: *57 x-github: @@ -88675,7 +89055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *579 + - *583 - name: role description: Filters members returned by their role in the team. in: query @@ -88698,7 +89078,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '404': *6 @@ -88726,7 +89106,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *579 + - *583 - *131 responses: '204': @@ -88763,7 +89143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *579 + - *583 - *131 responses: '204': @@ -88803,7 +89183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *579 + - *583 - *131 responses: '204': @@ -88840,16 +89220,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *579 + - *583 - *131 responses: '200': description: Response content: application/json: - schema: *265 + schema: *269 examples: - response-if-user-is-a-team-maintainer: *584 + response-if-user-is-a-team-maintainer: *588 '404': *6 x-github: githubCloudOnly: false @@ -88882,7 +89262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *579 + - *583 - *131 requestBody: required: false @@ -88908,9 +89288,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *269 examples: - response-if-users-membership-with-team-is-now-pending: *585 + response-if-users-membership-with-team-is-now-pending: *589 '403': description: Forbidden if team synchronization is set up '422': @@ -88944,7 +89324,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *579 + - *583 - *131 responses: '204': @@ -88974,7 +89354,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *579 + - *583 - *17 - *19 responses: @@ -88984,9 +89364,9 @@ paths: application/json: schema: type: array - items: *266 + items: *270 examples: - default: *586 + default: *590 headers: Link: *57 '404': *6 @@ -89013,16 +89393,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *579 - - *267 + - *583 + - *271 responses: '200': description: Response content: application/json: - schema: *266 + schema: *270 examples: - default: *587 + default: *591 '404': description: Not Found if project is not managed by this team x-github: @@ -89047,8 +89427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *579 - - *267 + - *583 + - *271 requestBody: required: false content: @@ -89116,8 +89496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *579 - - *267 + - *583 + - *271 responses: '204': description: Response @@ -89144,7 +89524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *579 + - *583 - *17 - *19 responses: @@ -89156,7 +89536,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 '404': *6 @@ -89186,15 +89566,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *579 - - *268 - - *269 + - *583 + - *272 + - *273 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *588 + schema: *592 examples: alternative-response-with-extra-repository-information: value: @@ -89345,9 +89725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *579 - - *268 - - *269 + - *583 + - *272 + - *273 requestBody: required: false content: @@ -89397,9 +89777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *579 - - *268 - - *269 + - *583 + - *272 + - *273 responses: '204': description: Response @@ -89424,7 +89804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *579 + - *583 - *17 - *19 responses: @@ -89434,9 +89814,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - response-if-child-teams-exist: *589 + response-if-child-teams-exist: *593 headers: Link: *57 '404': *6 @@ -89469,7 +89849,7 @@ paths: application/json: schema: oneOf: - - &591 + - &595 title: Private User description: Private User type: object @@ -89672,7 +90052,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *590 + - *594 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -89825,7 +90205,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *595 examples: default: value: @@ -89904,7 +90284,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 '304': *37 '404': *6 '403': *29 @@ -90028,9 +90408,9 @@ paths: type: integer codespaces: type: array - items: *190 + items: *191 examples: - default: *191 + default: *192 '304': *37 '500': *144 '401': *25 @@ -90169,17 +90549,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '401': *25 '403': *29 '404': *6 @@ -90223,7 +90603,7 @@ paths: type: integer secrets: type: array - items: &592 + items: &596 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -90263,7 +90643,7 @@ paths: - visibility - selected_repositories_url examples: - default: *391 + default: *395 headers: Link: *57 x-github: @@ -90339,7 +90719,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *596 examples: default: value: @@ -90485,7 +90865,7 @@ paths: type: array items: *118 examples: - default: *593 + default: *597 '401': *25 '403': *29 '404': *6 @@ -90629,15 +91009,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '304': *37 '500': *144 '401': *25 @@ -90663,7 +91043,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 requestBody: required: false content: @@ -90693,9 +91073,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '401': *25 '403': *29 '404': *6 @@ -90717,7 +91097,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 responses: '202': *47 '304': *37 @@ -90746,13 +91126,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 responses: '202': description: Response content: application/json: - schema: &594 + schema: &598 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -90793,7 +91173,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &595 + default: &599 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -90825,7 +91205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *192 + - *193 - name: export_id in: path required: true @@ -90838,9 +91218,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *598 examples: - default: *595 + default: *599 '404': *6 x-github: githubCloudOnly: false @@ -90861,7 +91241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *192 + - *193 responses: '200': description: Response @@ -90877,9 +91257,9 @@ paths: type: integer machines: type: array - items: *596 + items: *600 examples: - default: *597 + default: *601 '304': *37 '500': *144 '401': *25 @@ -90908,7 +91288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *192 + - *193 requestBody: required: true content: @@ -90958,13 +91338,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *279 + repository: *283 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *389 - required: *390 + properties: *393 + required: *394 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -91738,15 +92118,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '304': *37 '500': *144 '400': *14 @@ -91778,15 +92158,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '500': *144 '401': *25 '403': *29 @@ -91816,9 +92196,9 @@ paths: application/json: schema: type: array - items: *205 + items: *206 examples: - default: &610 + default: &614 value: - id: 197 name: hello_docker @@ -91919,7 +92299,7 @@ paths: application/json: schema: type: array - items: &598 + items: &602 title: Email description: Email type: object @@ -91984,9 +92364,9 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: - default: &612 + default: &616 value: - email: octocat@github.com verified: true @@ -92061,7 +92441,7 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: default: value: @@ -92171,7 +92551,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '304': *37 @@ -92204,7 +92584,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '304': *37 @@ -92317,7 +92697,7 @@ paths: application/json: schema: type: array - items: &599 + items: &603 title: GPG Key description: A unique encryption key type: object @@ -92448,7 +92828,7 @@ paths: - subkeys - revoked examples: - default: &623 + default: &627 value: - id: 3 name: Octocat's GPG Key @@ -92533,9 +92913,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *603 examples: - default: &600 + default: &604 value: id: 3 name: Octocat's GPG Key @@ -92592,7 +92972,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &601 + - &605 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -92604,9 +92984,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *603 examples: - default: *600 + default: *604 '404': *6 '304': *37 '403': *29 @@ -92629,7 +93009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *601 + - *605 responses: '204': description: Response @@ -92820,7 +93200,7 @@ paths: type: array items: *59 examples: - default: *602 + default: *606 headers: Link: *57 '404': *6 @@ -92905,12 +93285,12 @@ paths: application/json: schema: anyOf: - - *181 + - *182 - type: object properties: {} additionalProperties: false examples: - default: *182 + default: *183 '204': description: Response when there are no restrictions x-github: @@ -92934,7 +93314,7 @@ paths: required: true content: application/json: - schema: *462 + schema: *466 examples: default: value: @@ -92945,7 +93325,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -93026,7 +93406,7 @@ paths: - closed - all default: open - - *187 + - *188 - name: sort description: What to sort results by. in: query @@ -93051,7 +93431,7 @@ paths: type: array items: *76 examples: - default: *188 + default: *189 headers: Link: *57 '404': *6 @@ -93084,7 +93464,7 @@ paths: application/json: schema: type: array - items: &603 + items: &607 title: Key description: Key type: object @@ -93181,9 +93561,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *607 examples: - default: &604 + default: &608 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93216,15 +93596,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *491 + - *495 responses: '200': description: Response content: application/json: - schema: *603 + schema: *607 examples: - default: *604 + default: *608 '404': *6 '304': *37 '403': *29 @@ -93247,7 +93627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *491 + - *495 responses: '204': description: Response @@ -93280,7 +93660,7 @@ paths: application/json: schema: type: array - items: &605 + items: &609 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -93348,7 +93728,7 @@ paths: - account - plan examples: - default: &606 + default: &610 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -93410,9 +93790,9 @@ paths: application/json: schema: type: array - items: *605 + items: *609 examples: - default: *606 + default: *610 headers: Link: *57 '304': *37 @@ -93452,7 +93832,7 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: default: value: @@ -93560,7 +93940,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: default: value: @@ -93643,7 +94023,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: default: value: @@ -93711,7 +94091,7 @@ paths: application/json: schema: type: array - items: *197 + items: *198 examples: default: value: @@ -93964,7 +94344,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -94144,7 +94524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *198 + - *199 - name: exclude in: query required: false @@ -94157,7 +94537,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -94351,7 +94731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *198 + - *199 responses: '302': description: Response @@ -94377,7 +94757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *198 + - *199 responses: '204': description: Response @@ -94406,8 +94786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *198 - - *607 + - *199 + - *611 responses: '204': description: Response @@ -94431,7 +94811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *198 + - *199 - *17 - *19 responses: @@ -94443,7 +94823,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 '404': *6 @@ -94478,9 +94858,9 @@ paths: application/json: schema: type: array - items: *194 + items: *195 examples: - default: *608 + default: *612 headers: Link: *57 '304': *37 @@ -94522,7 +94902,7 @@ paths: - docker - nuget - container - - *609 + - *613 - *19 - *17 responses: @@ -94532,10 +94912,10 @@ paths: application/json: schema: type: array - items: *205 + items: *206 examples: - default: *610 - '400': *611 + default: *614 + '400': *615 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94555,16 +94935,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *207 - *208 + - *209 responses: '200': description: Response content: application/json: - schema: *205 + schema: *206 examples: - default: &624 + default: &628 value: id: 40201 name: octo-name @@ -94677,8 +95057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *207 - *208 + - *209 responses: '204': description: Response @@ -94708,8 +95088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *207 - *208 + - *209 - name: token description: package token schema: @@ -94741,8 +95121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *207 - *208 + - *209 - *19 - *17 - name: state @@ -94762,7 +95142,7 @@ paths: application/json: schema: type: array - items: *209 + items: *210 examples: default: value: @@ -94811,15 +95191,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *207 - *208 - - *210 + - *209 + - *211 responses: '200': description: Response content: application/json: - schema: *209 + schema: *210 examples: default: value: @@ -94855,9 +95235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *207 - *208 - - *210 + - *209 + - *211 responses: '204': description: Response @@ -94887,9 +95267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *207 - *208 - - *210 + - *209 + - *211 responses: '204': description: Response @@ -94945,7 +95325,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: value: @@ -95014,9 +95394,9 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: - default: *612 + default: *616 headers: Link: *57 '304': *37 @@ -95129,7 +95509,7 @@ paths: type: array items: *59 examples: - default: &619 + default: &623 summary: Default response value: - id: 1296269 @@ -95431,9 +95811,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *281 + default: *285 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95471,9 +95851,9 @@ paths: application/json: schema: type: array - items: *464 + items: *468 examples: - default: *613 + default: *617 headers: Link: *57 '304': *37 @@ -95496,7 +95876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *185 + - *186 responses: '204': description: Response @@ -95519,7 +95899,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *185 + - *186 responses: '204': description: Response @@ -95552,7 +95932,7 @@ paths: application/json: schema: type: array - items: &614 + items: &618 title: Social account description: Social media account type: object @@ -95567,7 +95947,7 @@ paths: - provider - url examples: - default: &615 + default: &619 value: - provider: twitter url: https://twitter.com/github @@ -95629,9 +96009,9 @@ paths: application/json: schema: type: array - items: *614 + items: *618 examples: - default: *615 + default: *619 '422': *15 '304': *37 '404': *6 @@ -95718,7 +96098,7 @@ paths: application/json: schema: type: array - items: &616 + items: &620 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -95738,7 +96118,7 @@ paths: - title - created_at examples: - default: &631 + default: &635 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95804,9 +96184,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: &617 + default: &621 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95837,7 +96217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &618 + - &622 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -95849,9 +96229,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: *617 + default: *621 '404': *6 '304': *37 '403': *29 @@ -95874,7 +96254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *618 + - *622 responses: '204': description: Response @@ -95903,7 +96283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &632 + - &636 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 @@ -95928,11 +96308,11 @@ paths: type: array items: *59 examples: - default-response: *619 + default-response: *623 application/vnd.github.v3.star+json: schema: type: array - items: &633 + items: &637 title: Starred Repository description: Starred Repository type: object @@ -96088,8 +96468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response if this repository is starred by you @@ -96117,8 +96497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -96142,8 +96522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -96178,7 +96558,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 '304': *37 @@ -96215,7 +96595,7 @@ paths: application/json: schema: type: array - items: *253 + items: *257 examples: default: value: @@ -96301,10 +96681,10 @@ paths: application/json: schema: oneOf: - - *591 - - *590 + - *595 + - *594 examples: - default-response: &621 + default-response: &625 summary: Default response value: login: octocat @@ -96339,7 +96719,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &622 + response-with-git-hub-plan-information: &626 summary: Response with GitHub plan information value: login: octocat @@ -96399,7 +96779,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *620 + - *624 - *17 responses: '200': @@ -96410,7 +96790,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: example: ; rel="next" @@ -96448,11 +96828,11 @@ paths: application/json: schema: oneOf: - - *591 - - *590 + - *595 + - *594 examples: - default-response: *621 - response-with-git-hub-plan-information: *622 + default-response: *625 + response-with-git-hub-plan-information: *626 '404': *6 x-github: githubCloudOnly: false @@ -96614,9 +96994,9 @@ paths: application/json: schema: type: array - items: *205 + items: *206 examples: - default: *610 + default: *614 '403': *29 '401': *25 x-github: @@ -96899,7 +97279,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -96930,7 +97310,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -97020,9 +97400,9 @@ paths: application/json: schema: type: array - items: *599 + items: *603 examples: - default: *623 + default: *627 headers: Link: *57 x-github: @@ -97126,7 +97506,7 @@ paths: application/json: schema: *22 examples: - default: *461 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97202,9 +97582,9 @@ paths: application/json: schema: type: array - items: *194 + items: *195 examples: - default: *608 + default: *612 headers: Link: *57 x-github: @@ -97243,7 +97623,7 @@ paths: - docker - nuget - container - - *609 + - *613 - *131 - *19 - *17 @@ -97254,12 +97634,12 @@ paths: application/json: schema: type: array - items: *205 + items: *206 examples: - default: *610 + default: *614 '403': *29 '401': *25 - '400': *611 + '400': *615 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97279,17 +97659,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *207 - *208 + - *209 - *131 responses: '200': description: Response content: application/json: - schema: *205 + schema: *206 examples: - default: *624 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97310,8 +97690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *207 - *208 + - *209 - *131 responses: '204': @@ -97344,8 +97724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *207 - *208 + - *209 - *131 - name: token description: package token @@ -97378,8 +97758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *207 - *208 + - *209 - *131 responses: '200': @@ -97388,7 +97768,7 @@ paths: application/json: schema: type: array - items: *209 + items: *210 examples: default: value: @@ -97446,16 +97826,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *207 - *208 - - *210 + - *209 + - *211 - *131 responses: '200': description: Response content: application/json: - schema: *209 + schema: *210 examples: default: value: @@ -97490,10 +97870,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *207 - *208 + - *209 - *131 - - *210 + - *211 responses: '204': description: Response @@ -97525,10 +97905,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *207 - *208 + - *209 - *131 - - *210 + - *211 responses: '204': description: Response @@ -97572,7 +97952,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: value: @@ -97852,7 +98232,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -97882,9 +98262,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *629 examples: - default: *626 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97912,9 +98292,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *631 examples: - default: *628 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97942,9 +98322,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *633 examples: - default: *630 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97972,9 +98352,9 @@ paths: application/json: schema: type: array - items: *614 + items: *618 examples: - default: *615 + default: *619 headers: Link: *57 x-github: @@ -98004,9 +98384,9 @@ paths: application/json: schema: type: array - items: *616 + items: *620 examples: - default: *631 + default: *635 headers: Link: *57 x-github: @@ -98031,7 +98411,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *131 - - *632 + - *636 - *48 - *17 - *19 @@ -98043,11 +98423,11 @@ paths: schema: anyOf: - type: array - items: *633 + items: *637 - type: array items: *59 examples: - default-response: *619 + default-response: *623 headers: Link: *57 x-github: @@ -98078,7 +98458,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -98206,7 +98586,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &634 + enterprise: &638 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -98264,7 +98644,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &635 + installation: &639 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -98283,7 +98663,7 @@ x-webhooks: required: - id - node_id - organization: &636 + organization: &640 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -98343,13 +98723,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &637 + repository: &641 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: &667 + properties: &671 id: description: Unique identifier of the repository example: 42 @@ -99032,7 +99412,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &668 + required: &672 - archive_url - assignees_url - blobs_url @@ -99183,10 +99563,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -99262,11 +99642,11 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: &638 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: &642 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -99489,11 +99869,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: *642 sender: *4 required: - action @@ -99676,11 +100056,11 @@ x-webhooks: - everyone required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: *642 sender: *4 required: - action @@ -99764,7 +100144,7 @@ x-webhooks: type: string enum: - completed - check_run: &640 + check_run: &644 title: CheckRun description: A check performed on the code of a given code change type: object @@ -99827,7 +100207,7 @@ x-webhooks: type: string pull_requests: type: array - items: *347 + items: *351 repository: *118 status: example: completed @@ -99865,7 +100245,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *639 + deployment: *643 details_url: example: https://example.com type: string @@ -99915,7 +100295,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *347 + items: *351 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -99950,9 +100330,9 @@ x-webhooks: - output - app - pull_requests - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - check_run @@ -100345,10 +100725,10 @@ x-webhooks: type: string enum: - created - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *644 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - check_run @@ -100744,10 +101124,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *644 + installation: *639 + organization: *640 + repository: *641 requested_action: description: The action requested by the user. type: object @@ -101152,10 +101532,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *644 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - check_run @@ -102132,10 +102512,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -102805,10 +103185,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -103472,10 +103852,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -103638,7 +104018,7 @@ x-webhooks: required: - login - id - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -103783,20 +104163,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &641 + commit_oid: &645 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: *634 - installation: *635 - organization: *636 - ref: &642 + enterprise: *638 + installation: *639 + organization: *640 + ref: &646 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: *637 + repository: *641 sender: *4 required: - action @@ -103958,7 +104338,7 @@ x-webhooks: required: - login - id - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104119,12 +104499,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *645 + enterprise: *638 + installation: *639 + organization: *640 + ref: *646 + repository: *641 sender: *4 required: - action @@ -104219,7 +104599,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -104385,12 +104765,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *645 + enterprise: *638 + installation: *639 + organization: *640 + ref: *646 + repository: *641 sender: *4 required: - action @@ -104553,7 +104933,7 @@ x-webhooks: required: - login - id - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104719,12 +105099,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *645 + enterprise: *638 + installation: *639 + organization: *640 + ref: *646 + repository: *641 sender: *4 required: - action @@ -104821,7 +105201,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -104989,16 +105369,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 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: *637 + repository: *641 sender: *4 required: - action @@ -105092,7 +105472,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105232,12 +105612,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *645 + enterprise: *638 + installation: *639 + organization: *640 + ref: *646 + repository: *641 sender: *4 required: - action @@ -105494,10 +105874,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -105577,18 +105957,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *636 - pusher_type: &643 + organization: *640 + pusher_type: &647 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &644 + ref: &648 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -105598,7 +105978,7 @@ x-webhooks: enum: - tag - branch - repository: *637 + repository: *641 sender: *4 required: - ref @@ -105680,10 +106060,10 @@ x-webhooks: type: string enum: - created - definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + definition: *222 + enterprise: *638 + installation: *639 + organization: *640 sender: *4 required: - action @@ -105768,9 +106148,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 sender: *4 required: - action @@ -105847,10 +106227,10 @@ x-webhooks: type: string enum: - updated - definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + definition: *222 + enterprise: *638 + installation: *639 + organization: *640 sender: *4 required: - action @@ -105927,19 +106307,19 @@ x-webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - repository: *637 - organization: *636 + enterprise: *638 + installation: *639 + repository: *641 + organization: *640 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *225 + items: *226 old_property_values: type: array description: The old custom property values for the repository. - items: *225 + items: *226 required: - action - repository @@ -106015,18 +106395,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - pusher_type: *643 - ref: *644 + enterprise: *638 + installation: *639 + organization: *640 + pusher_type: *647 + ref: *648 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *637 + repository: *641 sender: *4 required: - ref @@ -106110,11 +106490,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106198,11 +106578,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106286,11 +106666,11 @@ x-webhooks: type: string enum: - created - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106372,11 +106752,11 @@ x-webhooks: type: string enum: - dismissed - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106458,11 +106838,11 @@ x-webhooks: type: string enum: - fixed - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106545,11 +106925,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106631,11 +107011,11 @@ x-webhooks: type: string enum: - reopened - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106712,9 +107092,9 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - key: &645 + enterprise: *638 + installation: *639 + key: &649 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -106750,8 +107130,8 @@ x-webhooks: - verified - created_at - read_only - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -106828,11 +107208,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - key: *645 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + key: *649 + organization: *640 + repository: *641 sender: *4 required: - action @@ -107393,12 +107773,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - workflow: &649 + workflow: &653 title: Workflow type: object nullable: true @@ -108124,13 +108504,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *426 + deployment: *430 pull_requests: type: array - items: *511 - repository: *637 - organization: *636 - installation: *635 + items: *515 + repository: *641 + organization: *640 + installation: *639 sender: *4 responses: '200': @@ -108201,7 +108581,7 @@ x-webhooks: type: string enum: - approved - approver: &646 + approver: &650 type: object properties: avatar_url: @@ -108244,11 +108624,11 @@ x-webhooks: type: string comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: &647 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + reviewers: &651 type: array items: type: object @@ -108327,7 +108707,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &648 + workflow_job_run: &652 type: object properties: conclusion: @@ -109058,18 +109438,18 @@ x-webhooks: type: string enum: - rejected - approver: *646 + approver: *650 comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: *647 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + reviewers: *651 sender: *4 since: type: string - workflow_job_run: *648 + workflow_job_run: *652 workflow_job_runs: type: array items: @@ -109773,13 +110153,13 @@ x-webhooks: type: string enum: - requested - enterprise: *634 + enterprise: *638 environment: type: string - installation: *635 - organization: *636 - repository: *637 - requestor: &654 + installation: *639 + organization: *640 + repository: *641 + requestor: &658 title: User type: object nullable: true @@ -111678,12 +112058,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - workflow: *649 + workflow: *653 workflow_run: title: Deployment Workflow Run type: object @@ -112363,7 +112743,7 @@ x-webhooks: type: string enum: - answered - answer: &652 + answer: &656 type: object properties: author_association: @@ -112520,7 +112900,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &650 + discussion: &654 title: Discussion description: A Discussion in a repository. type: object @@ -112806,7 +113186,7 @@ x-webhooks: - id labels: type: array - items: *473 + items: *477 required: - repository_url - category @@ -112828,10 +113208,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -112958,11 +113338,11 @@ x-webhooks: - from required: - category - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113045,11 +113425,11 @@ x-webhooks: type: string enum: - closed - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113131,7 +113511,7 @@ x-webhooks: type: string enum: - created - comment: &651 + comment: &655 type: object properties: author_association: @@ -113288,11 +113668,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113375,12 +113755,12 @@ x-webhooks: type: string enum: - deleted - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *655 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113475,12 +113855,12 @@ x-webhooks: - from required: - body - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *655 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113564,11 +113944,11 @@ x-webhooks: type: string enum: - created - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113650,11 +114030,11 @@ x-webhooks: type: string enum: - deleted - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113754,11 +114134,11 @@ x-webhooks: type: string required: - from - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113840,10 +114220,10 @@ x-webhooks: type: string enum: - labeled - discussion: *650 - enterprise: *634 - installation: *635 - label: &653 + discussion: *654 + enterprise: *638 + installation: *639 + label: &657 title: Label type: object properties: @@ -113875,8 +114255,8 @@ x-webhooks: - color - default - description - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113959,11 +114339,11 @@ x-webhooks: type: string enum: - locked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114045,11 +114425,11 @@ x-webhooks: type: string enum: - pinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114131,11 +114511,11 @@ x-webhooks: type: string enum: - reopened - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114220,16 +114600,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *650 - new_repository: *637 + new_discussion: *654 + new_repository: *641 required: - new_discussion - new_repository - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114312,10 +114692,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *650 - old_answer: *652 - organization: *636 - repository: *637 + discussion: *654 + old_answer: *656 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114397,12 +114777,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *650 - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114485,11 +114865,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114571,11 +114951,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114648,7 +115028,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *634 + enterprise: *638 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -115308,9 +115688,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - forkee @@ -115456,9 +115836,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pages: description: The pages that were updated. type: array @@ -115495,7 +115875,7 @@ x-webhooks: - action - sha - html_url - repository: *637 + repository: *641 sender: *4 required: - pages @@ -115571,10 +115951,10 @@ x-webhooks: type: string enum: - created - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories: &655 + organization: *640 + repositories: &659 description: An array of repository objects that the installation can access. type: array @@ -115600,8 +115980,8 @@ x-webhooks: - name - full_name - private - repository: *637 - requester: *654 + repository: *641 + requester: *658 sender: *4 required: - action @@ -115676,11 +116056,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories: *655 - repository: *637 + organization: *640 + repositories: *659 + repository: *641 requester: nullable: true sender: *4 @@ -115756,11 +116136,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories: *655 - repository: *637 + organization: *640 + repositories: *659 + repository: *641 requester: nullable: true sender: *4 @@ -115836,10 +116216,10 @@ x-webhooks: type: string enum: - added - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories_added: &656 + organization: *640 + repositories_added: &660 description: An array of repository objects, which were added to the installation. type: array @@ -115885,15 +116265,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *637 - repository_selection: &657 + repository: *641 + repository_selection: &661 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *654 + requester: *658 sender: *4 required: - action @@ -115972,10 +116352,10 @@ x-webhooks: type: string enum: - removed - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories_added: *656 + organization: *640 + repositories_added: *660 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -116002,9 +116382,9 @@ x-webhooks: - name - full_name - private - repository: *637 - repository_selection: *657 - requester: *654 + repository: *641 + repository_selection: *661 + requester: *658 sender: *4 required: - action @@ -116083,11 +116463,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories: *655 - repository: *637 + organization: *640 + repositories: *659 + repository: *641 requester: nullable: true sender: *4 @@ -116265,10 +116645,10 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 target_type: type: string @@ -116347,11 +116727,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories: *655 - repository: *637 + organization: *640 + repositories: *659 + repository: *641 requester: nullable: true sender: *4 @@ -116603,8 +116983,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117759,8 +118139,8 @@ x-webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -117840,7 +118220,7 @@ x-webhooks: type: string enum: - deleted - comment: &658 + comment: &662 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -118005,8 +118385,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119159,8 +119539,8 @@ x-webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -119240,7 +119620,7 @@ x-webhooks: type: string enum: - edited - changes: &686 + changes: &690 description: The changes to the comment. type: object properties: @@ -119252,9 +119632,9 @@ x-webhooks: type: string required: - from - comment: *658 - enterprise: *634 - installation: *635 + comment: *662 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120408,8 +120788,8 @@ x-webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -120491,10 +120871,10 @@ x-webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - issue: &661 + assignee: *658 + enterprise: *638 + installation: *639 + issue: &665 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -121412,8 +121792,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -121493,8 +121873,8 @@ x-webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122552,8 +122932,8 @@ x-webhooks: required: - state - closed_at - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -122632,8 +123012,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123544,8 +123924,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -123624,8 +124004,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124539,7 +124919,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &659 + milestone: &663 title: Milestone description: A collection of related issues and pull requests. type: object @@ -124677,8 +125057,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -124777,8 +125157,8 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125696,9 +126076,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -125778,8 +126158,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126696,9 +127076,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -126778,8 +127158,8 @@ x-webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127697,8 +128077,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -127777,8 +128157,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128690,9 +129070,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *659 - organization: *636 - repository: *637 + milestone: *663 + organization: *640 + repository: *641 sender: *4 required: - action @@ -130153,8 +130533,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131071,8 +131451,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -131152,9 +131532,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *634 - installation: *635 - issue: &660 + enterprise: *638 + installation: *639 + issue: &664 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132065,8 +132445,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -132145,8 +132525,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133063,8 +133443,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -134526,11 +134906,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + issue: *664 + organization: *640 + repository: *641 sender: *4 required: - action @@ -134611,7 +134991,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &689 + assignee: &693 title: User type: object nullable: true @@ -134681,11 +135061,11 @@ x-webhooks: required: - login - id - enterprise: *634 - installation: *635 - issue: *661 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + issue: *665 + organization: *640 + repository: *641 sender: *4 required: - action @@ -134764,12 +135144,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - issue: *661 - label: *653 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + issue: *665 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -134849,8 +135229,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135766,8 +136146,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -135847,11 +136227,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + issue: *664 + organization: *640 + repository: *641 sender: *4 required: - action @@ -135930,11 +136310,11 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -136012,11 +136392,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -136126,11 +136506,11 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -136212,9 +136592,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: &662 + enterprise: *638 + installation: *639 + marketplace_purchase: &666 title: Marketplace Purchase type: object required: @@ -136297,8 +136677,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: &663 + organization: *640 + previous_marketplace_purchase: &667 title: Marketplace Purchase type: object properties: @@ -136378,7 +136758,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *641 sender: *4 required: - action @@ -136458,10 +136838,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *638 + installation: *639 + marketplace_purchase: *666 + organization: *640 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136544,7 +136924,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *641 sender: *4 required: - action @@ -136626,10 +137006,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *638 + installation: *639 + marketplace_purchase: *666 + organization: *640 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136711,7 +137091,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *641 sender: *4 required: - action @@ -136792,8 +137172,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 marketplace_purchase: title: Marketplace Purchase type: object @@ -136875,9 +137255,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + organization: *640 + previous_marketplace_purchase: *667 + repository: *641 sender: *4 required: - action @@ -136957,12 +137337,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + enterprise: *638 + installation: *639 + marketplace_purchase: *666 + organization: *640 + previous_marketplace_purchase: *667 + repository: *641 sender: *4 required: - action @@ -137064,11 +137444,11 @@ x-webhooks: type: string required: - to - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + member: *658 + organization: *640 + repository: *641 sender: *4 required: - action @@ -137168,11 +137548,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + member: *658 + organization: *640 + repository: *641 sender: *4 required: - action @@ -137251,11 +137631,11 @@ x-webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + member: *658 + organization: *640 + repository: *641 sender: *4 required: - action @@ -137333,11 +137713,11 @@ x-webhooks: type: string enum: - added - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + member: *658 + organization: *640 + repository: *641 scope: description: The scope of the membership. Currently, can only be `team`. @@ -137413,7 +137793,7 @@ x-webhooks: required: - login - id - team: &664 + team: &668 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -137603,11 +137983,11 @@ x-webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + member: *658 + organization: *640 + repository: *641 scope: description: The scope of the membership. Currently, can only be `team`. @@ -137684,7 +138064,7 @@ x-webhooks: required: - login - id - team: *664 + team: *668 required: - action - scope @@ -137766,8 +138146,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *635 - merge_group: &666 + installation: *639 + merge_group: &670 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -137786,15 +138166,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *665 + head_commit: *669 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -137880,10 +138260,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *635 - merge_group: *666 - organization: *636 - repository: *637 + installation: *639 + merge_group: *670 + organization: *640 + repository: *641 sender: *4 required: - action @@ -137956,7 +138336,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *638 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -138064,16 +138444,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *635 - organization: *636 + installation: *639 + organization: *640 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: *667 - required: *668 + properties: *671 + required: *672 nullable: true sender: *4 required: @@ -138154,11 +138534,11 @@ x-webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + milestone: *663 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138237,9 +138617,9 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - milestone: &669 + enterprise: *638 + installation: *639 + milestone: &673 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138376,8 +138756,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138456,11 +138836,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + milestone: *663 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138570,11 +138950,11 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + milestone: *663 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138654,11 +139034,11 @@ x-webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - milestone: *669 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + milestone: *673 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138737,11 +139117,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *658 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138820,11 +139200,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *658 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138903,9 +139283,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - membership: &670 + enterprise: *638 + installation: *639 + membership: &674 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -138997,8 +139377,8 @@ x-webhooks: - role - organization_url - user - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -139076,11 +139456,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *634 - installation: *635 - membership: *670 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + membership: *674 + organization: *640 + repository: *641 sender: *4 required: - action @@ -139159,8 +139539,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -139276,10 +139656,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 - user: *654 + user: *658 required: - action - invitation @@ -139357,11 +139737,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *634 - installation: *635 - membership: *670 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + membership: *674 + organization: *640 + repository: *641 sender: *4 required: - action @@ -139448,11 +139828,11 @@ x-webhooks: properties: from: type: string - enterprise: *634 - installation: *635 - membership: *670 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + membership: *674 + organization: *640 + repository: *641 sender: *4 required: - action @@ -139528,9 +139908,9 @@ x-webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 package: description: Information about the package. type: object @@ -140029,7 +140409,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &671 + items: &675 title: Ruby Gems metadata type: object properties: @@ -140124,7 +140504,7 @@ x-webhooks: - owner - package_version - registry - repository: *637 + repository: *641 sender: *4 required: - action @@ -140200,9 +140580,9 @@ x-webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 package: description: Information about the package. type: object @@ -140555,7 +140935,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *671 + items: *675 source_url: type: string format: uri @@ -140625,7 +141005,7 @@ x-webhooks: - owner - package_version - registry - repository: *637 + repository: *641 sender: *4 required: - action @@ -140802,12 +141182,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *634 + enterprise: *638 id: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - id @@ -140887,7 +141267,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &672 + personal_access_token_request: &676 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -141033,10 +141413,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *634 - organization: *636 + enterprise: *638 + organization: *640 sender: *4 - installation: *635 + installation: *639 required: - action - personal_access_token_request @@ -141115,11 +141495,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *672 - enterprise: *634 - organization: *636 + personal_access_token_request: *676 + enterprise: *638 + organization: *640 sender: *4 - installation: *635 + installation: *639 required: - action - personal_access_token_request @@ -141197,11 +141577,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *672 - enterprise: *634 - organization: *636 + personal_access_token_request: *676 + enterprise: *638 + organization: *640 sender: *4 - installation: *635 + installation: *639 required: - action - personal_access_token_request @@ -141278,11 +141658,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *672 - organization: *636 - enterprise: *634 + personal_access_token_request: *676 + organization: *640 + enterprise: *638 sender: *4 - installation: *635 + installation: *639 required: - action - personal_access_token_request @@ -141386,7 +141766,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *673 + last_response: *677 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -141418,8 +141798,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 zen: description: Random string of GitHub zen. @@ -141664,10 +142044,10 @@ x-webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: &674 + enterprise: *638 + installation: *639 + organization: *640 + project_card: &678 title: Project Card type: object properties: @@ -141786,7 +142166,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *637 + repository: *641 sender: *4 required: - action @@ -141867,11 +142247,11 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_card: *674 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project_card: *678 + repository: *641 sender: *4 required: - action @@ -141951,9 +142331,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 project_card: title: Project Card type: object @@ -142081,8 +142461,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: *667 - required: *668 + properties: *671 + required: *672 nullable: true sender: *4 required: @@ -142176,11 +142556,11 @@ x-webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: *674 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project_card: *678 + repository: *641 sender: *4 required: - action @@ -142274,9 +142654,9 @@ x-webhooks: - from required: - column_id - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 project_card: allOf: - title: Project Card @@ -142466,7 +142846,7 @@ x-webhooks: type: string required: - after_id - repository: *637 + repository: *641 sender: *4 required: - action @@ -142546,10 +142926,10 @@ x-webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - organization: *636 - project: &676 + enterprise: *638 + installation: *639 + organization: *640 + project: &680 title: Project type: object properties: @@ -142673,7 +143053,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *637 + repository: *641 sender: *4 required: - action @@ -142753,10 +143133,10 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_column: &675 + enterprise: *638 + installation: *639 + organization: *640 + project_column: &679 title: Project Column type: object properties: @@ -142795,7 +143175,7 @@ x-webhooks: - name - created_at - updated_at - repository: *637 + repository: *641 sender: *4 required: - action @@ -142874,18 +143254,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project_column: *675 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *679 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: *667 - required: *668 + properties: *671 + required: *672 nullable: true sender: *4 required: @@ -142975,11 +143355,11 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project_column: *675 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *679 + repository: *641 sender: *4 required: - action @@ -143059,11 +143439,11 @@ x-webhooks: type: string enum: - moved - enterprise: *634 - installation: *635 - organization: *636 - project_column: *675 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *679 + repository: *641 sender: *4 required: - action @@ -143143,11 +143523,11 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project: *676 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project: *680 + repository: *641 sender: *4 required: - action @@ -143227,18 +143607,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project: *676 + enterprise: *638 + installation: *639 + organization: *640 + project: *680 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: *667 - required: *668 + properties: *671 + required: *672 nullable: true sender: *4 required: @@ -143340,11 +143720,11 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project: *676 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project: *680 + repository: *641 sender: *4 required: - action @@ -143423,11 +143803,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - organization: *636 - project: *676 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project: *680 + repository: *641 sender: *4 required: - action @@ -143508,9 +143888,9 @@ x-webhooks: type: string enum: - closed - installation: *635 - organization: *636 - projects_v2: &677 + installation: *639 + organization: *640 + projects_v2: &681 title: Projects v2 Project description: A projects v2 project type: object @@ -143653,9 +144033,9 @@ x-webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2: *677 + installation: *639 + organization: *640 + projects_v2: *681 sender: *4 required: - action @@ -143736,9 +144116,9 @@ x-webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2: *677 + installation: *639 + organization: *640 + projects_v2: *681 sender: *4 required: - action @@ -143855,9 +144235,9 @@ x-webhooks: type: string to: type: string - installation: *635 - organization: *636 - projects_v2: *677 + installation: *639 + organization: *640 + projects_v2: *681 sender: *4 required: - action @@ -143940,7 +144320,7 @@ x-webhooks: type: string enum: - archived - changes: &681 + changes: &685 type: object properties: archived_at: @@ -143954,9 +144334,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *635 - organization: *636 - projects_v2_item: &678 + installation: *639 + organization: *640 + projects_v2_item: &682 title: Projects v2 Item description: An item belonging to a project type: object @@ -144090,9 +144470,9 @@ x-webhooks: nullable: true to: type: string - installation: *635 - organization: *636 - projects_v2_item: *678 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144174,9 +144554,9 @@ x-webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_item: *678 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144257,9 +144637,9 @@ x-webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_item: *678 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144365,7 +144745,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &679 + - &683 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -144383,7 +144763,7 @@ x-webhooks: required: - id - name - - &680 + - &684 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -144406,8 +144786,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *679 - - *680 + - *683 + - *684 required: - field_value - type: object @@ -144423,9 +144803,9 @@ x-webhooks: nullable: true required: - body - installation: *635 - organization: *636 - projects_v2_item: *678 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144520,9 +144900,9 @@ x-webhooks: to: type: string nullable: true - installation: *635 - organization: *636 - projects_v2_item: *678 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144605,10 +144985,10 @@ x-webhooks: type: string enum: - restored - changes: *681 - installation: *635 - organization: *636 - projects_v2_item: *678 + changes: *685 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144690,9 +145070,9 @@ x-webhooks: type: string enum: - reopened - installation: *635 - organization: *636 - projects_v2: *677 + installation: *639 + organization: *640 + projects_v2: *681 sender: *4 required: - action @@ -144773,9 +145153,9 @@ x-webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_status_update: &682 + installation: *639 + organization: *640 + projects_v2_status_update: &686 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -144902,9 +145282,9 @@ x-webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_status_update: *682 + installation: *639 + organization: *640 + projects_v2_status_update: *686 sender: *4 required: - action @@ -145040,9 +145420,9 @@ x-webhooks: type: string format: date nullable: true - installation: *635 - organization: *636 - projects_v2_status_update: *682 + installation: *639 + organization: *640 + projects_v2_status_update: *686 sender: *4 required: - action @@ -145113,10 +145493,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - repository @@ -145193,13 +145573,13 @@ x-webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - number: &683 + assignee: *658 + enterprise: *638 + installation: *639 + number: &687 description: The pull request number. type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -147482,7 +147862,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -147564,11 +147944,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -149846,7 +150226,7 @@ x-webhooks: - draft reason: type: string - repository: *637 + repository: *641 sender: *4 required: - action @@ -149928,11 +150308,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -152210,7 +152590,7 @@ x-webhooks: - draft reason: type: string - repository: *637 + repository: *641 sender: *4 required: - action @@ -152292,13 +152672,13 @@ x-webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: &684 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: &688 allOf: - - *511 + - *515 - type: object properties: allow_auto_merge: @@ -152360,7 +152740,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *637 + repository: *641 sender: *4 required: - action @@ -152441,12 +152821,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: *684 - repository: *637 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: *688 + repository: *641 sender: *4 required: - action @@ -152526,11 +152906,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *634 - milestone: *494 - number: *683 - organization: *636 - pull_request: &685 + enterprise: *638 + milestone: *498 + number: *687 + organization: *640 + pull_request: &689 title: Pull Request type: object properties: @@ -154793,7 +155173,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -154872,11 +155252,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -157158,7 +157538,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *637 + repository: *641 sender: *4 required: - action @@ -157282,12 +157662,12 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: *684 - repository: *637 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: *688 + repository: *641 sender: *4 required: - action @@ -157367,11 +157747,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -159638,7 +160018,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -159718,11 +160098,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 - label: *653 - number: *683 - organization: *636 + enterprise: *638 + installation: *639 + label: *657 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -162004,7 +162384,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -162085,10 +162465,10 @@ x-webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 - number: *683 - organization: *636 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -164368,7 +164748,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -164448,12 +164828,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *634 - milestone: *494 - number: *683 - organization: *636 - pull_request: *685 - repository: *637 + enterprise: *638 + milestone: *498 + number: *687 + organization: *640 + pull_request: *689 + repository: *641 sender: *4 required: - action @@ -164532,12 +164912,12 @@ x-webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: *684 - repository: *637 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: *688 + repository: *641 sender: *4 required: - action @@ -164618,12 +164998,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: *684 - repository: *637 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: *688 + repository: *641 sender: *4 required: - action @@ -164703,12 +165083,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: *684 - repository: *637 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: *688 + repository: *641 sender: *4 required: - action @@ -165074,9 +165454,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -167246,7 +167626,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *641 sender: *4 required: - action @@ -167326,7 +167706,7 @@ x-webhooks: type: string enum: - deleted - comment: &687 + comment: &691 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -167611,9 +167991,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -169771,7 +170151,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *641 sender: *4 required: - action @@ -169851,11 +170231,11 @@ x-webhooks: type: string enum: - edited - changes: *686 - comment: *687 - enterprise: *634 - installation: *635 - organization: *636 + changes: *690 + comment: *691 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -172016,7 +172396,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *641 sender: *4 required: - action @@ -172097,9 +172477,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -174272,7 +174652,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *641 review: description: The review that was affected. type: object @@ -174515,9 +174895,9 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -176571,8 +176951,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: &688 + repository: *641 + review: &692 description: The review that was affected. type: object properties: @@ -176801,12 +177181,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -179089,7 +179469,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 requested_reviewer: title: User type: object @@ -179173,12 +179553,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -181468,7 +181848,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 requested_team: title: Team description: Groups of organization members that gives permissions @@ -181660,12 +182040,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -183950,7 +184330,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 requested_reviewer: title: User type: object @@ -184035,12 +184415,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -186316,7 +186696,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 requested_team: title: Team description: Groups of organization members that gives permissions @@ -186497,9 +186877,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -188674,8 +189054,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: *688 + repository: *641 + review: *692 sender: *4 required: - action @@ -188755,9 +189135,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -190827,7 +191207,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *641 sender: *4 thread: type: object @@ -191210,9 +191590,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -193268,7 +193648,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *641 sender: *4 thread: type: object @@ -193654,10 +194034,10 @@ x-webhooks: type: string before: type: string - enterprise: *634 - installation: *635 - number: *683 - organization: *636 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -195928,7 +196308,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -196010,11 +196390,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *689 - enterprise: *634 - installation: *635 - number: *683 - organization: *636 + assignee: *693 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -198297,7 +198677,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -198376,11 +198756,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - label: *653 - number: *683 - organization: *636 + enterprise: *638 + installation: *639 + label: *657 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -200653,7 +201033,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -200734,10 +201114,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 - number: *683 - organization: *636 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -203002,7 +203382,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -203202,7 +203582,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *634 + enterprise: *638 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -203294,8 +203674,8 @@ x-webhooks: - url - author - committer - installation: *635 - organization: *636 + installation: *639 + organization: *640 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -203870,9 +204250,9 @@ x-webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 registry_package: type: object properties: @@ -204318,7 +204698,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *671 + items: *675 summary: type: string tag_name: @@ -204372,7 +204752,7 @@ x-webhooks: - owner - package_version - registry - repository: *637 + repository: *641 sender: *4 required: - action @@ -204450,9 +204830,9 @@ x-webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 registry_package: type: object properties: @@ -204760,7 +205140,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *671 + items: *675 summary: type: string tag_name: @@ -204809,7 +205189,7 @@ x-webhooks: - owner - package_version - registry - repository: *637 + repository: *641 sender: *4 required: - action @@ -204886,10 +205266,10 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - release: &690 + enterprise: *638 + installation: *639 + organization: *640 + release: &694 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -205194,7 +205574,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *637 + repository: *641 sender: *4 required: - action @@ -205271,11 +205651,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - release: *690 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + release: *694 + repository: *641 sender: *4 required: - action @@ -205383,11 +205763,11 @@ x-webhooks: type: boolean required: - to - enterprise: *634 - installation: *635 - organization: *636 - release: *690 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + release: *694 + repository: *641 sender: *4 required: - action @@ -205465,9 +205845,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -205776,7 +206156,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *637 + repository: *641 sender: *4 required: - action @@ -205852,10 +206232,10 @@ x-webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - release: &691 + enterprise: *638 + installation: *639 + organization: *640 + release: &695 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206161,7 +206541,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *637 + repository: *641 sender: *4 required: - action @@ -206237,11 +206617,11 @@ x-webhooks: type: string enum: - released - enterprise: *634 - installation: *635 - organization: *636 - release: *690 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + release: *694 + repository: *641 sender: *4 required: - action @@ -206317,11 +206697,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *634 - installation: *635 - organization: *636 - release: *691 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + release: *695 + repository: *641 sender: *4 required: - action @@ -206397,11 +206777,11 @@ x-webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *565 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_advisory: *569 sender: *4 required: - action @@ -206477,11 +206857,11 @@ x-webhooks: type: string enum: - reported - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *565 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_advisory: *569 sender: *4 required: - action @@ -206557,10 +206937,10 @@ x-webhooks: type: string enum: - archived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -206637,10 +207017,10 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -206718,10 +207098,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -206805,10 +207185,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -206920,10 +207300,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -206995,10 +207375,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 status: type: string @@ -207079,10 +207459,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -207159,10 +207539,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -207256,10 +207636,10 @@ x-webhooks: - name required: - repository - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -207339,11 +207719,11 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_ruleset: *235 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *236 sender: *4 required: - action @@ -207421,11 +207801,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_ruleset: *235 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *236 sender: *4 required: - action @@ -207503,11 +207883,11 @@ x-webhooks: type: string enum: - edited - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_ruleset: *235 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *236 changes: type: object properties: @@ -207526,16 +207906,16 @@ x-webhooks: properties: added: type: array - items: *229 + items: *230 deleted: type: array - items: *229 + items: *230 updated: type: array items: type: object properties: - condition: *229 + condition: *230 changes: type: object properties: @@ -207568,16 +207948,16 @@ x-webhooks: properties: added: type: array - items: *234 + items: *235 deleted: type: array - items: *234 + items: *235 updated: type: array items: type: object properties: - rule: *234 + rule: *235 changes: type: object properties: @@ -207811,10 +208191,10 @@ x-webhooks: - from required: - owner - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -207892,10 +208272,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -207973,7 +208353,7 @@ x-webhooks: type: string enum: - create - alert: &692 + alert: &696 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -208094,10 +208474,10 @@ x-webhooks: type: string enum: - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -208303,10 +208683,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -208384,11 +208764,11 @@ x-webhooks: type: string enum: - reopen - alert: *692 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *696 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -208587,10 +208967,10 @@ x-webhooks: enum: - fixed - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -208668,7 +209048,7 @@ x-webhooks: type: string enum: - created - alert: &693 + alert: &697 type: object properties: number: *53 @@ -208779,10 +209159,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -208863,11 +209243,11 @@ x-webhooks: type: string enum: - created - alert: *693 - installation: *635 - location: *694 - organization: *636 - repository: *637 + alert: *697 + installation: *639 + location: *698 + organization: *640 + repository: *641 sender: *4 required: - location @@ -209105,11 +209485,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *693 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *697 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -209187,11 +209567,11 @@ x-webhooks: type: string enum: - reopened - alert: *693 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *697 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -209269,11 +209649,11 @@ x-webhooks: type: string enum: - resolved - alert: *693 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *697 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -209351,11 +209731,11 @@ x-webhooks: type: string enum: - validated - alert: *693 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *697 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -209481,10 +209861,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *637 - enterprise: *634 - installation: *635 - organization: *636 + repository: *641 + enterprise: *638 + installation: *639 + organization: *640 sender: *4 required: - action @@ -209562,11 +209942,11 @@ x-webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: &695 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + security_advisory: &699 description: The details of the security advisory, including summary, description, and severity. type: object @@ -209749,11 +210129,11 @@ x-webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: *695 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + security_advisory: *699 sender: *4 required: - action @@ -209826,10 +210206,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -210013,11 +210393,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *228 - enterprise: *634 - installation: *635 - organization: *636 - repository: *279 + security_and_analysis: *229 + enterprise: *638 + installation: *639 + organization: *640 + repository: *283 sender: *4 required: - changes @@ -210095,12 +210475,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: &696 + sponsorship: &700 type: object properties: created_at: @@ -210401,12 +210781,12 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: *696 + sponsorship: *700 required: - action - sponsorship @@ -210494,12 +210874,12 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: *696 + sponsorship: *700 required: - action - changes @@ -210576,17 +210956,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &697 + effective_date: &701 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: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: *696 + sponsorship: *700 required: - action - sponsorship @@ -210660,7 +211040,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &698 + changes: &702 type: object properties: tier: @@ -210704,13 +211084,13 @@ x-webhooks: - from required: - tier - effective_date: *697 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + effective_date: *701 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: *696 + sponsorship: *700 required: - action - changes @@ -210787,13 +211167,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *698 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + changes: *702 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: *696 + sponsorship: *700 required: - action - changes @@ -210867,10 +211247,10 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -210953,10 +211333,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -211375,15 +211755,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *634 + enterprise: *638 id: description: The unique identifier of the status. type: integer - installation: *635 + installation: *639 name: type: string - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 sha: description: The Commit SHA. @@ -211498,9 +211878,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *76 - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -211590,9 +211970,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *76 - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -211682,9 +212062,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *76 - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -211774,9 +212154,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *76 - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -211853,12 +212233,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - team: &699 + team: &703 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -212048,9 +212428,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -212508,7 +212888,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *699 + team: *703 required: - action - team @@ -212584,9 +212964,9 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -213044,7 +213424,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *699 + team: *703 required: - action - team @@ -213121,9 +213501,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -213581,7 +213961,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *699 + team: *703 required: - action - team @@ -213725,9 +214105,9 @@ x-webhooks: - from required: - permissions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -214185,7 +214565,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *699 + team: *703 required: - action - changes @@ -214263,9 +214643,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -214723,7 +215103,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *699 + team: *703 required: - action - team @@ -214799,10 +215179,10 @@ x-webhooks: type: string enum: - started - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -214875,16 +215255,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *634 + enterprise: *638 inputs: type: object nullable: true additionalProperties: true - installation: *635 - organization: *636 + installation: *639 + organization: *640 ref: type: string - repository: *637 + repository: *641 sender: *4 workflow: type: string @@ -214966,10 +215346,10 @@ x-webhooks: type: string enum: - completed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 workflow_job: allOf: @@ -215206,7 +215586,7 @@ x-webhooks: type: string required: - conclusion - deployment: *426 + deployment: *430 required: - action - repository @@ -215285,10 +215665,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 workflow_job: allOf: @@ -215548,7 +215928,7 @@ x-webhooks: required: - status - steps - deployment: *426 + deployment: *430 required: - action - repository @@ -215627,10 +216007,10 @@ x-webhooks: type: string enum: - queued - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 workflow_job: type: object @@ -215765,7 +216145,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *426 + deployment: *430 required: - action - repository @@ -215844,10 +216224,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 workflow_job: type: object @@ -215983,7 +216363,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *426 + deployment: *430 required: - action - repository @@ -216063,12 +216443,12 @@ x-webhooks: type: string enum: - completed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - workflow: *649 + workflow: *653 workflow_run: title: Workflow Run type: object @@ -217067,12 +217447,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - workflow: *649 + workflow: *653 workflow_run: title: Workflow Run type: object @@ -218056,12 +218436,12 @@ x-webhooks: type: string enum: - requested - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - workflow: *649 + workflow: *653 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index ff85af147..934977b48 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -175,6 +175,10 @@ { "name": "private-registries", "description": "Manage private registry configurations." + }, + { + "name": "hosted-compute", + "description": "Manage hosted compute networking resources." } ], "servers": [ @@ -19880,6 +19884,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -76885,6 +76897,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -134824,6 +134844,725 @@ } } }, + "/orgs/{org}/settings/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an organization", + "description": "Lists all hosted compute network configurations configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "network_configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "network_configurations": { + "type": "array", + "items": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "network_configurations": [ + { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + }, + { + "id": "456789ABDCEF123", + "name": "My other configuration", + "compute_service": "none", + "network_settings_ids": [ + "56789ABDCEF1234", + "6789ABDCEF12345" + ], + "created_on": "2023-04-26T15:23:37Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an organization", + "description": "Creates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": { + "get": { + "summary": "Get a hosted compute network configuration for an organization", + "description": "Gets a hosted compute network configuration configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an organization", + "description": "Updates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an organization", + "description": "Deletes a hosted compute network configuration from an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-settings/{network_settings_id}": { + "get": { + "summary": "Get a hosted compute network settings resource for an organization", + "description": "Gets a hosted compute network settings resource configured for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-settings-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_settings_id", + "description": "Unique identifier of the hosted compute network settings.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network settings resource", + "description": "A hosted compute network settings resource.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network settings resource.", + "type": "string", + "example": "220F78DACB92BBFBC5E6F22DE1CCF52309D" + }, + "network_configuration_id": { + "description": "The identifier of the network configuration that is using this settings resource.", + "type": "string", + "example": "934E208B3EE0BD60CF5F752C426BFB53562" + }, + "name": { + "description": "The name of the network settings resource.", + "type": "string", + "example": "my-network-settings" + }, + "subnet_id": { + "description": "The subnet this network settings resource is configured for.", + "type": "string", + "example": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + }, + "region": { + "description": "The location of the subnet this network settings resource is configured for.", + "type": "string", + "example": "eastus" + } + }, + "required": [ + "id", + "name", + "subnet_id", + "region" + ] + }, + "examples": { + "default": { + "value": { + "id": "220F78DACB92BBFBC5E6F22DE1CCF52309D", + "network_configuration_id": "934E208B3EE0BD60CF5F752C426BFB53562", + "name": "my_network_settings", + "subnet_id": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet", + "region": "eastus" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, "/orgs/{org}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for a team", @@ -253547,6 +254286,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -325777,7 +326524,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to remove" + "description": "The id of the sub-issue to remove" } }, "required": [ @@ -330553,7 +331300,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to add" + "description": "The id of the sub-issue to add. The sub-issue must belong to the same repository as the parent issue" }, "replace_parent": { "type": "boolean", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index ba752fd36..84846c5ac 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -93,6 +93,8 @@ tags: description: Endpoints to manage Code security using the REST API. - name: private-registries description: Manage private registry configurations. +- name: hosted-compute + description: Manage hosted compute networking resources. servers: - url: https://api.github.com externalDocs: @@ -838,7 +840,7 @@ paths: - subscriptions_url - type - url - type: &246 + type: &247 type: string description: The type of credit the user is receiving. enum: @@ -1004,7 +1006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &567 + - &571 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1567,7 +1569,7 @@ paths: schema: type: integer default: 30 - - &164 + - &165 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 @@ -1583,7 +1585,7 @@ paths: application/json: schema: type: array - items: &165 + items: &166 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1660,7 +1662,7 @@ paths: - installation_id - repository_id examples: - default: &166 + default: &167 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1788,7 +1790,7 @@ paths: description: Response content: application/json: - schema: &167 + schema: &168 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1902,7 +1904,7 @@ paths: - request - response examples: - default: &168 + default: &169 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2829,7 +2831,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &226 + properties: &227 id: description: Unique identifier of the repository example: 42 @@ -3258,7 +3260,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &227 + required: &228 - archive_url - assignees_url - blobs_url @@ -8348,6 +8350,18 @@ paths: schema: type: string - &152 + name: epss_percentage + in: query + description: |- + CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as: + - An exact number (`n`) + - Comparators such as `>n`, `=n`, `<=n` + - A range like `n..n`, where `n` is a number from 0.0 to 1.0 + + Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. + schema: + type: string + - &153 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8357,7 +8371,7 @@ paths: enum: - development - runtime - - &153 + - &154 name: sort in: query description: |- @@ -8375,7 +8389,7 @@ paths: - *48 - *39 - *40 - - &154 + - &155 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8388,7 +8402,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &155 + - &156 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8408,7 +8422,7 @@ paths: application/json: schema: type: array - items: &156 + items: &157 type: object description: A Dependabot alert. properties: @@ -8461,7 +8475,7 @@ paths: enum: - development - runtime - security_advisory: &418 + security_advisory: &422 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8722,7 +8736,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &419 + auto_dismissed_at: &423 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8748,7 +8762,7 @@ paths: - repository additionalProperties: false examples: - default: &157 + default: &158 value: - number: 2 state: dismissed @@ -9092,7 +9106,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &237 + - &238 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9103,7 +9117,7 @@ paths: enum: - open - resolved - - &238 + - &239 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9113,7 +9127,7 @@ paths: required: false schema: type: string - - &239 + - &240 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9122,7 +9136,7 @@ paths: required: false schema: type: string - - &240 + - &241 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. @@ -9138,7 +9152,7 @@ paths: - *17 - *39 - *40 - - &241 + - &242 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9147,7 +9161,7 @@ paths: required: false schema: type: string - - &242 + - &243 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9156,7 +9170,7 @@ paths: schema: type: boolean default: false - - &243 + - &244 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9172,7 +9186,7 @@ paths: application/json: schema: type: array - items: &244 + items: &245 type: object properties: number: *53 @@ -9191,14 +9205,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &559 + state: &563 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: &560 + resolution: &564 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9295,7 +9309,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &245 + default: &246 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9631,7 +9645,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &467 + properties: &471 id: type: integer format: int64 @@ -9742,7 +9756,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &403 + properties: &407 url: type: string format: uri @@ -9812,7 +9826,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &404 + required: &408 - closed_issues - creator - description @@ -9967,7 +9981,7 @@ paths: - total - completed - percent_completed - required: &468 + required: &472 - assignee - closed_at - comments @@ -9989,7 +10003,7 @@ paths: - author_association - created_at - updated_at - comment: &465 + comment: &469 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10556,7 +10570,7 @@ paths: url: type: string format: uri - user: &590 + user: &594 title: Public User description: Public User type: object @@ -12426,7 +12440,7 @@ paths: - closed - all default: open - - &187 + - &188 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -12477,7 +12491,7 @@ paths: type: array items: *76 examples: - default: &188 + default: &189 value: - id: 1 node_id: MDU6SXNzdWUx @@ -13861,14 +13875,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &268 + - &272 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &269 + - &273 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -13939,7 +13953,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &280 + '301': &284 description: Moved permanently content: application/json: @@ -13961,7 +13975,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &497 + - &501 name: all description: If `true`, show notifications marked as read. in: query @@ -13969,7 +13983,7 @@ paths: schema: type: boolean default: false - - &498 + - &502 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -13979,7 +13993,7 @@ paths: type: boolean default: false - *66 - - &499 + - &503 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: @@ -14015,7 +14029,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &159 + properties: &160 id: type: integer format: int64 @@ -14291,7 +14305,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &228 + security_and_analysis: &229 nullable: true type: object properties: @@ -14347,7 +14361,7 @@ paths: enum: - enabled - disabled - required: &160 + required: &161 - archive_url - assignees_url - blobs_url @@ -14435,7 +14449,7 @@ paths: - url - subscription_url examples: - default: &500 + default: &504 value: - id: '1' repository: @@ -14977,7 +14991,7 @@ paths: application/json: schema: type: array - items: &194 + items: &195 title: Organization Simple description: A GitHub organization. type: object @@ -15036,7 +15050,7 @@ paths: - avatar_url - description examples: - default: &608 + default: &612 value: - login: github id: 1 @@ -15942,7 +15956,7 @@ paths: type: integer repository_cache_usages: type: array - items: &285 + items: &289 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16827,7 +16841,7 @@ paths: - all - local_only - selected - selected_actions_url: &291 + selected_actions_url: &295 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -16917,7 +16931,7 @@ paths: type: array items: *59 examples: - default: &602 + default: &606 value: total_count: 1 repositories: @@ -17245,7 +17259,7 @@ paths: description: Response content: application/json: - schema: &295 + schema: &299 type: object properties: default_workflow_permissions: &111 @@ -17296,7 +17310,7 @@ paths: required: false content: application/json: - schema: &296 + schema: &300 type: object properties: default_workflow_permissions: *111 @@ -17785,7 +17799,7 @@ paths: type: array items: *118 examples: - default: &593 + default: &597 value: total_count: 1 repositories: @@ -18423,7 +18437,7 @@ paths: application/json: schema: type: array - items: &297 + items: &301 title: Runner Application description: Runner Application type: object @@ -18448,7 +18462,7 @@ paths: - download_url - filename examples: - default: &298 + default: &302 value: - os: osx architecture: x64 @@ -18534,7 +18548,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &299 + '201': &303 description: Response content: application/json: @@ -18644,7 +18658,7 @@ paths: - token - expires_at examples: - default: &300 + default: &304 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18683,7 +18697,7 @@ paths: application/json: schema: *122 examples: - default: &301 + default: &305 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18717,7 +18731,7 @@ paths: application/json: schema: *120 examples: - default: &302 + default: &306 value: id: 23 name: MBP @@ -18941,7 +18955,7 @@ paths: - *93 - *119 responses: - '200': &303 + '200': &307 description: Response content: application/json: @@ -18998,7 +19012,7 @@ paths: parameters: - *93 - *119 - - &304 + - &308 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19128,7 +19142,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &320 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19157,7 +19171,7 @@ paths: - key_id - key examples: - default: &317 + default: &321 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19568,7 +19582,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *93 - - &290 + - &294 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -20095,7 +20109,7 @@ paths: bundle_url: type: string examples: - default: &330 + default: &334 value: attestations: - bundle: @@ -20214,7 +20228,7 @@ paths: type: array items: *4 examples: - default: &189 + default: &190 value: - login: octocat id: 1 @@ -20332,7 +20346,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *93 - - &356 + - &360 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -20342,7 +20356,7 @@ paths: schema: &135 type: string description: The name of the tool used to generate the code scanning analysis. - - &357 + - &361 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -20365,7 +20379,7 @@ paths: be returned. in: query required: false - schema: &359 + schema: &363 type: string description: State of a code scanning alert. enum: @@ -20388,7 +20402,7 @@ paths: be returned. in: query required: false - schema: &360 + schema: &364 type: string description: Severity of a code scanning alert. enum: @@ -20414,7 +20428,7 @@ paths: updated_at: *132 url: *55 html_url: *56 - instances_url: &361 + instances_url: &365 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20437,7 +20451,7 @@ paths: required: *21 nullable: true dismissed_at: *134 - dismissed_reason: &362 + dismissed_reason: &366 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -20446,13 +20460,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &363 + dismissed_comment: &367 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &364 + rule: &368 type: object properties: id: @@ -20505,7 +20519,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &365 + tool: &369 type: object properties: name: *135 @@ -20515,15 +20529,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *136 - most_recent_instance: &366 + most_recent_instance: &370 type: object properties: - ref: &358 + ref: &362 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &376 + analysis_key: &380 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20534,7 +20548,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &377 + category: &381 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21716,7 +21730,7 @@ paths: type: integer codespaces: type: array - items: &190 + items: &191 type: object title: Codespace description: A codespace. @@ -21746,7 +21760,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &389 + properties: &393 name: type: string description: The name of the machine. @@ -21788,7 +21802,7 @@ paths: - ready - in_progress nullable: true - required: &390 + required: &394 - name - display_name - operating_system @@ -21993,7 +22007,7 @@ paths: - pulls_url - recent_folders examples: - default: &191 + default: &192 value: total_count: 3 codespaces: @@ -22656,7 +22670,7 @@ paths: - updated_at - visibility examples: - default: &391 + default: &395 value: total_count: 2 secrets: @@ -22694,7 +22708,7 @@ paths: description: Response content: application/json: - schema: &392 + schema: &396 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22723,7 +22737,7 @@ paths: - key_id - key examples: - default: &393 + default: &397 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22755,7 +22769,7 @@ paths: application/json: schema: *145 examples: - default: &395 + default: &399 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23224,7 +23238,7 @@ paths: currently being billed. seats: type: array - items: &193 + items: &194 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -23242,7 +23256,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &186 + - &187 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23301,7 +23315,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &202 + properties: &203 id: description: Unique identifier of the team type: integer @@ -23357,7 +23371,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &203 + required: &204 - id - node_id - url @@ -23926,7 +23940,7 @@ paths: application/json: schema: type: array - items: &248 + items: &252 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -24234,7 +24248,7 @@ paths: - date additionalProperties: true examples: - default: &249 + default: &253 value: - date: '2024-06-24' total_active_users: 24 @@ -24336,7 +24350,7 @@ paths: '500': *144 '403': *29 '404': *6 - '422': &250 + '422': &254 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -24404,7 +24418,7 @@ paths: application/json: schema: type: array - items: &251 + items: &255 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -24491,7 +24505,7 @@ paths: - breakdown additionalProperties: false examples: - default: &252 + default: &256 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -24587,11 +24601,12 @@ paths: - *151 - *152 - *153 + - *154 - *48 - *39 - *40 - - *154 - *155 + - *156 - *17 responses: '200': @@ -24600,9 +24615,9 @@ paths: application/json: schema: type: array - items: *156 + items: *157 examples: - default: *157 + default: *158 '304': *37 '400': *14 '403': *29 @@ -24646,7 +24661,7 @@ paths: type: integer secrets: type: array - items: &158 + items: &159 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -24723,7 +24738,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &426 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24740,7 +24755,7 @@ paths: - key_id - key examples: - default: &423 + default: &427 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24770,7 +24785,7 @@ paths: description: Response content: application/json: - schema: *158 + schema: *159 examples: default: value: @@ -25067,7 +25082,7 @@ paths: application/json: schema: type: array - items: &205 + items: &206 title: Package description: A software package type: object @@ -25117,8 +25132,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *159 - required: *160 + properties: *160 + required: *161 nullable: true created_at: type: string @@ -25137,7 +25152,7 @@ paths: - created_at - updated_at examples: - default: &206 + default: &207 value: - id: 197 name: hello_docker @@ -25304,7 +25319,7 @@ paths: application/json: schema: type: array - items: &183 + items: &184 title: Organization Invitation description: Organization Invitation type: object @@ -25351,7 +25366,7 @@ paths: - invitation_teams_url - node_id examples: - default: &184 + default: &185 value: - id: 1 login: monalisa @@ -25418,7 +25433,7 @@ paths: application/json: schema: type: array - items: &161 + items: &162 title: Org Hook description: Org Hook type: object @@ -25589,9 +25604,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: &162 + default: &163 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -25639,7 +25654,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *93 - - &163 + - &164 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. @@ -25652,9 +25667,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *162 + default: *163 '404': *6 x-github: githubCloudOnly: false @@ -25682,7 +25697,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *93 - - *163 + - *164 requestBody: required: false content: @@ -25727,7 +25742,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -25769,7 +25784,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *93 - - *163 + - *164 responses: '204': description: Response @@ -25797,7 +25812,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *93 - - *163 + - *164 responses: '200': description: Response @@ -25828,7 +25843,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *93 - - *163 + - *164 requestBody: required: false content: @@ -25879,9 +25894,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *93 - - *163 - - *17 - *164 + - *17 + - *165 responses: '200': description: Response @@ -25889,9 +25904,9 @@ paths: application/json: schema: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 '400': *14 '422': *15 x-github: @@ -25917,16 +25932,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *93 - - *163 + - *164 - *16 responses: '200': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *168 + default: *169 '400': *14 '422': *15 x-github: @@ -25952,7 +25967,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *93 - - *163 + - *164 - *16 responses: '202': *47 @@ -25982,7 +25997,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *93 - - *163 + - *164 responses: '204': description: Response @@ -26005,7 +26020,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *93 - - &173 + - &174 name: actor_type in: path description: The type of the actor @@ -26018,14 +26033,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &174 + - &175 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &169 + - &170 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`.' @@ -26033,7 +26048,7 @@ paths: required: true schema: type: string - - &170 + - &171 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) @@ -26127,12 +26142,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *93 - - *169 - *170 + - *171 - *19 - *17 - *48 - - &179 + - &180 name: sort description: The property to sort the results by. in: query @@ -26211,14 +26226,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *93 - - *169 - *170 + - *171 responses: '200': description: Response content: application/json: - schema: &171 + schema: &172 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -26234,7 +26249,7 @@ paths: type: integer format: int64 examples: - default: &172 + default: &173 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -26255,23 +26270,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *93 - - &175 + - &176 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *169 - *170 + - *171 responses: '200': description: Response content: application/json: - schema: *171 + schema: *172 examples: - default: *172 + default: *173 x-github: enabledForGitHubApps: true category: orgs @@ -26290,18 +26305,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *93 - - *169 - *170 - - *173 + - *171 - *174 + - *175 responses: '200': description: Response content: application/json: - schema: *171 + schema: *172 examples: - default: *172 + default: *173 x-github: enabledForGitHubApps: true category: orgs @@ -26319,9 +26334,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *93 - - *169 - *170 - - &176 + - *171 + - &177 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -26334,7 +26349,7 @@ paths: description: Response content: application/json: - schema: &177 + schema: &178 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -26350,7 +26365,7 @@ paths: type: integer format: int64 examples: - default: &178 + default: &179 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -26387,18 +26402,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *93 - - *175 - - *169 - - *170 - *176 + - *170 + - *171 + - *177 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: enabledForGitHubApps: true category: orgs @@ -26416,19 +26431,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *93 - - *173 - *174 - - *169 + - *175 - *170 - - *176 + - *171 + - *177 responses: '200': description: Response content: application/json: - schema: *177 + schema: *178 examples: - default: *178 + default: *179 x-github: enabledForGitHubApps: true category: orgs @@ -26446,13 +26461,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *93 - - *175 - - *169 + - *176 - *170 + - *171 - *19 - *17 - *48 - - *179 + - *180 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -26533,7 +26548,7 @@ paths: application/json: schema: *22 examples: - default: &461 + default: &465 value: id: 1 account: @@ -26699,12 +26714,12 @@ paths: application/json: schema: anyOf: - - &181 + - &182 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &180 + limit: &181 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -26729,7 +26744,7 @@ paths: properties: {} additionalProperties: false examples: - default: &182 + default: &183 value: limit: collaborators_only origin: organization @@ -26758,13 +26773,13 @@ paths: required: true content: application/json: - schema: &462 + schema: &466 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *180 + limit: *181 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -26788,9 +26803,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: - default: *182 + default: *183 '422': *15 x-github: githubCloudOnly: false @@ -26866,9 +26881,9 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: - default: *184 + default: *185 headers: Link: *57 '404': *6 @@ -26945,7 +26960,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: value: @@ -27000,7 +27015,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *93 - - &185 + - &186 name: invitation_id description: The unique identifier of the invitation. in: path @@ -27031,7 +27046,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *93 - - *185 + - *186 - *17 - *19 responses: @@ -27041,9 +27056,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: &204 + default: &205 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -27118,7 +27133,7 @@ paths: - closed - all default: open - - *187 + - *188 - name: sort description: What to sort results by. in: query @@ -27143,7 +27158,7 @@ paths: type: array items: *76 examples: - default: *188 + default: *189 headers: Link: *57 '404': *6 @@ -27201,7 +27216,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '422': *15 @@ -27297,9 +27312,9 @@ paths: type: integer codespaces: type: array - items: *190 + items: *191 examples: - default: *191 + default: *192 '304': *37 '500': *144 '401': *25 @@ -27326,7 +27341,7 @@ paths: parameters: - *93 - *131 - - &192 + - &193 name: codespace_name in: path required: true @@ -27361,15 +27376,15 @@ paths: parameters: - *93 - *131 - - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: &388 + default: &392 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -27549,7 +27564,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *193 + schema: *194 examples: default: value: @@ -27624,7 +27639,7 @@ paths: description: Response content: application/json: - schema: &195 + schema: &196 title: Org Membership description: Org Membership type: object @@ -27653,7 +27668,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *194 + organization: *195 user: title: Simple User description: A GitHub user. @@ -27676,7 +27691,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &196 + response-if-user-has-an-active-admin-membership-with-organization: &197 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -27773,9 +27788,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - response-if-user-already-had-membership-with-organization: *196 + response-if-user-already-had-membership-with-organization: *197 '422': *15 '403': *29 x-github: @@ -27843,7 +27858,7 @@ paths: application/json: schema: type: array - items: &197 + items: &198 title: Migration description: A migration. type: object @@ -28172,7 +28187,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -28351,7 +28366,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *93 - - &198 + - &199 name: migration_id description: The unique identifier of the migration. in: path @@ -28378,7 +28393,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -28548,7 +28563,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *93 - - *198 + - *199 responses: '302': description: Response @@ -28570,7 +28585,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *93 - - *198 + - *199 responses: '204': description: Response @@ -28594,8 +28609,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *93 - - *198 - - &607 + - *199 + - &611 name: repo_name description: repo_name parameter in: path @@ -28623,7 +28638,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *93 - - *198 + - *199 - *17 - *19 responses: @@ -28635,7 +28650,7 @@ paths: type: array items: *118 examples: - default: &211 + default: &212 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -28788,7 +28803,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &201 + items: &202 title: Organization Role description: Organization roles type: object @@ -28936,7 +28951,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *93 - - &199 + - &200 name: team_slug description: The slug of the team name. in: path @@ -28968,8 +28983,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *93 - - *199 - - &200 + - *200 + - &201 name: role_id description: The unique identifier of the role. in: path @@ -29005,8 +29020,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *93 - - *199 - *200 + - *201 responses: '204': description: Response @@ -29059,7 +29074,7 @@ paths: parameters: - *93 - *131 - - *200 + - *201 responses: '204': description: Response @@ -29091,7 +29106,7 @@ paths: parameters: - *93 - *131 - - *200 + - *201 responses: '204': description: Response @@ -29120,13 +29135,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *93 - - *200 + - *201 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: default: value: @@ -29177,7 +29192,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *93 - - *200 + - *201 - *17 - *19 responses: @@ -29255,8 +29270,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *202 - required: *203 + properties: *203 + required: *204 nullable: true required: - id @@ -29271,7 +29286,7 @@ paths: - slug - parent examples: - default: *204 + default: *205 headers: Link: *57 '404': @@ -29301,7 +29316,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *93 - - *200 + - *201 - *17 - *19 responses: @@ -29329,13 +29344,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &247 + items: &248 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *202 - required: *203 + properties: *203 + required: *204 name: nullable: true type: string @@ -29430,7 +29445,7 @@ paths: - type - url examples: - default: *189 + default: *190 headers: Link: *57 '404': @@ -29478,7 +29493,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -29620,7 +29635,7 @@ paths: - nuget - container - *93 - - &609 + - &613 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29656,12 +29671,12 @@ paths: application/json: schema: type: array - items: *205 + items: *206 examples: - default: *206 + default: *207 '403': *29 '401': *25 - '400': &611 + '400': &615 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -29683,7 +29698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &207 + - &208 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 @@ -29701,7 +29716,7 @@ paths: - docker - nuget - container - - &208 + - &209 name: package_name description: The name of the package. in: path @@ -29714,7 +29729,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *206 examples: default: value: @@ -29766,8 +29781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *207 - *208 + - *209 - *93 responses: '204': @@ -29800,8 +29815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *207 - *208 + - *209 - *93 - name: token description: package token @@ -29834,8 +29849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *207 - *208 + - *209 - *93 - *19 - *17 @@ -29856,7 +29871,7 @@ paths: application/json: schema: type: array - items: &209 + items: &210 title: Package Version description: A version of a software package type: object @@ -29981,10 +29996,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *207 - *208 + - *209 - *93 - - &210 + - &211 name: package_version_id description: Unique identifier of the package version. in: path @@ -29996,7 +30011,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *210 examples: default: value: @@ -30032,10 +30047,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *207 - *208 + - *209 - *93 - - *210 + - *211 responses: '204': description: Response @@ -30067,10 +30082,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *207 - *208 + - *209 - *93 - - *210 + - *211 responses: '204': description: Response @@ -30100,7 +30115,7 @@ paths: - *93 - *17 - *19 - - &212 + - &213 name: sort description: The property by which to sort the results. in: query @@ -30111,7 +30126,7 @@ paths: - created_at default: created_at - *48 - - &213 + - &214 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -30122,7 +30137,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &214 + - &215 name: repository description: The name of the repository to use to filter the results. in: query @@ -30130,7 +30145,7 @@ paths: schema: type: string example: Hello-World - - &215 + - &216 name: permission description: The permission to use to filter the results. in: query @@ -30138,7 +30153,7 @@ paths: schema: type: string example: issues_read - - &216 + - &217 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) @@ -30148,7 +30163,7 @@ paths: schema: type: string format: date-time - - &217 + - &218 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) @@ -30460,7 +30475,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -30486,13 +30501,13 @@ paths: - *93 - *17 - *19 - - *212 - - *48 - *213 + - *48 - *214 - *215 - *216 - *217 + - *218 responses: '500': *144 '422': *15 @@ -30774,7 +30789,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -30818,7 +30833,7 @@ paths: type: integer configurations: type: array - items: &218 + items: &219 title: Organization private registry description: Private registry configuration for an organization type: object @@ -31024,7 +31039,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &219 + org-private-registry-with-selected-visibility: &220 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -31124,9 +31139,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *218 + schema: *219 examples: - default: *219 + default: *220 '404': *6 x-github: githubCloudOnly: false @@ -31276,7 +31291,7 @@ paths: application/json: schema: type: array - items: &220 + items: &221 title: Project description: Projects are a way to organize columns and cards of work. @@ -31446,7 +31461,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: value: @@ -31484,7 +31499,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &277 + '410': &281 description: Gone content: application/json: @@ -31516,7 +31531,7 @@ paths: application/json: schema: type: array - items: &221 + items: &222 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -31582,7 +31597,7 @@ paths: - property_name - value_type examples: - default: &222 + default: &223 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -31637,7 +31652,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *221 + items: *222 minItems: 1 maxItems: 100 required: @@ -31667,9 +31682,9 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '403': *29 '404': *6 x-github: @@ -31691,7 +31706,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *93 - - &223 + - &224 name: custom_property_name description: The custom property name in: path @@ -31703,9 +31718,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: &224 + default: &225 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -31740,7 +31755,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *93 - - *223 + - *224 requestBody: required: true content: @@ -31801,9 +31816,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *224 + default: *225 '403': *29 '404': *6 x-github: @@ -31827,7 +31842,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *93 - - *223 + - *224 responses: '204': *141 '403': *29 @@ -31888,7 +31903,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &225 + items: &226 title: Custom Property Value description: Custom property name and associated value type: object @@ -31975,7 +31990,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *225 + items: *226 required: - repository_names - properties @@ -32028,7 +32043,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -32167,7 +32182,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -32369,7 +32384,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &283 title: Full Repository description: Full Repository type: object @@ -32646,8 +32661,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *226 - required: *227 + properties: *227 + required: *228 nullable: true temp_clone_token: type: string @@ -32762,7 +32777,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &410 + properties: &414 url: type: string format: uri @@ -32778,12 +32793,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &411 + required: &415 - url - key - name - html_url - security_and_analysis: *228 + security_and_analysis: *229 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -32867,7 +32882,7 @@ paths: - network_count - subscribers_count examples: - default: &281 + default: &285 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33388,7 +33403,7 @@ paths: - *93 - *17 - *19 - - &546 + - &550 name: targets description: | A comma-separated list of rule targets to filter by. @@ -33406,7 +33421,7 @@ paths: application/json: schema: type: array - items: &235 + items: &236 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -33441,7 +33456,7 @@ paths: source: type: string description: The name of the source - enforcement: &231 + enforcement: &232 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -33454,7 +33469,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &232 + items: &233 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -33519,7 +33534,7 @@ paths: conditions: nullable: true anyOf: - - &229 + - &230 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -33543,7 +33558,7 @@ paths: match. items: type: string - - &233 + - &234 title: Organization ruleset conditions type: object description: |- @@ -33557,7 +33572,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *229 + - *230 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -33591,7 +33606,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *229 + - *230 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -33613,7 +33628,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *229 + - *230 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -33626,7 +33641,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &230 + items: &231 title: Repository ruleset property targeting definition type: object @@ -33659,17 +33674,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *230 + items: *231 required: - repository_property rules: type: array - items: &234 + items: &235 title: Repository Rule type: object description: A repository rule. oneOf: - - &528 + - &532 title: creation description: Only allow users with bypass permission to create matching refs. @@ -33681,7 +33696,7 @@ paths: type: string enum: - creation - - &529 + - &533 title: update description: Only allow users with bypass permission to update matching refs. @@ -33702,7 +33717,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &531 + - &535 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -33714,7 +33729,7 @@ paths: type: string enum: - deletion - - &532 + - &536 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -33726,7 +33741,7 @@ paths: type: string enum: - required_linear_history - - &533 + - &537 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -33804,7 +33819,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &534 + - &538 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -33828,7 +33843,7 @@ paths: type: string required: - required_deployment_environments - - &535 + - &539 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -33840,7 +33855,7 @@ paths: type: string enum: - required_signatures - - &536 + - &540 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -33893,7 +33908,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &537 + - &541 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -33941,7 +33956,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &538 + - &542 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -33953,7 +33968,7 @@ paths: type: string enum: - non_fast_forward - - &539 + - &543 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -33989,7 +34004,7 @@ paths: required: - operator - pattern - - &540 + - &544 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -34025,7 +34040,7 @@ paths: required: - operator - pattern - - &541 + - &545 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -34061,7 +34076,7 @@ paths: required: - operator - pattern - - &542 + - &546 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -34097,7 +34112,7 @@ paths: required: - operator - pattern - - &543 + - &547 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -34223,7 +34238,7 @@ paths: maximum: 100 required: - max_file_size - - &544 + - &548 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -34273,7 +34288,7 @@ paths: - repository_id required: - workflows - - &545 + - &549 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -34407,16 +34422,16 @@ paths: - push - repository default: branch - enforcement: *231 + enforcement: *232 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *232 - conditions: *233 + items: *233 + conditions: *234 rules: type: array description: An array of rules within the ruleset. - items: *234 + items: *235 required: - name - enforcement @@ -34454,9 +34469,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: &236 + default: &237 value: id: 21 name: super cool ruleset @@ -34511,7 +34526,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *93 - - &547 + - &551 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 @@ -34526,7 +34541,7 @@ paths: in: query schema: type: string - - &548 + - &552 name: time_period description: |- The time period to filter by. @@ -34542,14 +34557,14 @@ paths: - week - month default: day - - &549 + - &553 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 - - &550 + - &554 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -34569,7 +34584,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &555 title: Rule Suites description: Response type: array @@ -34624,7 +34639,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &552 + default: &556 value: - id: 21 actor_id: 12 @@ -34668,7 +34683,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *93 - - &553 + - &557 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -34684,7 +34699,7 @@ paths: description: Response content: application/json: - schema: &554 + schema: &558 title: Rule Suite description: Response type: object @@ -34783,7 +34798,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &555 + default: &559 value: id: 21 actor_id: 12 @@ -34856,9 +34871,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *236 + default: *237 '404': *6 '500': *144 put: @@ -34902,16 +34917,16 @@ paths: - tag - push - repository - enforcement: *231 + enforcement: *232 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *232 - conditions: *233 + items: *233 + conditions: *234 rules: description: An array of rules within the ruleset. type: array - items: *234 + items: *235 examples: default: value: @@ -34946,9 +34961,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *236 + default: *237 '404': *6 '500': *144 delete: @@ -34995,14 +35010,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *93 - - *237 - *238 - *239 - *240 + - *241 - *48 - *19 - *17 - - &557 + - &561 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -35012,7 +35027,7 @@ paths: required: false schema: type: string - - &558 + - &562 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -35022,9 +35037,9 @@ paths: required: false schema: type: string - - *241 - *242 - *243 + - *244 responses: '200': description: Response @@ -35032,9 +35047,9 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: - default: *245 + default: *246 headers: Link: *57 '404': *6 @@ -35104,7 +35119,7 @@ paths: application/json: schema: type: array - items: &565 + items: &569 description: A repository security advisory. type: object properties: @@ -35324,7 +35339,7 @@ paths: login: type: string description: The username of the user credited. - type: *246 + type: *247 credits_detailed: type: array nullable: true @@ -35334,7 +35349,7 @@ paths: type: object properties: user: *4 - type: *246 + type: *247 state: type: string description: The state of the user's acceptance of the @@ -35358,7 +35373,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *186 + items: *187 private_fork: readOnly: true nullable: true @@ -35395,7 +35410,7 @@ paths: - private_fork additionalProperties: false examples: - default: &566 + default: &570 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -35782,9 +35797,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *204 + default: *205 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35808,7 +35823,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *93 - - *199 + - *200 responses: '204': description: Response @@ -35834,7 +35849,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *93 - - *199 + - *200 responses: '204': description: Response @@ -35869,7 +35884,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &629 type: object properties: total_minutes_used: @@ -35939,7 +35954,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &626 + default: &630 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -35975,7 +35990,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &631 type: object properties: total_gigabytes_bandwidth_used: @@ -35993,7 +36008,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &628 + default: &632 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -36025,7 +36040,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &633 type: object properties: days_left_in_billing_cycle: @@ -36043,7 +36058,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &630 + default: &634 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -36053,6 +36068,369 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/network-configurations": + get: + summary: List hosted compute network configurations for an organization + description: |- + Lists all hosted compute network configurations configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization + parameters: + - *93 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: &249 + title: Hosted compute network configuration + description: A hosted compute network configuration. + type: object + properties: + id: + description: The unique identifier of the network configuration. + type: string + example: 123ABC456DEF789 + name: + description: The name of the network configuration. + type: string + example: my-network-configuration + compute_service: + description: The hosted compute service the network configuration + supports. + type: string + enum: + - none + - actions + - codespaces + network_settings_ids: + description: The unique identifier of each network settings + in the configuration. + type: array + items: + type: string + example: 123ABC456DEF789 + created_on: + description: The time at which the network configuration + was created, in ISO 8601 format. + type: string + format: date-time + example: '2024-04-26T11:31:07Z' + nullable: true + required: + - id + - name + - created_on + examples: + default: + value: + total_count: 2 + network_configurations: + - id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + - id: 456789ABDCEF123 + name: My other configuration + compute_service: none + network_settings_ids: + - 56789ABDCEF1234 + - 6789ABDCEF12345 + created_on: '2023-04-26T15:23:37Z' + headers: + Link: *57 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an organization + description: |- + Creates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *93 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: *249 + examples: + default: &250 + value: + id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an organization + description: |- + Gets a hosted compute network configuration configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *93 + - &251 + name: network_configuration_id + description: Unique identifier of the hosted compute network configuration. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *249 + examples: + default: *250 + headers: + Link: *57 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an organization + description: |- + Updates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *93 + - *251 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: *249 + examples: + default: *250 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an organization + description: |- + Deletes a hosted compute network configuration from an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization + parameters: + - *93 + - *251 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an organization + description: |- + Gets a hosted compute network settings resource configured for an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-settings-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization + parameters: + - *93 + - name: network_settings_id + description: Unique identifier of the hosted compute network settings. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + title: Hosted compute network settings resource + description: A hosted compute network settings resource. + type: object + properties: + id: + description: The unique identifier of the network settings resource. + type: string + example: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: + description: The identifier of the network configuration that + is using this settings resource. + type: string + example: 934E208B3EE0BD60CF5F752C426BFB53562 + name: + description: The name of the network settings resource. + type: string + example: my-network-settings + subnet_id: + description: The subnet this network settings resource is configured + for. + type: string + example: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: + description: The location of the subnet this network settings + resource is configured for. + type: string + example: eastus + required: + - id + - name + - subnet_id + - region + examples: + default: + value: + id: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 + name: my_network_settings + subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: eastus + headers: + Link: *57 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations "/orgs/{org}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for a team @@ -36078,7 +36456,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *93 - - *199 + - *200 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -36110,13 +36488,13 @@ paths: application/json: schema: type: array - items: *248 + items: *252 examples: - default: *249 + default: *253 '500': *144 '403': *29 '404': *6 - '422': *250 + '422': *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36151,7 +36529,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *93 - - *199 + - *200 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -36183,9 +36561,9 @@ paths: application/json: schema: type: array - items: *251 + items: *255 examples: - default: *252 + default: *256 '500': *144 '401': *25 '403': *29 @@ -36217,9 +36595,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 headers: Link: *57 '403': *29 @@ -36313,7 +36691,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &257 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -36376,8 +36754,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *202 - required: *203 + properties: *203 + required: *204 nullable: true members_count: type: integer @@ -36623,7 +37001,7 @@ paths: - repos_count - organization examples: - default: &254 + default: &258 value: id: 1 node_id: MDQ6VGVhbTE= @@ -36694,15 +37072,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *93 - - *199 + - *200 responses: '200': description: Response content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '404': *6 x-github: githubCloudOnly: false @@ -36724,7 +37102,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *93 - - *199 + - *200 requestBody: required: false content: @@ -36786,16 +37164,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '201': description: Response content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '404': *6 '422': *15 '403': *29 @@ -36821,7 +37199,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *93 - - *199 + - *200 responses: '204': description: Response @@ -36848,7 +37226,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *93 - - *199 + - *200 - *48 - *17 - *19 @@ -36865,7 +37243,7 @@ paths: application/json: schema: type: array - items: &255 + items: &259 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -36964,7 +37342,7 @@ paths: - updated_at - url examples: - default: &580 + default: &584 value: - author: login: octocat @@ -37039,7 +37417,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *93 - - *199 + - *200 requestBody: required: true content: @@ -37073,9 +37451,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: &256 + default: &260 value: author: login: octocat @@ -37148,8 +37526,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *93 - - *199 - - &257 + - *200 + - &261 name: discussion_number description: The number that identifies the discussion. in: path @@ -37161,9 +37539,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *256 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37186,8 +37564,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *93 - - *199 - - *257 + - *200 + - *261 requestBody: required: false content: @@ -37210,9 +37588,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: &581 + default: &585 value: author: login: octocat @@ -37283,8 +37661,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *93 - - *199 - - *257 + - *200 + - *261 responses: '204': description: Response @@ -37311,8 +37689,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *93 - - *199 - - *257 + - *200 + - *261 - *48 - *17 - *19 @@ -37323,7 +37701,7 @@ paths: application/json: schema: type: array - items: &258 + items: &262 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -37395,7 +37773,7 @@ paths: - updated_at - url examples: - default: &582 + default: &586 value: - author: login: octocat @@ -37464,8 +37842,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *93 - - *199 - - *257 + - *200 + - *261 requestBody: required: true content: @@ -37487,9 +37865,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: &259 + default: &263 value: author: login: octocat @@ -37556,9 +37934,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *93 - - *199 - - *257 - - &260 + - *200 + - *261 + - &264 name: comment_number description: The number that identifies the comment. in: path @@ -37570,9 +37948,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: *259 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37595,9 +37973,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *93 - - *199 - - *257 - - *260 + - *200 + - *261 + - *264 requestBody: required: true content: @@ -37619,9 +37997,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: &583 + default: &587 value: author: login: octocat @@ -37686,9 +38064,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *93 - - *199 - - *257 - - *260 + - *200 + - *261 + - *264 responses: '204': description: Response @@ -37715,9 +38093,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *93 - - *199 - - *257 - - *260 + - *200 + - *261 + - *264 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -37743,7 +38121,7 @@ paths: application/json: schema: type: array - items: &261 + items: &265 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -37786,7 +38164,7 @@ paths: - content - created_at examples: - default: &263 + default: &267 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37837,9 +38215,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *93 - - *199 - - *257 - - *260 + - *200 + - *261 + - *264 requestBody: required: true content: @@ -37872,9 +38250,9 @@ paths: team discussion comment content: application/json: - schema: *261 + schema: *265 examples: - default: &262 + default: &266 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37903,9 +38281,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37929,10 +38307,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *93 - - *199 - - *257 - - *260 - - &264 + - *200 + - *261 + - *264 + - &268 name: reaction_id description: The unique identifier of the reaction. in: path @@ -37965,8 +38343,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *93 - - *199 - - *257 + - *200 + - *261 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -37992,9 +38370,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 x-github: @@ -38021,8 +38399,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *93 - - *199 - - *257 + - *200 + - *261 requestBody: required: true content: @@ -38054,16 +38432,16 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38087,9 +38465,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *93 - - *199 - - *257 - - *264 + - *200 + - *261 + - *268 responses: '204': description: Response @@ -38114,7 +38492,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *93 - - *199 + - *200 - *17 - *19 responses: @@ -38124,9 +38502,9 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: - default: *184 + default: *185 headers: Link: *57 x-github: @@ -38149,7 +38527,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *93 - - *199 + - *200 - name: role description: Filters members returned by their role in the team. in: query @@ -38172,7 +38550,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -38203,14 +38581,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *93 - - *199 + - *200 - *131 responses: '200': description: Response content: application/json: - schema: &265 + schema: &269 title: Team Membership description: Team Membership type: object @@ -38237,7 +38615,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &584 + response-if-user-is-a-team-maintainer: &588 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -38274,7 +38652,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *93 - - *199 + - *200 - *131 requestBody: required: false @@ -38300,9 +38678,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *269 examples: - response-if-users-membership-with-team-is-now-pending: &585 + response-if-users-membership-with-team-is-now-pending: &589 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -38338,7 +38716,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *93 - - *199 + - *200 - *131 responses: '204': @@ -38366,7 +38744,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *93 - - *199 + - *200 - *17 - *19 responses: @@ -38376,7 +38754,7 @@ paths: application/json: schema: type: array - items: &266 + items: &270 title: Team Project description: A team's access to a project. type: object @@ -38444,7 +38822,7 @@ paths: - updated_at - permissions examples: - default: &586 + default: &590 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38506,8 +38884,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *93 - - *199 - - &267 + - *200 + - &271 name: project_id description: The unique identifier of the project. in: path @@ -38519,9 +38897,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *270 examples: - default: &587 + default: &591 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38582,8 +38960,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *93 - - *199 - - *267 + - *200 + - *271 requestBody: required: false content: @@ -38648,8 +39026,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *93 - - *199 - - *267 + - *200 + - *271 responses: '204': description: Response @@ -38674,7 +39052,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *93 - - *199 + - *200 - *17 - *19 responses: @@ -38686,7 +39064,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -38716,15 +39094,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *93 - - *199 - - *268 - - *269 + - *200 + - *272 + - *273 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &588 + schema: &592 title: Team Repository description: A team's access to a repository. type: object @@ -39294,9 +39672,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *93 - - *199 - - *268 - - *269 + - *200 + - *272 + - *273 requestBody: required: false content: @@ -39342,9 +39720,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *93 - - *199 - - *268 - - *269 + - *200 + - *272 + - *273 responses: '204': description: Response @@ -39369,7 +39747,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *93 - - *199 + - *200 - *17 - *19 responses: @@ -39379,9 +39757,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - response-if-child-teams-exist: &589 + response-if-child-teams-exist: &593 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -39505,7 +39883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &270 + - &274 name: card_id description: The unique identifier of the card. in: path @@ -39517,7 +39895,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &275 title: Project Card description: Project cards represent a scope of work. type: object @@ -39584,7 +39962,7 @@ paths: - created_at - updated_at examples: - default: &272 + default: &276 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -39634,7 +40012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *270 + - *274 requestBody: required: false content: @@ -39661,9 +40039,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *275 examples: - default: *272 + default: *276 '304': *37 '403': *29 '401': *25 @@ -39684,7 +40062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *270 + - *274 responses: '204': description: Response @@ -39722,7 +40100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *270 + - *274 requestBody: required: true content: @@ -39827,7 +40205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &273 + - &277 name: column_id description: The unique identifier of the column. in: path @@ -39839,7 +40217,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &278 title: Project Column description: Project columns contain cards of work. type: object @@ -39885,7 +40263,7 @@ paths: - created_at - updated_at examples: - default: &275 + default: &279 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -39914,7 +40292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *273 + - *277 requestBody: required: true content: @@ -39938,9 +40316,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: *275 + default: *279 '304': *37 '403': *29 '401': *25 @@ -39959,7 +40337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *273 + - *277 responses: '204': description: Response @@ -39982,7 +40360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *273 + - *277 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -40003,7 +40381,7 @@ paths: application/json: schema: type: array - items: *271 + items: *275 examples: default: value: @@ -40056,7 +40434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *273 + - *277 requestBody: required: true content: @@ -40096,9 +40474,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *275 examples: - default: *272 + default: *276 '304': *37 '403': *29 '401': *25 @@ -40148,7 +40526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *273 + - *277 requestBody: required: true content: @@ -40204,15 +40582,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *267 + - *271 responses: '200': description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: &276 + default: &280 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -40265,7 +40643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *267 + - *271 requestBody: required: false content: @@ -40311,9 +40689,9 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: *276 + default: *280 '404': description: Not Found if the authenticated user does not have access to the project @@ -40334,7 +40712,7 @@ paths: items: type: string '401': *25 - '410': *277 + '410': *281 '422': *7 x-github: githubCloudOnly: false @@ -40352,7 +40730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *267 + - *271 responses: '204': description: Delete Success @@ -40373,7 +40751,7 @@ paths: items: type: string '401': *25 - '410': *277 + '410': *281 '404': *6 x-github: githubCloudOnly: false @@ -40396,7 +40774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *267 + - *271 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -40423,7 +40801,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '404': *6 @@ -40448,7 +40826,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *267 + - *271 - *131 requestBody: required: false @@ -40496,7 +40874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *267 + - *271 - *131 responses: '204': @@ -40525,7 +40903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *267 + - *271 - *131 responses: '200': @@ -40593,7 +40971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *267 + - *271 - *17 - *19 responses: @@ -40603,7 +40981,7 @@ paths: application/json: schema: type: array - items: *274 + items: *278 examples: default: value: @@ -40635,7 +41013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *267 + - *271 requestBody: required: true content: @@ -40658,7 +41036,7 @@ paths: description: Response content: application/json: - schema: *274 + schema: *278 examples: default: value: @@ -40719,7 +41097,7 @@ paths: resources: type: object properties: - core: &278 + core: &282 title: Rate Limit type: object properties: @@ -40736,20 +41114,20 @@ paths: - remaining - reset - used - graphql: *278 - search: *278 - code_search: *278 - source_import: *278 - integration_manifest: *278 - code_scanning_upload: *278 - actions_runner_registration: *278 - scim: *278 - dependency_snapshots: *278 - code_scanning_autofix: *278 + graphql: *282 + search: *282 + code_search: *282 + source_import: *282 + integration_manifest: *282 + code_scanning_upload: *282 + actions_runner_registration: *282 + scim: *282 + dependency_snapshots: *282 + code_scanning_autofix: *282 required: - core - search - rate: *278 + rate: *282 required: - rate - resources @@ -40853,14 +41231,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *279 + schema: *283 examples: default-response: summary: Default response @@ -41361,7 +41739,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *280 + '301': *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41379,8 +41757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -41616,10 +41994,10 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *281 - '307': &282 + default: *285 + '307': &286 description: Temporary Redirect content: application/json: @@ -41648,8 +42026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -41671,7 +42049,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *282 + '307': *286 '404': *6 x-github: githubCloudOnly: false @@ -41694,11 +42072,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 - - &308 + - &312 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -41721,7 +42099,7 @@ paths: type: integer artifacts: type: array - items: &283 + items: &287 title: Artifact description: An artifact type: object @@ -41792,7 +42170,7 @@ paths: - expires_at - updated_at examples: - default: &309 + default: &313 value: total_count: 2 artifacts: @@ -41851,9 +42229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *268 - - *269 - - &284 + - *272 + - *273 + - &288 name: artifact_id description: The unique identifier of the artifact. in: path @@ -41865,7 +42243,7 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: default: value: @@ -41902,9 +42280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *268 - - *269 - - *284 + - *272 + - *273 + - *288 responses: '204': description: Response @@ -41928,9 +42306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *268 - - *269 - - *284 + - *272 + - *273 + - *288 - name: archive_format in: path required: true @@ -41944,7 +42322,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': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41967,14 +42345,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *285 + schema: *289 examples: default: value: @@ -42000,11 +42378,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 - - &286 + - &290 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 @@ -42038,7 +42416,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &291 title: Repository actions caches description: Repository actions caches type: object @@ -42080,7 +42458,7 @@ paths: - total_count - actions_caches examples: - default: &288 + default: &292 value: total_count: 1 actions_caches: @@ -42112,23 +42490,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *268 - - *269 + - *272 + - *273 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *286 + - *290 responses: '200': description: Response content: application/json: - schema: *287 + schema: *291 examples: - default: *288 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42148,8 +42526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *268 - - *269 + - *272 + - *273 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -42180,9 +42558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *268 - - *269 - - &289 + - *272 + - *273 + - &293 name: job_id description: The unique identifier of the job. in: path @@ -42194,7 +42572,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &316 title: Job description: Information of a job execution in a workflow run type: object @@ -42501,9 +42879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *268 - - *269 - - *289 + - *272 + - *273 + - *293 responses: '302': description: Response @@ -42531,9 +42909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *268 - - *269 - - *289 + - *272 + - *273 + - *293 requestBody: required: false content: @@ -42578,8 +42956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Status response @@ -42629,8 +43007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -42693,8 +43071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -42712,7 +43090,7 @@ paths: type: integer secrets: type: array - items: &314 + items: &318 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -42732,7 +43110,7 @@ paths: - created_at - updated_at examples: - default: &315 + default: &319 value: total_count: 2 secrets: @@ -42765,9 +43143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *268 - - *269 - - *290 + - *272 + - *273 + - *294 - *19 responses: '200': @@ -42784,7 +43162,7 @@ paths: type: integer variables: type: array - items: &318 + items: &322 title: Actions Variable type: object properties: @@ -42814,7 +43192,7 @@ paths: - created_at - updated_at examples: - default: &319 + default: &323 value: total_count: 2 variables: @@ -42847,8 +43225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -42857,11 +43235,11 @@ paths: schema: type: object properties: - enabled: &292 + enabled: &296 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *107 - selected_actions_url: *291 + selected_actions_url: *295 required: - enabled examples: @@ -42888,8 +43266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -42900,7 +43278,7 @@ paths: schema: type: object properties: - enabled: *292 + enabled: *296 allowed_actions: *107 required: - enabled @@ -42930,14 +43308,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: &293 + schema: &297 type: object properties: access_level: @@ -42954,7 +43332,7 @@ paths: required: - access_level examples: - default: &294 + default: &298 value: access_level: organization x-github: @@ -42978,15 +43356,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: application/json: - schema: *293 + schema: *297 examples: - default: *294 + default: *298 responses: '204': description: Response @@ -43010,8 +43388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -43038,8 +43416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -43071,14 +43449,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *295 + schema: *299 examples: default: *113 x-github: @@ -43101,8 +43479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Success response @@ -43113,7 +43491,7 @@ paths: required: true content: application/json: - schema: *296 + schema: *300 examples: default: *113 x-github: @@ -43142,8 +43520,8 @@ paths: in: query schema: type: string - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -43187,8 +43565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -43196,9 +43574,9 @@ paths: application/json: schema: type: array - items: *297 + items: *301 examples: - default: *298 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,8 +43598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -43264,7 +43642,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *299 + '201': *303 '404': *6 '422': *7 x-github: @@ -43294,8 +43672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '201': description: Response @@ -43303,7 +43681,7 @@ paths: application/json: schema: *122 examples: - default: *300 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43331,8 +43709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '201': description: Response @@ -43340,7 +43718,7 @@ paths: application/json: schema: *122 examples: - default: *301 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43362,8 +43740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 responses: '200': @@ -43372,7 +43750,7 @@ paths: application/json: schema: *120 examples: - default: *302 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43393,8 +43771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 responses: '204': @@ -43420,8 +43798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 responses: '200': *124 @@ -43446,8 +43824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 requestBody: required: true @@ -43496,8 +43874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 requestBody: required: true @@ -43547,11 +43925,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 responses: - '200': *303 + '200': *307 '404': *6 x-github: githubCloudOnly: false @@ -43578,10 +43956,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *119 - - *304 + - *308 responses: '200': *124 '404': *6 @@ -43609,9 +43987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *268 - - *269 - - &322 + - *272 + - *273 + - &326 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. @@ -43619,7 +43997,7 @@ paths: required: false schema: type: string - - &323 + - &327 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -43627,7 +44005,7 @@ paths: required: false schema: type: string - - &324 + - &328 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -43636,7 +44014,7 @@ paths: required: false schema: type: string - - &325 + - &329 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 @@ -43663,7 +44041,7 @@ paths: - pending - *17 - *19 - - &326 + - &330 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -43672,7 +44050,7 @@ paths: schema: type: string format: date-time - - &305 + - &309 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -43681,13 +44059,13 @@ paths: schema: type: boolean default: false - - &327 + - &331 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &328 + - &332 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -43710,7 +44088,7 @@ paths: type: integer workflow_runs: type: array - items: &306 + items: &310 title: Workflow Run description: An invocation of a workflow type: object @@ -43805,7 +44183,7 @@ paths: that triggered the run. type: array nullable: true - items: &347 + items: &351 title: Pull Request Minimal type: object properties: @@ -43924,7 +44302,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &351 + properties: &355 id: type: string description: SHA for the commit @@ -43975,7 +44353,7 @@ paths: - name - email nullable: true - required: &352 + required: &356 - id - tree_id - message @@ -44022,7 +44400,7 @@ paths: - workflow_url - pull_requests examples: - default: &329 + default: &333 value: total_count: 1 workflow_runs: @@ -44258,24 +44636,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *268 - - *269 - - &307 + - *272 + - *273 + - &311 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *305 + - *309 responses: '200': description: Response content: application/json: - schema: *306 + schema: *310 examples: - default: &310 + default: &314 value: id: 30433642 name: Build @@ -44516,9 +44894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '204': description: Response @@ -44541,9 +44919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '200': description: Response @@ -44662,9 +45040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '201': description: Response @@ -44697,12 +45075,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 - *17 - *19 - - *308 + - *312 responses: '200': description: Response @@ -44718,9 +45096,9 @@ paths: type: integer artifacts: type: array - items: *283 + items: *287 examples: - default: *309 + default: *313 headers: Link: *57 x-github: @@ -44744,25 +45122,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *268 - - *269 - - *307 - - &311 + - *272 + - *273 + - *311 + - &315 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *305 + - *309 responses: '200': description: Response content: application/json: - schema: *306 + schema: *310 examples: - default: *310 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44785,10 +45163,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *268 - - *269 - - *307 + - *272 + - *273 - *311 + - *315 - *17 - *19 responses: @@ -44806,9 +45184,9 @@ paths: type: integer jobs: type: array - items: *312 + items: *316 examples: - default: &313 + default: &317 value: total_count: 1 jobs: @@ -44921,10 +45299,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *268 - - *269 - - *307 + - *272 + - *273 - *311 + - *315 responses: '302': description: Response @@ -44952,9 +45330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '202': description: Response @@ -44987,9 +45365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 requestBody: required: true content: @@ -45056,9 +45434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '202': description: Response @@ -45091,9 +45469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 - 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 @@ -45123,9 +45501,9 @@ paths: type: integer jobs: type: array - items: *312 + items: *316 examples: - default: *313 + default: *317 headers: Link: *57 x-github: @@ -45150,9 +45528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '302': description: Response @@ -45179,9 +45557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '204': description: Response @@ -45208,9 +45586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '200': description: Response @@ -45270,7 +45648,7 @@ paths: items: type: object properties: - type: &431 + type: &435 type: string description: The type of reviewer. enum: @@ -45280,7 +45658,7 @@ paths: reviewer: anyOf: - *4 - - *186 + - *187 required: - environment - wait_timer @@ -45355,9 +45733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 requestBody: required: true content: @@ -45404,7 +45782,7 @@ paths: application/json: schema: type: array - items: &426 + items: &430 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -45510,7 +45888,7 @@ paths: - created_at - updated_at examples: - default: &427 + default: &431 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -45566,9 +45944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 requestBody: required: false content: @@ -45612,9 +45990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 requestBody: required: false content: @@ -45660,9 +46038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *268 - - *269 - - *307 + - *272 + - *273 + - *311 responses: '200': description: Response @@ -45799,8 +46177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -45818,9 +46196,9 @@ paths: type: integer secrets: type: array - items: *314 + items: *318 examples: - default: *315 + default: *319 headers: Link: *57 x-github: @@ -45845,16 +46223,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *316 + schema: *320 examples: - default: *317 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45876,17 +46254,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '200': description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: &444 + default: &448 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -45912,8 +46290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 requestBody: required: true @@ -45968,8 +46346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '204': @@ -45995,9 +46373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *268 - - *269 - - *290 + - *272 + - *273 + - *294 - *19 responses: '200': @@ -46014,9 +46392,9 @@ paths: type: integer variables: type: array - items: *318 + items: *322 examples: - default: *319 + default: *323 headers: Link: *57 x-github: @@ -46039,8 +46417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -46092,17 +46470,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *268 - - *269 + - *272 + - *273 - *129 responses: '200': description: Response content: application/json: - schema: *318 + schema: *322 examples: - default: &445 + default: &449 value: name: USERNAME value: octocat @@ -46128,8 +46506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *268 - - *269 + - *272 + - *273 - *129 requestBody: required: true @@ -46172,8 +46550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *268 - - *269 + - *272 + - *273 - *129 responses: '204': @@ -46199,8 +46577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -46218,7 +46596,7 @@ paths: type: integer workflows: type: array - items: &320 + items: &324 title: Workflow description: A GitHub Actions workflow type: object @@ -46325,9 +46703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *268 - - *269 - - &321 + - *272 + - *273 + - &325 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -46342,7 +46720,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *324 examples: default: value: @@ -46375,9 +46753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *268 - - *269 - - *321 + - *272 + - *273 + - *325 responses: '204': description: Response @@ -46402,9 +46780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *268 - - *269 - - *321 + - *272 + - *273 + - *325 responses: '204': description: Response @@ -46455,9 +46833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *268 - - *269 - - *321 + - *272 + - *273 + - *325 responses: '204': description: Response @@ -46484,19 +46862,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *268 - - *269 - - *321 - - *322 - - *323 - - *324 + - *272 + - *273 - *325 - - *17 - - *19 - *326 - - *305 - *327 - *328 + - *329 + - *17 + - *19 + - *330 + - *309 + - *331 + - *332 responses: '200': description: Response @@ -46512,9 +46890,9 @@ paths: type: integer workflow_runs: type: array - items: *306 + items: *310 examples: - default: *329 + default: *333 headers: Link: *57 x-github: @@ -46540,9 +46918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *268 - - *269 - - *321 + - *272 + - *273 + - *325 responses: '200': description: Response @@ -46603,8 +46981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *268 - - *269 + - *272 + - *273 - *48 - *17 - *39 @@ -46768,8 +47146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -46781,7 +47159,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '404': *6 @@ -46806,8 +47184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *268 - - *269 + - *272 + - *273 - name: assignee in: path required: true @@ -46843,8 +47221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -46956,8 +47334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *39 - *40 @@ -47003,7 +47381,7 @@ paths: bundle_url: type: string examples: - default: *330 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47023,8 +47401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -47032,7 +47410,7 @@ paths: application/json: schema: type: array - items: &331 + items: &335 title: Autolink reference description: An autolink reference. type: object @@ -47082,8 +47460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -47122,9 +47500,9 @@ paths: description: response content: application/json: - schema: *331 + schema: *335 examples: - default: &332 + default: &336 value: id: 1 key_prefix: TICKET- @@ -47155,9 +47533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *268 - - *269 - - &333 + - *272 + - *273 + - &337 name: autolink_id description: The unique identifier of the autolink. in: path @@ -47169,9 +47547,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: *332 + default: *336 '404': *6 x-github: githubCloudOnly: false @@ -47191,9 +47569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *268 - - *269 - - *333 + - *272 + - *273 + - *337 responses: '204': description: Response @@ -47217,8 +47595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response if Dependabot is enabled @@ -47266,8 +47644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -47288,8 +47666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -47309,8 +47687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *268 - - *269 + - *272 + - *273 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -47348,7 +47726,7 @@ paths: - url protected: type: boolean - protection: &335 + protection: &339 title: Branch Protection description: Branch Protection type: object @@ -47390,7 +47768,7 @@ paths: required: - contexts - checks - enforce_admins: &338 + enforce_admins: &342 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -47405,7 +47783,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &340 + required_pull_request_reviews: &344 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -47426,7 +47804,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *186 + items: *187 apps: description: The list of apps with review dismissal access. @@ -47455,7 +47833,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *186 + items: *187 apps: description: The list of apps allowed to bypass pull request requirements. @@ -47481,7 +47859,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &337 + restrictions: &341 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -47788,9 +48166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *268 - - *269 - - &336 + - *272 + - *273 + - &340 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -47804,14 +48182,14 @@ paths: description: Response content: application/json: - schema: &346 + schema: &350 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &399 + commit: &403 title: Commit description: Commit type: object @@ -47845,7 +48223,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &334 + properties: &338 name: type: string example: '"Chris Wanstrath"' @@ -47860,7 +48238,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *334 + properties: *338 nullable: true message: type: string @@ -47881,7 +48259,7 @@ paths: required: - sha - url - verification: &451 + verification: &455 title: Verification type: object properties: @@ -47950,7 +48328,7 @@ paths: type: integer files: type: array - items: &414 + items: &418 title: Diff Entry description: Diff Entry type: object @@ -48033,7 +48411,7 @@ paths: - self protected: type: boolean - protection: *335 + protection: *339 protection_url: type: string format: uri @@ -48140,7 +48518,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *280 + '301': *284 '404': *6 x-github: githubCloudOnly: false @@ -48162,15 +48540,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *335 + schema: *339 examples: default: value: @@ -48364,9 +48742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -48621,7 +48999,7 @@ paths: url: type: string format: uri - required_status_checks: &343 + required_status_checks: &347 title: Status Check Policy description: Status Check Policy type: object @@ -48697,7 +49075,7 @@ paths: items: *4 teams: type: array - items: *186 + items: *187 apps: type: array items: *5 @@ -48715,7 +49093,7 @@ paths: items: *4 teams: type: array - items: *186 + items: *187 apps: type: array items: *5 @@ -48773,7 +49151,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *337 + restrictions: *341 required_conversation_resolution: type: object properties: @@ -48885,9 +49263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -48912,17 +49290,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: - default: &339 + default: &343 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -48944,17 +49322,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: - default: *339 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48973,9 +49351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -49000,17 +49378,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *340 + schema: *344 examples: - default: &341 + default: &345 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -49106,9 +49484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -49206,9 +49584,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *344 examples: - default: *341 + default: *345 '422': *15 x-github: githubCloudOnly: false @@ -49229,9 +49607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -49258,17 +49636,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: - default: &342 + default: &346 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -49291,17 +49669,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: - default: *342 + default: *346 '404': *6 x-github: githubCloudOnly: false @@ -49321,9 +49699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -49348,17 +49726,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *343 + schema: *347 examples: - default: &344 + default: &348 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -49384,9 +49762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -49438,9 +49816,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *347 examples: - default: *344 + default: *348 '404': *6 '422': *15 x-github: @@ -49462,9 +49840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -49488,9 +49866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response @@ -49524,9 +49902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -49593,9 +49971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -49659,9 +50037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: content: application/json: @@ -49727,15 +50105,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response content: application/json: - schema: *337 + schema: *341 examples: default: value: @@ -49826,9 +50204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '204': description: Response @@ -49851,9 +50229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response @@ -49863,7 +50241,7 @@ paths: type: array items: *5 examples: - default: &345 + default: &349 value: - id: 1 slug: octoapp @@ -49920,9 +50298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -49956,7 +50334,7 @@ paths: type: array items: *5 examples: - default: *345 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -49977,9 +50355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50013,7 +50391,7 @@ paths: type: array items: *5 examples: - default: *345 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -50034,9 +50412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50070,7 +50448,7 @@ paths: type: array items: *5 examples: - default: *345 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -50092,9 +50470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response @@ -50102,9 +50480,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 '404': *6 x-github: githubCloudOnly: false @@ -50124,9 +50502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -50162,9 +50540,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 '422': *15 x-github: githubCloudOnly: false @@ -50185,9 +50563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: false content: @@ -50223,9 +50601,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 '422': *15 x-github: githubCloudOnly: false @@ -50246,9 +50624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: content: application/json: @@ -50283,9 +50661,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 '422': *15 x-github: githubCloudOnly: false @@ -50307,9 +50685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 responses: '200': description: Response @@ -50319,7 +50697,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 '404': *6 x-github: githubCloudOnly: false @@ -50343,9 +50721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50378,7 +50756,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 '422': *15 x-github: githubCloudOnly: false @@ -50403,9 +50781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50438,7 +50816,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 '422': *15 x-github: githubCloudOnly: false @@ -50463,9 +50841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50498,7 +50876,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 '422': *15 x-github: githubCloudOnly: false @@ -50525,9 +50903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 requestBody: required: true content: @@ -50549,7 +50927,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *350 examples: default: value: @@ -50665,8 +51043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -50945,7 +51323,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &352 title: CheckRun description: A check performed on the code of a given code change type: object @@ -51064,8 +51442,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *347 - deployment: &639 + items: *351 + deployment: &643 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -51345,9 +51723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *268 - - *269 - - &349 + - *272 + - *273 + - &353 name: check_run_id description: The unique identifier of the check run. in: path @@ -51359,9 +51737,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *352 examples: - default: &350 + default: &354 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -51461,9 +51839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *268 - - *269 - - *349 + - *272 + - *273 + - *353 requestBody: required: true content: @@ -51703,9 +52081,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *352 examples: - default: *350 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51725,9 +52103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *268 - - *269 - - *349 + - *272 + - *273 + - *353 - *17 - *19 responses: @@ -51824,9 +52202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *268 - - *269 - - *349 + - *272 + - *273 + - *353 responses: '201': description: Response @@ -51870,8 +52248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -51893,7 +52271,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &353 + schema: &357 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -51957,7 +52335,7 @@ paths: nullable: true pull_requests: type: array - items: *347 + items: *351 nullable: true app: title: GitHub app @@ -51979,12 +52357,12 @@ paths: type: string format: date-time nullable: true - head_commit: &665 + head_commit: &669 title: Simple Commit description: A commit. type: object - properties: *351 - required: *352 + properties: *355 + required: *356 latest_check_runs_count: type: integer check_runs_url: @@ -52012,7 +52390,7 @@ paths: - check_runs_url - pull_requests examples: - default: &354 + default: &358 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -52303,9 +52681,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *353 + schema: *357 examples: - default: *354 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52324,8 +52702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -52634,9 +53012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *268 - - *269 - - &355 + - *272 + - *273 + - &359 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -52648,9 +53026,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *357 examples: - default: *354 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52673,17 +53051,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *268 - - *269 - - *355 - - &407 + - *272 + - *273 + - *359 + - &411 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &408 + - &412 name: status description: Returns check runs with the specified `status`. in: query @@ -52722,9 +53100,9 @@ paths: type: integer check_runs: type: array - items: *348 + items: *352 examples: - default: &409 + default: &413 value: total_count: 1 check_runs: @@ -52826,9 +53204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *268 - - *269 - - *355 + - *272 + - *273 + - *359 responses: '201': description: Response @@ -52861,21 +53239,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *268 - - *269 - - *356 - - *357 + - *272 + - *273 + - *360 + - *361 - *19 - *17 - - &374 + - &378 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: *358 - - &375 + schema: *362 + - &379 name: pr description: The number of the pull request for the results you want to list. in: query @@ -52900,13 +53278,13 @@ paths: be returned. in: query required: false - schema: *359 + schema: *363 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *360 + schema: *364 responses: '200': description: Response @@ -52922,7 +53300,7 @@ paths: updated_at: *132 url: *55 html_url: *56 - instances_url: *361 + instances_url: *365 state: *137 fixed_at: *133 dismissed_by: @@ -52933,11 +53311,11 @@ paths: required: *21 nullable: true dismissed_at: *134 - dismissed_reason: *362 - dismissed_comment: *363 - rule: *364 - tool: *365 - most_recent_instance: *366 + dismissed_reason: *366 + dismissed_comment: *367 + rule: *368 + tool: *369 + most_recent_instance: *370 required: - number - created_at @@ -53053,7 +53431,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &367 + '403': &371 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -53080,9 +53458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *268 - - *269 - - &368 + - *272 + - *273 + - &372 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -53096,7 +53474,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &373 type: object properties: number: *53 @@ -53104,7 +53482,7 @@ paths: updated_at: *132 url: *55 html_url: *56 - instances_url: *361 + instances_url: *365 state: *137 fixed_at: *133 dismissed_by: @@ -53115,8 +53493,8 @@ paths: required: *21 nullable: true dismissed_at: *134 - dismissed_reason: *362 - dismissed_comment: *363 + dismissed_reason: *366 + dismissed_comment: *367 rule: type: object properties: @@ -53170,8 +53548,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *365 - most_recent_instance: *366 + tool: *369 + most_recent_instance: *370 required: - number - created_at @@ -53260,7 +53638,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -53280,9 +53658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 requestBody: required: true content: @@ -53297,8 +53675,8 @@ paths: enum: - open - dismissed - dismissed_reason: *362 - dismissed_comment: *363 + dismissed_reason: *366 + dismissed_comment: *367 required: - state examples: @@ -53313,7 +53691,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *373 examples: default: value: @@ -53388,7 +53766,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &373 + '403': &377 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -53415,15 +53793,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 responses: '200': description: Response content: application/json: - schema: &370 + schema: &374 type: object properties: status: @@ -53449,13 +53827,13 @@ paths: - description - started_at examples: - default: &371 + default: &375 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &372 + '400': &376 description: Bad Request content: application/json: @@ -53466,7 +53844,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': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -53491,29 +53869,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 responses: '200': description: OK content: application/json: - schema: *370 + schema: *374 examples: - default: *371 + default: *375 '202': description: Accepted content: application/json: - schema: *370 + schema: *374 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *372 + '400': *376 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -53545,9 +53923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 requestBody: required: false content: @@ -53592,8 +53970,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *372 - '403': *373 + '400': *376 + '403': *377 '404': *6 '422': description: Unprocessable Entity @@ -53617,13 +53995,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 - *19 - *17 - - *374 - - *375 + - *378 + - *379 responses: '200': description: Response @@ -53631,7 +54009,7 @@ paths: application/json: schema: type: array - items: *366 + items: *370 examples: default: value: @@ -53670,7 +54048,7 @@ paths: end_column: 50 classifications: - source - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -53704,25 +54082,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *268 - - *269 - - *356 - - *357 + - *272 + - *273 + - *360 + - *361 - *19 - *17 - - *375 + - *379 - 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: *358 + schema: *362 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &378 + schema: &382 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -53743,23 +54121,23 @@ paths: application/json: schema: type: array - items: &379 + items: &383 type: object properties: - ref: *358 - commit_sha: &387 + ref: *362 + commit_sha: &391 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: *376 + analysis_key: *380 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *377 + category: *381 error: type: string example: error reading field xyz @@ -53783,8 +54161,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *378 - tool: *365 + sarif_id: *382 + tool: *369 deletable: type: boolean warning: @@ -53845,7 +54223,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -53881,8 +54259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -53895,7 +54273,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *383 examples: response: summary: application/json response @@ -53949,7 +54327,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -54031,8 +54409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54085,7 +54463,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': *373 + '403': *377 '404': *6 '503': *64 x-github: @@ -54107,8 +54485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -54116,7 +54494,7 @@ paths: application/json: schema: type: array - items: &380 + items: &384 title: CodeQL Database description: A CodeQL database. type: object @@ -54227,7 +54605,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': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -54256,8 +54634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: language in: path description: The language of the CodeQL database. @@ -54269,7 +54647,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: default: value: @@ -54301,9 +54679,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': &416 + '302': &420 description: Found - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -54325,8 +54703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *268 - - *269 + - *272 + - *273 - name: language in: path description: The language of the CodeQL database. @@ -54336,7 +54714,7 @@ paths: responses: '204': description: Response - '403': *373 + '403': *377 '404': *6 '503': *64 x-github: @@ -54364,8 +54742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -54374,7 +54752,7 @@ paths: type: object additionalProperties: false properties: - language: &381 + language: &385 type: string description: The language targeted by the CodeQL query enum: @@ -54452,7 +54830,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &385 + schema: &389 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -54462,7 +54840,7 @@ paths: description: The ID of the variant analysis. controller_repo: *52 actor: *4 - query_language: *381 + query_language: *385 query_pack_url: type: string description: The download url for the query pack. @@ -54509,7 +54887,7 @@ paths: items: type: object properties: - repository: &382 + repository: &386 title: Repository Identifier description: Repository Identifier type: object @@ -54545,7 +54923,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &386 + analysis_status: &390 type: string description: The new status of the CodeQL variant analysis repository task. @@ -54577,7 +54955,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &383 + access_mismatch_repos: &387 type: object properties: repository_count: @@ -54591,7 +54969,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: *382 + items: *386 required: - repository_count - repositories @@ -54613,8 +54991,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *383 - over_limit_repos: *383 + no_codeql_db_repos: *387 + over_limit_repos: *387 required: - access_mismatch_repos - not_found_repos @@ -54630,7 +55008,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &384 + value: &388 summary: Default response value: id: 1 @@ -54782,10 +55160,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *384 + value: *388 repository_lists: summary: Response for a successful variant analysis submission - value: *384 + value: *388 '404': *6 '422': description: Unable to process variant analysis submission @@ -54813,8 +55191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *268 - - *269 + - *272 + - *273 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -54826,9 +55204,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *389 examples: - default: *384 + default: *388 '404': *6 '503': *64 x-github: @@ -54851,7 +55229,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *268 + - *272 - name: repo in: path description: The name of the controller repository. @@ -54886,7 +55264,7 @@ paths: type: object properties: repository: *52 - analysis_status: *386 + analysis_status: *390 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -55011,8 +55389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -55086,7 +55464,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *367 + '403': *371 '404': *6 '503': *64 x-github: @@ -55107,8 +55485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -55190,7 +55568,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *373 + '403': *377 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -55255,8 +55633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -55264,7 +55642,7 @@ paths: schema: type: object properties: - commit_sha: *387 + commit_sha: *391 ref: type: string description: |- @@ -55322,7 +55700,7 @@ paths: schema: type: object properties: - id: *378 + id: *382 url: type: string description: The REST API URL for checking the status of the upload. @@ -55336,7 +55714,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': *373 + '403': *377 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -55359,8 +55737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *268 - - *269 + - *272 + - *273 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -55406,7 +55784,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': *367 + '403': *371 '404': description: Not Found if the sarif id does not match any upload '503': *64 @@ -55431,8 +55809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -55510,8 +55888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *268 - - *269 + - *272 + - *273 - 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 @@ -55631,8 +56009,8 @@ paths: parameters: - *17 - *19 - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -55648,7 +56026,7 @@ paths: type: integer codespaces: type: array - items: *190 + items: *191 examples: default: value: @@ -55946,8 +56324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -56010,17 +56388,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '400': *14 '401': *25 '403': *29 @@ -56049,8 +56427,8 @@ paths: parameters: - *17 - *19 - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -56114,8 +56492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -56150,14 +56528,14 @@ paths: type: integer machines: type: array - items: &596 + items: &600 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *389 - required: *390 + properties: *393 + required: *394 examples: - default: &597 + default: &601 value: total_count: 2 machines: @@ -56197,8 +56575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *268 - - *269 + - *272 + - *273 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -56282,8 +56660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *268 - - *269 + - *272 + - *273 - 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 @@ -56349,8 +56727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -56368,7 +56746,7 @@ paths: type: integer secrets: type: array - items: &394 + items: &398 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -56388,7 +56766,7 @@ paths: - created_at - updated_at examples: - default: *391 + default: *395 headers: Link: *57 x-github: @@ -56411,16 +56789,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *392 + schema: *396 examples: - default: *393 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56440,17 +56818,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '200': description: Response content: application/json: - schema: *394 + schema: *398 examples: - default: *395 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56470,8 +56848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 requestBody: required: true @@ -56524,8 +56902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '204': @@ -56554,8 +56932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *268 - - *269 + - *272 + - *273 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -56597,7 +56975,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &396 + properties: &400 login: type: string example: octocat @@ -56690,7 +57068,7 @@ paths: user_view_type: type: string example: public - required: &397 + required: &401 - avatar_url - events_url - followers_url @@ -56764,8 +57142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *268 - - *269 + - *272 + - *273 - *131 responses: '204': @@ -56808,8 +57186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *268 - - *269 + - *272 + - *273 - *131 requestBody: required: false @@ -56836,7 +57214,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &464 + schema: &468 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -57058,8 +57436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *268 - - *269 + - *272 + - *273 - *131 responses: '204': @@ -57089,8 +57467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *268 - - *269 + - *272 + - *273 - *131 responses: '200': @@ -57111,8 +57489,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *396 - required: *397 + properties: *400 + required: *401 nullable: true required: - permission @@ -57167,8 +57545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -57178,7 +57556,7 @@ paths: application/json: schema: type: array - items: &398 + items: &402 title: Commit Comment description: Commit Comment type: object @@ -57236,7 +57614,7 @@ paths: - created_at - updated_at examples: - default: &401 + default: &405 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57295,17 +57673,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '200': description: Response content: application/json: - schema: *398 + schema: *402 examples: - default: &402 + default: &406 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57362,8 +57740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -57386,7 +57764,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *402 examples: default: value: @@ -57437,8 +57815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '204': @@ -57460,8 +57838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -57488,9 +57866,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 '404': *6 @@ -57511,8 +57889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -57545,16 +57923,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Reaction created content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '422': *15 x-github: githubCloudOnly: false @@ -57576,10 +57954,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *268 - - *269 + - *272 + - *273 - *75 - - *264 + - *268 responses: '204': description: Response @@ -57628,8 +58006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *268 - - *269 + - *272 + - *273 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -57685,9 +58063,9 @@ paths: application/json: schema: type: array - items: *399 + items: *403 examples: - default: &515 + default: &519 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57781,9 +58159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *268 - - *269 - - &400 + - *272 + - *273 + - &404 name: commit_sha description: The SHA of the commit. in: path @@ -57855,9 +58233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *268 - - *269 - - *400 + - *272 + - *273 + - *404 - *17 - *19 responses: @@ -57867,9 +58245,9 @@ paths: application/json: schema: type: array - items: *398 + items: *402 examples: - default: *401 + default: *405 headers: Link: *57 x-github: @@ -57897,9 +58275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *268 - - *269 - - *400 + - *272 + - *273 + - *404 requestBody: required: true content: @@ -57934,9 +58312,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *402 examples: - default: *402 + default: *406 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57964,9 +58342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *268 - - *269 - - *400 + - *272 + - *273 + - *404 - *17 - *19 responses: @@ -57976,7 +58354,7 @@ paths: application/json: schema: type: array - items: &506 + items: &510 title: Pull Request Simple description: Pull Request Simple type: object @@ -58082,8 +58460,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *403 - required: *404 + properties: *407 + required: *408 nullable: true active_lock_reason: type: string @@ -58128,7 +58506,7 @@ paths: nullable: true requested_teams: type: array - items: *186 + items: *187 nullable: true head: type: object @@ -58179,7 +58557,7 @@ paths: _links: type: object properties: - comments: &405 + comments: &409 title: Link description: Hypermedia Link type: object @@ -58188,13 +58566,13 @@ paths: type: string required: - href - commits: *405 - statuses: *405 - html: *405 - issue: *405 - review_comments: *405 - review_comment: *405 - self: *405 + commits: *409 + statuses: *409 + html: *409 + issue: *409 + review_comments: *409 + review_comment: *409 + self: *409 required: - comments - commits @@ -58205,7 +58583,7 @@ paths: - review_comment - self author_association: *62 - auto_merge: &508 + auto_merge: &512 title: Auto merge description: The status of auto merging a pull request. type: object @@ -58268,7 +58646,7 @@ paths: - author_association - auto_merge examples: - default: &507 + default: &511 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -58805,11 +59183,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *268 - - *269 + - *272 + - *273 - *19 - *17 - - &406 + - &410 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)" @@ -58824,9 +59202,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *403 examples: - default: &493 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58939,11 +59317,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *268 - - *269 - - *406 - - *407 - - *408 + - *272 + - *273 + - *410 + - *411 + - *412 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -58977,9 +59355,9 @@ paths: type: integer check_runs: type: array - items: *348 + items: *352 examples: - default: *409 + default: *413 headers: Link: *57 x-github: @@ -59004,9 +59382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *268 - - *269 - - *406 + - *272 + - *273 + - *410 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -59014,7 +59392,7 @@ paths: schema: type: integer example: 1 - - *407 + - *411 - *17 - *19 responses: @@ -59032,7 +59410,7 @@ paths: type: integer check_suites: type: array - items: *353 + items: *357 examples: default: value: @@ -59232,9 +59610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *268 - - *269 - - *406 + - *272 + - *273 + - *410 - *17 - *19 responses: @@ -59432,9 +59810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *268 - - *269 - - *406 + - *272 + - *273 + - *410 - *17 - *19 responses: @@ -59444,7 +59822,7 @@ paths: application/json: schema: type: array - items: &570 + items: &574 title: Status description: The status of a commit. type: object @@ -59525,7 +59903,7 @@ paths: site_admin: false headers: Link: *57 - '301': *280 + '301': *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59553,8 +59931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -59583,20 +59961,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *410 - required: *411 + properties: *414 + required: *415 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &412 + properties: &416 url: type: string format: uri html_url: type: string format: uri - required: &413 + required: &417 - url - html_url nullable: true @@ -59610,26 +59988,26 @@ paths: contributing: title: Community Health File type: object - properties: *412 - required: *413 + properties: *416 + required: *417 nullable: true readme: title: Community Health File type: object - properties: *412 - required: *413 + properties: *416 + required: *417 nullable: true issue_template: title: Community Health File type: object - properties: *412 - required: *413 + properties: *416 + required: *417 nullable: true pull_request_template: title: Community Health File type: object - properties: *412 - required: *413 + properties: *416 + required: *417 nullable: true required: - code_of_conduct @@ -59756,8 +60134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *268 - - *269 + - *272 + - *273 - *19 - *17 - name: basehead @@ -59800,8 +60178,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *399 - merge_base_commit: *399 + base_commit: *403 + merge_base_commit: *403 status: type: string enum: @@ -59821,10 +60199,10 @@ paths: example: 6 commits: type: array - items: *399 + items: *403 files: type: array - items: *414 + items: *418 required: - url - html_url @@ -60110,8 +60488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *268 - - *269 + - *272 + - *273 - name: path description: path parameter in: path @@ -60252,7 +60630,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &415 + response-if-content-is-a-file: &419 summary: Response if content is a file value: type: file @@ -60384,7 +60762,7 @@ paths: - size - type - url - - &520 + - &524 title: Content File description: Content File type: object @@ -60585,7 +60963,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *415 + response-if-content-is-a-file: *419 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -60654,7 +61032,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *416 + '302': *420 '304': *37 x-github: githubCloudOnly: false @@ -60677,8 +61055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *268 - - *269 + - *272 + - *273 - name: path description: path parameter in: path @@ -60771,7 +61149,7 @@ paths: description: Response content: application/json: - schema: &417 + schema: &421 title: File Commit description: File Commit type: object @@ -60923,7 +61301,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *421 examples: example-for-creating-a-file: value: @@ -60977,7 +61355,7 @@ paths: schema: oneOf: - *3 - - &446 + - &450 description: Repository rule violation was detected type: object properties: @@ -60998,7 +61376,7 @@ paths: items: type: object properties: - placeholder_id: &562 + placeholder_id: &566 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -61030,8 +61408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *268 - - *269 + - *272 + - *273 - name: path description: path parameter in: path @@ -61092,7 +61470,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *421 examples: default: value: @@ -61147,8 +61525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *268 - - *269 + - *272 + - *273 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -61271,8 +61649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *148 - *149 - *150 @@ -61285,6 +61663,7 @@ paths: type: string - *152 - *153 + - *154 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -61304,8 +61683,8 @@ paths: default: 30 - *39 - *40 - - *154 - *155 + - *156 responses: '200': description: Response @@ -61313,7 +61692,7 @@ paths: application/json: schema: type: array - items: &420 + items: &424 type: object description: A Dependabot alert. properties: @@ -61346,7 +61725,7 @@ paths: enum: - development - runtime - security_advisory: *418 + security_advisory: *422 security_vulnerability: *51 url: *55 html_url: *56 @@ -61377,7 +61756,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: *419 + auto_dismissed_at: *423 required: - number - state @@ -61604,9 +61983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *268 - - *269 - - &421 + - *272 + - *273 + - &425 name: alert_number in: path description: |- @@ -61621,7 +62000,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *424 examples: default: value: @@ -61731,9 +62110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *268 - - *269 - - *421 + - *272 + - *273 + - *425 requestBody: required: true content: @@ -61778,7 +62157,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *424 examples: default: value: @@ -61907,8 +62286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -61926,7 +62305,7 @@ paths: type: integer secrets: type: array - items: &424 + items: &428 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -61979,16 +62358,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62008,15 +62387,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '200': description: Response content: application/json: - schema: *424 + schema: *428 examples: default: value: @@ -62042,8 +62421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 requestBody: required: true @@ -62096,8 +62475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *268 - - *269 + - *272 + - *273 - *126 responses: '204': @@ -62120,8 +62499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *268 - - *269 + - *272 + - *273 - 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 @@ -62281,8 +62660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -62521,8 +62900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -62597,7 +62976,7 @@ paths: - version - url additionalProperties: false - metadata: &425 + metadata: &429 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -62630,7 +63009,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *425 + metadata: *429 resolved: type: object description: A collection of resolved package dependencies. @@ -62643,7 +63022,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *425 + metadata: *429 relationship: type: string description: A notation of whether a dependency is requested @@ -62772,8 +63151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *268 - - *269 + - *272 + - *273 - name: sha description: The SHA recorded at creation time. in: query @@ -62813,9 +63192,9 @@ paths: application/json: schema: type: array - items: *426 + items: *430 examples: - default: *427 + default: *431 headers: Link: *57 x-github: @@ -62881,8 +63260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -62963,7 +63342,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *430 examples: simple-example: summary: Simple example @@ -63036,9 +63415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *268 - - *269 - - &428 + - *272 + - *273 + - &432 name: deployment_id description: deployment_id parameter in: path @@ -63050,7 +63429,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *430 examples: default: value: @@ -63115,9 +63494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *268 - - *269 - - *428 + - *272 + - *273 + - *432 responses: '204': description: Response @@ -63139,9 +63518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *268 - - *269 - - *428 + - *272 + - *273 + - *432 - *17 - *19 responses: @@ -63151,7 +63530,7 @@ paths: application/json: schema: type: array - items: &429 + items: &433 title: Deployment Status description: The status of a deployment. type: object @@ -63312,9 +63691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *268 - - *269 - - *428 + - *272 + - *273 + - *432 requestBody: required: true content: @@ -63389,9 +63768,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *433 examples: - default: &430 + default: &434 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -63447,9 +63826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *268 - - *269 - - *428 + - *272 + - *273 + - *432 - name: status_id in: path required: true @@ -63460,9 +63839,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *433 examples: - default: *430 + default: *434 '404': *6 x-github: githubCloudOnly: false @@ -63487,8 +63866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -63545,8 +63924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -63563,7 +63942,7 @@ paths: type: integer environments: type: array - items: &432 + items: &436 title: Environment description: Details of a deployment environment type: object @@ -63615,7 +63994,7 @@ paths: type: type: string example: wait_timer - wait_timer: &434 + wait_timer: &438 type: integer example: 30 description: The amount of time to delay a job after @@ -63652,11 +64031,11 @@ paths: items: type: object properties: - type: *431 + type: *435 reviewer: anyOf: - *4 - - *186 + - *187 required: - id - node_id @@ -63676,7 +64055,7 @@ paths: - id - node_id - type - deployment_branch_policy: &435 + deployment_branch_policy: &439 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -63792,9 +64171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *268 - - *269 - - &433 + - *272 + - *273 + - &437 name: environment_name in: path required: true @@ -63807,9 +64186,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *436 examples: - default: &436 + default: &440 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -63893,9 +64272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 requestBody: required: false content: @@ -63904,7 +64283,7 @@ paths: type: object nullable: true properties: - wait_timer: *434 + wait_timer: *438 prevent_self_review: type: boolean example: false @@ -63921,13 +64300,13 @@ paths: items: type: object properties: - type: *431 + type: *435 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *435 + deployment_branch_policy: *439 additionalProperties: false examples: default: @@ -63947,9 +64326,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *436 examples: - default: *436 + default: *440 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -63973,9 +64352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 responses: '204': description: Default response @@ -64000,9 +64379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *17 - *19 responses: @@ -64020,7 +64399,7 @@ paths: example: 2 branch_policies: type: array - items: &437 + items: &441 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -64077,9 +64456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 requestBody: required: true content: @@ -64125,9 +64504,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *441 examples: - example-wildcard: &438 + example-wildcard: &442 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -64169,10 +64548,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *268 - - *269 - - *433 - - &439 + - *272 + - *273 + - *437 + - &443 name: branch_policy_id in: path required: true @@ -64184,9 +64563,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *441 examples: - default: *438 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64205,10 +64584,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *268 - - *269 - - *433 - - *439 + - *272 + - *273 + - *437 + - *443 requestBody: required: true content: @@ -64236,9 +64615,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *441 examples: - default: *438 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64257,10 +64636,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *268 - - *269 - - *433 - - *439 + - *272 + - *273 + - *437 + - *443 responses: '204': description: Response @@ -64285,9 +64664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *433 - - *269 - - *268 + - *437 + - *273 + - *272 responses: '200': description: List of deployment protection rules @@ -64303,7 +64682,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &440 + items: &444 title: Deployment protection rule description: Deployment protection rule type: object @@ -64322,7 +64701,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &441 + app: &445 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -64421,9 +64800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *433 - - *269 - - *268 + - *437 + - *273 + - *272 requestBody: content: application/json: @@ -64444,9 +64823,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *440 + schema: *444 examples: - default: &442 + default: &446 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -64481,9 +64860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *433 - - *269 - - *268 + - *437 + - *273 + - *272 - *19 - *17 responses: @@ -64502,7 +64881,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *441 + items: *445 examples: default: value: @@ -64537,10 +64916,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *268 - - *269 - - *433 - - &443 + - *272 + - *273 + - *437 + - &447 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -64552,9 +64931,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *444 examples: - default: *442 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64575,10 +64954,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *433 - - *269 - - *268 - - *443 + - *437 + - *273 + - *272 + - *447 responses: '204': description: Response @@ -64604,9 +64983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *17 - *19 responses: @@ -64624,9 +65003,9 @@ paths: type: integer secrets: type: array - items: *314 + items: *318 examples: - default: *315 + default: *319 headers: Link: *57 x-github: @@ -64651,17 +65030,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 responses: '200': description: Response content: application/json: - schema: *316 + schema: *320 examples: - default: *317 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64683,18 +65062,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *126 responses: '200': description: Response content: application/json: - schema: *314 + schema: *318 examples: - default: *444 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64716,9 +65095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *126 requestBody: required: true @@ -64776,9 +65155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *126 responses: '204': @@ -64804,10 +65183,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *268 - - *269 - - *433 - - *290 + - *272 + - *273 + - *437 + - *294 - *19 responses: '200': @@ -64824,9 +65203,9 @@ paths: type: integer variables: type: array - items: *318 + items: *322 examples: - default: *319 + default: *323 headers: Link: *57 x-github: @@ -64849,9 +65228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 requestBody: required: true content: @@ -64903,18 +65282,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *268 - - *269 - - *433 + - *272 + - *273 + - *437 - *129 responses: '200': description: Response content: application/json: - schema: *318 + schema: *322 examples: - default: *445 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64935,10 +65314,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *268 - - *269 + - *272 + - *273 - *129 - - *433 + - *437 requestBody: required: true content: @@ -64980,10 +65359,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *268 - - *269 + - *272 + - *273 - *129 - - *433 + - *437 responses: '204': description: Response @@ -65005,8 +65384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -65083,8 +65462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *268 - - *269 + - *272 + - *273 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -65243,8 +65622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -65276,9 +65655,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *281 + default: *285 '400': *14 '422': *15 '403': *29 @@ -65299,8 +65678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -65360,7 +65739,7 @@ paths: schema: oneOf: - *96 - - *446 + - *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65385,8 +65764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *268 - - *269 + - *272 + - *273 - name: file_sha in: path required: true @@ -65485,8 +65864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -65595,7 +65974,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &451 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -65808,15 +66187,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *268 - - *269 - - *400 + - *272 + - *273 + - *404 responses: '200': description: Response content: application/json: - schema: *447 + schema: *451 examples: default: value: @@ -65872,9 +66251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *268 - - *269 - - &448 + - *272 + - *273 + - &452 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. @@ -65891,7 +66270,7 @@ paths: application/json: schema: type: array - items: &449 + items: &453 title: Git Reference description: Git references within a repository type: object @@ -65966,17 +66345,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *268 - - *269 - - *448 + - *272 + - *273 + - *452 responses: '200': description: Response content: application/json: - schema: *449 + schema: *453 examples: - default: &450 + default: &454 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -66005,8 +66384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -66035,9 +66414,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *453 examples: - default: *450 + default: *454 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -66063,9 +66442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *268 - - *269 - - *448 + - *272 + - *273 + - *452 requestBody: required: true content: @@ -66094,9 +66473,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *453 examples: - default: *450 + default: *454 '422': *15 '409': *46 x-github: @@ -66114,9 +66493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *268 - - *269 - - *448 + - *272 + - *273 + - *452 responses: '204': description: Response @@ -66169,8 +66548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -66237,7 +66616,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &456 title: Git Tag description: Metadata for a Git tag type: object @@ -66288,7 +66667,7 @@ paths: - sha - type - url - verification: *451 + verification: *455 required: - sha - url @@ -66298,7 +66677,7 @@ paths: - tag - message examples: - default: &453 + default: &457 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -66371,8 +66750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *268 - - *269 + - *272 + - *273 - name: tag_sha in: path required: true @@ -66383,9 +66762,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *456 examples: - default: *453 + default: *457 '404': *6 '409': *46 x-github: @@ -66409,8 +66788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -66483,7 +66862,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &458 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -66595,8 +66974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *268 - - *269 + - *272 + - *273 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -66619,7 +66998,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: default-response: summary: Default response @@ -66678,8 +67057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -66689,7 +67068,7 @@ paths: application/json: schema: type: array - items: &455 + items: &459 title: Webhook description: Webhooks for repositories. type: object @@ -66743,7 +67122,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &673 + last_response: &677 title: Hook Response type: object properties: @@ -66817,8 +67196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -66870,9 +67249,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *459 examples: - default: &456 + default: &460 value: type: Repository id: 12345678 @@ -66920,17 +67299,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 responses: '200': description: Response content: application/json: - schema: *455 + schema: *459 examples: - default: *456 + default: *460 '404': *6 x-github: githubCloudOnly: false @@ -66950,9 +67329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 requestBody: required: true content: @@ -66997,9 +67376,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *459 examples: - default: *456 + default: *460 '422': *15 '404': *6 x-github: @@ -67020,9 +67399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 responses: '204': description: Response @@ -67046,9 +67425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 responses: '200': description: Response @@ -67075,9 +67454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 requestBody: required: false content: @@ -67121,11 +67500,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *268 - - *269 - - *163 - - *17 + - *272 + - *273 - *164 + - *17 + - *165 responses: '200': description: Response @@ -67133,9 +67512,9 @@ paths: application/json: schema: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 '400': *14 '422': *15 x-github: @@ -67154,18 +67533,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 - *16 responses: '200': description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *168 + default: *169 '400': *14 '422': *15 x-github: @@ -67184,9 +67563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 - *16 responses: '202': *47 @@ -67209,9 +67588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 responses: '204': description: Response @@ -67236,9 +67615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *268 - - *269 - - *163 + - *272 + - *273 + - *164 responses: '204': description: Response @@ -67296,14 +67675,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: &457 + schema: &461 title: Import description: A repository import from an external source. type: object @@ -67402,7 +67781,7 @@ paths: - html_url - authors_url examples: - default: &460 + default: &464 value: vcs: subversion use_lfs: true @@ -67418,7 +67797,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': &458 + '503': &462 description: Unavailable due to service under maintenance. content: application/json: @@ -67447,8 +67826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -67496,7 +67875,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *461 examples: default: value: @@ -67521,7 +67900,7 @@ paths: type: string '422': *15 '404': *6 - '503': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67549,8 +67928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -67599,7 +67978,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *461 examples: example-1: summary: Example 1 @@ -67647,7 +68026,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': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67670,12 +68049,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response - '503': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67701,9 +68080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *268 - - *269 - - &620 + - *272 + - *273 + - &624 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -67717,7 +68096,7 @@ paths: application/json: schema: type: array - items: &459 + items: &463 title: Porter Author description: Porter Author type: object @@ -67771,7 +68150,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': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67796,8 +68175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *268 - - *269 + - *272 + - *273 - name: author_id in: path required: true @@ -67827,7 +68206,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *463 examples: default: value: @@ -67840,7 +68219,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67864,8 +68243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -67906,7 +68285,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67934,8 +68313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -67962,11 +68341,11 @@ paths: description: Response content: application/json: - schema: *457 + schema: *461 examples: - default: *460 + default: *464 '422': *15 - '503': *458 + '503': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67989,8 +68368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -67998,8 +68377,8 @@ paths: application/json: schema: *22 examples: - default: *461 - '301': *280 + default: *465 + '301': *284 '404': *6 x-github: githubCloudOnly: false @@ -68019,8 +68398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -68028,12 +68407,12 @@ paths: application/json: schema: anyOf: - - *181 + - *182 - type: object properties: {} additionalProperties: false examples: - default: &463 + default: &467 value: limit: collaborators_only origin: repository @@ -68058,13 +68437,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: application/json: - schema: *462 + schema: *466 examples: default: summary: Example request body @@ -68076,9 +68455,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: - default: *463 + default: *467 '409': description: Response x-github: @@ -68100,8 +68479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -68124,8 +68503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -68135,9 +68514,9 @@ paths: application/json: schema: type: array - items: *464 + items: *468 examples: - default: &613 + default: &617 value: - id: 1 repository: @@ -68268,9 +68647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *268 - - *269 - - *185 + - *272 + - *273 + - *186 requestBody: required: false content: @@ -68299,7 +68678,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *468 examples: default: value: @@ -68430,9 +68809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *268 - - *269 - - *185 + - *272 + - *273 + - *186 responses: '204': description: Response @@ -68463,8 +68842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *268 - - *269 + - *272 + - *273 - 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 @@ -68504,7 +68883,7 @@ paths: required: false schema: type: string - - *187 + - *188 - name: sort description: What to sort results by. in: query @@ -68529,7 +68908,7 @@ paths: type: array items: *76 examples: - default: &475 + default: &479 value: - id: 1 node_id: MDU6SXNzdWUx @@ -68677,7 +69056,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *280 + '301': *284 '422': *15 '404': *6 x-github: @@ -68706,8 +69085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -68784,7 +69163,7 @@ paths: application/json: schema: *76 examples: - default: &470 + default: &474 value: id: 1 node_id: MDU6SXNzdWUx @@ -68940,7 +69319,7 @@ paths: '422': *15 '503': *64 '404': *6 - '410': *277 + '410': *281 x-github: triggersNotification: true githubCloudOnly: false @@ -68968,8 +69347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *86 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -68990,9 +69369,9 @@ paths: application/json: schema: type: array - items: *465 + items: *469 examples: - default: &472 + default: &476 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69050,17 +69429,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '200': description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: &466 + default: &470 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -69114,8 +69493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -69138,9 +69517,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: *466 + default: *470 '422': *15 x-github: githubCloudOnly: false @@ -69158,8 +69537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '204': @@ -69180,8 +69559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -69208,9 +69587,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 '404': *6 @@ -69231,8 +69610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -69265,16 +69644,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Reaction created content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '422': *15 x-github: githubCloudOnly: false @@ -69296,10 +69675,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *268 - - *269 + - *272 + - *273 - *75 - - *264 + - *268 responses: '204': description: Response @@ -69319,8 +69698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -69330,7 +69709,7 @@ paths: application/json: schema: type: array - items: &469 + items: &473 title: Issue Event description: Issue Event type: object @@ -69373,8 +69752,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *467 - required: *468 + properties: *471 + required: *472 nullable: true label: title: Issue Event Label @@ -69418,7 +69797,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *186 + requested_team: *187 dismissed_review: title: Issue Event Dismissed Review type: object @@ -69681,8 +70060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *268 - - *269 + - *272 + - *273 - name: event_id in: path required: true @@ -69693,7 +70072,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *473 examples: default: value: @@ -69886,7 +70265,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *277 + '410': *281 '403': *29 x-github: githubCloudOnly: false @@ -69920,9 +70299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *268 - - *269 - - &471 + - *272 + - *273 + - &475 name: issue_number description: The number that identifies the issue. in: path @@ -69936,10 +70315,10 @@ paths: application/json: schema: *76 examples: - default: *470 - '301': *280 + default: *474 + '301': *284 '404': *6 - '410': *277 + '410': *281 '304': *37 x-github: githubCloudOnly: false @@ -69964,9 +70343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: false content: @@ -70063,13 +70442,13 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 '422': *15 '503': *64 '403': *29 - '301': *280 + '301': *284 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70087,9 +70466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: false content: @@ -70117,7 +70496,7 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70133,9 +70512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: content: application/json: @@ -70162,7 +70541,7 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70184,9 +70563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - name: assignee in: path required: true @@ -70226,9 +70605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - *66 - *17 - *19 @@ -70239,13 +70618,13 @@ paths: application/json: schema: type: array - items: *465 + items: *469 examples: - default: *472 + default: *476 headers: Link: *57 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70274,9 +70653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: true content: @@ -70298,16 +70677,16 @@ paths: description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: *466 + default: *470 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *277 + '410': *281 '422': *15 '404': *6 x-github: @@ -70327,9 +70706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - *17 - *19 responses: @@ -70343,7 +70722,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &476 + - &480 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -70397,7 +70776,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &477 + - &481 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -70533,7 +70912,7 @@ paths: - performed_via_github_app - assignee - assigner - - &478 + - &482 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -70584,7 +70963,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &479 + - &483 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -70635,7 +71014,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &480 + - &484 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -70689,7 +71068,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &481 + - &485 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -70723,7 +71102,7 @@ paths: properties: *60 required: *61 review_requester: *4 - requested_team: *186 + requested_team: *187 requested_reviewer: *4 required: - review_requester @@ -70736,7 +71115,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &482 + - &486 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -70770,7 +71149,7 @@ paths: properties: *60 required: *61 review_requester: *4 - requested_team: *186 + requested_team: *187 requested_reviewer: *4 required: - review_requester @@ -70783,7 +71162,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &483 + - &487 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -70843,7 +71222,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &484 + - &488 title: Locked Issue Event description: Locked Issue Event type: object @@ -70891,7 +71270,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &489 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -70957,7 +71336,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &486 + - &490 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -71023,7 +71402,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &491 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -71089,7 +71468,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &492 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -71180,7 +71559,7 @@ paths: color: red headers: Link: *57 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71197,9 +71576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - *17 - *19 responses: @@ -71209,7 +71588,7 @@ paths: application/json: schema: type: array - items: &473 + items: &477 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -71256,7 +71635,7 @@ paths: - color - default examples: - default: &474 + default: &478 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71274,9 +71653,9 @@ paths: default: false headers: Link: *57 - '301': *280 + '301': *284 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71293,9 +71672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: false content: @@ -71354,12 +71733,12 @@ paths: application/json: schema: type: array - items: *473 + items: *477 examples: - default: *474 - '301': *280 + default: *478 + '301': *284 '404': *6 - '410': *277 + '410': *281 '422': *15 x-github: githubCloudOnly: false @@ -71376,9 +71755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: false content: @@ -71438,12 +71817,12 @@ paths: application/json: schema: type: array - items: *473 + items: *477 examples: - default: *474 - '301': *280 + default: *478 + '301': *284 '404': *6 - '410': *277 + '410': *281 '422': *15 x-github: githubCloudOnly: false @@ -71460,15 +71839,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 responses: '204': description: Response - '301': *280 + '301': *284 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71487,9 +71866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - name: name in: path required: true @@ -71502,7 +71881,7 @@ paths: application/json: schema: type: array - items: *473 + items: *477 examples: default: value: @@ -71513,9 +71892,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *280 + '301': *284 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71535,9 +71914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: false content: @@ -71565,7 +71944,7 @@ paths: '204': description: Response '403': *29 - '410': *277 + '410': *281 '404': *6 '422': *15 x-github: @@ -71583,9 +71962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 responses: '204': description: Response @@ -71607,9 +71986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -71635,13 +72014,13 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71659,9 +72038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: true content: @@ -71693,16 +72072,16 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '422': *15 x-github: githubCloudOnly: false @@ -71724,10 +72103,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *272 + - *273 + - *475 - *268 - - *269 - - *471 - - *264 responses: '204': description: Response @@ -71756,9 +72135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: true content: @@ -71768,7 +72147,7 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to remove + description: The id of the sub-issue to remove required: - sub_issue_id examples: @@ -71782,7 +72161,7 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -71815,9 +72194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - *17 - *19 responses: @@ -71829,11 +72208,11 @@ paths: type: array items: *76 examples: - default: *475 + default: *479 headers: Link: *57 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71861,9 +72240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: true content: @@ -71873,7 +72252,8 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to add + description: The id of the sub-issue to add. The sub-issue must + belong to the same repository as the parent issue replace_parent: type: boolean description: Option that, when true, instructs the operation to @@ -71891,14 +72271,14 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *277 + '410': *281 '422': *15 '404': *6 x-github: @@ -71918,9 +72298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 requestBody: required: true content: @@ -71953,7 +72333,7 @@ paths: application/json: schema: *76 examples: - default: *470 + default: *474 '403': *29 '404': *6 '422': *7 @@ -71975,9 +72355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *268 - - *269 - - *471 + - *272 + - *273 + - *475 - *17 - *19 responses: @@ -71992,10 +72372,6 @@ paths: description: Timeline Event type: object anyOf: - - *476 - - *477 - - *478 - - *479 - *480 - *481 - *482 @@ -72005,6 +72381,10 @@ paths: - *486 - *487 - *488 + - *489 + - *490 + - *491 + - *492 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -72308,7 +72688,7 @@ paths: type: string comments: type: array - items: &509 + items: &513 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -72517,7 +72897,7 @@ paths: type: string comments: type: array - items: *398 + items: *402 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -72806,7 +73186,7 @@ paths: headers: Link: *57 '404': *6 - '410': *277 + '410': *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72823,8 +73203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -72834,7 +73214,7 @@ paths: application/json: schema: type: array - items: &489 + items: &493 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -72899,8 +73279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -72936,9 +73316,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *493 examples: - default: &490 + default: &494 value: id: 1 key: ssh-rsa AAA... @@ -72972,9 +73352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *268 - - *269 - - &491 + - *272 + - *273 + - &495 name: key_id description: The unique identifier of the key. in: path @@ -72986,9 +73366,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *493 examples: - default: *490 + default: *494 '404': *6 x-github: githubCloudOnly: false @@ -73006,9 +73386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *268 - - *269 - - *491 + - *272 + - *273 + - *495 responses: '204': description: Response @@ -73028,8 +73408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -73039,9 +73419,9 @@ paths: application/json: schema: type: array - items: *473 + items: *477 examples: - default: *474 + default: *478 headers: Link: *57 '404': *6 @@ -73062,8 +73442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -73099,9 +73479,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *477 examples: - default: &492 + default: &496 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73133,8 +73513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *268 - - *269 + - *272 + - *273 - name: name in: path required: true @@ -73145,9 +73525,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *477 examples: - default: *492 + default: *496 '404': *6 x-github: githubCloudOnly: false @@ -73164,8 +73544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *268 - - *269 + - *272 + - *273 - name: name in: path required: true @@ -73204,7 +73584,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *477 examples: default: value: @@ -73230,8 +73610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *268 - - *269 + - *272 + - *273 - name: name in: path required: true @@ -73257,8 +73637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -73297,9 +73677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *268 - - *269 - - *374 + - *272 + - *273 + - *378 responses: '200': description: Response @@ -73444,8 +73824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -73510,8 +73890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -73545,9 +73925,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *399 + schema: *403 examples: - default: *493 + default: *497 '204': description: Response when already merged '404': @@ -73572,8 +73952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *268 - - *269 + - *272 + - *273 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -73614,12 +73994,12 @@ paths: application/json: schema: type: array - items: &494 + items: &498 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *403 - required: *404 + properties: *407 + required: *408 examples: default: value: @@ -73675,8 +74055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -73716,9 +74096,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *498 examples: - default: &495 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -73777,9 +74157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *268 - - *269 - - &496 + - *272 + - *273 + - &500 name: milestone_number description: The number that identifies the milestone. in: path @@ -73791,9 +74171,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *498 examples: - default: *495 + default: *499 '404': *6 x-github: githubCloudOnly: false @@ -73810,9 +74190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *268 - - *269 - - *496 + - *272 + - *273 + - *500 requestBody: required: false content: @@ -73850,9 +74230,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *498 examples: - default: *495 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73868,9 +74248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *268 - - *269 - - *496 + - *272 + - *273 + - *500 responses: '204': description: Response @@ -73891,9 +74271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *268 - - *269 - - *496 + - *272 + - *273 + - *500 - *17 - *19 responses: @@ -73903,9 +74283,9 @@ paths: application/json: schema: type: array - items: *473 + items: *477 examples: - default: *474 + default: *478 headers: Link: *57 x-github: @@ -73924,12 +74304,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *268 - - *269 - - *497 - - *498 + - *272 + - *273 + - *501 + - *502 - *66 - - *499 + - *503 - *17 - *19 responses: @@ -73941,7 +74321,7 @@ paths: type: array items: *89 examples: - default: *500 + default: *504 headers: Link: *57 x-github: @@ -73965,8 +74345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -74024,14 +74404,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: &501 + schema: &505 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -74156,7 +74536,7 @@ paths: - custom_404 - public examples: - default: &502 + default: &506 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -74197,8 +74577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -74252,9 +74632,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: *502 + default: *506 '422': *15 '409': *46 x-github: @@ -74277,8 +74657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -74377,8 +74757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -74404,8 +74784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -74415,7 +74795,7 @@ paths: application/json: schema: type: array - items: &503 + items: &507 title: Page Build description: Page Build type: object @@ -74509,8 +74889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *268 - - *269 + - *272 + - *273 responses: '201': description: Response @@ -74555,16 +74935,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *503 + schema: *507 examples: - default: &504 + default: &508 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -74612,8 +74992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *268 - - *269 + - *272 + - *273 - name: build_id in: path required: true @@ -74624,9 +75004,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *507 examples: - default: *504 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74646,8 +75026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -74753,9 +75133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *268 - - *269 - - &505 + - *272 + - *273 + - &509 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -74813,9 +75193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *268 - - *269 - - *505 + - *272 + - *273 + - *509 responses: '204': *141 '404': *6 @@ -74842,8 +75222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -75101,8 +75481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Private vulnerability reporting status @@ -75139,8 +75519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': *141 '422': *14 @@ -75161,8 +75541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': *141 '422': *14 @@ -75185,8 +75565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *268 - - *269 + - *272 + - *273 - name: state description: Indicates the state of the projects to return. in: query @@ -75207,7 +75587,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: value: @@ -75247,7 +75627,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *277 + '410': *281 '422': *7 x-github: githubCloudOnly: false @@ -75267,8 +75647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -75294,13 +75674,13 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: - default: *276 + default: *280 '401': *25 '403': *29 '404': *6 - '410': *277 + '410': *281 '422': *7 x-github: githubCloudOnly: false @@ -75320,8 +75700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -75329,7 +75709,7 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: default: value: @@ -75360,8 +75740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -75373,7 +75753,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *225 + items: *226 required: - properties examples: @@ -75423,8 +75803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *268 - - *269 + - *272 + - *273 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -75484,9 +75864,9 @@ paths: application/json: schema: type: array - items: *506 + items: *510 examples: - default: *507 + default: *511 headers: Link: *57 '304': *37 @@ -75518,8 +75898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -75584,7 +75964,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &515 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -75695,8 +76075,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *403 - required: *404 + properties: *407 + required: *408 nullable: true active_lock_reason: type: string @@ -75741,7 +76121,7 @@ paths: nullable: true requested_teams: type: array - items: *247 + items: *248 nullable: true head: type: object @@ -75780,14 +76160,14 @@ paths: _links: type: object properties: - comments: *405 - commits: *405 - statuses: *405 - html: *405 - issue: *405 - review_comments: *405 - review_comment: *405 - self: *405 + comments: *409 + commits: *409 + statuses: *409 + html: *409 + issue: *409 + review_comments: *409 + review_comment: *409 + self: *409 required: - comments - commits @@ -75798,7 +76178,7 @@ paths: - review_comment - self author_association: *62 - auto_merge: *508 + auto_merge: *512 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -75890,7 +76270,7 @@ paths: - merged_by - review_comments examples: - default: &512 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76417,8 +76797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: sort in: query required: false @@ -76447,9 +76827,9 @@ paths: application/json: schema: type: array - items: *509 + items: *513 examples: - default: &514 + default: &518 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76526,17 +76906,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '200': description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: &510 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76611,8 +76991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -76635,9 +77015,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76653,8 +77033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *268 - - *269 + - *272 + - *273 - *75 responses: '204': @@ -76676,8 +77056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76704,9 +77084,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 '404': *6 @@ -76727,8 +77107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *268 - - *269 + - *272 + - *273 - *75 requestBody: required: true @@ -76761,16 +77141,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Reaction created content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '422': *15 x-github: githubCloudOnly: false @@ -76792,10 +77172,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *268 - - *269 + - *272 + - *273 - *75 - - *264 + - *268 responses: '204': description: Response @@ -76838,9 +77218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *268 - - *269 - - &513 + - *272 + - *273 + - &517 name: pull_number description: The number that identifies the pull request. in: path @@ -76853,9 +77233,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *511 + schema: *515 examples: - default: *512 + default: *516 '304': *37 '404': *6 '406': @@ -76890,9 +77270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: false content: @@ -76934,9 +77314,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *515 examples: - default: *512 + default: *516 '422': *15 '403': *29 x-github: @@ -76958,9 +77338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: true content: @@ -77020,17 +77400,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '401': *25 '403': *29 '404': *6 @@ -77060,9 +77440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 - *86 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -77083,9 +77463,9 @@ paths: application/json: schema: type: array - items: *509 + items: *513 examples: - default: *514 + default: *518 headers: Link: *57 x-github: @@ -77118,9 +77498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: true content: @@ -77225,7 +77605,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: example-for-a-multi-line-comment: value: @@ -77313,9 +77693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 - *75 requestBody: required: true @@ -77338,7 +77718,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: default: value: @@ -77424,9 +77804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 - *17 - *19 responses: @@ -77436,9 +77816,9 @@ paths: application/json: schema: type: array - items: *399 + items: *403 examples: - default: *515 + default: *519 headers: Link: *57 x-github: @@ -77468,9 +77848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 - *17 - *19 responses: @@ -77480,7 +77860,7 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: default: value: @@ -77518,9 +77898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 responses: '204': description: Response if pull request has been merged @@ -77543,9 +77923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: false content: @@ -77656,9 +78036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 responses: '200': description: Response @@ -77674,7 +78054,7 @@ paths: items: *4 teams: type: array - items: *186 + items: *187 required: - users - teams @@ -77733,9 +78113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: false content: @@ -77772,7 +78152,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *510 examples: default: value: @@ -78308,9 +78688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: true content: @@ -78344,7 +78724,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *510 examples: default: value: @@ -78849,9 +79229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 - *17 - *19 responses: @@ -78861,7 +79241,7 @@ paths: application/json: schema: type: array - items: &516 + items: &520 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -79012,9 +79392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: false content: @@ -79100,9 +79480,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: - default: &518 + default: &522 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79165,10 +79545,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 - - &517 + - *272 + - *273 + - *517 + - &521 name: review_id description: The unique identifier of the review. in: path @@ -79180,9 +79560,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: - default: &519 + default: &523 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79241,10 +79621,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 - *517 + - *521 requestBody: required: true content: @@ -79267,7 +79647,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: default: value: @@ -79329,18 +79709,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 - *517 + - *521 responses: '200': description: Response content: application/json: - schema: *516 + schema: *520 examples: - default: *518 + default: *522 '422': *7 '404': *6 x-github: @@ -79367,10 +79747,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *268 - - *269 - - *513 + - *272 + - *273 - *517 + - *521 - *17 - *19 responses: @@ -79453,9 +79833,9 @@ paths: _links: type: object properties: - self: *405 - html: *405 - pull_request: *405 + self: *409 + html: *409 + pull_request: *409 required: - self - html @@ -79598,10 +79978,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 - *517 + - *521 requestBody: required: true content: @@ -79629,7 +80009,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: default: value: @@ -79692,10 +80072,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *268 - - *269 - - *513 + - *272 + - *273 - *517 + - *521 requestBody: required: true content: @@ -79730,9 +80110,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: - default: *519 + default: *523 '404': *6 '422': *7 '403': *29 @@ -79754,9 +80134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *268 - - *269 - - *513 + - *272 + - *273 + - *517 requestBody: required: false content: @@ -79819,8 +80199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *268 - - *269 + - *272 + - *273 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -79833,9 +80213,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: &521 + default: &525 value: type: file encoding: base64 @@ -79877,8 +80257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *268 - - *269 + - *272 + - *273 - name: dir description: The alternate path to look for a README file in: path @@ -79898,9 +80278,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *524 examples: - default: *521 + default: *525 '404': *6 '422': *15 x-github: @@ -79922,8 +80302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -79933,7 +80313,7 @@ paths: application/json: schema: type: array - items: &522 + items: &526 title: Release description: A release. type: object @@ -79996,7 +80376,7 @@ paths: author: *4 assets: type: array - items: &523 + items: &527 title: Release Asset description: Data related to a release. type: object @@ -80177,8 +80557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -80254,9 +80634,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *526 examples: - default: &526 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -80359,9 +80739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *268 - - *269 - - &524 + - *272 + - *273 + - &528 name: asset_id description: The unique identifier of the asset. in: path @@ -80373,9 +80753,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *527 examples: - default: &525 + default: &529 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 @@ -80409,7 +80789,7 @@ paths: type: User site_admin: false '404': *6 - '302': *416 + '302': *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80425,9 +80805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *268 - - *269 - - *524 + - *272 + - *273 + - *528 requestBody: required: false content: @@ -80455,9 +80835,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *527 examples: - default: *525 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80473,9 +80853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *268 - - *269 - - *524 + - *272 + - *273 + - *528 responses: '204': description: Response @@ -80499,8 +80879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -80585,16 +80965,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *522 + schema: *526 examples: - default: *526 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80611,8 +80991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *268 - - *269 + - *272 + - *273 - name: tag description: tag parameter in: path @@ -80625,9 +81005,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *526 examples: - default: *526 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -80649,9 +81029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *268 - - *269 - - &527 + - *272 + - *273 + - &531 name: release_id description: The unique identifier of the release. in: path @@ -80665,9 +81045,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *522 + schema: *526 examples: - default: *526 + default: *530 '401': description: Unauthorized x-github: @@ -80685,9 +81065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 requestBody: required: false content: @@ -80751,9 +81131,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *526 examples: - default: *526 + default: *530 '404': description: Not Found if the discussion category name is invalid content: @@ -80774,9 +81154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 responses: '204': description: Response @@ -80796,9 +81176,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 - *17 - *19 responses: @@ -80808,7 +81188,7 @@ paths: application/json: schema: type: array - items: *523 + items: *527 examples: default: value: @@ -80888,9 +81268,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: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 - name: name in: query required: true @@ -80916,7 +81296,7 @@ paths: description: Response for successful upload content: application/json: - schema: *523 + schema: *527 examples: response-for-successful-upload: value: @@ -80970,9 +81350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -80996,9 +81376,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 '404': *6 @@ -81019,9 +81399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *268 - - *269 - - *527 + - *272 + - *273 + - *531 requestBody: required: true content: @@ -81051,16 +81431,16 @@ paths: description: Reaction exists content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '201': description: Reaction created content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 '422': *15 x-github: githubCloudOnly: false @@ -81082,10 +81462,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *272 + - *273 + - *531 - *268 - - *269 - - *527 - - *264 responses: '204': description: Response @@ -81109,9 +81489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *268 - - *269 - - *336 + - *272 + - *273 + - *340 - *17 - *19 responses: @@ -81127,8 +81507,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *528 - - &530 + - *532 + - &534 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81147,54 +81527,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *529 - - *530 - - allOf: - - *531 - - *530 - - allOf: - - *532 - - *530 - allOf: - *533 - - *530 - - allOf: - *534 - - *530 - allOf: - *535 - - *530 + - *534 - allOf: - *536 - - *530 + - *534 - allOf: - *537 - - *530 + - *534 - allOf: - *538 - - *530 + - *534 - allOf: - *539 - - *530 + - *534 - allOf: - *540 - - *530 + - *534 - allOf: - *541 - - *530 + - *534 - allOf: - *542 - - *530 + - *534 - allOf: - *543 - - *530 + - *534 - allOf: - *544 - - *530 + - *534 - allOf: - *545 - - *530 + - *534 + - allOf: + - *546 + - *534 + - allOf: + - *547 + - *534 + - allOf: + - *548 + - *534 + - allOf: + - *549 + - *534 examples: default: value: @@ -81233,8 +81613,8 @@ paths: category: repos subcategory: rules parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 - name: includes_parents @@ -81245,7 +81625,7 @@ paths: schema: type: boolean default: true - - *546 + - *550 responses: '200': description: Response @@ -81253,7 +81633,7 @@ paths: application/json: schema: type: array - items: *235 + items: *236 examples: default: value: @@ -81300,8 +81680,8 @@ paths: category: repos subcategory: rules parameters: - - *268 - - *269 + - *272 + - *273 requestBody: description: Request body required: true @@ -81321,16 +81701,16 @@ paths: - tag - push default: branch - enforcement: *231 + enforcement: *232 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *232 - conditions: *229 + items: *233 + conditions: *230 rules: type: array description: An array of rules within the ruleset. - items: *234 + items: *235 required: - name - enforcement @@ -81361,9 +81741,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: &556 + default: &560 value: id: 42 name: super cool ruleset @@ -81410,12 +81790,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *268 - - *269 - - *547 - - *548 - - *549 - - *550 + - *272 + - *273 + - *551 + - *552 + - *553 + - *554 - *17 - *19 responses: @@ -81423,9 +81803,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: *552 + default: *556 '404': *6 '500': *144 x-github: @@ -81446,17 +81826,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *268 - - *269 - - *553 + - *272 + - *273 + - *557 responses: '200': description: Response content: application/json: - schema: *554 + schema: *558 examples: - default: *555 + default: *559 '404': *6 '500': *144 x-github: @@ -81484,8 +81864,8 @@ paths: category: repos subcategory: rules parameters: - - *268 - - *269 + - *272 + - *273 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81505,9 +81885,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *556 + default: *560 '404': *6 '500': *144 put: @@ -81525,8 +81905,8 @@ paths: category: repos subcategory: rules parameters: - - *268 - - *269 + - *272 + - *273 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81551,16 +81931,16 @@ paths: - branch - tag - push - enforcement: *231 + enforcement: *232 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *232 - conditions: *229 + items: *233 + conditions: *230 rules: description: An array of rules within the ruleset. type: array - items: *234 + items: *235 examples: default: value: @@ -81588,9 +81968,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *236 examples: - default: *556 + default: *560 '404': *6 '500': *144 delete: @@ -81608,8 +81988,8 @@ paths: category: repos subcategory: rules parameters: - - *268 - - *269 + - *272 + - *273 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81637,20 +82017,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *268 - - *269 - - *237 + - *272 + - *273 - *238 - *239 - *240 + - *241 - *48 - *19 - *17 - - *557 - - *558 - - *241 + - *561 + - *562 - *242 - *243 + - *244 responses: '200': description: Response @@ -81658,7 +82038,7 @@ paths: application/json: schema: type: array - items: &561 + items: &565 type: object properties: number: *53 @@ -81677,8 +82057,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *559 - resolution: *560 + state: *563 + resolution: *564 resolved_at: type: string format: date-time @@ -81891,15 +82271,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 responses: '200': description: Response content: application/json: - schema: *561 + schema: *565 examples: default: value: @@ -81951,9 +82331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 requestBody: required: true content: @@ -81961,8 +82341,8 @@ paths: schema: type: object properties: - state: *559 - resolution: *560 + state: *563 + resolution: *564 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -81980,7 +82360,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *565 examples: default: value: @@ -82055,9 +82435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *268 - - *269 - - *368 + - *272 + - *273 + - *372 - *19 - *17 responses: @@ -82068,7 +82448,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &694 + items: &698 type: object properties: type: @@ -82427,8 +82807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -82436,14 +82816,14 @@ paths: schema: type: object properties: - reason: &563 + reason: &567 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *562 + placeholder_id: *566 required: - reason - placeholder_id @@ -82460,7 +82840,7 @@ paths: schema: type: object properties: - reason: *563 + reason: *567 expire_at: type: string format: date-time @@ -82503,8 +82883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -82519,7 +82899,7 @@ paths: properties: incremental_scans: type: array - items: &564 + items: &568 description: Information on a single scan performed by secret scanning on the repository type: object @@ -82545,15 +82925,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *564 + items: *568 backfill_scans: type: array - items: *564 + items: *568 custom_pattern_backfill_scans: type: array items: allOf: - - *564 + - *568 - type: object properties: pattern_name: @@ -82623,8 +83003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *268 - - *269 + - *272 + - *273 - *48 - name: sort description: The property to sort the results by. @@ -82668,9 +83048,9 @@ paths: application/json: schema: type: array - items: *565 + items: *569 examples: - default: *566 + default: *570 '400': *14 '404': *6 x-github: @@ -82693,8 +83073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -82767,7 +83147,7 @@ paths: login: type: string description: The username of the user credited. - type: *246 + type: *247 required: - login - type @@ -82854,9 +83234,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *569 examples: - default: &568 + default: &572 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -83089,8 +83469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -83194,7 +83574,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *569 examples: default: value: @@ -83341,17 +83721,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *268 - - *269 - - *567 + - *272 + - *273 + - *571 responses: '200': description: Response content: application/json: - schema: *565 + schema: *569 examples: - default: *568 + default: *572 '403': *29 '404': *6 x-github: @@ -83375,9 +83755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *268 - - *269 - - *567 + - *272 + - *273 + - *571 requestBody: required: true content: @@ -83450,7 +83830,7 @@ paths: login: type: string description: The username of the user credited. - type: *246 + type: *247 required: - login - type @@ -83536,10 +83916,10 @@ paths: description: Response content: application/json: - schema: *565 + schema: *569 examples: - default: *568 - add_credit: *568 + default: *572 + add_credit: *572 '403': *29 '404': *6 '422': @@ -83577,9 +83957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *268 - - *269 - - *567 + - *272 + - *273 + - *571 responses: '202': *47 '400': *14 @@ -83606,17 +83986,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *268 - - *269 - - *567 + - *272 + - *273 + - *571 responses: '202': description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *281 + default: *285 '400': *14 '422': *15 '403': *29 @@ -83642,8 +84022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -83742,8 +84122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -83752,7 +84132,7 @@ paths: application/json: schema: type: array - items: &569 + items: &573 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -83785,8 +84165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -83862,8 +84242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -83959,8 +84339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -84114,8 +84494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -84125,7 +84505,7 @@ paths: application/json: schema: type: array - items: *569 + items: *573 examples: default: value: @@ -84158,8 +84538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *268 - - *269 + - *272 + - *273 - name: sha in: path required: true @@ -84213,7 +84593,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *574 examples: default: value: @@ -84267,8 +84647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -84280,7 +84660,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -84300,14 +84680,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &571 + schema: &575 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -84375,8 +84755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: false content: @@ -84402,7 +84782,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *575 examples: default: value: @@ -84429,8 +84809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -84450,8 +84830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -84530,8 +84910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -84539,7 +84919,7 @@ paths: application/json: schema: type: array - items: &572 + items: &576 title: Tag protection description: Tag protection type: object @@ -84591,8 +84971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -84615,7 +84995,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *576 examples: default: value: @@ -84646,8 +85026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -84684,8 +85064,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *268 - - *269 + - *272 + - *273 - name: ref in: path required: true @@ -84721,8 +85101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *268 - - *269 + - *272 + - *273 - *17 - *19 responses: @@ -84732,9 +85112,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *204 + default: *205 headers: Link: *57 '404': *6 @@ -84754,8 +85134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *268 - - *269 + - *272 + - *273 - *19 - *17 responses: @@ -84763,7 +85143,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &577 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -84775,7 +85155,7 @@ paths: required: - names examples: - default: &574 + default: &578 value: names: - octocat @@ -84798,8 +85178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -84830,9 +85210,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: *574 + default: *578 '404': *6 '422': *7 x-github: @@ -84853,9 +85233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *268 - - *269 - - &575 + - *272 + - *273 + - &579 name: per description: The time frame to display results for. in: query @@ -84884,7 +85264,7 @@ paths: example: 128 clones: type: array - items: &576 + items: &580 title: Traffic type: object properties: @@ -84971,8 +85351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -85062,8 +85442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *268 - - *269 + - *272 + - *273 responses: '200': description: Response @@ -85123,9 +85503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *268 - - *269 - - *575 + - *272 + - *273 + - *579 responses: '200': description: Response @@ -85144,7 +85524,7 @@ paths: example: 3782 views: type: array - items: *576 + items: *580 required: - uniques - count @@ -85221,8 +85601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *268 - - *269 + - *272 + - *273 requestBody: required: true content: @@ -85496,8 +85876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -85520,8 +85900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -85543,8 +85923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -85570,8 +85950,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *268 - - *269 + - *272 + - *273 - name: ref in: path required: true @@ -85663,9 +86043,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *281 + default: *285 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -85913,7 +86293,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &577 + text_matches: &581 title: Search Result Text Matches type: array items: @@ -86075,7 +86455,7 @@ paths: enum: - author-date - committer-date - - &578 + - &582 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 @@ -86146,7 +86526,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *334 + properties: *338 nullable: true comment_count: type: integer @@ -86166,7 +86546,7 @@ paths: url: type: string format: uri - verification: *451 + verification: *455 required: - author - committer @@ -86185,7 +86565,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *334 + properties: *338 nullable: true parents: type: array @@ -86203,7 +86583,7 @@ paths: type: number node_id: type: string - text_matches: *577 + text_matches: *581 required: - sha - node_id @@ -86395,7 +86775,7 @@ paths: - interactions - created - updated - - *578 + - *582 - *17 - *19 responses: @@ -86514,8 +86894,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *403 - required: *404 + properties: *407 + required: *408 nullable: true comments: type: integer @@ -86529,7 +86909,7 @@ paths: type: string format: date-time nullable: true - text_matches: *577 + text_matches: *581 pull_request: type: object properties: @@ -86753,7 +87133,7 @@ paths: enum: - created - updated - - *578 + - *582 - *17 - *19 responses: @@ -86797,7 +87177,7 @@ paths: nullable: true score: type: number - text_matches: *577 + text_matches: *581 required: - id - node_id @@ -86882,7 +87262,7 @@ paths: - forks - help-wanted-issues - updated - - *578 + - *582 - *17 - *19 responses: @@ -87121,7 +87501,7 @@ paths: - admin - pull - push - text_matches: *577 + text_matches: *581 temp_clone_token: type: string allow_merge_commit: @@ -87421,7 +87801,7 @@ paths: type: string format: uri nullable: true - text_matches: *577 + text_matches: *581 related: type: array nullable: true @@ -87612,7 +87992,7 @@ paths: - followers - repositories - joined - - *578 + - *582 - *17 - *19 responses: @@ -87716,7 +88096,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *577 + text_matches: *581 blog: type: string nullable: true @@ -87795,7 +88175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &579 + - &583 name: team_id description: The unique identifier of the team. in: path @@ -87807,9 +88187,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '404': *6 x-github: githubCloudOnly: false @@ -87836,7 +88216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *579 + - *583 requestBody: required: true content: @@ -87899,16 +88279,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '201': description: Response content: application/json: - schema: *253 + schema: *257 examples: - default: *254 + default: *258 '404': *6 '422': *15 '403': *29 @@ -87936,7 +88316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *579 + - *583 responses: '204': description: Response @@ -87967,7 +88347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *579 + - *583 - *48 - *17 - *19 @@ -87978,9 +88358,9 @@ paths: application/json: schema: type: array - items: *255 + items: *259 examples: - default: *580 + default: *584 headers: Link: *57 x-github: @@ -88009,7 +88389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *579 + - *583 requestBody: required: true content: @@ -88043,9 +88423,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *256 + default: *260 x-github: triggersNotification: true githubCloudOnly: false @@ -88072,16 +88452,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *579 - - *257 + - *583 + - *261 responses: '200': description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *256 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88106,8 +88486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *579 - - *257 + - *583 + - *261 requestBody: required: false content: @@ -88130,9 +88510,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *581 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88157,8 +88537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *579 - - *257 + - *583 + - *261 responses: '204': description: Response @@ -88187,8 +88567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *579 - - *257 + - *583 + - *261 - *48 - *17 - *19 @@ -88199,9 +88579,9 @@ paths: application/json: schema: type: array - items: *258 + items: *262 examples: - default: *582 + default: *586 headers: Link: *57 x-github: @@ -88230,8 +88610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *579 - - *257 + - *583 + - *261 requestBody: required: true content: @@ -88253,9 +88633,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: *259 + default: *263 x-github: triggersNotification: true githubCloudOnly: false @@ -88282,17 +88662,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *579 - - *257 - - *260 + - *583 + - *261 + - *264 responses: '200': description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: *259 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88317,9 +88697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *579 - - *257 - - *260 + - *583 + - *261 + - *264 requestBody: required: true content: @@ -88341,9 +88721,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: - default: *583 + default: *587 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88368,9 +88748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *579 - - *257 - - *260 + - *583 + - *261 + - *264 responses: '204': description: Response @@ -88399,9 +88779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *579 - - *257 - - *260 + - *583 + - *261 + - *264 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -88427,9 +88807,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 x-github: @@ -88458,9 +88838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *579 - - *257 - - *260 + - *583 + - *261 + - *264 requestBody: required: true content: @@ -88492,9 +88872,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88520,8 +88900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *579 - - *257 + - *583 + - *261 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -88547,9 +88927,9 @@ paths: application/json: schema: type: array - items: *261 + items: *265 examples: - default: *263 + default: *267 headers: Link: *57 x-github: @@ -88578,8 +88958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *579 - - *257 + - *583 + - *261 requestBody: required: true content: @@ -88611,9 +88991,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88637,7 +89017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *579 + - *583 - *17 - *19 responses: @@ -88647,9 +89027,9 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: - default: *184 + default: *185 headers: Link: *57 x-github: @@ -88675,7 +89055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *579 + - *583 - name: role description: Filters members returned by their role in the team. in: query @@ -88698,7 +89078,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '404': *6 @@ -88726,7 +89106,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *579 + - *583 - *131 responses: '204': @@ -88763,7 +89143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *579 + - *583 - *131 responses: '204': @@ -88803,7 +89183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *579 + - *583 - *131 responses: '204': @@ -88840,16 +89220,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *579 + - *583 - *131 responses: '200': description: Response content: application/json: - schema: *265 + schema: *269 examples: - response-if-user-is-a-team-maintainer: *584 + response-if-user-is-a-team-maintainer: *588 '404': *6 x-github: githubCloudOnly: false @@ -88882,7 +89262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *579 + - *583 - *131 requestBody: required: false @@ -88908,9 +89288,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *269 examples: - response-if-users-membership-with-team-is-now-pending: *585 + response-if-users-membership-with-team-is-now-pending: *589 '403': description: Forbidden if team synchronization is set up '422': @@ -88944,7 +89324,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *579 + - *583 - *131 responses: '204': @@ -88974,7 +89354,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *579 + - *583 - *17 - *19 responses: @@ -88984,9 +89364,9 @@ paths: application/json: schema: type: array - items: *266 + items: *270 examples: - default: *586 + default: *590 headers: Link: *57 '404': *6 @@ -89013,16 +89393,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *579 - - *267 + - *583 + - *271 responses: '200': description: Response content: application/json: - schema: *266 + schema: *270 examples: - default: *587 + default: *591 '404': description: Not Found if project is not managed by this team x-github: @@ -89047,8 +89427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *579 - - *267 + - *583 + - *271 requestBody: required: false content: @@ -89116,8 +89496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *579 - - *267 + - *583 + - *271 responses: '204': description: Response @@ -89144,7 +89524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *579 + - *583 - *17 - *19 responses: @@ -89156,7 +89536,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 '404': *6 @@ -89186,15 +89566,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *579 - - *268 - - *269 + - *583 + - *272 + - *273 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *588 + schema: *592 examples: alternative-response-with-extra-repository-information: value: @@ -89345,9 +89725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *579 - - *268 - - *269 + - *583 + - *272 + - *273 requestBody: required: false content: @@ -89397,9 +89777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *579 - - *268 - - *269 + - *583 + - *272 + - *273 responses: '204': description: Response @@ -89424,7 +89804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *579 + - *583 - *17 - *19 responses: @@ -89434,9 +89814,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - response-if-child-teams-exist: *589 + response-if-child-teams-exist: *593 headers: Link: *57 '404': *6 @@ -89469,7 +89849,7 @@ paths: application/json: schema: oneOf: - - &591 + - &595 title: Private User description: Private User type: object @@ -89672,7 +90052,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *590 + - *594 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -89825,7 +90205,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *595 examples: default: value: @@ -89904,7 +90284,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 '304': *37 '404': *6 '403': *29 @@ -90028,9 +90408,9 @@ paths: type: integer codespaces: type: array - items: *190 + items: *191 examples: - default: *191 + default: *192 '304': *37 '500': *144 '401': *25 @@ -90169,17 +90549,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '401': *25 '403': *29 '404': *6 @@ -90223,7 +90603,7 @@ paths: type: integer secrets: type: array - items: &592 + items: &596 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -90263,7 +90643,7 @@ paths: - visibility - selected_repositories_url examples: - default: *391 + default: *395 headers: Link: *57 x-github: @@ -90339,7 +90719,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *596 examples: default: value: @@ -90485,7 +90865,7 @@ paths: type: array items: *118 examples: - default: *593 + default: *597 '401': *25 '403': *29 '404': *6 @@ -90629,15 +91009,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '304': *37 '500': *144 '401': *25 @@ -90663,7 +91043,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 requestBody: required: false content: @@ -90693,9 +91073,9 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '401': *25 '403': *29 '404': *6 @@ -90717,7 +91097,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 responses: '202': *47 '304': *37 @@ -90746,13 +91126,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 responses: '202': description: Response content: application/json: - schema: &594 + schema: &598 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -90793,7 +91173,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &595 + default: &599 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -90825,7 +91205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *192 + - *193 - name: export_id in: path required: true @@ -90838,9 +91218,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *598 examples: - default: *595 + default: *599 '404': *6 x-github: githubCloudOnly: false @@ -90861,7 +91241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *192 + - *193 responses: '200': description: Response @@ -90877,9 +91257,9 @@ paths: type: integer machines: type: array - items: *596 + items: *600 examples: - default: *597 + default: *601 '304': *37 '500': *144 '401': *25 @@ -90908,7 +91288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *192 + - *193 requestBody: required: true content: @@ -90958,13 +91338,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *279 + repository: *283 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *389 - required: *390 + properties: *393 + required: *394 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -91738,15 +92118,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '304': *37 '500': *144 '400': *14 @@ -91778,15 +92158,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *388 + default: *392 '500': *144 '401': *25 '403': *29 @@ -91816,9 +92196,9 @@ paths: application/json: schema: type: array - items: *205 + items: *206 examples: - default: &610 + default: &614 value: - id: 197 name: hello_docker @@ -91919,7 +92299,7 @@ paths: application/json: schema: type: array - items: &598 + items: &602 title: Email description: Email type: object @@ -91984,9 +92364,9 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: - default: &612 + default: &616 value: - email: octocat@github.com verified: true @@ -92061,7 +92441,7 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: default: value: @@ -92171,7 +92551,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '304': *37 @@ -92204,7 +92584,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 '304': *37 @@ -92317,7 +92697,7 @@ paths: application/json: schema: type: array - items: &599 + items: &603 title: GPG Key description: A unique encryption key type: object @@ -92448,7 +92828,7 @@ paths: - subkeys - revoked examples: - default: &623 + default: &627 value: - id: 3 name: Octocat's GPG Key @@ -92533,9 +92913,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *603 examples: - default: &600 + default: &604 value: id: 3 name: Octocat's GPG Key @@ -92592,7 +92972,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &601 + - &605 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -92604,9 +92984,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *603 examples: - default: *600 + default: *604 '404': *6 '304': *37 '403': *29 @@ -92629,7 +93009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *601 + - *605 responses: '204': description: Response @@ -92820,7 +93200,7 @@ paths: type: array items: *59 examples: - default: *602 + default: *606 headers: Link: *57 '404': *6 @@ -92905,12 +93285,12 @@ paths: application/json: schema: anyOf: - - *181 + - *182 - type: object properties: {} additionalProperties: false examples: - default: *182 + default: *183 '204': description: Response when there are no restrictions x-github: @@ -92934,7 +93314,7 @@ paths: required: true content: application/json: - schema: *462 + schema: *466 examples: default: value: @@ -92945,7 +93325,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -93026,7 +93406,7 @@ paths: - closed - all default: open - - *187 + - *188 - name: sort description: What to sort results by. in: query @@ -93051,7 +93431,7 @@ paths: type: array items: *76 examples: - default: *188 + default: *189 headers: Link: *57 '404': *6 @@ -93084,7 +93464,7 @@ paths: application/json: schema: type: array - items: &603 + items: &607 title: Key description: Key type: object @@ -93181,9 +93561,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *607 examples: - default: &604 + default: &608 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93216,15 +93596,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *491 + - *495 responses: '200': description: Response content: application/json: - schema: *603 + schema: *607 examples: - default: *604 + default: *608 '404': *6 '304': *37 '403': *29 @@ -93247,7 +93627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *491 + - *495 responses: '204': description: Response @@ -93280,7 +93660,7 @@ paths: application/json: schema: type: array - items: &605 + items: &609 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -93348,7 +93728,7 @@ paths: - account - plan examples: - default: &606 + default: &610 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -93410,9 +93790,9 @@ paths: application/json: schema: type: array - items: *605 + items: *609 examples: - default: *606 + default: *610 headers: Link: *57 '304': *37 @@ -93452,7 +93832,7 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: default: value: @@ -93560,7 +93940,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: default: value: @@ -93643,7 +94023,7 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: default: value: @@ -93711,7 +94091,7 @@ paths: application/json: schema: type: array - items: *197 + items: *198 examples: default: value: @@ -93964,7 +94344,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -94144,7 +94524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *198 + - *199 - name: exclude in: query required: false @@ -94157,7 +94537,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -94351,7 +94731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *198 + - *199 responses: '302': description: Response @@ -94377,7 +94757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *198 + - *199 responses: '204': description: Response @@ -94406,8 +94786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *198 - - *607 + - *199 + - *611 responses: '204': description: Response @@ -94431,7 +94811,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *198 + - *199 - *17 - *19 responses: @@ -94443,7 +94823,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 '404': *6 @@ -94478,9 +94858,9 @@ paths: application/json: schema: type: array - items: *194 + items: *195 examples: - default: *608 + default: *612 headers: Link: *57 '304': *37 @@ -94522,7 +94902,7 @@ paths: - docker - nuget - container - - *609 + - *613 - *19 - *17 responses: @@ -94532,10 +94912,10 @@ paths: application/json: schema: type: array - items: *205 + items: *206 examples: - default: *610 - '400': *611 + default: *614 + '400': *615 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94555,16 +94935,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *207 - *208 + - *209 responses: '200': description: Response content: application/json: - schema: *205 + schema: *206 examples: - default: &624 + default: &628 value: id: 40201 name: octo-name @@ -94677,8 +95057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *207 - *208 + - *209 responses: '204': description: Response @@ -94708,8 +95088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *207 - *208 + - *209 - name: token description: package token schema: @@ -94741,8 +95121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *207 - *208 + - *209 - *19 - *17 - name: state @@ -94762,7 +95142,7 @@ paths: application/json: schema: type: array - items: *209 + items: *210 examples: default: value: @@ -94811,15 +95191,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *207 - *208 - - *210 + - *209 + - *211 responses: '200': description: Response content: application/json: - schema: *209 + schema: *210 examples: default: value: @@ -94855,9 +95235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *207 - *208 - - *210 + - *209 + - *211 responses: '204': description: Response @@ -94887,9 +95267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *207 - *208 - - *210 + - *209 + - *211 responses: '204': description: Response @@ -94945,7 +95325,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *221 examples: default: value: @@ -95014,9 +95394,9 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: - default: *612 + default: *616 headers: Link: *57 '304': *37 @@ -95129,7 +95509,7 @@ paths: type: array items: *59 examples: - default: &619 + default: &623 summary: Default response value: - id: 1296269 @@ -95431,9 +95811,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *281 + default: *285 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95471,9 +95851,9 @@ paths: application/json: schema: type: array - items: *464 + items: *468 examples: - default: *613 + default: *617 headers: Link: *57 '304': *37 @@ -95496,7 +95876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *185 + - *186 responses: '204': description: Response @@ -95519,7 +95899,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *185 + - *186 responses: '204': description: Response @@ -95552,7 +95932,7 @@ paths: application/json: schema: type: array - items: &614 + items: &618 title: Social account description: Social media account type: object @@ -95567,7 +95947,7 @@ paths: - provider - url examples: - default: &615 + default: &619 value: - provider: twitter url: https://twitter.com/github @@ -95629,9 +96009,9 @@ paths: application/json: schema: type: array - items: *614 + items: *618 examples: - default: *615 + default: *619 '422': *15 '304': *37 '404': *6 @@ -95718,7 +96098,7 @@ paths: application/json: schema: type: array - items: &616 + items: &620 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -95738,7 +96118,7 @@ paths: - title - created_at examples: - default: &631 + default: &635 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95804,9 +96184,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: &617 + default: &621 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95837,7 +96217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &618 + - &622 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -95849,9 +96229,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *620 examples: - default: *617 + default: *621 '404': *6 '304': *37 '403': *29 @@ -95874,7 +96254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *618 + - *622 responses: '204': description: Response @@ -95903,7 +96283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &632 + - &636 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 @@ -95928,11 +96308,11 @@ paths: type: array items: *59 examples: - default-response: *619 + default-response: *623 application/vnd.github.v3.star+json: schema: type: array - items: &633 + items: &637 title: Starred Repository description: Starred Repository type: object @@ -96088,8 +96468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response if this repository is starred by you @@ -96117,8 +96497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -96142,8 +96522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *268 - - *269 + - *272 + - *273 responses: '204': description: Response @@ -96178,7 +96558,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 '304': *37 @@ -96215,7 +96595,7 @@ paths: application/json: schema: type: array - items: *253 + items: *257 examples: default: value: @@ -96301,10 +96681,10 @@ paths: application/json: schema: oneOf: - - *591 - - *590 + - *595 + - *594 examples: - default-response: &621 + default-response: &625 summary: Default response value: login: octocat @@ -96339,7 +96719,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &622 + response-with-git-hub-plan-information: &626 summary: Response with GitHub plan information value: login: octocat @@ -96399,7 +96779,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *620 + - *624 - *17 responses: '200': @@ -96410,7 +96790,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: example: ; rel="next" @@ -96448,11 +96828,11 @@ paths: application/json: schema: oneOf: - - *591 - - *590 + - *595 + - *594 examples: - default-response: *621 - response-with-git-hub-plan-information: *622 + default-response: *625 + response-with-git-hub-plan-information: *626 '404': *6 x-github: githubCloudOnly: false @@ -96614,9 +96994,9 @@ paths: application/json: schema: type: array - items: *205 + items: *206 examples: - default: *610 + default: *614 '403': *29 '401': *25 x-github: @@ -96899,7 +97279,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -96930,7 +97310,7 @@ paths: type: array items: *4 examples: - default: *189 + default: *190 headers: Link: *57 x-github: @@ -97020,9 +97400,9 @@ paths: application/json: schema: type: array - items: *599 + items: *603 examples: - default: *623 + default: *627 headers: Link: *57 x-github: @@ -97126,7 +97506,7 @@ paths: application/json: schema: *22 examples: - default: *461 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97202,9 +97582,9 @@ paths: application/json: schema: type: array - items: *194 + items: *195 examples: - default: *608 + default: *612 headers: Link: *57 x-github: @@ -97243,7 +97623,7 @@ paths: - docker - nuget - container - - *609 + - *613 - *131 - *19 - *17 @@ -97254,12 +97634,12 @@ paths: application/json: schema: type: array - items: *205 + items: *206 examples: - default: *610 + default: *614 '403': *29 '401': *25 - '400': *611 + '400': *615 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97279,17 +97659,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *207 - *208 + - *209 - *131 responses: '200': description: Response content: application/json: - schema: *205 + schema: *206 examples: - default: *624 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97310,8 +97690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *207 - *208 + - *209 - *131 responses: '204': @@ -97344,8 +97724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *207 - *208 + - *209 - *131 - name: token description: package token @@ -97378,8 +97758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *207 - *208 + - *209 - *131 responses: '200': @@ -97388,7 +97768,7 @@ paths: application/json: schema: type: array - items: *209 + items: *210 examples: default: value: @@ -97446,16 +97826,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *207 - *208 - - *210 + - *209 + - *211 - *131 responses: '200': description: Response content: application/json: - schema: *209 + schema: *210 examples: default: value: @@ -97490,10 +97870,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *207 - *208 + - *209 - *131 - - *210 + - *211 responses: '204': description: Response @@ -97525,10 +97905,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *207 - *208 + - *209 - *131 - - *210 + - *211 responses: '204': description: Response @@ -97572,7 +97952,7 @@ paths: application/json: schema: type: array - items: *220 + items: *221 examples: default: value: @@ -97852,7 +98232,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -97882,9 +98262,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *629 examples: - default: *626 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97912,9 +98292,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *631 examples: - default: *628 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97942,9 +98322,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *633 examples: - default: *630 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97972,9 +98352,9 @@ paths: application/json: schema: type: array - items: *614 + items: *618 examples: - default: *615 + default: *619 headers: Link: *57 x-github: @@ -98004,9 +98384,9 @@ paths: application/json: schema: type: array - items: *616 + items: *620 examples: - default: *631 + default: *635 headers: Link: *57 x-github: @@ -98031,7 +98411,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *131 - - *632 + - *636 - *48 - *17 - *19 @@ -98043,11 +98423,11 @@ paths: schema: anyOf: - type: array - items: *633 + items: *637 - type: array items: *59 examples: - default-response: *619 + default-response: *623 headers: Link: *57 x-github: @@ -98078,7 +98458,7 @@ paths: type: array items: *118 examples: - default: *211 + default: *212 headers: Link: *57 x-github: @@ -98206,7 +98586,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &634 + enterprise: &638 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -98264,7 +98644,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &635 + installation: &639 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -98283,7 +98663,7 @@ x-webhooks: required: - id - node_id - organization: &636 + organization: &640 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -98343,13 +98723,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &637 + repository: &641 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: &667 + properties: &671 id: description: Unique identifier of the repository example: 42 @@ -99032,7 +99412,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &668 + required: &672 - archive_url - assignees_url - blobs_url @@ -99183,10 +99563,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -99262,11 +99642,11 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: &638 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: &642 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -99489,11 +99869,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: *642 sender: *4 required: - action @@ -99676,11 +100056,11 @@ x-webhooks: - everyone required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + rule: *642 sender: *4 required: - action @@ -99764,7 +100144,7 @@ x-webhooks: type: string enum: - completed - check_run: &640 + check_run: &644 title: CheckRun description: A check performed on the code of a given code change type: object @@ -99827,7 +100207,7 @@ x-webhooks: type: string pull_requests: type: array - items: *347 + items: *351 repository: *118 status: example: completed @@ -99865,7 +100245,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *639 + deployment: *643 details_url: example: https://example.com type: string @@ -99915,7 +100295,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *347 + items: *351 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -99950,9 +100330,9 @@ x-webhooks: - output - app - pull_requests - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - check_run @@ -100345,10 +100725,10 @@ x-webhooks: type: string enum: - created - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *644 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - check_run @@ -100744,10 +101124,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *644 + installation: *639 + organization: *640 + repository: *641 requested_action: description: The action requested by the user. type: object @@ -101152,10 +101532,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *644 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - check_run @@ -102132,10 +102512,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -102805,10 +103185,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -103472,10 +103852,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -103638,7 +104018,7 @@ x-webhooks: required: - login - id - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -103783,20 +104163,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &641 + commit_oid: &645 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: *634 - installation: *635 - organization: *636 - ref: &642 + enterprise: *638 + installation: *639 + organization: *640 + ref: &646 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: *637 + repository: *641 sender: *4 required: - action @@ -103958,7 +104338,7 @@ x-webhooks: required: - login - id - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104119,12 +104499,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *645 + enterprise: *638 + installation: *639 + organization: *640 + ref: *646 + repository: *641 sender: *4 required: - action @@ -104219,7 +104599,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -104385,12 +104765,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *645 + enterprise: *638 + installation: *639 + organization: *640 + ref: *646 + repository: *641 sender: *4 required: - action @@ -104553,7 +104933,7 @@ x-webhooks: required: - login - id - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104719,12 +105099,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *645 + enterprise: *638 + installation: *639 + organization: *640 + ref: *646 + repository: *641 sender: *4 required: - action @@ -104821,7 +105201,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -104989,16 +105369,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 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: *637 + repository: *641 sender: *4 required: - action @@ -105092,7 +105472,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *363 + dismissed_comment: *367 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105232,12 +105612,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *645 + enterprise: *638 + installation: *639 + organization: *640 + ref: *646 + repository: *641 sender: *4 required: - action @@ -105494,10 +105874,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -105577,18 +105957,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *636 - pusher_type: &643 + organization: *640 + pusher_type: &647 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &644 + ref: &648 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -105598,7 +105978,7 @@ x-webhooks: enum: - tag - branch - repository: *637 + repository: *641 sender: *4 required: - ref @@ -105680,10 +106060,10 @@ x-webhooks: type: string enum: - created - definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + definition: *222 + enterprise: *638 + installation: *639 + organization: *640 sender: *4 required: - action @@ -105768,9 +106148,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 sender: *4 required: - action @@ -105847,10 +106227,10 @@ x-webhooks: type: string enum: - updated - definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + definition: *222 + enterprise: *638 + installation: *639 + organization: *640 sender: *4 required: - action @@ -105927,19 +106307,19 @@ x-webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - repository: *637 - organization: *636 + enterprise: *638 + installation: *639 + repository: *641 + organization: *640 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *225 + items: *226 old_property_values: type: array description: The old custom property values for the repository. - items: *225 + items: *226 required: - action - repository @@ -106015,18 +106395,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - pusher_type: *643 - ref: *644 + enterprise: *638 + installation: *639 + organization: *640 + pusher_type: *647 + ref: *648 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *637 + repository: *641 sender: *4 required: - ref @@ -106110,11 +106490,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106198,11 +106578,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106286,11 +106666,11 @@ x-webhooks: type: string enum: - created - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106372,11 +106752,11 @@ x-webhooks: type: string enum: - dismissed - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106458,11 +106838,11 @@ x-webhooks: type: string enum: - fixed - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106545,11 +106925,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106631,11 +107011,11 @@ x-webhooks: type: string enum: - reopened - alert: *420 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + alert: *424 + installation: *639 + organization: *640 + enterprise: *638 + repository: *641 sender: *4 required: - action @@ -106712,9 +107092,9 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - key: &645 + enterprise: *638 + installation: *639 + key: &649 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -106750,8 +107130,8 @@ x-webhooks: - verified - created_at - read_only - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -106828,11 +107208,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - key: *645 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + key: *649 + organization: *640 + repository: *641 sender: *4 required: - action @@ -107393,12 +107773,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - workflow: &649 + workflow: &653 title: Workflow type: object nullable: true @@ -108124,13 +108504,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *426 + deployment: *430 pull_requests: type: array - items: *511 - repository: *637 - organization: *636 - installation: *635 + items: *515 + repository: *641 + organization: *640 + installation: *639 sender: *4 responses: '200': @@ -108201,7 +108581,7 @@ x-webhooks: type: string enum: - approved - approver: &646 + approver: &650 type: object properties: avatar_url: @@ -108244,11 +108624,11 @@ x-webhooks: type: string comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: &647 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + reviewers: &651 type: array items: type: object @@ -108327,7 +108707,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &648 + workflow_job_run: &652 type: object properties: conclusion: @@ -109058,18 +109438,18 @@ x-webhooks: type: string enum: - rejected - approver: *646 + approver: *650 comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: *647 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + reviewers: *651 sender: *4 since: type: string - workflow_job_run: *648 + workflow_job_run: *652 workflow_job_runs: type: array items: @@ -109773,13 +110153,13 @@ x-webhooks: type: string enum: - requested - enterprise: *634 + enterprise: *638 environment: type: string - installation: *635 - organization: *636 - repository: *637 - requestor: &654 + installation: *639 + organization: *640 + repository: *641 + requestor: &658 title: User type: object nullable: true @@ -111678,12 +112058,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - workflow: *649 + workflow: *653 workflow_run: title: Deployment Workflow Run type: object @@ -112363,7 +112743,7 @@ x-webhooks: type: string enum: - answered - answer: &652 + answer: &656 type: object properties: author_association: @@ -112520,7 +112900,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &650 + discussion: &654 title: Discussion description: A Discussion in a repository. type: object @@ -112806,7 +113186,7 @@ x-webhooks: - id labels: type: array - items: *473 + items: *477 required: - repository_url - category @@ -112828,10 +113208,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -112958,11 +113338,11 @@ x-webhooks: - from required: - category - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113045,11 +113425,11 @@ x-webhooks: type: string enum: - closed - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113131,7 +113511,7 @@ x-webhooks: type: string enum: - created - comment: &651 + comment: &655 type: object properties: author_association: @@ -113288,11 +113668,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113375,12 +113755,12 @@ x-webhooks: type: string enum: - deleted - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *655 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113475,12 +113855,12 @@ x-webhooks: - from required: - body - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *655 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113564,11 +113944,11 @@ x-webhooks: type: string enum: - created - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113650,11 +114030,11 @@ x-webhooks: type: string enum: - deleted - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113754,11 +114134,11 @@ x-webhooks: type: string required: - from - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113840,10 +114220,10 @@ x-webhooks: type: string enum: - labeled - discussion: *650 - enterprise: *634 - installation: *635 - label: &653 + discussion: *654 + enterprise: *638 + installation: *639 + label: &657 title: Label type: object properties: @@ -113875,8 +114255,8 @@ x-webhooks: - color - default - description - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -113959,11 +114339,11 @@ x-webhooks: type: string enum: - locked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114045,11 +114425,11 @@ x-webhooks: type: string enum: - pinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114131,11 +114511,11 @@ x-webhooks: type: string enum: - reopened - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114220,16 +114600,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *650 - new_repository: *637 + new_discussion: *654 + new_repository: *641 required: - new_discussion - new_repository - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114312,10 +114692,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *650 - old_answer: *652 - organization: *636 - repository: *637 + discussion: *654 + old_answer: *656 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114397,12 +114777,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *650 - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114485,11 +114865,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114571,11 +114951,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *654 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -114648,7 +115028,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *634 + enterprise: *638 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -115308,9 +115688,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - forkee @@ -115456,9 +115836,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pages: description: The pages that were updated. type: array @@ -115495,7 +115875,7 @@ x-webhooks: - action - sha - html_url - repository: *637 + repository: *641 sender: *4 required: - pages @@ -115571,10 +115951,10 @@ x-webhooks: type: string enum: - created - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories: &655 + organization: *640 + repositories: &659 description: An array of repository objects that the installation can access. type: array @@ -115600,8 +115980,8 @@ x-webhooks: - name - full_name - private - repository: *637 - requester: *654 + repository: *641 + requester: *658 sender: *4 required: - action @@ -115676,11 +116056,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories: *655 - repository: *637 + organization: *640 + repositories: *659 + repository: *641 requester: nullable: true sender: *4 @@ -115756,11 +116136,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories: *655 - repository: *637 + organization: *640 + repositories: *659 + repository: *641 requester: nullable: true sender: *4 @@ -115836,10 +116216,10 @@ x-webhooks: type: string enum: - added - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories_added: &656 + organization: *640 + repositories_added: &660 description: An array of repository objects, which were added to the installation. type: array @@ -115885,15 +116265,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *637 - repository_selection: &657 + repository: *641 + repository_selection: &661 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *654 + requester: *658 sender: *4 required: - action @@ -115972,10 +116352,10 @@ x-webhooks: type: string enum: - removed - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories_added: *656 + organization: *640 + repositories_added: *660 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -116002,9 +116382,9 @@ x-webhooks: - name - full_name - private - repository: *637 - repository_selection: *657 - requester: *654 + repository: *641 + repository_selection: *661 + requester: *658 sender: *4 required: - action @@ -116083,11 +116463,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories: *655 - repository: *637 + organization: *640 + repositories: *659 + repository: *641 requester: nullable: true sender: *4 @@ -116265,10 +116645,10 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 target_type: type: string @@ -116347,11 +116727,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *634 + enterprise: *638 installation: *22 - organization: *636 - repositories: *655 - repository: *637 + organization: *640 + repositories: *659 + repository: *641 requester: nullable: true sender: *4 @@ -116603,8 +116983,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117759,8 +118139,8 @@ x-webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -117840,7 +118220,7 @@ x-webhooks: type: string enum: - deleted - comment: &658 + comment: &662 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -118005,8 +118385,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119159,8 +119539,8 @@ x-webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -119240,7 +119620,7 @@ x-webhooks: type: string enum: - edited - changes: &686 + changes: &690 description: The changes to the comment. type: object properties: @@ -119252,9 +119632,9 @@ x-webhooks: type: string required: - from - comment: *658 - enterprise: *634 - installation: *635 + comment: *662 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120408,8 +120788,8 @@ x-webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -120491,10 +120871,10 @@ x-webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - issue: &661 + assignee: *658 + enterprise: *638 + installation: *639 + issue: &665 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -121412,8 +121792,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -121493,8 +121873,8 @@ x-webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122552,8 +122932,8 @@ x-webhooks: required: - state - closed_at - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -122632,8 +123012,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123544,8 +123924,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -123624,8 +124004,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124539,7 +124919,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &659 + milestone: &663 title: Milestone description: A collection of related issues and pull requests. type: object @@ -124677,8 +125057,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -124777,8 +125157,8 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125696,9 +126076,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -125778,8 +126158,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126696,9 +127076,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -126778,8 +127158,8 @@ x-webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127697,8 +128077,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -127777,8 +128157,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128690,9 +129070,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *659 - organization: *636 - repository: *637 + milestone: *663 + organization: *640 + repository: *641 sender: *4 required: - action @@ -130153,8 +130533,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131071,8 +131451,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -131152,9 +131532,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *634 - installation: *635 - issue: &660 + enterprise: *638 + installation: *639 + issue: &664 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132065,8 +132445,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -132145,8 +132525,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133063,8 +133443,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -134526,11 +134906,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + issue: *664 + organization: *640 + repository: *641 sender: *4 required: - action @@ -134611,7 +134991,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &689 + assignee: &693 title: User type: object nullable: true @@ -134681,11 +135061,11 @@ x-webhooks: required: - login - id - enterprise: *634 - installation: *635 - issue: *661 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + issue: *665 + organization: *640 + repository: *641 sender: *4 required: - action @@ -134764,12 +135144,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - issue: *661 - label: *653 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + issue: *665 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -134849,8 +135229,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135766,8 +136146,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -135847,11 +136227,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + issue: *664 + organization: *640 + repository: *641 sender: *4 required: - action @@ -135930,11 +136310,11 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -136012,11 +136392,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -136126,11 +136506,11 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + label: *657 + organization: *640 + repository: *641 sender: *4 required: - action @@ -136212,9 +136592,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: &662 + enterprise: *638 + installation: *639 + marketplace_purchase: &666 title: Marketplace Purchase type: object required: @@ -136297,8 +136677,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: &663 + organization: *640 + previous_marketplace_purchase: &667 title: Marketplace Purchase type: object properties: @@ -136378,7 +136758,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *641 sender: *4 required: - action @@ -136458,10 +136838,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *638 + installation: *639 + marketplace_purchase: *666 + organization: *640 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136544,7 +136924,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *641 sender: *4 required: - action @@ -136626,10 +137006,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *638 + installation: *639 + marketplace_purchase: *666 + organization: *640 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136711,7 +137091,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *641 sender: *4 required: - action @@ -136792,8 +137172,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 marketplace_purchase: title: Marketplace Purchase type: object @@ -136875,9 +137255,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + organization: *640 + previous_marketplace_purchase: *667 + repository: *641 sender: *4 required: - action @@ -136957,12 +137337,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + enterprise: *638 + installation: *639 + marketplace_purchase: *666 + organization: *640 + previous_marketplace_purchase: *667 + repository: *641 sender: *4 required: - action @@ -137064,11 +137444,11 @@ x-webhooks: type: string required: - to - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + member: *658 + organization: *640 + repository: *641 sender: *4 required: - action @@ -137168,11 +137548,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + member: *658 + organization: *640 + repository: *641 sender: *4 required: - action @@ -137251,11 +137631,11 @@ x-webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + member: *658 + organization: *640 + repository: *641 sender: *4 required: - action @@ -137333,11 +137713,11 @@ x-webhooks: type: string enum: - added - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + member: *658 + organization: *640 + repository: *641 scope: description: The scope of the membership. Currently, can only be `team`. @@ -137413,7 +137793,7 @@ x-webhooks: required: - login - id - team: &664 + team: &668 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -137603,11 +137983,11 @@ x-webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + member: *658 + organization: *640 + repository: *641 scope: description: The scope of the membership. Currently, can only be `team`. @@ -137684,7 +138064,7 @@ x-webhooks: required: - login - id - team: *664 + team: *668 required: - action - scope @@ -137766,8 +138146,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *635 - merge_group: &666 + installation: *639 + merge_group: &670 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -137786,15 +138166,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *665 + head_commit: *669 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -137880,10 +138260,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *635 - merge_group: *666 - organization: *636 - repository: *637 + installation: *639 + merge_group: *670 + organization: *640 + repository: *641 sender: *4 required: - action @@ -137956,7 +138336,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *638 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -138064,16 +138444,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *635 - organization: *636 + installation: *639 + organization: *640 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: *667 - required: *668 + properties: *671 + required: *672 nullable: true sender: *4 required: @@ -138154,11 +138534,11 @@ x-webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + milestone: *663 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138237,9 +138617,9 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - milestone: &669 + enterprise: *638 + installation: *639 + milestone: &673 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138376,8 +138756,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138456,11 +138836,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + milestone: *663 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138570,11 +138950,11 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + milestone: *663 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138654,11 +139034,11 @@ x-webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - milestone: *669 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + milestone: *673 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138737,11 +139117,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *658 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138820,11 +139200,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *658 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -138903,9 +139283,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - membership: &670 + enterprise: *638 + installation: *639 + membership: &674 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -138997,8 +139377,8 @@ x-webhooks: - role - organization_url - user - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 required: - action @@ -139076,11 +139456,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *634 - installation: *635 - membership: *670 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + membership: *674 + organization: *640 + repository: *641 sender: *4 required: - action @@ -139159,8 +139539,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -139276,10 +139656,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 - user: *654 + user: *658 required: - action - invitation @@ -139357,11 +139737,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *634 - installation: *635 - membership: *670 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + membership: *674 + organization: *640 + repository: *641 sender: *4 required: - action @@ -139448,11 +139828,11 @@ x-webhooks: properties: from: type: string - enterprise: *634 - installation: *635 - membership: *670 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + membership: *674 + organization: *640 + repository: *641 sender: *4 required: - action @@ -139528,9 +139908,9 @@ x-webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 package: description: Information about the package. type: object @@ -140029,7 +140409,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &671 + items: &675 title: Ruby Gems metadata type: object properties: @@ -140124,7 +140504,7 @@ x-webhooks: - owner - package_version - registry - repository: *637 + repository: *641 sender: *4 required: - action @@ -140200,9 +140580,9 @@ x-webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 package: description: Information about the package. type: object @@ -140555,7 +140935,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *671 + items: *675 source_url: type: string format: uri @@ -140625,7 +141005,7 @@ x-webhooks: - owner - package_version - registry - repository: *637 + repository: *641 sender: *4 required: - action @@ -140802,12 +141182,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *634 + enterprise: *638 id: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - id @@ -140887,7 +141267,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &672 + personal_access_token_request: &676 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -141033,10 +141413,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *634 - organization: *636 + enterprise: *638 + organization: *640 sender: *4 - installation: *635 + installation: *639 required: - action - personal_access_token_request @@ -141115,11 +141495,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *672 - enterprise: *634 - organization: *636 + personal_access_token_request: *676 + enterprise: *638 + organization: *640 sender: *4 - installation: *635 + installation: *639 required: - action - personal_access_token_request @@ -141197,11 +141577,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *672 - enterprise: *634 - organization: *636 + personal_access_token_request: *676 + enterprise: *638 + organization: *640 sender: *4 - installation: *635 + installation: *639 required: - action - personal_access_token_request @@ -141278,11 +141658,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *672 - organization: *636 - enterprise: *634 + personal_access_token_request: *676 + organization: *640 + enterprise: *638 sender: *4 - installation: *635 + installation: *639 required: - action - personal_access_token_request @@ -141386,7 +141766,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *673 + last_response: *677 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -141418,8 +141798,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 zen: description: Random string of GitHub zen. @@ -141664,10 +142044,10 @@ x-webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: &674 + enterprise: *638 + installation: *639 + organization: *640 + project_card: &678 title: Project Card type: object properties: @@ -141786,7 +142166,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *637 + repository: *641 sender: *4 required: - action @@ -141867,11 +142247,11 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_card: *674 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project_card: *678 + repository: *641 sender: *4 required: - action @@ -141951,9 +142331,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 project_card: title: Project Card type: object @@ -142081,8 +142461,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: *667 - required: *668 + properties: *671 + required: *672 nullable: true sender: *4 required: @@ -142176,11 +142556,11 @@ x-webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: *674 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project_card: *678 + repository: *641 sender: *4 required: - action @@ -142274,9 +142654,9 @@ x-webhooks: - from required: - column_id - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 project_card: allOf: - title: Project Card @@ -142466,7 +142846,7 @@ x-webhooks: type: string required: - after_id - repository: *637 + repository: *641 sender: *4 required: - action @@ -142546,10 +142926,10 @@ x-webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - organization: *636 - project: &676 + enterprise: *638 + installation: *639 + organization: *640 + project: &680 title: Project type: object properties: @@ -142673,7 +143053,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *637 + repository: *641 sender: *4 required: - action @@ -142753,10 +143133,10 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_column: &675 + enterprise: *638 + installation: *639 + organization: *640 + project_column: &679 title: Project Column type: object properties: @@ -142795,7 +143175,7 @@ x-webhooks: - name - created_at - updated_at - repository: *637 + repository: *641 sender: *4 required: - action @@ -142874,18 +143254,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project_column: *675 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *679 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: *667 - required: *668 + properties: *671 + required: *672 nullable: true sender: *4 required: @@ -142975,11 +143355,11 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project_column: *675 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *679 + repository: *641 sender: *4 required: - action @@ -143059,11 +143439,11 @@ x-webhooks: type: string enum: - moved - enterprise: *634 - installation: *635 - organization: *636 - project_column: *675 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project_column: *679 + repository: *641 sender: *4 required: - action @@ -143143,11 +143523,11 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project: *676 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project: *680 + repository: *641 sender: *4 required: - action @@ -143227,18 +143607,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project: *676 + enterprise: *638 + installation: *639 + organization: *640 + project: *680 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: *667 - required: *668 + properties: *671 + required: *672 nullable: true sender: *4 required: @@ -143340,11 +143720,11 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project: *676 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project: *680 + repository: *641 sender: *4 required: - action @@ -143423,11 +143803,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - organization: *636 - project: *676 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + project: *680 + repository: *641 sender: *4 required: - action @@ -143508,9 +143888,9 @@ x-webhooks: type: string enum: - closed - installation: *635 - organization: *636 - projects_v2: &677 + installation: *639 + organization: *640 + projects_v2: &681 title: Projects v2 Project description: A projects v2 project type: object @@ -143653,9 +144033,9 @@ x-webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2: *677 + installation: *639 + organization: *640 + projects_v2: *681 sender: *4 required: - action @@ -143736,9 +144116,9 @@ x-webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2: *677 + installation: *639 + organization: *640 + projects_v2: *681 sender: *4 required: - action @@ -143855,9 +144235,9 @@ x-webhooks: type: string to: type: string - installation: *635 - organization: *636 - projects_v2: *677 + installation: *639 + organization: *640 + projects_v2: *681 sender: *4 required: - action @@ -143940,7 +144320,7 @@ x-webhooks: type: string enum: - archived - changes: &681 + changes: &685 type: object properties: archived_at: @@ -143954,9 +144334,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *635 - organization: *636 - projects_v2_item: &678 + installation: *639 + organization: *640 + projects_v2_item: &682 title: Projects v2 Item description: An item belonging to a project type: object @@ -144090,9 +144470,9 @@ x-webhooks: nullable: true to: type: string - installation: *635 - organization: *636 - projects_v2_item: *678 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144174,9 +144554,9 @@ x-webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_item: *678 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144257,9 +144637,9 @@ x-webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_item: *678 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144365,7 +144745,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &679 + - &683 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -144383,7 +144763,7 @@ x-webhooks: required: - id - name - - &680 + - &684 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -144406,8 +144786,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *679 - - *680 + - *683 + - *684 required: - field_value - type: object @@ -144423,9 +144803,9 @@ x-webhooks: nullable: true required: - body - installation: *635 - organization: *636 - projects_v2_item: *678 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144520,9 +144900,9 @@ x-webhooks: to: type: string nullable: true - installation: *635 - organization: *636 - projects_v2_item: *678 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144605,10 +144985,10 @@ x-webhooks: type: string enum: - restored - changes: *681 - installation: *635 - organization: *636 - projects_v2_item: *678 + changes: *685 + installation: *639 + organization: *640 + projects_v2_item: *682 sender: *4 required: - action @@ -144690,9 +145070,9 @@ x-webhooks: type: string enum: - reopened - installation: *635 - organization: *636 - projects_v2: *677 + installation: *639 + organization: *640 + projects_v2: *681 sender: *4 required: - action @@ -144773,9 +145153,9 @@ x-webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_status_update: &682 + installation: *639 + organization: *640 + projects_v2_status_update: &686 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -144902,9 +145282,9 @@ x-webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_status_update: *682 + installation: *639 + organization: *640 + projects_v2_status_update: *686 sender: *4 required: - action @@ -145040,9 +145420,9 @@ x-webhooks: type: string format: date nullable: true - installation: *635 - organization: *636 - projects_v2_status_update: *682 + installation: *639 + organization: *640 + projects_v2_status_update: *686 sender: *4 required: - action @@ -145113,10 +145493,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - repository @@ -145193,13 +145573,13 @@ x-webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - number: &683 + assignee: *658 + enterprise: *638 + installation: *639 + number: &687 description: The pull request number. type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -147482,7 +147862,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -147564,11 +147944,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -149846,7 +150226,7 @@ x-webhooks: - draft reason: type: string - repository: *637 + repository: *641 sender: *4 required: - action @@ -149928,11 +150308,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -152210,7 +152590,7 @@ x-webhooks: - draft reason: type: string - repository: *637 + repository: *641 sender: *4 required: - action @@ -152292,13 +152672,13 @@ x-webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: &684 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: &688 allOf: - - *511 + - *515 - type: object properties: allow_auto_merge: @@ -152360,7 +152740,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *637 + repository: *641 sender: *4 required: - action @@ -152441,12 +152821,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: *684 - repository: *637 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: *688 + repository: *641 sender: *4 required: - action @@ -152526,11 +152906,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *634 - milestone: *494 - number: *683 - organization: *636 - pull_request: &685 + enterprise: *638 + milestone: *498 + number: *687 + organization: *640 + pull_request: &689 title: Pull Request type: object properties: @@ -154793,7 +155173,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -154872,11 +155252,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -157158,7 +157538,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *637 + repository: *641 sender: *4 required: - action @@ -157282,12 +157662,12 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: *684 - repository: *637 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: *688 + repository: *641 sender: *4 required: - action @@ -157367,11 +157747,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -159638,7 +160018,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -159718,11 +160098,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 - label: *653 - number: *683 - organization: *636 + enterprise: *638 + installation: *639 + label: *657 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -162004,7 +162384,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -162085,10 +162465,10 @@ x-webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 - number: *683 - organization: *636 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -164368,7 +164748,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -164448,12 +164828,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *634 - milestone: *494 - number: *683 - organization: *636 - pull_request: *685 - repository: *637 + enterprise: *638 + milestone: *498 + number: *687 + organization: *640 + pull_request: *689 + repository: *641 sender: *4 required: - action @@ -164532,12 +164912,12 @@ x-webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: *684 - repository: *637 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: *688 + repository: *641 sender: *4 required: - action @@ -164618,12 +164998,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: *684 - repository: *637 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: *688 + repository: *641 sender: *4 required: - action @@ -164703,12 +165083,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - number: *683 - organization: *636 - pull_request: *684 - repository: *637 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 + pull_request: *688 + repository: *641 sender: *4 required: - action @@ -165074,9 +165454,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -167246,7 +167626,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *641 sender: *4 required: - action @@ -167326,7 +167706,7 @@ x-webhooks: type: string enum: - deleted - comment: &687 + comment: &691 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -167611,9 +167991,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -169771,7 +170151,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *641 sender: *4 required: - action @@ -169851,11 +170231,11 @@ x-webhooks: type: string enum: - edited - changes: *686 - comment: *687 - enterprise: *634 - installation: *635 - organization: *636 + changes: *690 + comment: *691 + enterprise: *638 + installation: *639 + organization: *640 pull_request: type: object properties: @@ -172016,7 +172396,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *641 sender: *4 required: - action @@ -172097,9 +172477,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -174272,7 +174652,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *641 review: description: The review that was affected. type: object @@ -174515,9 +174895,9 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -176571,8 +176951,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: &688 + repository: *641 + review: &692 description: The review that was affected. type: object properties: @@ -176801,12 +177181,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -179089,7 +179469,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 requested_reviewer: title: User type: object @@ -179173,12 +179553,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -181468,7 +181848,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 requested_team: title: Team description: Groups of organization members that gives permissions @@ -181660,12 +182040,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -183950,7 +184330,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 requested_reviewer: title: User type: object @@ -184035,12 +184415,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *638 + installation: *639 number: description: The pull request number. type: integer - organization: *636 + organization: *640 pull_request: title: Pull Request type: object @@ -186316,7 +186696,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 requested_team: title: Team description: Groups of organization members that gives permissions @@ -186497,9 +186877,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -188674,8 +189054,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: *688 + repository: *641 + review: *692 sender: *4 required: - action @@ -188755,9 +189135,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -190827,7 +191207,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *641 sender: *4 thread: type: object @@ -191210,9 +191590,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 pull_request: title: Simple Pull Request type: object @@ -193268,7 +193648,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *641 sender: *4 thread: type: object @@ -193654,10 +194034,10 @@ x-webhooks: type: string before: type: string - enterprise: *634 - installation: *635 - number: *683 - organization: *636 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -195928,7 +196308,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -196010,11 +196390,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *689 - enterprise: *634 - installation: *635 - number: *683 - organization: *636 + assignee: *693 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -198297,7 +198677,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -198376,11 +198756,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - label: *653 - number: *683 - organization: *636 + enterprise: *638 + installation: *639 + label: *657 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -200653,7 +201033,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -200734,10 +201114,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 - number: *683 - organization: *636 + enterprise: *638 + installation: *639 + number: *687 + organization: *640 pull_request: title: Pull Request type: object @@ -203002,7 +203382,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *641 sender: *4 required: - action @@ -203202,7 +203582,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *634 + enterprise: *638 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -203294,8 +203674,8 @@ x-webhooks: - url - author - committer - installation: *635 - organization: *636 + installation: *639 + organization: *640 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -203870,9 +204250,9 @@ x-webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 registry_package: type: object properties: @@ -204318,7 +204698,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *671 + items: *675 summary: type: string tag_name: @@ -204372,7 +204752,7 @@ x-webhooks: - owner - package_version - registry - repository: *637 + repository: *641 sender: *4 required: - action @@ -204450,9 +204830,9 @@ x-webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 registry_package: type: object properties: @@ -204760,7 +205140,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *671 + items: *675 summary: type: string tag_name: @@ -204809,7 +205189,7 @@ x-webhooks: - owner - package_version - registry - repository: *637 + repository: *641 sender: *4 required: - action @@ -204886,10 +205266,10 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - release: &690 + enterprise: *638 + installation: *639 + organization: *640 + release: &694 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -205194,7 +205574,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *637 + repository: *641 sender: *4 required: - action @@ -205271,11 +205651,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - release: *690 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + release: *694 + repository: *641 sender: *4 required: - action @@ -205383,11 +205763,11 @@ x-webhooks: type: boolean required: - to - enterprise: *634 - installation: *635 - organization: *636 - release: *690 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + release: *694 + repository: *641 sender: *4 required: - action @@ -205465,9 +205845,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -205776,7 +206156,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *637 + repository: *641 sender: *4 required: - action @@ -205852,10 +206232,10 @@ x-webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - release: &691 + enterprise: *638 + installation: *639 + organization: *640 + release: &695 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206161,7 +206541,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *637 + repository: *641 sender: *4 required: - action @@ -206237,11 +206617,11 @@ x-webhooks: type: string enum: - released - enterprise: *634 - installation: *635 - organization: *636 - release: *690 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + release: *694 + repository: *641 sender: *4 required: - action @@ -206317,11 +206697,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *634 - installation: *635 - organization: *636 - release: *691 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + release: *695 + repository: *641 sender: *4 required: - action @@ -206397,11 +206777,11 @@ x-webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *565 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_advisory: *569 sender: *4 required: - action @@ -206477,11 +206857,11 @@ x-webhooks: type: string enum: - reported - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *565 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_advisory: *569 sender: *4 required: - action @@ -206557,10 +206937,10 @@ x-webhooks: type: string enum: - archived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -206637,10 +207017,10 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -206718,10 +207098,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -206805,10 +207185,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -206920,10 +207300,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -206995,10 +207375,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 status: type: string @@ -207079,10 +207459,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -207159,10 +207539,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -207256,10 +207636,10 @@ x-webhooks: - name required: - repository - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -207339,11 +207719,11 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_ruleset: *235 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *236 sender: *4 required: - action @@ -207421,11 +207801,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_ruleset: *235 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *236 sender: *4 required: - action @@ -207503,11 +207883,11 @@ x-webhooks: type: string enum: - edited - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_ruleset: *235 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + repository_ruleset: *236 changes: type: object properties: @@ -207526,16 +207906,16 @@ x-webhooks: properties: added: type: array - items: *229 + items: *230 deleted: type: array - items: *229 + items: *230 updated: type: array items: type: object properties: - condition: *229 + condition: *230 changes: type: object properties: @@ -207568,16 +207948,16 @@ x-webhooks: properties: added: type: array - items: *234 + items: *235 deleted: type: array - items: *234 + items: *235 updated: type: array items: type: object properties: - rule: *234 + rule: *235 changes: type: object properties: @@ -207811,10 +208191,10 @@ x-webhooks: - from required: - owner - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -207892,10 +208272,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -207973,7 +208353,7 @@ x-webhooks: type: string enum: - create - alert: &692 + alert: &696 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -208094,10 +208474,10 @@ x-webhooks: type: string enum: - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -208303,10 +208683,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -208384,11 +208764,11 @@ x-webhooks: type: string enum: - reopen - alert: *692 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *696 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -208587,10 +208967,10 @@ x-webhooks: enum: - fixed - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -208668,7 +209048,7 @@ x-webhooks: type: string enum: - created - alert: &693 + alert: &697 type: object properties: number: *53 @@ -208779,10 +209159,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -208863,11 +209243,11 @@ x-webhooks: type: string enum: - created - alert: *693 - installation: *635 - location: *694 - organization: *636 - repository: *637 + alert: *697 + installation: *639 + location: *698 + organization: *640 + repository: *641 sender: *4 required: - location @@ -209105,11 +209485,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *693 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *697 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -209187,11 +209567,11 @@ x-webhooks: type: string enum: - reopened - alert: *693 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *697 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -209269,11 +209649,11 @@ x-webhooks: type: string enum: - resolved - alert: *693 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *697 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -209351,11 +209731,11 @@ x-webhooks: type: string enum: - validated - alert: *693 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *697 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -209481,10 +209861,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *637 - enterprise: *634 - installation: *635 - organization: *636 + repository: *641 + enterprise: *638 + installation: *639 + organization: *640 sender: *4 required: - action @@ -209562,11 +209942,11 @@ x-webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: &695 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + security_advisory: &699 description: The details of the security advisory, including summary, description, and severity. type: object @@ -209749,11 +210129,11 @@ x-webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: *695 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 + security_advisory: *699 sender: *4 required: - action @@ -209826,10 +210206,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -210013,11 +210393,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *228 - enterprise: *634 - installation: *635 - organization: *636 - repository: *279 + security_and_analysis: *229 + enterprise: *638 + installation: *639 + organization: *640 + repository: *283 sender: *4 required: - changes @@ -210095,12 +210475,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: &696 + sponsorship: &700 type: object properties: created_at: @@ -210401,12 +210781,12 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: *696 + sponsorship: *700 required: - action - sponsorship @@ -210494,12 +210874,12 @@ x-webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: *696 + sponsorship: *700 required: - action - changes @@ -210576,17 +210956,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &697 + effective_date: &701 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: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: *696 + sponsorship: *700 required: - action - sponsorship @@ -210660,7 +211040,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &698 + changes: &702 type: object properties: tier: @@ -210704,13 +211084,13 @@ x-webhooks: - from required: - tier - effective_date: *697 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + effective_date: *701 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: *696 + sponsorship: *700 required: - action - changes @@ -210787,13 +211167,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *698 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + changes: *702 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - sponsorship: *696 + sponsorship: *700 required: - action - changes @@ -210867,10 +211247,10 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -210953,10 +211333,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -211375,15 +211755,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *634 + enterprise: *638 id: description: The unique identifier of the status. type: integer - installation: *635 + installation: *639 name: type: string - organization: *636 - repository: *637 + organization: *640 + repository: *641 sender: *4 sha: description: The Commit SHA. @@ -211498,9 +211878,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *76 - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -211590,9 +211970,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *76 - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -211682,9 +212062,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *76 - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -211774,9 +212154,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *76 - installation: *635 - organization: *636 - repository: *637 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -211853,12 +212233,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - team: &699 + team: &703 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -212048,9 +212428,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -212508,7 +212888,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *699 + team: *703 required: - action - team @@ -212584,9 +212964,9 @@ x-webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -213044,7 +213424,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *699 + team: *703 required: - action - team @@ -213121,9 +213501,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -213581,7 +213961,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *699 + team: *703 required: - action - team @@ -213725,9 +214105,9 @@ x-webhooks: - from required: - permissions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -214185,7 +214565,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *699 + team: *703 required: - action - changes @@ -214263,9 +214643,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *638 + installation: *639 + organization: *640 repository: title: Repository description: A git repository @@ -214723,7 +215103,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *699 + team: *703 required: - action - team @@ -214799,10 +215179,10 @@ x-webhooks: type: string enum: - started - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 required: - action @@ -214875,16 +215255,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *634 + enterprise: *638 inputs: type: object nullable: true additionalProperties: true - installation: *635 - organization: *636 + installation: *639 + organization: *640 ref: type: string - repository: *637 + repository: *641 sender: *4 workflow: type: string @@ -214966,10 +215346,10 @@ x-webhooks: type: string enum: - completed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 workflow_job: allOf: @@ -215206,7 +215586,7 @@ x-webhooks: type: string required: - conclusion - deployment: *426 + deployment: *430 required: - action - repository @@ -215285,10 +215665,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 workflow_job: allOf: @@ -215548,7 +215928,7 @@ x-webhooks: required: - status - steps - deployment: *426 + deployment: *430 required: - action - repository @@ -215627,10 +216007,10 @@ x-webhooks: type: string enum: - queued - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 workflow_job: type: object @@ -215765,7 +216145,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *426 + deployment: *430 required: - action - repository @@ -215844,10 +216224,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 workflow_job: type: object @@ -215983,7 +216363,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *426 + deployment: *430 required: - action - repository @@ -216063,12 +216443,12 @@ x-webhooks: type: string enum: - completed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - workflow: *649 + workflow: *653 workflow_run: title: Workflow Run type: object @@ -217067,12 +217447,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - workflow: *649 + workflow: *653 workflow_run: title: Workflow Run type: object @@ -218056,12 +218436,12 @@ x-webhooks: type: string enum: - requested - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *638 + installation: *639 + organization: *640 + repository: *641 sender: *4 - workflow: *649 + workflow: *653 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 87e33190e..51bd97b6a 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -191,6 +191,10 @@ { "name": "private-registries", "description": "Manage private registry configurations." + }, + { + "name": "hosted-compute", + "description": "Manage hosted compute networking resources." } ], "servers": [ @@ -33068,6 +33072,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -34826,6 +34838,731 @@ } } }, + "/enterprises/{enterprise}/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an enterprise", + "description": "Lists all hosted compute network configurations configured in an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "network_configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "network_configurations": { + "type": "array", + "items": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "network_configurations": [ + { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + }, + { + "id": "456789ABDCEF123", + "name": "My other configuration", + "compute_service": "none", + "network_settings_ids": [ + "56789ABDCEF1234", + "6789ABDCEF12345" + ], + "created_on": "2023-04-26T15:23:37Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an enterprise", + "description": "Creates a hosted compute network configuration for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, `.`, `-`, and `_`.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, + "/enterprises/{enterprise}/network-configurations/{network_configuration_id}": { + "get": { + "summary": "Get a hosted compute network configuration for an enterprise", + "description": "Gets a hosted compute network configuration configured in an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an enterprise", + "description": "Updates a hosted compute network configuration for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, `.`, `-`, and `_`.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an enterprise", + "description": "Deletes a hosted compute network configuration from an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, + "/enterprises/{enterprise}/network-settings/{network_settings_id}": { + "get": { + "summary": "Get a hosted compute network settings resource for an enterprise", + "description": "Gets a hosted compute network settings resource configured for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-settings-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_settings_id", + "description": "Unique identifier of the hosted compute network settings.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network settings resource", + "description": "A hosted compute network settings resource.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network settings resource.", + "type": "string", + "example": "220F78DACB92BBFBC5E6F22DE1CCF52309D" + }, + "network_configuration_id": { + "description": "The identifier of the network configuration that is using this settings resource.", + "type": "string", + "example": "934E208B3EE0BD60CF5F752C426BFB53562" + }, + "name": { + "description": "The name of the network settings resource.", + "type": "string", + "example": "my-network-settings" + }, + "subnet_id": { + "description": "The subnet this network settings resource is configured for.", + "type": "string", + "example": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + }, + "region": { + "description": "The location of the subnet this network settings resource is configured for.", + "type": "string", + "example": "eastus" + } + }, + "required": [ + "id", + "name", + "subnet_id", + "region" + ] + }, + "examples": { + "default": { + "value": { + "id": "220F78DACB92BBFBC5E6F22DE1CCF52309D", + "network_configuration_id": "934E208B3EE0BD60CF5F752C426BFB53562", + "name": "my_network_settings", + "subnet_id": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet", + "region": "eastus" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, "/enterprises/{enterprise}/properties/schema": { "get": { "summary": "Get custom properties for an enterprise", @@ -105077,6 +105814,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -164652,142 +165397,586 @@ ], "responses": { "200": { - "description": "Success", + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_advanced_security_committers": { + "type": "integer", + "example": 25 + }, + "total_count": { + "type": "integer", + "example": 2 + }, + "maximum_advanced_security_committers": { + "type": "integer", + "example": 4, + "description": "The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security" + }, + "purchased_advanced_security_committers": { + "type": "integer", + "example": 4, + "description": "The total number of GitHub Advanced Security licences purchased" + }, + "repositories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "advanced_security_committers": { + "type": "integer", + "example": 25 + }, + "advanced_security_committers_breakdown": { + "type": "array", + "items": { + "type": "object", + "properties": { + "user_login": { + "type": "string" + }, + "last_pushed_date": { + "type": "string", + "example": "2021-11-03" + }, + "last_pushed_email": { + "type": "string", + "example": "monalisa@github.com" + } + }, + "required": [ + "user_login", + "last_pushed_date", + "last_pushed_email" + ] + } + } + }, + "required": [ + "name", + "advanced_security_committers", + "advanced_security_committers_breakdown" + ] + } + } + }, + "required": [ + "repositories" + ] + }, + "examples": { + "default": { + "value": { + "total_advanced_security_committers": 2, + "total_count": 2, + "maximum_advanced_security_committers": 4, + "purchased_advanced_security_committers": 4, + "repositories": [ + { + "name": "octocat-org/Hello-World", + "advanced_security_committers": 2, + "advanced_security_committers_breakdown": [ + { + "user_login": "octocat", + "last_pushed_date": "2021-11-03", + "last_pushed_email": "octocat@github.com" + }, + { + "user_login": "octokitten", + "last_pushed_date": "2021-10-25", + "last_pushed_email": "octokitten@github.com" + } + ] + }, + { + "name": "octocat-org/server", + "advanced_security_committers": 1, + "advanced_security_committers_breakdown": [ + { + "user_login": "octokitten", + "last_pushed_date": "2021-10-26", + "last_pushed_email": "octokitten@github.com" + } + ] + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "billing" + } + } + }, + "/orgs/{org}/settings/billing/packages": { + "get": { + "summary": "Get GitHub Packages billing for an organization", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", + "operationId": "billing/get-github-packages-billing-org", + "tags": [ + "billing" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_gigabytes_bandwidth_used": { + "type": "integer", + "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." + }, + "total_paid_gigabytes_bandwidth_used": { + "type": "integer", + "description": "Total paid storage space (GB) for GitHuub Packages." + }, + "included_gigabytes_bandwidth": { + "type": "integer", + "description": "Free storage space (GB) for GitHub Packages." + } + }, + "required": [ + "total_gigabytes_bandwidth_used", + "total_paid_gigabytes_bandwidth_used", + "included_gigabytes_bandwidth" + ] + }, + "examples": { + "default": { + "value": { + "total_gigabytes_bandwidth_used": 50, + "total_paid_gigabytes_bandwidth_used": 40, + "included_gigabytes_bandwidth": 10 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "billing", + "subcategory": "billing" + } + } + }, + "/orgs/{org}/settings/billing/shared-storage": { + "get": { + "summary": "Get shared storage billing for an organization", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", + "operationId": "billing/get-shared-storage-billing-org", + "tags": [ + "billing" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "days_left_in_billing_cycle": { + "type": "integer", + "description": "Numbers of days left in billing cycle." + }, + "estimated_paid_storage_for_month": { + "type": "integer", + "description": "Estimated storage space (GB) used in billing cycle." + }, + "estimated_storage_for_month": { + "type": "integer", + "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." + } + }, + "required": [ + "days_left_in_billing_cycle", + "estimated_paid_storage_for_month", + "estimated_storage_for_month" + ] + }, + "examples": { + "default": { + "value": { + "days_left_in_billing_cycle": 20, + "estimated_paid_storage_for_month": 15, + "estimated_storage_for_month": 40 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "billing", + "subcategory": "billing" + } + } + }, + "/orgs/{org}/settings/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an organization", + "description": "Lists all hosted compute network configurations configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { "type": "object", + "required": [ + "total_count", + "network_configurations" + ], "properties": { - "total_advanced_security_committers": { - "type": "integer", - "example": 25 - }, "total_count": { - "type": "integer", - "example": 2 - }, - "maximum_advanced_security_committers": { - "type": "integer", - "example": 4, - "description": "The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security" - }, - "purchased_advanced_security_committers": { - "type": "integer", - "example": 4, - "description": "The total number of GitHub Advanced Security licences purchased" + "type": "integer" }, - "repositories": { + "network_configurations": { "type": "array", "items": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", "type": "object", "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, "name": { + "description": "The name of the network configuration.", "type": "string", - "example": "octocat/Hello-World" + "example": "my-network-configuration" }, - "advanced_security_committers": { - "type": "integer", - "example": 25 + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] }, - "advanced_security_committers_breakdown": { + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", "type": "array", "items": { - "type": "object", - "properties": { - "user_login": { - "type": "string" - }, - "last_pushed_date": { - "type": "string", - "example": "2021-11-03" - }, - "last_pushed_email": { - "type": "string", - "example": "monalisa@github.com" - } - }, - "required": [ - "user_login", - "last_pushed_date", - "last_pushed_email" - ] - } + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true } }, "required": [ + "id", "name", - "advanced_security_committers", - "advanced_security_committers_breakdown" + "created_on" ] } } - }, - "required": [ - "repositories" - ] + } }, "examples": { "default": { "value": { - "total_advanced_security_committers": 2, "total_count": 2, - "maximum_advanced_security_committers": 4, - "purchased_advanced_security_committers": 4, - "repositories": [ + "network_configurations": [ { - "name": "octocat-org/Hello-World", - "advanced_security_committers": 2, - "advanced_security_committers_breakdown": [ - { - "user_login": "octocat", - "last_pushed_date": "2021-11-03", - "last_pushed_email": "octocat@github.com" - }, - { - "user_login": "octokitten", - "last_pushed_date": "2021-10-25", - "last_pushed_email": "octokitten@github.com" - } - ] + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" }, { - "name": "octocat-org/server", - "advanced_security_committers": 1, - "advanced_security_committers_breakdown": [ - { - "user_login": "octokitten", - "last_pushed_date": "2021-10-26", - "last_pushed_email": "octokitten@github.com" - } - ] + "id": "456789ABDCEF123", + "name": "My other configuration", + "compute_service": "none", + "network_settings_ids": [ + "56789ABDCEF1234", + "6789ABDCEF12345" + ], + "created_on": "2023-04-26T15:23:37Z" } ] } } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "billing" + "category": "settings", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an organization", + "description": "Creates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" } } }, - "/orgs/{org}/settings/billing/packages": { + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": { "get": { - "summary": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-org", + "summary": "Get a hosted compute network configuration for an organization", + "description": "Gets a hosted compute network configuration configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", "tags": [ - "billing" + "hosted-compute" ], + "operationId": "hosted-compute/get-network-configuration-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization" }, "parameters": [ { @@ -164798,6 +165987,15 @@ "schema": { "type": "string" } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -164806,59 +166004,290 @@ "content": { "application/json": { "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", "type": "object", "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true } }, "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" + "id", + "name", + "created_on" ] }, "examples": { "default": { "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" } } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an organization", + "description": "Updates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an organization", + "description": "Deletes a hosted compute network configuration from an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" } } }, - "/orgs/{org}/settings/billing/shared-storage": { + "/orgs/{org}/settings/network-settings/{network_settings_id}": { "get": { - "summary": "Get shared storage billing for an organization", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-org", + "summary": "Get a hosted compute network settings resource for an organization", + "description": "Gets a hosted compute network settings resource configured for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", "tags": [ - "billing" + "hosted-compute" ], + "operationId": "hosted-compute/get-network-settings-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization" }, "parameters": [ { @@ -164869,6 +166298,15 @@ "schema": { "type": "string" } + }, + { + "name": "network_settings_id", + "description": "Unique identifier of the hosted compute network settings.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -164877,45 +166315,71 @@ "content": { "application/json": { "schema": { + "title": "Hosted compute network settings resource", + "description": "A hosted compute network settings resource.", "type": "object", "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." + "id": { + "description": "The unique identifier of the network settings resource.", + "type": "string", + "example": "220F78DACB92BBFBC5E6F22DE1CCF52309D" }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." + "network_configuration_id": { + "description": "The identifier of the network configuration that is using this settings resource.", + "type": "string", + "example": "934E208B3EE0BD60CF5F752C426BFB53562" }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." + "name": { + "description": "The name of the network settings resource.", + "type": "string", + "example": "my-network-settings" + }, + "subnet_id": { + "description": "The subnet this network settings resource is configured for.", + "type": "string", + "example": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + }, + "region": { + "description": "The location of the subnet this network settings resource is configured for.", + "type": "string", + "example": "eastus" } }, "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" + "id", + "name", + "subnet_id", + "region" ] }, "examples": { "default": { "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 + "id": "220F78DACB92BBFBC5E6F22DE1CCF52309D", + "network_configuration_id": "934E208B3EE0BD60CF5F752C426BFB53562", + "name": "my_network_settings", + "subnet_id": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet", + "region": "eastus" } } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" } } }, @@ -285524,6 +286988,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -357802,7 +359274,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to remove" + "description": "The id of the sub-issue to remove" } }, "required": [ @@ -362578,7 +364050,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to add" + "description": "The id of the sub-issue to add. The sub-issue must belong to the same repository as the parent issue" }, "replace_parent": { "type": "boolean", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 8a1a4d58b..4fac89e5f 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -101,6 +101,8 @@ tags: description: Endpoints to manage Code security using the REST API. - name: private-registries description: Manage private registry configurations. +- name: hosted-compute + description: Manage hosted compute networking resources. servers: - url: https://api.github.com externalDocs: @@ -846,7 +848,7 @@ paths: - subscriptions_url - type - url - type: &322 + type: &326 type: string description: The type of credit the user is receiving. enum: @@ -979,7 +981,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &174 + schema: &177 title: Validation Error Simple description: Validation Error Simple type: object @@ -1012,7 +1014,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: - - &642 + - &650 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1130,7 +1132,7 @@ paths: GitHub. type: object nullable: true - properties: &132 + properties: &135 id: description: Unique identifier of the GitHub app example: 37 @@ -1270,7 +1272,7 @@ paths: type: string example: '"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\n-----END RSA PRIVATE KEY-----\n"' - required: &133 + required: &136 - id - node_id - owner @@ -1575,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &248 + - &252 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 @@ -1591,7 +1593,7 @@ paths: application/json: schema: type: array - items: &249 + items: &253 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1668,7 +1670,7 @@ paths: - installation_id - repository_id examples: - default: &250 + default: &254 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1700,7 +1702,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &652 + schema: &660 title: Scim Error description: Scim Error type: object @@ -1727,7 +1729,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &173 + schema: &176 title: Validation Error description: Validation Error type: object @@ -1796,7 +1798,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &255 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1910,7 +1912,7 @@ paths: - request - response examples: - default: &252 + default: &256 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2111,7 +2113,7 @@ paths: parameters: - *17 - *19 - - &137 + - &140 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2837,7 +2839,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &304 + properties: &308 id: description: Unique identifier of the repository example: 42 @@ -2857,7 +2859,7 @@ paths: title: License Simple description: License Simple type: object - properties: &148 + properties: &151 key: type: string example: mit @@ -2879,7 +2881,7 @@ paths: html_url: type: string format: uri - required: &149 + required: &152 - key - name - url @@ -3266,7 +3268,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &305 + required: &309 - archive_url - assignees_url - blobs_url @@ -7279,7 +7281,7 @@ paths: description: Response content: application/json: - schema: &175 + schema: &178 type: object properties: total_active_caches_count: @@ -7294,7 +7296,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &176 + default: &179 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7484,7 +7486,7 @@ paths: - public_ip_enabled - platform examples: - default: &177 + default: &180 value: total_count: 2 runners: @@ -7776,7 +7778,7 @@ paths: description: Response content: application/json: - schema: &178 + schema: &181 type: object properties: public_ips: @@ -7801,7 +7803,7 @@ paths: required: - public_ips examples: - default: &179 + default: &182 value: public_ips: current_usage: 17 @@ -7841,7 +7843,7 @@ paths: type: array items: *44 examples: - default: &180 + default: &183 value: id: 4-core cpu_cores: 4 @@ -8104,7 +8106,7 @@ paths: - all - local_only - selected - selected_actions_url: &183 + selected_actions_url: &186 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -8472,7 +8474,7 @@ paths: description: Success response content: application/json: - schema: &186 + schema: &189 type: object properties: default_workflow_permissions: &52 @@ -8520,7 +8522,7 @@ paths: required: true content: application/json: - schema: &187 + schema: &190 type: object properties: default_workflow_permissions: *52 @@ -9352,7 +9354,7 @@ paths: application/json: schema: type: array - items: &191 + items: &194 title: Runner Application description: Runner Application type: object @@ -9377,7 +9379,7 @@ paths: - download_url - filename examples: - default: &192 + default: &195 value: - os: osx architecture: x64 @@ -9461,7 +9463,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &193 + '201': &196 description: Response content: application/json: @@ -9571,7 +9573,7 @@ paths: - token - expires_at examples: - default: &194 + default: &197 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9611,7 +9613,7 @@ paths: application/json: schema: *64 examples: - default: &195 + default: &198 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9643,7 +9645,7 @@ paths: application/json: schema: *61 examples: - default: &196 + default: &199 value: id: 23 name: MBP @@ -9857,7 +9859,7 @@ paths: - *40 - *60 responses: - '200': &197 + '200': &200 description: Response content: application/json: @@ -9913,7 +9915,7 @@ paths: parameters: - *40 - *60 - - &198 + - &201 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10004,7 +10006,7 @@ paths: required: true content: application/json: - schema: &205 + schema: &208 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10075,7 +10077,7 @@ paths: required: false schema: type: string - - &206 + - &209 name: include description: |- The event types to include: @@ -10093,7 +10095,7 @@ paths: - web - git - all - - &207 + - &210 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. @@ -10101,7 +10103,7 @@ paths: required: false schema: type: string - - &208 + - &211 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. @@ -10109,7 +10111,7 @@ paths: required: false schema: type: string - - &209 + - &212 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10131,7 +10133,7 @@ paths: application/json: schema: type: array - items: &210 + items: &213 type: object properties: "@timestamp": @@ -10253,7 +10255,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &211 + default: &214 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10815,7 +10817,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &213 + - &216 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -10825,7 +10827,7 @@ paths: schema: &85 type: string description: The name of the tool used to generate the code scanning analysis. - - &214 + - &217 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -10848,7 +10850,7 @@ paths: be returned. in: query required: false - schema: &215 + schema: &218 type: string description: State of a code scanning alert. enum: @@ -10873,7 +10875,7 @@ paths: application/json: schema: type: array - items: &216 + items: &219 type: object properties: number: &98 @@ -10902,7 +10904,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &437 + instances_url: &445 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10937,7 +10939,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &438 + dismissed_reason: &446 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -10946,13 +10948,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &439 + dismissed_comment: &447 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &440 + rule: &448 type: object properties: id: @@ -11005,7 +11007,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &441 + tool: &449 type: object properties: name: *85 @@ -11015,15 +11017,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *86 - most_recent_instance: &442 + most_recent_instance: &450 type: object properties: - ref: &435 + ref: &443 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &452 + analysis_key: &460 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11034,7 +11036,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &453 + category: &461 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11372,7 +11374,7 @@ paths: - most_recent_instance - repository examples: - default: &217 + default: &220 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -11603,7 +11605,7 @@ paths: headers: Link: *39 '404': *6 - '503': &125 + '503': &128 description: Service unavailable content: application/json: @@ -12127,7 +12129,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &222 type: array description: A list of default code security configurations items: @@ -12143,7 +12145,7 @@ paths: default configuration: *88 examples: - default: &220 + default: &223 value: - default_for_new_repos: public configuration: @@ -12425,7 +12427,7 @@ paths: - *40 - *90 responses: - '204': &112 + '204': &115 description: A header with no content is returned. '400': *14 '403': *29 @@ -12553,7 +12555,7 @@ paths: default: value: default_for_new_repos: all - configuration: &218 + configuration: &221 value: id: 1325 target_type: organization @@ -12633,7 +12635,7 @@ paths: application/json: schema: type: array - items: &221 + items: &224 type: object description: Repositories associated with a code security configuration and attachment status @@ -12657,7 +12659,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &222 + repository: &225 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13122,7 +13124,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &224 + items: &227 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13140,7 +13142,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &270 + - &274 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13199,7 +13201,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &283 + properties: &287 id: description: Unique identifier of the team type: integer @@ -13255,7 +13257,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &284 + required: &288 - id - node_id - url @@ -13374,7 +13376,7 @@ paths: - created_at additionalProperties: false examples: - default: &225 + default: &228 value: total_seats: 2 seats: @@ -13509,7 +13511,7 @@ paths: application/json: schema: type: array - items: &127 + items: &130 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -13817,7 +13819,7 @@ paths: - date additionalProperties: true examples: - default: &128 + default: &131 value: - date: '2024-06-24' total_active_users: 24 @@ -13919,7 +13921,7 @@ paths: '500': *97 '403': *29 '404': *6 - '422': &129 + '422': &132 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -13989,7 +13991,7 @@ paths: application/json: schema: type: array - items: &130 + items: &133 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -14168,7 +14170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &232 + - &235 name: state in: query description: |- @@ -14177,7 +14179,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &233 + - &236 name: severity in: query description: |- @@ -14186,7 +14188,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &234 + - &237 name: ecosystem in: query description: |- @@ -14195,14 +14197,26 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &235 + - &238 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &236 + - &239 + name: epss_percentage + in: query + description: |- + CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as: + - An exact number (`n`) + - Comparators such as `>n`, `=n`, `<=n` + - A range like `n..n`, where `n` is a number from 0.0 to 1.0 + + Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. + schema: + type: string + - &240 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14212,7 +14226,7 @@ paths: enum: - development - runtime - - &237 + - &241 name: sort in: query description: |- @@ -14230,7 +14244,7 @@ paths: - *84 - *82 - *83 - - &238 + - &242 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14243,7 +14257,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &239 + - &243 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14263,7 +14277,7 @@ paths: application/json: schema: type: array - items: &240 + items: &244 type: object description: A Dependabot alert. properties: @@ -14313,7 +14327,7 @@ paths: enum: - development - runtime - security_advisory: &494 + security_advisory: &502 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14544,7 +14558,7 @@ paths: nullable: true maxLength: 280 fixed_at: *107 - auto_dismissed_at: &495 + auto_dismissed_at: &503 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -14570,7 +14584,7 @@ paths: - repository additionalProperties: false examples: - default: &241 + default: &245 value: - number: 2 state: dismissed @@ -14962,6 +14976,360 @@ paths: previews: [] category: enterprise-admin subcategory: license + "/enterprises/{enterprise}/network-configurations": + get: + summary: List hosted compute network configurations for an enterprise + description: Lists all hosted compute network configurations configured in an + enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise + parameters: + - *40 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: &108 + title: Hosted compute network configuration + description: A hosted compute network configuration. + type: object + properties: + id: + description: The unique identifier of the network configuration. + type: string + example: 123ABC456DEF789 + name: + description: The name of the network configuration. + type: string + example: my-network-configuration + compute_service: + description: The hosted compute service the network configuration + supports. + type: string + enum: + - none + - actions + - codespaces + network_settings_ids: + description: The unique identifier of each network settings + in the configuration. + type: array + items: + type: string + example: 123ABC456DEF789 + created_on: + description: The time at which the network configuration + was created, in ISO 8601 format. + type: string + format: date-time + example: '2024-04-26T11:31:07Z' + nullable: true + required: + - id + - name + - created_on + examples: + default: &336 + value: + total_count: 2 + network_configurations: + - id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + - id: 456789ABDCEF123 + name: My other configuration + compute_service: none + network_settings_ids: + - 56789ABDCEF1234 + - 6789ABDCEF12345 + created_on: '2023-04-26T15:23:37Z' + headers: + Link: *39 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an enterprise + description: Creates a hosted compute network configuration for an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, `.`, `-`, and `_`. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: *108 + examples: + default: &109 + value: + id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + "/enterprises/{enterprise}/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an enterprise + description: Gets a hosted compute network configuration configured in an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - *40 + - &110 + name: network_configuration_id + description: Unique identifier of the hosted compute network configuration. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *108 + examples: + default: *109 + headers: + Link: *39 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an enterprise + description: Updates a hosted compute network configuration for an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - *40 + - *110 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, `.`, `-`, and `_`. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: *108 + examples: + default: *109 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an enterprise + description: Deletes a hosted compute network configuration from an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise + parameters: + - *40 + - *110 + responses: + '204': + description: Response + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + "/enterprises/{enterprise}/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an enterprise + description: Gets a hosted compute network settings resource configured for + an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/get-network-settings-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise + parameters: + - *40 + - &337 + name: network_settings_id + description: Unique identifier of the hosted compute network settings. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: &338 + title: Hosted compute network settings resource + description: A hosted compute network settings resource. + type: object + properties: + id: + description: The unique identifier of the network settings resource. + type: string + example: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: + description: The identifier of the network configuration that + is using this settings resource. + type: string + example: 934E208B3EE0BD60CF5F752C426BFB53562 + name: + description: The name of the network settings resource. + type: string + example: my-network-settings + subnet_id: + description: The subnet this network settings resource is configured + for. + type: string + example: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: + description: The location of the subnet this network settings + resource is configured for. + type: string + example: eastus + required: + - id + - name + - subnet_id + - region + examples: + default: &339 + value: + id: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 + name: my_network_settings + subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: eastus + headers: + Link: *39 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations "/enterprises/{enterprise}/properties/schema": get: summary: Get custom properties for an enterprise @@ -14986,7 +15354,7 @@ paths: application/json: schema: type: array - items: &108 + items: &111 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -15052,7 +15420,7 @@ paths: - property_name - value_type examples: - default: &109 + default: &112 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15108,7 +15476,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *108 + items: *111 minItems: 1 maxItems: 100 required: @@ -15138,9 +15506,9 @@ paths: application/json: schema: type: array - items: *108 + items: *111 examples: - default: *109 + default: *112 '403': *29 '404': *6 x-github: @@ -15165,7 +15533,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *40 - - &110 + - &113 name: custom_property_name description: The custom property name in: path @@ -15177,9 +15545,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *111 examples: - default: &111 + default: &114 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15215,12 +15583,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *40 - - *110 + - *113 requestBody: required: true content: application/json: - schema: &302 + schema: &306 title: Custom Property Set Payload description: Custom property set payload type: object @@ -15276,9 +15644,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *111 examples: - default: *111 + default: *114 '403': *29 '404': *6 x-github: @@ -15303,9 +15671,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *40 - - *110 + - *113 responses: - '204': *112 + '204': *115 '403': *29 '404': *6 x-github: @@ -15345,7 +15713,7 @@ paths: - push - repository default: branch - enforcement: &119 + enforcement: &122 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -15358,7 +15726,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &120 + items: &123 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -15395,7 +15763,7 @@ paths: - always - pull_request default: always - conditions: &124 + conditions: &127 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -15409,7 +15777,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &113 + - &116 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -15435,7 +15803,7 @@ paths: type: string required: - organization_name - - &116 + - &119 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -15464,7 +15832,7 @@ paths: is prevented. required: - repository_name - - &115 + - &118 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -15492,8 +15860,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *113 - - &118 + - *116 + - &121 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -15506,7 +15874,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &114 + items: &117 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -15537,16 +15905,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *114 + items: *117 required: - repository_property - - *115 + - *118 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &117 + - &120 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -15563,25 +15931,25 @@ paths: type: integer required: - organization_id - - *116 - - *115 + - *119 + - *118 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *117 + - *120 + - *121 - *118 - - *115 rules: type: array description: An array of rules within the ruleset. - items: &121 + items: &124 title: Repository Rule type: object description: A repository rule. oneOf: - - &604 + - &612 title: creation description: Only allow users with bypass permission to create matching refs. @@ -15593,7 +15961,7 @@ paths: type: string enum: - creation - - &605 + - &613 title: update description: Only allow users with bypass permission to update matching refs. @@ -15614,7 +15982,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &607 + - &615 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -15626,7 +15994,7 @@ paths: type: string enum: - deletion - - &608 + - &616 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -15638,7 +16006,7 @@ paths: type: string enum: - required_linear_history - - &609 + - &617 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -15714,7 +16082,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &610 + - &618 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -15738,7 +16106,7 @@ paths: type: string required: - required_deployment_environments - - &611 + - &619 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -15750,7 +16118,7 @@ paths: type: string enum: - required_signatures - - &612 + - &620 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -15801,7 +16169,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &613 + - &621 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -15848,7 +16216,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &614 + - &622 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -15860,7 +16228,7 @@ paths: type: string enum: - non_fast_forward - - &615 + - &623 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -15896,7 +16264,7 @@ paths: required: - operator - pattern - - &616 + - &624 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -15932,7 +16300,7 @@ paths: required: - operator - pattern - - &617 + - &625 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -15968,7 +16336,7 @@ paths: required: - operator - pattern - - &618 + - &626 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16004,7 +16372,7 @@ paths: required: - operator - pattern - - &619 + - &627 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16130,7 +16498,7 @@ paths: maximum: 100 required: - max_file_size - - &620 + - &628 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16179,7 +16547,7 @@ paths: - repository_id required: - workflows - - &621 + - &629 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -16265,7 +16633,7 @@ paths: description: Response content: application/json: - schema: &122 + schema: &125 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -16300,11 +16668,11 @@ paths: source: type: string description: The name of the source - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 + items: *123 current_user_can_bypass: type: string description: |- @@ -16335,8 +16703,8 @@ paths: conditions: nullable: true anyOf: - - *115 - - &309 + - *118 + - &313 title: Organization ruleset conditions type: object description: |- @@ -16350,14 +16718,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *115 - - *116 + - *118 + - *119 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *115 + - *118 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -16379,11 +16747,11 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *115 - *118 + - *121 rules: type: array - items: *121 + items: *124 created_at: type: string format: date-time @@ -16391,7 +16759,7 @@ paths: type: string format: date-time examples: - default: &123 + default: &126 value: id: 21 name: super cool ruleset @@ -16450,9 +16818,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *123 + default: *126 '404': *6 '500': *97 x-github: @@ -16496,16 +16864,16 @@ paths: - tag - push - repository - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *124 + items: *123 + conditions: *127 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *124 examples: default: value: @@ -16529,9 +16897,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *123 + default: *126 '404': *6 '500': *97 x-github: @@ -16580,7 +16948,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &313 + - &317 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -16591,7 +16959,7 @@ paths: enum: - open - resolved - - &314 + - &318 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -16601,7 +16969,7 @@ paths: required: false schema: type: string - - &315 + - &319 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -16610,7 +16978,7 @@ paths: required: false schema: type: string - - &316 + - &320 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. @@ -16626,7 +16994,7 @@ paths: - *17 - *82 - *83 - - &317 + - &321 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -16635,7 +17003,7 @@ paths: required: false schema: type: string - - &318 + - &322 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -16644,7 +17012,7 @@ paths: schema: type: boolean default: false - - &319 + - &323 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -16660,7 +17028,7 @@ paths: application/json: schema: type: array - items: &320 + items: &324 type: object properties: number: *98 @@ -16679,14 +17047,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &634 + state: &642 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: &635 + resolution: &643 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -16783,7 +17151,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &321 + default: &325 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -17018,7 +17386,7 @@ paths: headers: Link: *39 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17046,7 +17414,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &328 type: object properties: total_minutes_used: @@ -17116,7 +17484,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &325 + default: &329 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -17154,7 +17522,7 @@ paths: description: Success content: application/json: - schema: &326 + schema: &330 type: object properties: total_advanced_security_committers: @@ -17209,7 +17577,7 @@ paths: required: - repositories examples: - default: &327 + default: &331 value: total_advanced_security_committers: 2 total_count: 2 @@ -17297,7 +17665,7 @@ paths: '400': *14 '403': *29 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17318,7 +17686,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *40 - - &126 + - &129 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -17362,7 +17730,7 @@ paths: '403': *29 '409': *92 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17382,7 +17750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *40 - - *126 + - *129 requestBody: required: true content: @@ -17420,7 +17788,7 @@ paths: '400': *14 '403': *29 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17448,7 +17816,7 @@ paths: description: Response content: application/json: - schema: &328 + schema: &332 type: object properties: total_gigabytes_bandwidth_used: @@ -17466,7 +17834,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &329 + default: &333 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -17498,7 +17866,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &334 type: object properties: days_left_in_billing_cycle: @@ -17516,7 +17884,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &331 + default: &335 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -17541,7 +17909,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *40 - - &164 + - &167 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -17550,7 +17918,7 @@ paths: required: false schema: type: integer - - &165 + - &168 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. @@ -17558,7 +17926,7 @@ paths: required: false schema: type: integer - - &166 + - &169 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. @@ -17566,7 +17934,7 @@ paths: required: false schema: type: integer - - &167 + - &170 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. @@ -17586,7 +17954,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &168 + schema: &171 type: object properties: usageItems: @@ -17639,7 +18007,7 @@ paths: - netAmount - organizationName examples: - default: &169 + default: &172 value: usageItems: - date: '2023-08-01' @@ -17656,7 +18024,7 @@ paths: '400': *14 '403': *29 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17727,13 +18095,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 + default: *131 '500': *97 '403': *29 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17768,7 +18136,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *40 - - &282 + - &286 name: team_slug description: The slug of the team name. in: path @@ -17806,9 +18174,9 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: &226 + default: &229 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -17964,7 +18332,7 @@ paths: application/json: schema: type: array - items: &159 + items: &162 title: Event description: Event type: object @@ -17974,7 +18342,7 @@ paths: type: type: string nullable: true - actor: &131 + actor: &134 title: Actor description: Actor type: object @@ -18014,18 +18382,18 @@ paths: - id - name - url - org: *131 + org: *134 payload: type: object properties: action: type: string - issue: &147 + issue: &150 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &543 + properties: &551 id: type: integer format: int64 @@ -18136,7 +18504,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &479 + properties: &487 url: type: string format: uri @@ -18206,7 +18574,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &480 + required: &488 - closed_issues - creator - description @@ -18295,9 +18663,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 - author_association: &134 + properties: *135 + required: *136 + author_association: &137 title: author_association type: string example: OWNER @@ -18311,7 +18679,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &135 + reactions: &138 title: Reaction Rollup type: object properties: @@ -18361,7 +18729,7 @@ paths: - total - completed - percent_completed - required: &544 + required: &552 - assignee - closed_at - comments @@ -18383,7 +18751,7 @@ paths: - author_association - created_at - updated_at - comment: &541 + comment: &549 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -18431,7 +18799,7 @@ paths: issue_url: type: string format: uri - author_association: *134 + author_association: *137 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -18441,9 +18809,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 - reactions: *135 + properties: *135 + required: *136 + reactions: *138 required: - id - node_id @@ -18538,7 +18906,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18619,7 +18987,7 @@ paths: _links: type: object properties: - timeline: &136 + timeline: &139 title: Link With Type description: Hypermedia Link with Type type: object @@ -18631,17 +18999,17 @@ paths: required: - href - type - user: *136 - security_advisories: *136 - current_user: *136 - current_user_public: *136 - current_user_actor: *136 - current_user_organization: *136 + user: *139 + security_advisories: *139 + current_user: *139 + current_user_public: *139 + current_user_actor: *139 + current_user_organization: *139 current_user_organizations: type: array - items: *136 - repository_discussions: *136 - repository_discussions_category: *136 + items: *139 + repository_discussions: *139 + repository_discussions_category: *139 required: - timeline - user @@ -18703,7 +19071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *137 + - *140 - *17 - *19 responses: @@ -18713,7 +19081,7 @@ paths: application/json: schema: type: array - items: &138 + items: &141 title: Base Gist description: Base Gist type: object @@ -18812,7 +19180,7 @@ paths: - created_at - updated_at examples: - default: &139 + default: &142 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -18933,7 +19301,7 @@ paths: description: Response content: application/json: - schema: &140 + schema: &143 title: Gist Simple description: Gist Simple type: object @@ -18950,7 +19318,7 @@ paths: url: type: string format: uri - user: &691 + user: &699 title: Public User description: Public User type: object @@ -19312,7 +19680,7 @@ paths: truncated: type: boolean examples: - default: &141 + default: &144 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -19416,7 +19784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *137 + - *140 - *17 - *19 responses: @@ -19426,9 +19794,9 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 + default: *142 headers: Link: *39 '422': *15 @@ -19450,7 +19818,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *137 + - *140 - *17 - *19 responses: @@ -19460,9 +19828,9 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 + default: *142 headers: Link: *39 '401': *25 @@ -19490,7 +19858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &142 + - &145 name: gist_id description: The unique identifier of the gist. in: path @@ -19502,10 +19870,10 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: - default: *141 - '403': &145 + default: *144 + '403': &148 description: Forbidden Gist content: application/json: @@ -19553,7 +19921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *142 + - *145 requestBody: required: true content: @@ -19613,9 +19981,9 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: - updateGist: *141 + updateGist: *144 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -19773,7 +20141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *142 + - *145 responses: '204': description: Response @@ -19802,7 +20170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *142 + - *145 - *17 - *19 responses: @@ -19812,7 +20180,7 @@ paths: application/json: schema: type: array - items: &143 + items: &146 title: Gist Comment description: A comment made to a gist. type: object @@ -19847,7 +20215,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *134 + author_association: *137 required: - url - id @@ -19912,7 +20280,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *142 + - *145 requestBody: required: true content: @@ -19937,9 +20305,9 @@ paths: description: Response content: application/json: - schema: *143 + schema: *146 examples: - default: &144 + default: &147 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -19997,8 +20365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *142 - - &146 + - *145 + - &149 name: comment_id description: The unique identifier of the comment. in: path @@ -20011,12 +20379,12 @@ paths: description: Response content: application/json: - schema: *143 + schema: *146 examples: - default: *144 + default: *147 '304': *37 '404': *6 - '403': *145 + '403': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20038,8 +20406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *142 - - *146 + - *145 + - *149 requestBody: required: true content: @@ -20064,9 +20432,9 @@ paths: description: Response content: application/json: - schema: *143 + schema: *146 examples: - default: *144 + default: *147 '404': *6 x-github: githubCloudOnly: false @@ -20083,8 +20451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *142 - - *146 + - *145 + - *149 responses: '204': description: Response @@ -20107,7 +20475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *142 + - *145 - *17 - *19 responses: @@ -20208,7 +20576,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *142 + - *145 - *17 - *19 responses: @@ -20218,7 +20586,7 @@ paths: application/json: schema: type: array - items: *140 + items: *143 examples: default: value: @@ -20283,13 +20651,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *142 + - *145 responses: '201': description: Response content: application/json: - schema: *138 + schema: *141 examples: default: value: @@ -20360,7 +20728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *142 + - *145 responses: '204': description: Response if gist is starred @@ -20390,7 +20758,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *142 + - *145 responses: '204': description: Response @@ -20412,7 +20780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *142 + - *145 responses: '204': description: Response @@ -20441,7 +20809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *142 + - *145 - name: sha in: path required: true @@ -20452,9 +20820,9 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: - default: *141 + default: *144 '422': *15 '404': *6 '403': *29 @@ -20820,7 +21188,7 @@ paths: - closed - all default: open - - &271 + - &275 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -20839,7 +21207,7 @@ paths: - comments default: created - *84 - - *137 + - *140 - name: collab in: query required: false @@ -20869,9 +21237,9 @@ paths: application/json: schema: type: array - items: *147 + items: *150 examples: - default: &272 + default: &276 value: - id: 1 node_id: MDU6SXNzdWUx @@ -21155,8 +21523,8 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 examples: default: value: @@ -21440,7 +21808,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &150 + X-CommonMarker-Version: &153 example: 0.17.4 schema: type: string @@ -21495,7 +21863,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *150 + X-CommonMarker-Version: *153 content: text/html: schema: @@ -21524,7 +21892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &153 + - &156 name: account_id description: account_id parameter in: path @@ -21536,7 +21904,7 @@ paths: description: Response content: application/json: - schema: &152 + schema: &155 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -21566,7 +21934,7 @@ paths: nullable: true id: type: integer - plan: &151 + plan: &154 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -21655,7 +22023,7 @@ paths: nullable: true updated_at: type: string - plan: *151 + plan: *154 required: - url - id @@ -21663,7 +22031,7 @@ paths: - login - marketplace_purchase examples: - default: &154 + default: &157 value: url: https://api.github.com/orgs/github type: Organization @@ -21748,9 +22116,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: &155 + default: &158 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -21790,14 +22158,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &156 + - &159 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &157 + - &160 name: sort description: The property to sort the results by. in: query @@ -21827,9 +22195,9 @@ paths: application/json: schema: type: array - items: *152 + items: *155 examples: - default: &158 + default: &161 value: - url: https://api.github.com/orgs/github type: Organization @@ -21903,15 +22271,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *153 + - *156 responses: '200': description: Response content: application/json: - schema: *152 + schema: *155 examples: - default: *154 + default: *157 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -21943,9 +22311,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: *155 + default: *158 headers: Link: *39 '401': *25 @@ -21968,8 +22336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *156 - - *157 + - *159 + - *160 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -21989,9 +22357,9 @@ paths: application/json: schema: type: array - items: *152 + items: *155 examples: - default: *158 + default: *161 headers: Link: *39 '401': *25 @@ -22255,14 +22623,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: - - &351 + - &359 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &352 + - &360 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -22279,7 +22647,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -22333,7 +22701,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &365 + '301': &373 description: Moved permanently content: application/json: @@ -22355,7 +22723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &573 + - &581 name: all description: If `true`, show notifications marked as read. in: query @@ -22363,7 +22731,7 @@ paths: schema: type: boolean default: false - - &574 + - &582 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -22372,8 +22740,8 @@ paths: schema: type: boolean default: false - - *137 - - &575 + - *140 + - &583 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: @@ -22398,18 +22766,18 @@ paths: application/json: schema: type: array - items: &160 + items: &163 title: Thread description: Thread type: object properties: id: type: string - repository: &190 + repository: &193 title: Minimal Repository description: Minimal Repository type: object - properties: &243 + properties: &247 id: type: integer format: int64 @@ -22685,7 +23053,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &306 + security_and_analysis: &310 nullable: true type: object properties: @@ -22749,7 +23117,7 @@ paths: enum: - enabled - disabled - required: &244 + required: &248 - archive_url - assignees_url - blobs_url @@ -22837,7 +23205,7 @@ paths: - url - subscription_url examples: - default: &576 + default: &584 value: - id: '1' repository: @@ -23003,7 +23371,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &161 + - &164 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -23017,7 +23385,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *163 examples: default: value: @@ -23120,7 +23488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *161 + - *164 responses: '205': description: Reset Content @@ -23143,7 +23511,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *161 + - *164 responses: '204': description: No content @@ -23166,13 +23534,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *161 + - *164 responses: '200': description: Response content: application/json: - schema: &162 + schema: &165 title: Thread Subscription description: Thread Subscription type: object @@ -23209,7 +23577,7 @@ paths: - url - subscribed examples: - default: &163 + default: &166 value: subscribed: true ignored: false @@ -23240,7 +23608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *161 + - *164 requestBody: required: false content: @@ -23261,9 +23629,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *163 + default: *166 '304': *37 '403': *29 '401': *25 @@ -23286,7 +23654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *161 + - *164 responses: '204': description: Response @@ -23383,7 +23751,7 @@ paths: type: array items: *58 examples: - default: &709 + default: &717 value: - login: github id: 1 @@ -23447,7 +23815,7 @@ paths: type: integer custom_roles: type: array - items: &227 + items: &230 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -23495,7 +23863,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &231 value: id: 8030 name: Security Engineer @@ -23541,29 +23909,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - &170 + - &173 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string - - *164 - - *165 - - *166 - *167 + - *168 + - *169 + - *170 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *168 + schema: *171 examples: - default: *169 + default: *172 '400': *14 '403': *29 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23589,13 +23957,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: &171 + schema: &174 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -23898,7 +24266,7 @@ paths: - updated_at - archived_at examples: - default-response: &172 + default-response: &175 value: login: github id: 1 @@ -23991,7 +24359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *170 + - *173 requestBody: required: false content: @@ -24214,17 +24582,17 @@ paths: description: Response content: application/json: - schema: *171 + schema: *174 examples: - default: *172 + default: *175 '422': description: Validation failed content: application/json: schema: oneOf: - - *173 - - *174 + - *176 + - *177 '409': *92 x-github: githubCloudOnly: false @@ -24248,7 +24616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *170 + - *173 responses: '202': *93 '404': *6 @@ -24273,15 +24641,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *175 + schema: *178 examples: - default: *176 + default: *179 headers: Link: *39 x-github: @@ -24304,7 +24672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -24322,7 +24690,7 @@ paths: type: integer repository_cache_usages: type: array - items: &370 + items: &378 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24377,7 +24745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -24397,7 +24765,7 @@ paths: type: array items: *41 examples: - default: *177 + default: *180 headers: Link: *39 x-github: @@ -24417,7 +24785,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *170 + - *173 requestBody: required: true content: @@ -24510,7 +24878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -24546,7 +24914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -24581,15 +24949,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *178 + schema: *181 examples: - default: *179 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24607,7 +24975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -24625,7 +24993,7 @@ paths: type: array items: *44 examples: - default: *180 + default: *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24643,7 +25011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -24687,7 +25055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *170 + - *173 - *46 responses: '200': @@ -24716,7 +25084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *170 + - *173 - *46 requestBody: required: true @@ -24779,7 +25147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *170 + - *173 - *46 responses: '202': @@ -24808,13 +25176,13 @@ 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-an-organization parameters: - - *170 + - *173 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &181 + schema: &184 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -24828,7 +25196,7 @@ paths: required: - include_claim_keys examples: - default: &182 + default: &185 value: include_claim_keys: - repo @@ -24850,20 +25218,20 @@ 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-an-organization parameters: - - *170 + - *173 requestBody: required: true content: application/json: - schema: *181 + schema: *184 examples: - default: *182 + default: *185 responses: '201': description: Empty response content: application/json: - schema: &201 + schema: &204 title: Empty Object description: An object without any properties. type: object @@ -24893,7 +25261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -24902,7 +25270,7 @@ paths: schema: type: object properties: - enabled_repositories: &184 + enabled_repositories: &187 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -24916,7 +25284,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *48 - selected_actions_url: *183 + selected_actions_url: *186 required: - enabled_repositories examples: @@ -24945,7 +25313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *170 + - *173 responses: '204': description: Response @@ -24956,7 +25324,7 @@ paths: schema: type: object properties: - enabled_repositories: *184 + enabled_repositories: *187 allowed_actions: *48 required: - enabled_repositories @@ -24984,7 +25352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -25004,7 +25372,7 @@ paths: type: array items: *63 examples: - default: &703 + default: &711 value: total_count: 1 repositories: @@ -25144,7 +25512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *170 + - *173 responses: '204': description: Response @@ -25188,8 +25556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *170 - - &185 + - *173 + - &188 name: repository_id description: The unique identifier of the repository. in: path @@ -25217,8 +25585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *170 - - *185 + - *173 + - *188 responses: '204': description: Response @@ -25241,7 +25609,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -25272,7 +25640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *170 + - *173 responses: '204': description: Response @@ -25304,13 +25672,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *186 + schema: *189 examples: default: *54 x-github: @@ -25333,7 +25701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *170 + - *173 responses: '204': description: Success response @@ -25344,7 +25712,7 @@ paths: required: false content: application/json: - schema: *187 + schema: *190 examples: default: *54 x-github: @@ -25366,7 +25734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *170 + - *173 - *17 - *19 - name: visible_to_repository @@ -25391,7 +25759,7 @@ paths: type: number runner_groups: type: array - items: &188 + items: &191 type: object properties: id: @@ -25507,7 +25875,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *170 + - *173 requestBody: required: true content: @@ -25579,9 +25947,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: &189 + default: &192 value: id: 2 name: octo-runner-group @@ -25616,14 +25984,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *170 + - *173 - *57 responses: '200': description: Response content: application/json: - schema: *188 + schema: *191 examples: default: value: @@ -25659,7 +26027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *170 + - *173 - *57 requestBody: required: true @@ -25714,9 +26082,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *189 + default: *192 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -25735,7 +26103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *170 + - *173 - *57 responses: '204': @@ -25759,7 +26127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *170 + - *173 - *57 - *17 - *19 @@ -25780,7 +26148,7 @@ paths: type: array items: *41 examples: - default: *177 + default: *180 headers: Link: *39 x-github: @@ -25802,7 +26170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *170 + - *173 - *57 - *19 - *17 @@ -25821,9 +26189,9 @@ paths: type: number repositories: type: array - items: *190 + items: *193 examples: - default: &694 + default: &702 value: total_count: 1 repositories: @@ -26075,7 +26443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *170 + - *173 - *57 requestBody: required: true @@ -26120,9 +26488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *170 + - *173 - *57 - - *185 + - *188 responses: '204': description: Response @@ -26144,9 +26512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *170 + - *173 - *57 - - *185 + - *188 responses: '204': description: Response @@ -26169,7 +26537,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *170 + - *173 - *57 - *17 - *19 @@ -26211,7 +26579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *170 + - *173 - *57 requestBody: required: true @@ -26256,7 +26624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *170 + - *173 - *57 - *60 responses: @@ -26280,7 +26648,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *170 + - *173 - *57 - *60 responses: @@ -26312,7 +26680,7 @@ paths: in: query schema: type: string - - *170 + - *173 - *17 - *19 responses: @@ -26356,7 +26724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -26364,9 +26732,9 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: - default: *192 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26388,7 +26756,7 @@ 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-an-organization parameters: - - *170 + - *173 requestBody: required: true content: @@ -26431,7 +26799,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *193 + '201': *196 '404': *6 '422': *7 x-github: @@ -26461,7 +26829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *170 + - *173 responses: '201': description: Response @@ -26469,7 +26837,7 @@ paths: application/json: schema: *64 examples: - default: *194 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26497,7 +26865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *170 + - *173 responses: '201': description: Response @@ -26505,7 +26873,7 @@ paths: application/json: schema: *64 examples: - default: *195 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26527,7 +26895,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *170 + - *173 - *60 responses: '200': @@ -26536,7 +26904,7 @@ paths: application/json: schema: *61 examples: - default: *196 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26557,7 +26925,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *170 + - *173 - *60 responses: '204': @@ -26583,7 +26951,7 @@ 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-an-organization parameters: - - *170 + - *173 - *60 responses: '200': *66 @@ -26608,7 +26976,7 @@ 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-an-organization parameters: - - *170 + - *173 - *60 requestBody: required: true @@ -26657,7 +27025,7 @@ 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-an-organization parameters: - - *170 + - *173 - *60 requestBody: required: true @@ -26707,10 +27075,10 @@ 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-an-organization parameters: - - *170 + - *173 - *60 responses: - '200': *197 + '200': *200 '404': *6 x-github: githubCloudOnly: false @@ -26737,9 +27105,9 @@ 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-an-organization parameters: - - *170 + - *173 - *60 - - *198 + - *201 responses: '200': *66 '404': *6 @@ -26766,7 +27134,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *170 + - *173 - *17 - *19 responses: @@ -26784,7 +27152,7 @@ paths: type: integer secrets: type: array - items: &199 + items: &202 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -26857,13 +27225,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: &390 + schema: &398 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -26892,7 +27260,7 @@ paths: - key_id - key examples: - default: &391 + default: &399 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26917,8 +27285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *170 - - &200 + - *173 + - &203 name: secret_name description: The name of the secret. in: path @@ -26930,7 +27298,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *202 examples: default: value: @@ -26960,8 +27328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -27016,7 +27384,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -27042,8 +27410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 responses: '204': description: Response @@ -27069,8 +27437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - *19 - *17 responses: @@ -27088,9 +27456,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *193 examples: - default: &204 + default: &207 value: total_count: 1 repositories: @@ -27182,8 +27550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -27235,8 +27603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -27269,8 +27637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -27302,8 +27670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *170 - - &375 + - *173 + - &383 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)." @@ -27327,7 +27695,7 @@ paths: type: integer variables: type: array - items: &202 + items: &205 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -27412,7 +27780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *170 + - *173 requestBody: required: true content: @@ -27460,7 +27828,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -27485,8 +27853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *170 - - &203 + - *173 + - &206 name: name description: The name of the variable. in: path @@ -27498,7 +27866,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *205 examples: default: value: @@ -27528,8 +27896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 requestBody: required: true content: @@ -27591,8 +27959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 responses: '204': description: Response @@ -27618,8 +27986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 - *19 - *17 responses: @@ -27637,9 +28005,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *193 examples: - default: *204 + default: *207 '409': description: Response when the visibility of the variable is not set to `selected` @@ -27665,8 +28033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 requestBody: required: true content: @@ -27715,8 +28083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 - name: repository_id in: path required: true @@ -27750,8 +28118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 - name: repository_id in: path required: true @@ -27782,7 +28150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -27809,11 +28177,11 @@ paths: required: true content: application/json: - schema: *205 + schema: *208 examples: default: *69 parameters: - - *170 + - *173 responses: '200': description: Response @@ -27837,7 +28205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *170 + - *173 responses: '204': description: Response @@ -27865,7 +28233,7 @@ paths: - *17 - *82 - *83 - - *170 + - *173 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -27908,7 +28276,7 @@ paths: bundle_url: type: string examples: - default: &404 + default: &412 value: attestations: - bundle: @@ -28026,7 +28394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *170 + - *173 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -28034,10 +28402,10 @@ paths: required: false schema: type: string - - *206 - - *207 - - *208 - *209 + - *210 + - *211 + - *212 - *17 responses: '200': @@ -28046,9 +28414,9 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: *211 + default: *214 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28065,7 +28433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -28077,7 +28445,7 @@ paths: type: array items: *4 examples: - default: &273 + default: &277 value: - login: octocat id: 1 @@ -28115,8 +28483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *170 - - &212 + - *173 + - &215 name: username description: The handle for the GitHub user account. in: path @@ -28147,8 +28515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -28168,8 +28536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -28195,14 +28563,14 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *170 - - &310 + - *173 + - &314 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - &421 + - &429 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -28210,7 +28578,7 @@ paths: required: false schema: type: string - - &422 + - &430 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -28218,7 +28586,7 @@ paths: required: false schema: type: string - - &311 + - &315 name: time_period description: |- The time period to filter by. @@ -28234,7 +28602,7 @@ paths: - week - month default: day - - &423 + - &431 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -28259,7 +28627,7 @@ paths: application/json: schema: type: array - items: &424 + items: &432 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -28414,7 +28782,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &425 + default: &433 value: - id: 21 number: 42 @@ -28500,9 +28868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *170 - - *213 - - *214 + - *173 + - *216 + - *217 - *82 - *83 - *19 @@ -28513,7 +28881,7 @@ paths: be returned. in: query required: false - schema: *215 + schema: *218 - name: sort description: The property by which to sort the results. in: query @@ -28529,7 +28897,7 @@ paths: be returned. in: query required: false - schema: &436 + schema: &444 type: string description: Severity of a code scanning alert. enum: @@ -28547,13 +28915,13 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: - default: *217 + default: *220 headers: Link: *39 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28575,7 +28943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *170 + - *173 - name: target_type in: query description: The target type of the code security configuration @@ -28682,7 +29050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *170 + - *173 requestBody: required: true content: @@ -28857,7 +29225,7 @@ paths: application/json: schema: *88 examples: - default: *218 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28879,15 +29247,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *220 + default: *223 '304': *37 '403': *29 '404': *6 @@ -28913,7 +29281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *170 + - *173 requestBody: required: true content: @@ -28936,7 +29304,7 @@ paths: - 32 - 91 responses: - '204': *112 + '204': *115 '400': *14 '403': *29 '404': *6 @@ -28962,7 +29330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *170 + - *173 - *90 responses: '200': @@ -28971,7 +29339,7 @@ paths: application/json: schema: *88 examples: - default: *218 + default: *221 '304': *37 '403': *29 '404': *6 @@ -28995,7 +29363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *170 + - *173 - *90 requestBody: required: true @@ -29203,10 +29571,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *170 + - *173 - *90 responses: - '204': *112 + '204': *115 '400': *14 '403': *29 '404': *6 @@ -29234,7 +29602,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *170 + - *173 - *90 requestBody: required: true @@ -29298,7 +29666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *170 + - *173 - *90 requestBody: required: true @@ -29344,7 +29712,7 @@ paths: default: value: default_for_new_repos: all - configuration: *218 + configuration: *221 '403': *29 '404': *6 x-github: @@ -29368,7 +29736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *170 + - *173 - *90 - name: per_page description: The number of results per page (max 100). For more information, @@ -29397,13 +29765,13 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *222 + repository: *225 '403': *29 '404': *6 x-github: @@ -29427,7 +29795,7 @@ paths: parameters: - *17 - *19 - - *170 + - *173 responses: '200': description: Response @@ -29443,7 +29811,7 @@ paths: type: integer codespaces: type: array - items: &274 + items: &278 type: object title: Codespace description: A codespace. @@ -29468,12 +29836,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *190 + repository: *193 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &465 + properties: &473 name: type: string description: The name of the machine. @@ -29515,7 +29883,7 @@ paths: - ready - in_progress nullable: true - required: &466 + required: &474 - name - display_name - operating_system @@ -29720,7 +30088,7 @@ paths: - pulls_url - recent_folders examples: - default: &275 + default: &279 value: total_count: 3 codespaces: @@ -30152,7 +30520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *170 + - *173 deprecated: true requestBody: required: true @@ -30219,7 +30587,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *170 + - *173 deprecated: true requestBody: required: true @@ -30274,7 +30642,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *170 + - *173 requestBody: required: true content: @@ -30326,7 +30694,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *170 + - *173 - *17 - *19 responses: @@ -30344,7 +30712,7 @@ paths: type: integer secrets: type: array - items: &223 + items: &226 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -30383,7 +30751,7 @@ paths: - updated_at - visibility examples: - default: &467 + default: &475 value: total_count: 2 secrets: @@ -30415,13 +30783,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: &468 + schema: &476 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -30450,7 +30818,7 @@ paths: - key_id - key examples: - default: &469 + default: &477 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30473,16 +30841,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 responses: '200': description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: &471 + default: &479 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30509,8 +30877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -30565,7 +30933,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -30591,8 +30959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 responses: '204': description: Response @@ -30617,8 +30985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - *19 - *17 responses: @@ -30636,9 +31004,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *193 examples: - default: *204 + default: *207 '404': *6 x-github: githubCloudOnly: false @@ -30660,8 +31028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -30711,8 +31079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -30745,8 +31113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -30785,7 +31153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *170 + - *173 responses: '200': description: OK @@ -30928,7 +31296,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *170 + - *173 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -30951,9 +31319,9 @@ paths: currently being billed. seats: type: array - items: *224 + items: *227 examples: - default: *225 + default: *228 headers: Link: *39 '500': *97 @@ -30989,7 +31357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *170 + - *173 requestBody: content: application/json: @@ -31067,7 +31435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *170 + - *173 requestBody: content: application/json: @@ -31147,7 +31515,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *170 + - *173 requestBody: content: application/json: @@ -31224,7 +31592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *170 + - *173 requestBody: content: application/json: @@ -31305,7 +31673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *170 + - *173 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -31337,13 +31705,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 + default: *131 '500': *97 '403': *29 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31374,7 +31742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members parameters: - - *170 + - *173 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -31406,9 +31774,9 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: *226 + default: *229 '500': *97 '401': *25 '403': *29 @@ -31434,7 +31802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *170 + - *173 - *17 - name: page description: Page token @@ -31578,7 +31946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *170 + - *173 - name: credential_id in: path required: true @@ -31609,7 +31977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *170 + - *173 responses: '200': description: Response - list of custom role names @@ -31624,7 +31992,7 @@ paths: type: integer custom_roles: type: array - items: *227 + items: *230 examples: default: value: @@ -31711,12 +32079,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *170 + - *173 requestBody: required: true content: application/json: - schema: &230 + schema: &233 type: object properties: name: @@ -31757,9 +32125,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '422': *15 '404': *6 x-github: @@ -31783,8 +32151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *170 - - &229 + - *173 + - &232 name: role_id description: The unique identifier of the role. in: path @@ -31796,9 +32164,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '404': *6 x-github: githubCloudOnly: true @@ -31820,13 +32188,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *170 - - *229 + - *173 + - *232 requestBody: required: true content: application/json: - schema: &231 + schema: &234 type: object properties: name: @@ -31864,9 +32232,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '422': *15 '404': *6 x-github: @@ -31890,8 +32258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *170 - - *229 + - *173 + - *232 responses: '204': description: Response @@ -31919,12 +32287,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *170 + - *173 requestBody: required: true content: application/json: - schema: *230 + schema: *233 examples: default: value: @@ -31938,9 +32306,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '422': *15 '404': *6 x-github: @@ -31970,16 +32338,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *170 - - *229 + - *173 + - *232 responses: '200': description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '404': *6 x-github: githubCloudOnly: true @@ -32007,13 +32375,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *170 - - *229 + - *173 + - *232 requestBody: required: true content: application/json: - schema: *231 + schema: *234 examples: default: value: @@ -32028,9 +32396,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '422': *15 '404': *6 x-github: @@ -32060,8 +32428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *170 - - *229 + - *173 + - *232 responses: '204': description: Response @@ -32089,18 +32457,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *170 - - *232 - - *233 - - *234 + - *173 - *235 - *236 - *237 + - *238 + - *239 + - *240 + - *241 - *84 - *82 - *83 - - *238 - - *239 + - *242 + - *243 - *17 responses: '200': @@ -32109,9 +32478,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *241 + default: *245 '304': *37 '400': *14 '403': *29 @@ -32137,7 +32506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *170 + - *173 - *17 - *19 responses: @@ -32155,7 +32524,7 @@ paths: type: integer secrets: type: array - items: &242 + items: &246 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -32226,13 +32595,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: &498 + schema: &506 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -32249,7 +32618,7 @@ paths: - key_id - key examples: - default: &499 + default: &507 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32272,14 +32641,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 responses: '200': description: Response content: application/json: - schema: *242 + schema: *246 examples: default: value: @@ -32307,8 +32676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -32363,7 +32732,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -32387,8 +32756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 responses: '204': description: Response @@ -32412,8 +32781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - *19 - *17 responses: @@ -32431,9 +32800,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *193 examples: - default: *204 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32454,8 +32823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -32505,8 +32874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -32537,8 +32906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -32568,7 +32937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -32576,7 +32945,7 @@ paths: application/json: schema: type: array - items: &286 + items: &290 title: Package description: A software package type: object @@ -32626,8 +32995,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *243 - required: *244 + properties: *247 + required: *248 nullable: true created_at: type: string @@ -32646,7 +33015,7 @@ paths: - created_at - updated_at examples: - default: &287 + default: &291 value: - id: 197 name: hello_docker @@ -32724,7 +33093,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *170 + - *173 - *17 - *19 responses: @@ -32734,7 +33103,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: 200-response: value: @@ -32804,7 +33173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *170 + - *173 - name: group_id description: The unique identifier of the group. in: path @@ -32830,7 +33199,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &354 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -32911,7 +33280,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &347 + default: &355 value: group_id: '123' group_name: Octocat admins @@ -32949,7 +33318,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *170 + - *173 - *17 - name: page description: Page token @@ -32966,7 +33335,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &352 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -33003,7 +33372,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &345 + default: &353 value: groups: - group_id: '123' @@ -33037,7 +33406,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *170 + - *173 - *17 - *19 responses: @@ -33047,7 +33416,7 @@ paths: application/json: schema: type: array - items: &267 + items: &271 title: Organization Invitation description: Organization Invitation type: object @@ -33094,7 +33463,7 @@ paths: - invitation_teams_url - node_id examples: - default: &268 + default: &272 value: - id: 1 login: monalisa @@ -33153,7 +33522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -33161,7 +33530,7 @@ paths: application/json: schema: type: array - items: &307 + items: &311 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -33175,7 +33544,7 @@ paths: - name - description examples: - default: &308 + default: &312 value: - name: add_assignee description: Assign or remove a user @@ -33206,7 +33575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *170 + - *173 - *17 - *19 responses: @@ -33216,7 +33585,7 @@ paths: application/json: schema: type: array - items: &245 + items: &249 title: Org Hook description: Org Hook type: object @@ -33325,7 +33694,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *170 + - *173 requestBody: required: true content: @@ -33385,9 +33754,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *249 examples: - default: &246 + default: &250 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -33431,8 +33800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *170 - - &247 + - *173 + - &251 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. @@ -33445,9 +33814,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *249 examples: - default: *246 + default: *250 '404': *6 x-github: githubCloudOnly: false @@ -33468,8 +33837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 requestBody: required: false content: @@ -33514,7 +33883,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *249 examples: default: value: @@ -33553,8 +33922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 responses: '204': description: Response @@ -33579,8 +33948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *170 - - *247 + - *173 + - *251 responses: '200': description: Response @@ -33608,8 +33977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *170 - - *247 + - *173 + - *251 requestBody: required: false content: @@ -33657,10 +34026,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 - *17 - - *248 + - *252 responses: '200': description: Response @@ -33668,9 +34037,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *250 + default: *254 '400': *14 '422': *15 x-github: @@ -33693,17 +34062,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 - *16 responses: '200': description: Response content: application/json: - schema: *251 + schema: *255 examples: - default: *252 + default: *256 '400': *14 '422': *15 x-github: @@ -33726,8 +34095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 - *16 responses: '202': *93 @@ -33753,8 +34122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 responses: '204': description: Response @@ -33776,8 +34145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *170 - - &257 + - *173 + - &261 name: actor_type in: path description: The type of the actor @@ -33790,14 +34159,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &258 + - &262 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &253 + - &257 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`.' @@ -33805,7 +34174,7 @@ paths: required: true schema: type: string - - &254 + - &258 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) @@ -33898,13 +34267,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *170 - - *253 - - *254 + - *173 + - *257 + - *258 - *19 - *17 - *84 - - &263 + - &267 name: sort description: The property to sort the results by. in: query @@ -33982,15 +34351,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *170 - - *253 - - *254 + - *173 + - *257 + - *258 responses: '200': description: Response content: application/json: - schema: &255 + schema: &259 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -34006,7 +34375,7 @@ paths: type: integer format: int64 examples: - default: &256 + default: &260 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -34026,24 +34395,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *170 - - &259 + - *173 + - &263 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *253 - - *254 + - *257 + - *258 responses: '200': description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *256 + default: *260 x-github: enabledForGitHubApps: true category: orgs @@ -34061,19 +34430,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *170 - - *253 - - *254 + - *173 - *257 - *258 + - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *256 + default: *260 x-github: enabledForGitHubApps: true category: orgs @@ -34090,10 +34459,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *170 - - *253 - - *254 - - &260 + - *173 + - *257 + - *258 + - &264 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -34106,7 +34475,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &265 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -34122,7 +34491,7 @@ paths: type: integer format: int64 examples: - default: &262 + default: &266 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -34158,19 +34527,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *170 - - *259 - - *253 - - *254 - - *260 + - *173 + - *263 + - *257 + - *258 + - *264 responses: '200': description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: enabledForGitHubApps: true category: orgs @@ -34187,20 +34556,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *170 + - *173 + - *261 + - *262 - *257 - *258 - - *253 - - *254 - - *260 + - *264 responses: '200': description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: enabledForGitHubApps: true category: orgs @@ -34217,14 +34586,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *170 - - *259 - - *253 - - *254 + - *173 + - *263 + - *257 + - *258 - *19 - *17 - *84 - - *263 + - *267 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -34297,7 +34666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *170 + - *173 responses: '200': description: Response @@ -34305,7 +34674,7 @@ paths: application/json: schema: *22 examples: - default: &537 + default: &545 value: id: 1 account: @@ -34374,7 +34743,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -34463,7 +34832,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -34471,12 +34840,12 @@ paths: application/json: schema: anyOf: - - &265 + - &269 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &264 + limit: &268 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -34501,7 +34870,7 @@ paths: properties: {} additionalProperties: false examples: - default: &266 + default: &270 value: limit: collaborators_only origin: organization @@ -34525,18 +34894,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *170 + - *173 requestBody: required: true content: application/json: - schema: &538 + schema: &546 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *264 + limit: *268 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -34560,9 +34929,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *269 examples: - default: *266 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -34580,7 +34949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *170 + - *173 responses: '204': description: Response @@ -34606,7 +34975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *170 + - *173 - *17 - *19 - name: role @@ -34640,9 +35009,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *268 + default: *272 headers: Link: *39 '404': *6 @@ -34666,7 +35035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *170 + - *173 requestBody: required: false content: @@ -34720,7 +35089,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *271 examples: default: value: @@ -34776,8 +35145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *170 - - &269 + - *173 + - &273 name: invitation_id description: The unique identifier of the invitation. in: path @@ -34810,8 +35179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *170 - - *269 + - *173 + - *273 - *17 - *19 responses: @@ -34821,9 +35190,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: &285 + default: &289 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34868,7 +35237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *170 + - *173 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -34898,7 +35267,7 @@ paths: - closed - all default: open - - *271 + - *275 - name: sort description: What to sort results by. in: query @@ -34911,7 +35280,7 @@ paths: - comments default: created - *84 - - *137 + - *140 - *17 - *19 responses: @@ -34921,9 +35290,9 @@ paths: application/json: schema: type: array - items: *147 + items: *150 examples: - default: *272 + default: *276 headers: Link: *39 '404': *6 @@ -34945,7 +35314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *170 + - *173 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34981,7 +35350,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '422': *15 @@ -35001,8 +35370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response if requester is an organization member and user is @@ -35033,8 +35402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -35060,8 +35429,8 @@ paths: parameters: - *17 - *19 - - *170 - - *212 + - *173 + - *215 responses: '200': description: Response @@ -35077,9 +35446,9 @@ paths: type: integer codespaces: type: array - items: *274 + items: *278 examples: - default: *275 + default: *279 '304': *37 '500': *97 '401': *25 @@ -35104,9 +35473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *170 - - *212 - - &276 + - *173 + - *215 + - &280 name: codespace_name in: path required: true @@ -35139,17 +35508,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *170 - - *212 - - *276 + - *173 + - *215 + - *280 responses: '200': description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: &464 + default: &472 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35322,14 +35691,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *224 + schema: *227 examples: default: value: @@ -35397,14 +35766,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '200': description: Response content: application/json: - schema: &277 + schema: &281 title: Org Membership description: Org Membership type: object @@ -35456,7 +35825,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &278 + response-if-user-has-an-active-admin-membership-with-organization: &282 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35524,8 +35893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 requestBody: required: false content: @@ -35553,9 +35922,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *281 examples: - response-if-user-already-had-membership-with-organization: *278 + response-if-user-already-had-membership-with-organization: *282 '422': *15 '403': *29 x-github: @@ -35576,8 +35945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -35602,7 +35971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *170 + - *173 - *17 - *19 - name: exclude @@ -35623,7 +35992,7 @@ paths: application/json: schema: type: array - items: &279 + items: &283 title: Migration description: A migration. type: object @@ -35876,7 +36245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *170 + - *173 requestBody: required: true content: @@ -35952,7 +36321,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: default: value: @@ -36130,8 +36499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *170 - - &280 + - *173 + - &284 name: migration_id description: The unique identifier of the migration. in: path @@ -36158,7 +36527,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *279 + schema: *283 examples: default: value: @@ -36327,8 +36696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *170 - - *280 + - *173 + - *284 responses: '302': description: Response @@ -36349,8 +36718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *170 - - *280 + - *173 + - *284 responses: '204': description: Response @@ -36373,9 +36742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *170 - - *280 - - &708 + - *173 + - *284 + - &716 name: repo_name description: repo_name parameter in: path @@ -36402,8 +36771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *170 - - *280 + - *173 + - *284 - *17 - *19 responses: @@ -36413,9 +36782,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: &292 + default: &296 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36554,7 +36923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -36608,7 +36977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response - list of organization roles @@ -36624,7 +36993,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &281 + items: &285 title: Organization Role description: Organization roles type: object @@ -36784,7 +37153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *170 + - *173 requestBody: required: true content: @@ -36831,7 +37200,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *285 examples: default: value: @@ -36882,8 +37251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '204': description: Response @@ -36908,9 +37277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *170 - - *282 - - *229 + - *173 + - *286 + - *232 responses: '204': description: Response @@ -36939,9 +37308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *170 - - *282 - - *229 + - *173 + - *286 + - *232 responses: '204': description: Response @@ -36966,8 +37335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -36992,9 +37361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *170 - - *212 - - *229 + - *173 + - *215 + - *232 responses: '204': description: Response @@ -37024,9 +37393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *170 - - *212 - - *229 + - *173 + - *215 + - *232 responses: '204': description: Response @@ -37054,14 +37423,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *170 - - *229 + - *173 + - *232 responses: '200': description: Response content: application/json: - schema: *281 + schema: *285 examples: default: value: @@ -37118,8 +37487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *170 - - *229 + - *173 + - *232 requestBody: required: true content: @@ -37158,7 +37527,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *285 examples: default: value: @@ -37211,8 +37580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *170 - - *229 + - *173 + - *232 responses: '204': description: Response @@ -37237,8 +37606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *170 - - *229 + - *173 + - *232 - *17 - *19 responses: @@ -37316,8 +37685,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *283 - required: *284 + properties: *287 + required: *288 nullable: true required: - id @@ -37332,7 +37701,7 @@ paths: - slug - parent examples: - default: *285 + default: *289 headers: Link: *39 '404': @@ -37361,8 +37730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *170 - - *229 + - *173 + - *232 - *17 - *19 responses: @@ -37390,13 +37759,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &323 + items: &327 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *283 - required: *284 + properties: *287 + required: *288 name: nullable: true type: string @@ -37491,7 +37860,7 @@ paths: - type - url examples: - default: *273 + default: *277 headers: Link: *39 '404': @@ -37515,7 +37884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *170 + - *173 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -37539,7 +37908,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -37564,8 +37933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *170 - - *212 + - *173 + - *215 requestBody: required: false content: @@ -37622,8 +37991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -37680,8 +38049,8 @@ paths: - docker - nuget - container - - *170 - - &710 + - *173 + - &718 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -37717,12 +38086,12 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: *287 + default: *291 '403': *29 '401': *25 - '400': &712 + '400': &720 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37744,7 +38113,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &288 + - &292 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 @@ -37762,20 +38131,20 @@ paths: - docker - nuget - container - - &289 + - &293 name: package_name description: The name of the package. in: path required: true schema: type: string - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *286 + schema: *290 examples: default: value: @@ -37827,9 +38196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *288 - - *289 - - *170 + - *292 + - *293 + - *173 responses: '204': description: Response @@ -37861,9 +38230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *288 - - *289 - - *170 + - *292 + - *293 + - *173 - name: token description: package token schema: @@ -37895,9 +38264,9 @@ 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: - - *288 - - *289 - - *170 + - *292 + - *293 + - *173 - *19 - *17 - name: state @@ -37917,7 +38286,7 @@ paths: application/json: schema: type: array - items: &290 + items: &294 title: Package Version description: A version of a software package type: object @@ -38042,10 +38411,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: - - *288 - - *289 - - *170 - - &291 + - *292 + - *293 + - *173 + - &295 name: package_version_id description: Unique identifier of the package version. in: path @@ -38057,7 +38426,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *294 examples: default: value: @@ -38093,10 +38462,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *288 - - *289 - - *170 - - *291 + - *292 + - *293 + - *173 + - *295 responses: '204': description: Response @@ -38128,10 +38497,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *288 - - *289 - - *170 - - *291 + - *292 + - *293 + - *173 + - *295 responses: '204': description: Response @@ -38158,10 +38527,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *170 + - *173 - *17 - *19 - - &293 + - &297 name: sort description: The property by which to sort the results. in: query @@ -38172,7 +38541,7 @@ paths: - created_at default: created_at - *84 - - &294 + - &298 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -38183,7 +38552,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &295 + - &299 name: repository description: The name of the repository to use to filter the results. in: query @@ -38191,7 +38560,7 @@ paths: schema: type: string example: Hello-World - - &296 + - &300 name: permission description: The permission to use to filter the results. in: query @@ -38199,7 +38568,7 @@ paths: schema: type: string example: issues_read - - &297 + - &301 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) @@ -38209,7 +38578,7 @@ paths: schema: type: string format: date-time - - &298 + - &302 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) @@ -38372,7 +38741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *170 + - *173 requestBody: required: true content: @@ -38438,7 +38807,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *170 + - *173 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38478,7 +38847,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *112 + '204': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38499,7 +38868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *170 + - *173 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38519,9 +38888,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -38544,16 +38913,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *170 + - *173 - *17 - *19 - - *293 - - *84 - - *294 - - *295 - - *296 - *297 + - *84 - *298 + - *299 + - *300 + - *301 + - *302 responses: '500': *97 '422': *15 @@ -38702,7 +39071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *170 + - *173 requestBody: required: true content: @@ -38762,7 +39131,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *170 + - *173 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -38792,7 +39161,7 @@ paths: responses: '500': *97 '404': *6 - '204': *112 + '204': *115 '403': *29 '422': *15 x-github: @@ -38814,7 +39183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *170 + - *173 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -38833,9 +39202,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -38861,7 +39230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -38879,7 +39248,7 @@ paths: type: integer configurations: type: array - items: &299 + items: &303 title: Organization private registry description: Private registry configuration for an organization type: object @@ -38955,7 +39324,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *170 + - *173 requestBody: required: true content: @@ -39085,7 +39454,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &300 + org-private-registry-with-selected-visibility: &304 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39128,7 +39497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -39178,16 +39547,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *170 - - *200 + - *173 + - *203 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '404': *6 x-github: githubCloudOnly: false @@ -39210,8 +39579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -39290,8 +39659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *170 - - *200 + - *173 + - *203 responses: '204': description: Response @@ -39316,7 +39685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *170 + - *173 - name: state description: Indicates the state of the projects to return. in: query @@ -39337,7 +39706,7 @@ paths: application/json: schema: type: array - items: &301 + items: &305 title: Project description: Projects are a way to organize columns and cards of work. @@ -39481,7 +39850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *170 + - *173 requestBody: required: true content: @@ -39507,7 +39876,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: default: value: @@ -39545,7 +39914,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &362 + '410': &370 description: Gone content: application/json: @@ -39569,7 +39938,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -39577,9 +39946,9 @@ paths: application/json: schema: type: array - items: *108 + items: *111 examples: - default: *109 + default: *112 '403': *29 '404': *6 x-github: @@ -39602,7 +39971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *170 + - *173 requestBody: required: true content: @@ -39613,7 +39982,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *108 + items: *111 minItems: 1 maxItems: 100 required: @@ -39643,9 +40012,9 @@ paths: application/json: schema: type: array - items: *108 + items: *111 examples: - default: *109 + default: *112 '403': *29 '404': *6 x-github: @@ -39666,16 +40035,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *170 - - *110 + - *173 + - *113 responses: '200': description: Response content: application/json: - schema: *108 + schema: *111 examples: - default: *111 + default: *114 '403': *29 '404': *6 x-github: @@ -39698,13 +40067,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *170 - - *110 + - *173 + - *113 requestBody: required: true content: application/json: - schema: *302 + schema: *306 examples: default: value: @@ -39720,9 +40089,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *111 examples: - default: *111 + default: *114 '403': *29 '404': *6 x-github: @@ -39745,10 +40114,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *170 - - *110 + - *173 + - *113 responses: - '204': *112 + '204': *115 '403': *29 '404': *6 x-github: @@ -39769,7 +40138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *170 + - *173 - *17 - *19 - name: repository_query @@ -39807,7 +40176,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &303 + items: &307 title: Custom Property Value description: Custom property name and associated value type: object @@ -39874,7 +40243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *170 + - *173 requestBody: required: true content: @@ -39894,7 +40263,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *303 + items: *307 required: - repository_names - properties @@ -39935,7 +40304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *170 + - *173 - *17 - *19 responses: @@ -39947,7 +40316,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -39966,8 +40335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response if user is a public member @@ -39991,8 +40360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -40013,8 +40382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -40038,7 +40407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *170 + - *173 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -40085,9 +40454,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -40108,7 +40477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *170 + - *173 requestBody: required: true content: @@ -40290,7 +40659,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &372 title: Full Repository description: Full Repository type: object @@ -40567,8 +40936,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *304 - required: *305 + properties: *308 + required: *309 nullable: true temp_clone_token: type: string @@ -40655,8 +41024,8 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true organization: title: Simple User @@ -40683,7 +41052,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &486 + properties: &494 url: type: string format: uri @@ -40699,12 +41068,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &487 + required: &495 - url - key - name - html_url - security_and_analysis: *306 + security_and_analysis: *310 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40788,7 +41157,7 @@ paths: - network_count - subscribers_count examples: - default: &366 + default: &374 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41306,7 +41675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -41314,9 +41683,9 @@ paths: application/json: schema: type: array - items: *307 + items: *311 examples: - default: *308 + default: *312 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41338,10 +41707,10 @@ paths: category: orgs subcategory: rules parameters: - - *170 + - *173 - *17 - *19 - - &622 + - &630 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41359,7 +41728,7 @@ paths: application/json: schema: type: array - items: *122 + items: *125 examples: default: value: @@ -41406,7 +41775,7 @@ paths: category: orgs subcategory: rules parameters: - - *170 + - *173 requestBody: description: Request body required: true @@ -41427,16 +41796,16 @@ paths: - push - repository default: branch - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *309 + items: *123 + conditions: *313 rules: type: array description: An array of rules within the ruleset. - items: *121 + items: *124 required: - name - enforcement @@ -41474,9 +41843,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: &312 + default: &316 value: id: 21 name: super cool ruleset @@ -41530,8 +41899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *170 - - &623 + - *173 + - &631 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 @@ -41541,16 +41910,16 @@ paths: schema: type: string x-multi-segment: true - - *310 - - *311 - - &624 + - *314 + - *315 + - &632 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 - - &625 + - &633 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -41570,7 +41939,7 @@ paths: description: Response content: application/json: - schema: &626 + schema: &634 title: Rule Suites description: Response type: array @@ -41625,7 +41994,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &627 + default: &635 value: - id: 21 actor_id: 12 @@ -41668,8 +42037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *170 - - &628 + - *173 + - &636 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41685,7 +42054,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &637 title: Rule Suite description: Response type: object @@ -41784,7 +42153,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &630 + default: &638 value: id: 21 actor_id: 12 @@ -41845,7 +42214,7 @@ paths: category: orgs subcategory: rules parameters: - - *170 + - *173 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41857,9 +42226,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *312 + default: *316 '404': *6 '500': *97 put: @@ -41877,7 +42246,7 @@ paths: category: orgs subcategory: rules parameters: - - *170 + - *173 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41903,16 +42272,16 @@ paths: - tag - push - repository - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *309 + items: *123 + conditions: *313 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *124 examples: default: value: @@ -41947,9 +42316,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *312 + default: *316 '404': *6 '500': *97 delete: @@ -41967,7 +42336,7 @@ paths: category: orgs subcategory: rules parameters: - - *170 + - *173 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41995,15 +42364,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *170 - - *313 - - *314 - - *315 - - *316 + - *173 + - *317 + - *318 + - *319 + - *320 - *84 - *19 - *17 - - &632 + - &640 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 @@ -42013,7 +42382,7 @@ paths: required: false schema: type: string - - &633 + - &641 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 @@ -42023,9 +42392,9 @@ paths: required: false schema: type: string - - *317 - - *318 - - *319 + - *321 + - *322 + - *323 responses: '200': description: Response @@ -42033,13 +42402,13 @@ paths: application/json: schema: type: array - items: *320 + items: *324 examples: - default: *321 + default: *325 headers: Link: *39 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42061,7 +42430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *170 + - *173 - *84 - name: sort description: The property to sort the results by. @@ -42105,7 +42474,7 @@ paths: application/json: schema: type: array - items: &640 + items: &648 description: A repository security advisory. type: object properties: @@ -42325,7 +42694,7 @@ paths: login: type: string description: The username of the user credited. - type: *322 + type: *326 credits_detailed: type: array nullable: true @@ -42335,7 +42704,7 @@ paths: type: object properties: user: *4 - type: *322 + type: *326 state: type: string description: The state of the user's acceptance of the @@ -42359,7 +42728,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *270 + items: *274 private_fork: readOnly: true nullable: true @@ -42396,7 +42765,7 @@ paths: - private_fork additionalProperties: false examples: - default: &641 + default: &649 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42775,7 +43144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *170 + - *173 responses: '200': description: Response @@ -42783,9 +43152,9 @@ paths: application/json: schema: type: array - items: *323 + items: *327 examples: - default: *285 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42808,8 +43177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '204': description: Response @@ -42834,8 +43203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '204': description: Response @@ -42864,15 +43233,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *324 + schema: *328 examples: - default: *325 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42896,7 +43265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -42904,9 +43273,9 @@ paths: description: Success content: application/json: - schema: *326 + schema: *330 examples: - default: *327 + default: *331 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42928,15 +43297,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *328 + schema: *332 examples: - default: *329 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42958,20 +43327,271 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *331 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/network-configurations": + get: + summary: List hosted compute network configurations for an organization + description: |- + Lists all hosted compute network configurations configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization + parameters: + - *173 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: *108 + examples: + default: *336 + headers: + Link: *39 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an organization + description: |- + Creates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *173 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: *108 + examples: + default: *109 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an organization + description: |- + Gets a hosted compute network configuration configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *173 + - *110 + responses: + '200': + description: Response + content: + application/json: + schema: *108 + examples: + default: *109 + headers: + Link: *39 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an organization + description: |- + Updates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *173 + - *110 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: *108 + examples: + default: *109 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an organization + description: |- + Deletes a hosted compute network configuration from an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization + parameters: + - *173 + - *110 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an organization + description: |- + Gets a hosted compute network settings resource configured for an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-settings-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization + parameters: + - *173 + - *337 + responses: + '200': + description: Response + content: + application/json: + schema: *338 + examples: + default: *339 + headers: + Link: *39 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations "/orgs/{org}/team-sync/groups": get: summary: List IdP groups for an organization @@ -42983,7 +43603,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *170 + - *173 - *17 - name: page description: Page token @@ -43002,7 +43622,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &361 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -43048,7 +43668,7 @@ paths: type: string nullable: true examples: - default: &354 + default: &362 value: groups: - group_id: '123' @@ -43093,8 +43713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *170 - - *282 + - *173 + - *286 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -43126,13 +43746,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 + default: *131 '500': *97 '403': *29 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43166,8 +43786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - - *170 - - *282 + - *173 + - *286 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -43199,9 +43819,9 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: *226 + default: *229 '500': *97 '401': *25 '403': *29 @@ -43223,7 +43843,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *170 + - *173 - *17 - *19 responses: @@ -43233,9 +43853,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 headers: Link: *39 '403': *29 @@ -43257,7 +43877,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *170 + - *173 requestBody: required: true content: @@ -43329,7 +43949,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &340 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43392,8 +44012,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *283 - required: *284 + properties: *287 + required: *288 nullable: true members_count: type: integer @@ -43639,7 +44259,7 @@ paths: - repos_count - organization examples: - default: &333 + default: &341 value: id: 1 node_id: MDQ6VGVhbTE= @@ -43709,16 +44329,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *170 - - *282 + - *173 + - *286 responses: '200': description: Response content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -43739,8 +44359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *170 - - *282 + - *173 + - *286 requestBody: required: false content: @@ -43802,16 +44422,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '201': description: Response content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '404': *6 '422': *15 '403': *29 @@ -43836,8 +44456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '204': description: Response @@ -43863,8 +44483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *170 - - *282 + - *173 + - *286 - *84 - *17 - *19 @@ -43881,7 +44501,7 @@ paths: application/json: schema: type: array - items: &334 + items: &342 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43960,7 +44580,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *135 + reactions: *138 required: - author - body @@ -43980,7 +44600,7 @@ paths: - updated_at - url examples: - default: &681 + default: &689 value: - author: login: octocat @@ -44054,8 +44674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *170 - - *282 + - *173 + - *286 requestBody: required: true content: @@ -44089,9 +44709,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: &335 + default: &343 value: author: login: octocat @@ -44163,9 +44783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *170 - - *282 - - &336 + - *173 + - *286 + - &344 name: discussion_number description: The number that identifies the discussion. in: path @@ -44177,9 +44797,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: *335 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44201,9 +44821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 requestBody: required: false content: @@ -44226,9 +44846,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: &682 + default: &690 value: author: login: octocat @@ -44298,9 +44918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 responses: '204': description: Response @@ -44326,9 +44946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 - *84 - *17 - *19 @@ -44339,7 +44959,7 @@ paths: application/json: schema: type: array - items: &337 + items: &345 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44396,7 +45016,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *135 + reactions: *138 required: - author - body @@ -44411,7 +45031,7 @@ paths: - updated_at - url examples: - default: &683 + default: &691 value: - author: login: octocat @@ -44479,9 +45099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 requestBody: required: true content: @@ -44503,9 +45123,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: &338 + default: &346 value: author: login: octocat @@ -44571,10 +45191,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *170 - - *282 - - *336 - - &339 + - *173 + - *286 + - *344 + - &347 name: comment_number description: The number that identifies the comment. in: path @@ -44586,9 +45206,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: *338 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44610,10 +45230,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *170 - - *282 - - *336 - - *339 + - *173 + - *286 + - *344 + - *347 requestBody: required: true content: @@ -44635,9 +45255,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: &684 + default: &692 value: author: login: octocat @@ -44701,10 +45321,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *170 - - *282 - - *336 - - *339 + - *173 + - *286 + - *344 + - *347 responses: '204': description: Response @@ -44730,10 +45350,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *170 - - *282 - - *336 - - *339 + - *173 + - *286 + - *344 + - *347 - 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. @@ -44759,7 +45379,7 @@ paths: application/json: schema: type: array - items: &340 + items: &348 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44802,7 +45422,7 @@ paths: - content - created_at examples: - default: &342 + default: &350 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44852,10 +45472,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *170 - - *282 - - *336 - - *339 + - *173 + - *286 + - *344 + - *347 requestBody: required: true content: @@ -44888,9 +45508,9 @@ paths: team discussion comment content: application/json: - schema: *340 + schema: *348 examples: - default: &341 + default: &349 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44919,9 +45539,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44944,11 +45564,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *170 - - *282 - - *336 - - *339 - - &343 + - *173 + - *286 + - *344 + - *347 + - &351 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44980,9 +45600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 - 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. @@ -45008,9 +45628,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 x-github: @@ -45036,9 +45656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 requestBody: required: true content: @@ -45070,16 +45690,16 @@ paths: description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45102,10 +45722,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *170 - - *282 - - *336 - - *343 + - *173 + - *286 + - *344 + - *351 responses: '204': description: Response @@ -45128,16 +45748,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '200': description: Response content: application/json: - schema: *344 + schema: *352 examples: - default: *345 + default: *353 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45156,8 +45776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *170 - - *282 + - *173 + - *286 requestBody: required: true content: @@ -45180,9 +45800,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *354 examples: - default: *347 + default: *355 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -45201,8 +45821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '204': description: Response @@ -45226,8 +45846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *170 - - *282 + - *173 + - *286 - *17 - *19 responses: @@ -45237,9 +45857,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *268 + default: *272 headers: Link: *39 x-github: @@ -45261,8 +45881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *170 - - *282 + - *173 + - *286 - name: role description: Filters members returned by their role in the team. in: query @@ -45285,7 +45905,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -45315,15 +45935,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *170 - - *282 - - *212 + - *173 + - *286 + - *215 responses: '200': description: Response content: application/json: - schema: &348 + schema: &356 title: Team Membership description: Team Membership type: object @@ -45350,7 +45970,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &685 + response-if-user-is-a-team-maintainer: &693 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45386,9 +46006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *170 - - *282 - - *212 + - *173 + - *286 + - *215 requestBody: required: false content: @@ -45413,9 +46033,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: &686 + response-if-users-membership-with-team-is-now-pending: &694 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45450,9 +46070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *170 - - *282 - - *212 + - *173 + - *286 + - *215 responses: '204': description: Response @@ -45478,8 +46098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *170 - - *282 + - *173 + - *286 - *17 - *19 responses: @@ -45489,7 +46109,7 @@ paths: application/json: schema: type: array - items: &349 + items: &357 title: Team Project description: A team's access to a project. type: object @@ -45557,7 +46177,7 @@ paths: - updated_at - permissions examples: - default: &687 + default: &695 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45618,9 +46238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *170 - - *282 - - &350 + - *173 + - *286 + - &358 name: project_id description: The unique identifier of the project. in: path @@ -45632,9 +46252,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *357 examples: - default: &688 + default: &696 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45694,9 +46314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *170 - - *282 - - *350 + - *173 + - *286 + - *358 requestBody: required: false content: @@ -45760,9 +46380,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *170 - - *282 - - *350 + - *173 + - *286 + - *358 responses: '204': description: Response @@ -45786,8 +46406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *170 - - *282 + - *173 + - *286 - *17 - *19 responses: @@ -45797,9 +46417,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -45828,16 +46448,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *170 - - *282 - - *351 - - *352 + - *173 + - *286 + - *359 + - *360 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &689 + schema: &697 title: Team Repository description: A team's access to a repository. type: object @@ -45860,8 +46480,8 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true forks: type: integer @@ -46406,10 +47026,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *170 - - *282 - - *351 - - *352 + - *173 + - *286 + - *359 + - *360 requestBody: required: false content: @@ -46454,10 +47074,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *170 - - *282 - - *351 - - *352 + - *173 + - *286 + - *359 + - *360 responses: '204': description: Response @@ -46483,16 +47103,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '200': description: Response content: application/json: - schema: *353 + schema: *361 examples: - default: *354 + default: *362 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -46514,8 +47134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *170 - - *282 + - *173 + - *286 requestBody: required: true content: @@ -46558,7 +47178,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *361 examples: default: value: @@ -46590,8 +47210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *170 - - *282 + - *173 + - *286 - *17 - *19 responses: @@ -46601,9 +47221,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - response-if-child-teams-exist: &690 + response-if-child-teams-exist: &698 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46656,7 +47276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *170 + - *173 - name: security_product in: path description: The security feature to enable or disable. @@ -46727,7 +47347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &355 + - &363 name: card_id description: The unique identifier of the card. in: path @@ -46739,7 +47359,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &364 title: Project Card description: Project cards represent a scope of work. type: object @@ -46806,7 +47426,7 @@ paths: - created_at - updated_at examples: - default: &357 + default: &365 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -46856,7 +47476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *355 + - *363 requestBody: required: false content: @@ -46883,9 +47503,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *364 examples: - default: *357 + default: *365 '304': *37 '403': *29 '401': *25 @@ -46906,7 +47526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *355 + - *363 responses: '204': description: Response @@ -46944,7 +47564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *355 + - *363 requestBody: required: true content: @@ -47049,7 +47669,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &358 + - &366 name: column_id description: The unique identifier of the column. in: path @@ -47061,7 +47681,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &367 title: Project Column description: Project columns contain cards of work. type: object @@ -47107,7 +47727,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &368 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47136,7 +47756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *358 + - *366 requestBody: required: true content: @@ -47160,9 +47780,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *367 examples: - default: *360 + default: *368 '304': *37 '403': *29 '401': *25 @@ -47181,7 +47801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *358 + - *366 responses: '204': description: Response @@ -47204,7 +47824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *358 + - *366 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -47225,7 +47845,7 @@ paths: application/json: schema: type: array - items: *356 + items: *364 examples: default: value: @@ -47278,7 +47898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *358 + - *366 requestBody: required: true content: @@ -47318,9 +47938,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *364 examples: - default: *357 + default: *365 '304': *37 '403': *29 '401': *25 @@ -47330,8 +47950,8 @@ paths: application/json: schema: oneOf: - - *173 - - *174 + - *176 + - *177 '503': description: Response content: @@ -47370,7 +47990,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *358 + - *366 requestBody: required: true content: @@ -47426,15 +48046,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *350 + - *358 responses: '200': description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: &361 + default: &369 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47487,7 +48107,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *350 + - *358 requestBody: required: false content: @@ -47533,9 +48153,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: *361 + default: *369 '404': description: Not Found if the authenticated user does not have access to the project @@ -47556,7 +48176,7 @@ paths: items: type: string '401': *25 - '410': *362 + '410': *370 '422': *7 x-github: githubCloudOnly: false @@ -47574,7 +48194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *350 + - *358 responses: '204': description: Delete Success @@ -47595,7 +48215,7 @@ paths: items: type: string '401': *25 - '410': *362 + '410': *370 '404': *6 x-github: githubCloudOnly: false @@ -47618,7 +48238,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *350 + - *358 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -47645,7 +48265,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '404': *6 @@ -47670,8 +48290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *350 - - *212 + - *358 + - *215 requestBody: required: false content: @@ -47718,8 +48338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *350 - - *212 + - *358 + - *215 responses: '204': description: Response @@ -47747,8 +48367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *350 - - *212 + - *358 + - *215 responses: '200': description: Response @@ -47815,7 +48435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *350 + - *358 - *17 - *19 responses: @@ -47825,7 +48445,7 @@ paths: application/json: schema: type: array - items: *359 + items: *367 examples: default: value: @@ -47857,7 +48477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *350 + - *358 requestBody: required: true content: @@ -47880,7 +48500,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *367 examples: default: value: @@ -47941,7 +48561,7 @@ paths: resources: type: object properties: - core: &363 + core: &371 title: Rate Limit type: object properties: @@ -47958,20 +48578,20 @@ paths: - remaining - reset - used - graphql: *363 - search: *363 - code_search: *363 - source_import: *363 - integration_manifest: *363 - code_scanning_upload: *363 - actions_runner_registration: *363 - scim: *363 - dependency_snapshots: *363 - code_scanning_autofix: *363 + graphql: *371 + search: *371 + code_search: *371 + source_import: *371 + integration_manifest: *371 + code_scanning_upload: *371 + actions_runner_registration: *371 + scim: *371 + dependency_snapshots: *371 + code_scanning_autofix: *371 required: - core - search - rate: *363 + rate: *371 required: - rate - resources @@ -48075,14 +48695,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *364 + schema: *372 examples: default-response: summary: Default response @@ -48587,7 +49207,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *365 + '301': *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48605,8 +49225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -48852,10 +49472,10 @@ paths: description: Response content: application/json: - schema: *364 + schema: *372 examples: - default: *366 - '307': &367 + default: *374 + '307': &375 description: Temporary Redirect content: application/json: @@ -48884,8 +49504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -48907,7 +49527,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': *367 + '307': *375 '404': *6 x-github: githubCloudOnly: false @@ -48930,11 +49550,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 - - &382 + - &390 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48957,7 +49577,7 @@ paths: type: integer artifacts: type: array - items: &368 + items: &376 title: Artifact description: An artifact type: object @@ -49028,7 +49648,7 @@ paths: - expires_at - updated_at examples: - default: &383 + default: &391 value: total_count: 2 artifacts: @@ -49087,9 +49707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *351 - - *352 - - &369 + - *359 + - *360 + - &377 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49101,7 +49721,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *376 examples: default: value: @@ -49138,9 +49758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *351 - - *352 - - *369 + - *359 + - *360 + - *377 responses: '204': description: Response @@ -49164,9 +49784,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *351 - - *352 - - *369 + - *359 + - *360 + - *377 - name: archive_format in: path required: true @@ -49180,7 +49800,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': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49203,14 +49823,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *370 + schema: *378 examples: default: value: @@ -49236,11 +49856,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: - - *351 - - *352 + - *359 + - *360 - *17 - *19 - - &371 + - &379 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 @@ -49274,7 +49894,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &380 title: Repository actions caches description: Repository actions caches type: object @@ -49316,7 +49936,7 @@ paths: - total_count - actions_caches examples: - default: &373 + default: &381 value: total_count: 1 actions_caches: @@ -49348,23 +49968,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: - - *351 - - *352 + - *359 + - *360 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *371 + - *379 responses: '200': description: Response content: application/json: - schema: *372 + schema: *380 examples: - default: *373 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49384,8 +50004,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: - - *351 - - *352 + - *359 + - *360 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49416,9 +50036,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: - - *351 - - *352 - - &374 + - *359 + - *360 + - &382 name: job_id description: The unique identifier of the job. in: path @@ -49430,7 +50050,7 @@ paths: description: Response content: application/json: - schema: &386 + schema: &394 title: Job description: Information of a job execution in a workflow run type: object @@ -49737,9 +50357,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: - - *351 - - *352 - - *374 + - *359 + - *360 + - *382 responses: '302': description: Response @@ -49767,9 +50387,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: - - *351 - - *352 - - *374 + - *359 + - *360 + - *382 requestBody: required: false content: @@ -49790,7 +50410,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -49814,8 +50434,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Status response @@ -49865,8 +50485,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -49900,7 +50520,7 @@ paths: description: Empty response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -49929,8 +50549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -49948,7 +50568,7 @@ paths: type: integer secrets: type: array - items: &388 + items: &396 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49968,7 +50588,7 @@ paths: - created_at - updated_at examples: - default: &389 + default: &397 value: total_count: 2 secrets: @@ -50001,9 +50621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *351 - - *352 - - *375 + - *359 + - *360 + - *383 - *19 responses: '200': @@ -50020,7 +50640,7 @@ paths: type: integer variables: type: array - items: &392 + items: &400 title: Actions Variable type: object properties: @@ -50050,7 +50670,7 @@ paths: - created_at - updated_at examples: - default: &393 + default: &401 value: total_count: 2 variables: @@ -50083,8 +50703,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -50093,11 +50713,11 @@ paths: schema: type: object properties: - enabled: &376 + enabled: &384 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *48 - selected_actions_url: *183 + selected_actions_url: *186 required: - enabled examples: @@ -50126,8 +50746,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -50138,7 +50758,7 @@ paths: schema: type: object properties: - enabled: *376 + enabled: *384 allowed_actions: *48 required: - enabled @@ -50169,14 +50789,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: &377 + schema: &385 type: object properties: access_level: @@ -50194,7 +50814,7 @@ paths: required: - access_level examples: - default: &378 + default: &386 value: access_level: organization x-github: @@ -50219,15 +50839,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: application/json: - schema: *377 + schema: *385 examples: - default: *378 + default: *386 responses: '204': description: Response @@ -50251,8 +50871,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -50283,8 +50903,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -50316,14 +50936,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *186 + schema: *189 examples: default: *54 x-github: @@ -50346,8 +50966,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Success response @@ -50358,7 +50978,7 @@ paths: required: true content: application/json: - schema: *187 + schema: *190 examples: default: *54 x-github: @@ -50387,8 +51007,8 @@ paths: in: query schema: type: string - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -50432,8 +51052,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -50441,9 +51061,9 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: - default: *192 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50465,8 +51085,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -50509,7 +51129,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *193 + '201': *196 '404': *6 '422': *7 x-github: @@ -50539,8 +51159,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: - - *351 - - *352 + - *359 + - *360 responses: '201': description: Response @@ -50548,7 +51168,7 @@ paths: application/json: schema: *64 examples: - default: *194 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50576,8 +51196,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: - - *351 - - *352 + - *359 + - *360 responses: '201': description: Response @@ -50585,7 +51205,7 @@ paths: application/json: schema: *64 examples: - default: *195 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50607,8 +51227,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: - - *351 - - *352 + - *359 + - *360 - *60 responses: '200': @@ -50617,7 +51237,7 @@ paths: application/json: schema: *61 examples: - default: *196 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50638,8 +51258,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: - - *351 - - *352 + - *359 + - *360 - *60 responses: '204': @@ -50665,8 +51285,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: - - *351 - - *352 + - *359 + - *360 - *60 responses: '200': *66 @@ -50691,8 +51311,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: - - *351 - - *352 + - *359 + - *360 - *60 requestBody: required: true @@ -50741,8 +51361,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: - - *351 - - *352 + - *359 + - *360 - *60 requestBody: required: true @@ -50792,11 +51412,11 @@ 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: - - *351 - - *352 + - *359 + - *360 - *60 responses: - '200': *197 + '200': *200 '404': *6 x-github: githubCloudOnly: false @@ -50823,10 +51443,10 @@ 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: - - *351 - - *352 + - *359 + - *360 - *60 - - *198 + - *201 responses: '200': *66 '404': *6 @@ -50854,9 +51474,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: - - *351 - - *352 - - &396 + - *359 + - *360 + - &404 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. @@ -50864,7 +51484,7 @@ paths: required: false schema: type: string - - &397 + - &405 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50872,7 +51492,7 @@ paths: required: false schema: type: string - - &398 + - &406 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50881,7 +51501,7 @@ paths: required: false schema: type: string - - &399 + - &407 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 @@ -50908,7 +51528,7 @@ paths: - pending - *17 - *19 - - &400 + - &408 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)." @@ -50917,7 +51537,7 @@ paths: schema: type: string format: date-time - - &379 + - &387 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50926,13 +51546,13 @@ paths: schema: type: boolean default: false - - &401 + - &409 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &402 + - &410 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50955,7 +51575,7 @@ paths: type: integer workflow_runs: type: array - items: &380 + items: &388 title: Workflow Run description: An invocation of a workflow type: object @@ -51050,7 +51670,7 @@ paths: that triggered the run. type: array nullable: true - items: &426 + items: &434 title: Pull Request Minimal type: object properties: @@ -51169,7 +51789,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &430 + properties: &438 id: type: string description: SHA for the commit @@ -51220,7 +51840,7 @@ paths: - name - email nullable: true - required: &431 + required: &439 - id - tree_id - message @@ -51228,8 +51848,8 @@ paths: - author - committer nullable: true - repository: *190 - head_repository: *190 + repository: *193 + head_repository: *193 head_repository_id: type: integer example: 5 @@ -51267,7 +51887,7 @@ paths: - workflow_url - pull_requests examples: - default: &403 + default: &411 value: total_count: 1 workflow_runs: @@ -51503,24 +52123,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *351 - - *352 - - &381 + - *359 + - *360 + - &389 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *379 + - *387 responses: '200': description: Response content: application/json: - schema: *380 + schema: *388 examples: - default: &384 + default: &392 value: id: 30433642 name: Build @@ -51761,9 +52381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '204': description: Response @@ -51786,9 +52406,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '200': description: Response @@ -51907,15 +52527,15 @@ 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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '201': description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -51942,12 +52562,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 - *17 - *19 - - *382 + - *390 responses: '200': description: Response @@ -51963,9 +52583,9 @@ paths: type: integer artifacts: type: array - items: *368 + items: *376 examples: - default: *383 + default: *391 headers: Link: *39 x-github: @@ -51989,25 +52609,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *351 - - *352 - - *381 - - &385 + - *359 + - *360 + - *389 + - &393 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *379 + - *387 responses: '200': description: Response content: application/json: - schema: *380 + schema: *388 examples: - default: *384 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52030,10 +52650,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: - - *351 - - *352 - - *381 - - *385 + - *359 + - *360 + - *389 + - *393 - *17 - *19 responses: @@ -52051,9 +52671,9 @@ paths: type: integer jobs: type: array - items: *386 + items: *394 examples: - default: &387 + default: &395 value: total_count: 1 jobs: @@ -52166,10 +52786,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *351 - - *352 - - *381 - - *385 + - *359 + - *360 + - *389 + - *393 responses: '302': description: Response @@ -52197,15 +52817,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '202': description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -52232,9 +52852,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 requestBody: required: true content: @@ -52301,15 +52921,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '202': description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -52336,9 +52956,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 - 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 @@ -52368,9 +52988,9 @@ paths: type: integer jobs: type: array - items: *386 + items: *394 examples: - default: *387 + default: *395 headers: Link: *39 x-github: @@ -52395,9 +53015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '302': description: Response @@ -52424,9 +53044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '204': description: Response @@ -52453,9 +53073,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '200': description: Response @@ -52515,7 +53135,7 @@ paths: items: type: object properties: - type: &507 + type: &515 type: string description: The type of reviewer. enum: @@ -52525,7 +53145,7 @@ paths: reviewer: anyOf: - *4 - - *270 + - *274 required: - environment - wait_timer @@ -52600,9 +53220,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 requestBody: required: true content: @@ -52649,7 +53269,7 @@ paths: application/json: schema: type: array - items: &502 + items: &510 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52737,8 +53357,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 required: - id - node_id @@ -52755,7 +53375,7 @@ paths: - created_at - updated_at examples: - default: &503 + default: &511 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52811,9 +53431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 requestBody: required: false content: @@ -52834,7 +53454,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -52857,9 +53477,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 requestBody: required: false content: @@ -52880,7 +53500,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -52905,9 +53525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '200': description: Response @@ -53044,8 +53664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -53063,9 +53683,9 @@ paths: type: integer secrets: type: array - items: *388 + items: *396 examples: - default: *389 + default: *397 headers: Link: *39 x-github: @@ -53090,16 +53710,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *390 + schema: *398 examples: - default: *391 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53121,17 +53741,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '200': description: Response content: application/json: - schema: *388 + schema: *396 examples: - default: &520 + default: &528 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53157,9 +53777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 requestBody: required: true content: @@ -53187,7 +53807,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -53213,9 +53833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '204': description: Response @@ -53240,9 +53860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *351 - - *352 - - *375 + - *359 + - *360 + - *383 - *19 responses: '200': @@ -53259,9 +53879,9 @@ paths: type: integer variables: type: array - items: *392 + items: *400 examples: - default: *393 + default: *401 headers: Link: *39 x-github: @@ -53284,8 +53904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -53312,7 +53932,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -53337,17 +53957,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *351 - - *352 - - *203 + - *359 + - *360 + - *206 responses: '200': description: Response content: application/json: - schema: *392 + schema: *400 examples: - default: &521 + default: &529 value: name: USERNAME value: octocat @@ -53373,9 +53993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *351 - - *352 - - *203 + - *359 + - *360 + - *206 requestBody: required: true content: @@ -53417,9 +54037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *351 - - *352 - - *203 + - *359 + - *360 + - *206 responses: '204': description: Response @@ -53444,8 +54064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -53463,7 +54083,7 @@ paths: type: integer workflows: type: array - items: &394 + items: &402 title: Workflow description: A GitHub Actions workflow type: object @@ -53570,9 +54190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *351 - - *352 - - &395 + - *359 + - *360 + - &403 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53587,7 +54207,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *402 examples: default: value: @@ -53620,9 +54240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *351 - - *352 - - *395 + - *359 + - *360 + - *403 responses: '204': description: Response @@ -53647,9 +54267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *351 - - *352 - - *395 + - *359 + - *360 + - *403 responses: '204': description: Response @@ -53700,9 +54320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *351 - - *352 - - *395 + - *359 + - *360 + - *403 responses: '204': description: Response @@ -53729,19 +54349,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: - - *351 - - *352 - - *395 - - *396 - - *397 - - *398 - - *399 + - *359 + - *360 + - *403 + - *404 + - *405 + - *406 + - *407 - *17 - *19 - - *400 - - *379 - - *401 - - *402 + - *408 + - *387 + - *409 + - *410 responses: '200': description: Response @@ -53757,9 +54377,9 @@ paths: type: integer workflow_runs: type: array - items: *380 + items: *388 examples: - default: *403 + default: *411 headers: Link: *39 x-github: @@ -53785,9 +54405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *351 - - *352 - - *395 + - *359 + - *360 + - *403 responses: '200': description: Response @@ -53848,8 +54468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *351 - - *352 + - *359 + - *360 - *84 - *17 - *82 @@ -54013,8 +54633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -54026,7 +54646,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '404': *6 @@ -54051,8 +54671,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: - - *351 - - *352 + - *359 + - *360 - name: assignee in: path required: true @@ -54088,8 +54708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -54201,8 +54821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *82 - *83 @@ -54248,7 +54868,7 @@ paths: bundle_url: type: string examples: - default: *404 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54268,8 +54888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -54277,7 +54897,7 @@ paths: application/json: schema: type: array - items: &405 + items: &413 title: Autolink reference description: An autolink reference. type: object @@ -54327,8 +54947,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -54367,9 +54987,9 @@ paths: description: response content: application/json: - schema: *405 + schema: *413 examples: - default: &406 + default: &414 value: id: 1 key_prefix: TICKET- @@ -54400,9 +55020,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: - - *351 - - *352 - - &407 + - *359 + - *360 + - &415 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54414,9 +55034,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *413 examples: - default: *406 + default: *414 '404': *6 x-github: githubCloudOnly: false @@ -54436,9 +55056,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: - - *351 - - *352 - - *407 + - *359 + - *360 + - *415 responses: '204': description: Response @@ -54462,8 +55082,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response if Dependabot is enabled @@ -54511,8 +55131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -54533,8 +55153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -54554,8 +55174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *351 - - *352 + - *359 + - *360 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54593,7 +55213,7 @@ paths: - url protected: type: boolean - protection: &409 + protection: &417 title: Branch Protection description: Branch Protection type: object @@ -54635,7 +55255,7 @@ paths: required: - contexts - checks - enforce_admins: &412 + enforce_admins: &420 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54650,7 +55270,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &414 + required_pull_request_reviews: &422 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54671,7 +55291,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *270 + items: *274 apps: description: The list of apps with review dismissal access. @@ -54700,7 +55320,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *270 + items: *274 apps: description: The list of apps allowed to bypass pull request requirements. @@ -54726,7 +55346,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &411 + restrictions: &419 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55033,9 +55653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *351 - - *352 - - &410 + - *359 + - *360 + - &418 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). @@ -55049,14 +55669,14 @@ paths: description: Response content: application/json: - schema: &420 + schema: &428 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &475 + commit: &483 title: Commit description: Commit type: object @@ -55090,7 +55710,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &408 + properties: &416 name: type: string example: '"Chris Wanstrath"' @@ -55105,7 +55725,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *408 + properties: *416 nullable: true message: type: string @@ -55126,7 +55746,7 @@ paths: required: - sha - url - verification: &527 + verification: &535 title: Verification type: object properties: @@ -55159,12 +55779,12 @@ paths: nullable: true oneOf: - *4 - - *201 + - *204 committer: nullable: true oneOf: - *4 - - *201 + - *204 parents: type: array items: @@ -55195,7 +55815,7 @@ paths: type: integer files: type: array - items: &490 + items: &498 title: Diff Entry description: Diff Entry type: object @@ -55278,7 +55898,7 @@ paths: - self protected: type: boolean - protection: *409 + protection: *417 protection_url: type: string format: uri @@ -55385,7 +56005,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *365 + '301': *373 '404': *6 x-github: githubCloudOnly: false @@ -55407,15 +56027,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *409 + schema: *417 examples: default: value: @@ -55609,9 +56229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -55866,7 +56486,7 @@ paths: url: type: string format: uri - required_status_checks: &417 + required_status_checks: &425 title: Status Check Policy description: Status Check Policy type: object @@ -55942,7 +56562,7 @@ paths: items: *4 teams: type: array - items: *270 + items: *274 apps: type: array items: *5 @@ -55960,7 +56580,7 @@ paths: items: *4 teams: type: array - items: *270 + items: *274 apps: type: array items: *5 @@ -56018,7 +56638,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *411 + restrictions: *419 required_conversation_resolution: type: object properties: @@ -56130,9 +56750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -56157,17 +56777,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *412 + schema: *420 examples: - default: &413 + default: &421 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56189,17 +56809,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *412 + schema: *420 examples: - default: *413 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56218,9 +56838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -56245,17 +56865,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *414 + schema: *422 examples: - default: &415 + default: &423 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56351,9 +56971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -56451,9 +57071,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *422 examples: - default: *415 + default: *423 '422': *15 x-github: githubCloudOnly: false @@ -56474,9 +57094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -56503,17 +57123,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *412 + schema: *420 examples: - default: &416 + default: &424 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56536,17 +57156,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *412 + schema: *420 examples: - default: *416 + default: *424 '404': *6 x-github: githubCloudOnly: false @@ -56566,9 +57186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -56593,17 +57213,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *417 + schema: *425 examples: - default: &418 + default: &426 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56629,9 +57249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -56683,9 +57303,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *425 examples: - default: *418 + default: *426 '404': *6 '422': *15 x-github: @@ -56707,9 +57327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -56733,9 +57353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response @@ -56769,9 +57389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -56838,9 +57458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -56904,9 +57524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: content: application/json: @@ -56972,15 +57592,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *411 + schema: *419 examples: default: value: @@ -57071,9 +57691,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -57096,9 +57716,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: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response @@ -57108,7 +57728,7 @@ paths: type: array items: *5 examples: - default: &419 + default: &427 value: - id: 1 slug: octoapp @@ -57165,9 +57785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57201,7 +57821,7 @@ paths: type: array items: *5 examples: - default: *419 + default: *427 '422': *15 x-github: githubCloudOnly: false @@ -57222,9 +57842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57258,7 +57878,7 @@ paths: type: array items: *5 examples: - default: *419 + default: *427 '422': *15 x-github: githubCloudOnly: false @@ -57279,9 +57899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57315,7 +57935,7 @@ paths: type: array items: *5 examples: - default: *419 + default: *427 '422': *15 x-github: githubCloudOnly: false @@ -57337,9 +57957,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: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response @@ -57347,9 +57967,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 '404': *6 x-github: githubCloudOnly: false @@ -57369,9 +57989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -57407,9 +58027,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -57430,9 +58050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -57468,9 +58088,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -57491,9 +58111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: content: application/json: @@ -57528,9 +58148,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -57552,9 +58172,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: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response @@ -57564,7 +58184,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 '404': *6 x-github: githubCloudOnly: false @@ -57588,9 +58208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57623,7 +58243,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -57648,9 +58268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57683,7 +58303,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -57708,9 +58328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57743,7 +58363,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -57770,9 +58390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57794,7 +58414,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *428 examples: default: value: @@ -57908,12 +58528,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *351 - - *352 - - *421 - - *422 - - *311 - - *423 + - *359 + - *360 + - *429 + - *430 + - *315 + - *431 - *17 - *19 responses: @@ -57923,9 +58543,9 @@ paths: application/json: schema: type: array - items: *424 + items: *432 examples: - default: *425 + default: *433 '404': *6 '500': *97 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -57945,8 +58565,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *351 - - *352 + - *359 + - *360 - name: bypass_request_number in: path required: true @@ -57960,7 +58580,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *432 examples: default: value: @@ -58018,8 +58638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -58298,7 +58918,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &435 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58409,16 +59029,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *426 - deployment: &741 + items: *434 + deployment: &749 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58485,8 +59105,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 required: - id - node_id @@ -58698,9 +59318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *351 - - *352 - - &428 + - *359 + - *360 + - &436 name: check_run_id description: The unique identifier of the check run. in: path @@ -58712,9 +59332,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *435 examples: - default: &429 + default: &437 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58814,9 +59434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *351 - - *352 - - *428 + - *359 + - *360 + - *436 requestBody: required: true content: @@ -59056,9 +59676,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *435 examples: - default: *429 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59078,9 +59698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *351 - - *352 - - *428 + - *359 + - *360 + - *436 - *17 - *19 responses: @@ -59177,15 +59797,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *351 - - *352 - - *428 + - *359 + - *360 + - *436 responses: '201': description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -59223,8 +59843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -59246,7 +59866,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &432 + schema: &440 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59310,7 +59930,7 @@ paths: nullable: true pull_requests: type: array - items: *426 + items: *434 nullable: true app: title: GitHub app @@ -59321,9 +59941,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 - repository: *190 + properties: *135 + required: *136 + repository: *193 created_at: type: string format: date-time @@ -59332,12 +59952,12 @@ paths: type: string format: date-time nullable: true - head_commit: &767 + head_commit: &775 title: Simple Commit description: A commit. type: object - properties: *430 - required: *431 + properties: *438 + required: *439 latest_check_runs_count: type: integer check_runs_url: @@ -59365,7 +59985,7 @@ paths: - check_runs_url - pull_requests examples: - default: &433 + default: &441 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59656,9 +60276,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *432 + schema: *440 examples: - default: *433 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59677,8 +60297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -59739,7 +60359,7 @@ paths: required: - app_id - setting - repository: *190 + repository: *193 examples: default: value: @@ -59987,9 +60607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *351 - - *352 - - &434 + - *359 + - *360 + - &442 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60001,9 +60621,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *440 examples: - default: *433 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60026,17 +60646,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: - - *351 - - *352 - - *434 - - &483 + - *359 + - *360 + - *442 + - &491 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &484 + - &492 name: status description: Returns check runs with the specified `status`. in: query @@ -60075,9 +60695,9 @@ paths: type: integer check_runs: type: array - items: *427 + items: *435 examples: - default: &485 + default: &493 value: total_count: 1 check_runs: @@ -60179,15 +60799,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *351 - - *352 - - *434 + - *359 + - *360 + - *442 responses: '201': description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -60214,21 +60834,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: - - *351 - - *352 - - *213 - - *214 + - *359 + - *360 + - *216 + - *217 - *19 - *17 - - &450 + - &458 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: *435 - - &451 + schema: *443 + - &459 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60253,13 +60873,13 @@ paths: be returned. in: query required: false - schema: *215 + schema: *218 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *436 + schema: *444 responses: '200': description: Response @@ -60275,7 +60895,7 @@ paths: updated_at: *105 url: *102 html_url: *103 - instances_url: *437 + instances_url: *445 state: *87 fixed_at: *107 dismissed_by: @@ -60286,11 +60906,11 @@ paths: required: *21 nullable: true dismissed_at: *106 - dismissed_reason: *438 - dismissed_comment: *439 - rule: *440 - tool: *441 - most_recent_instance: *442 + dismissed_reason: *446 + dismissed_comment: *447 + rule: *448 + tool: *449 + most_recent_instance: *450 required: - number - created_at @@ -60406,14 +61026,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &443 + '403': &451 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60433,9 +61053,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: - - *351 - - *352 - - &444 + - *359 + - *360 + - &452 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60449,7 +61069,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &453 type: object properties: number: *98 @@ -60457,7 +61077,7 @@ paths: updated_at: *105 url: *102 html_url: *103 - instances_url: *437 + instances_url: *445 state: *87 fixed_at: *107 dismissed_by: @@ -60468,8 +61088,8 @@ paths: required: *21 nullable: true dismissed_at: *106 - dismissed_reason: *438 - dismissed_comment: *439 + dismissed_reason: *446 + dismissed_comment: *447 rule: type: object properties: @@ -60523,8 +61143,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *441 - most_recent_instance: *442 + tool: *449 + most_recent_instance: *450 required: - number - created_at @@ -60613,9 +61233,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60633,9 +61253,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 requestBody: required: true content: @@ -60650,8 +61270,8 @@ paths: enum: - open - dismissed - dismissed_reason: *438 - dismissed_comment: *439 + dismissed_reason: *446 + dismissed_comment: *447 required: - state examples: @@ -60666,7 +61286,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *453 examples: default: value: @@ -60741,14 +61361,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &449 + '403': &457 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60768,15 +61388,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 responses: '200': description: Response content: application/json: - schema: &446 + schema: &454 type: object properties: status: @@ -60802,13 +61422,13 @@ paths: - description - started_at examples: - default: &447 + default: &455 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &448 + '400': &456 description: Bad Request content: application/json: @@ -60819,9 +61439,9 @@ 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': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60844,29 +61464,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 responses: '200': description: OK content: application/json: - schema: *446 + schema: *454 examples: - default: *447 + default: *455 '202': description: Accepted content: application/json: - schema: *446 + schema: *454 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *448 + '400': *456 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60876,7 +61496,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60898,9 +61518,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 requestBody: required: false content: @@ -60945,12 +61565,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *448 - '403': *449 + '400': *456 + '403': *457 '404': *6 '422': description: Unprocessable Entity - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60970,13 +61590,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 - *19 - *17 - - *450 - - *451 + - *458 + - *459 responses: '200': description: Response @@ -60984,7 +61604,7 @@ paths: application/json: schema: type: array - items: *442 + items: *450 examples: default: value: @@ -61023,9 +61643,9 @@ paths: end_column: 50 classifications: - source - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61057,25 +61677,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: - - *351 - - *352 - - *213 - - *214 + - *359 + - *360 + - *216 + - *217 - *19 - *17 - - *451 + - *459 - 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: *435 + schema: *443 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &454 + schema: &462 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61096,23 +61716,23 @@ paths: application/json: schema: type: array - items: &455 + items: &463 type: object properties: - ref: *435 - commit_sha: &463 + ref: *443 + commit_sha: &471 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: *452 + analysis_key: *460 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *453 + category: *461 error: type: string example: error reading field xyz @@ -61136,8 +61756,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *454 - tool: *441 + sarif_id: *462 + tool: *449 deletable: type: boolean warning: @@ -61198,9 +61818,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61234,8 +61854,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: - - *351 - - *352 + - *359 + - *360 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61248,7 +61868,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *463 examples: response: summary: application/json response @@ -61302,9 +61922,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61384,8 +62004,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: - - *351 - - *352 + - *359 + - *360 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61438,9 +62058,9 @@ 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': *449 + '403': *457 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61460,8 +62080,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -61469,7 +62089,7 @@ paths: application/json: schema: type: array - items: &456 + items: &464 title: CodeQL Database description: A CodeQL database. type: object @@ -61580,9 +62200,9 @@ 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': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61609,8 +62229,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: - - *351 - - *352 + - *359 + - *360 - name: language in: path description: The language of the CodeQL database. @@ -61622,7 +62242,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *464 examples: default: value: @@ -61654,11 +62274,11 @@ 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': &492 + '302': &500 description: Found - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61678,8 +62298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *351 - - *352 + - *359 + - *360 - name: language in: path description: The language of the CodeQL database. @@ -61689,9 +62309,9 @@ paths: responses: '204': description: Response - '403': *449 + '403': *457 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61717,8 +62337,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -61727,7 +62347,7 @@ paths: type: object additionalProperties: false properties: - language: &457 + language: &465 type: string description: The language targeted by the CodeQL query enum: @@ -61805,7 +62425,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &461 + schema: &469 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61815,7 +62435,7 @@ paths: description: The ID of the variant analysis. controller_repo: *94 actor: *4 - query_language: *457 + query_language: *465 query_pack_url: type: string description: The download url for the query pack. @@ -61862,7 +62482,7 @@ paths: items: type: object properties: - repository: &458 + repository: &466 title: Repository Identifier description: Repository Identifier type: object @@ -61898,7 +62518,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &462 + analysis_status: &470 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61930,7 +62550,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &459 + access_mismatch_repos: &467 type: object properties: repository_count: @@ -61944,7 +62564,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: *458 + items: *466 required: - repository_count - repositories @@ -61966,8 +62586,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *459 - over_limit_repos: *459 + no_codeql_db_repos: *467 + over_limit_repos: *467 required: - access_mismatch_repos - not_found_repos @@ -61983,7 +62603,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &460 + value: &468 summary: Default response value: id: 1 @@ -62135,17 +62755,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *460 + value: *468 repository_lists: summary: Response for a successful variant analysis submission - value: *460 + value: *468 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62166,8 +62786,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: - - *351 - - *352 + - *359 + - *360 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62179,11 +62799,11 @@ paths: description: Response content: application/json: - schema: *461 + schema: *469 examples: - default: *460 + default: *468 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62204,7 +62824,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: - - *351 + - *359 - name: repo in: path description: The name of the controller repository. @@ -62239,7 +62859,7 @@ paths: type: object properties: repository: *94 - analysis_status: *462 + analysis_status: *470 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62343,7 +62963,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62364,8 +62984,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -62439,9 +63059,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62460,8 +63080,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -62518,7 +63138,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -62543,7 +63163,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *449 + '403': *457 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62551,7 +63171,7 @@ paths: content: application/json: schema: *3 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62608,8 +63228,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -62617,7 +63237,7 @@ paths: schema: type: object properties: - commit_sha: *463 + commit_sha: *471 ref: type: string description: |- @@ -62675,7 +63295,7 @@ paths: schema: type: object properties: - id: *454 + id: *462 url: type: string description: The REST API URL for checking the status of the upload. @@ -62689,11 +63309,11 @@ 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': *449 + '403': *457 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62712,8 +63332,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: - - *351 - - *352 + - *359 + - *360 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62759,10 +63379,10 @@ 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': *443 + '403': *451 '404': description: Not Found if the sarif id does not match any upload - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62784,8 +63404,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -62838,7 +63458,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *112 + '204': *115 '304': *37 '403': *29 '404': *6 @@ -62863,8 +63483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *351 - - *352 + - *359 + - *360 - 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 @@ -62984,8 +63604,8 @@ paths: parameters: - *17 - *19 - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -63001,7 +63621,7 @@ paths: type: integer codespaces: type: array - items: *274 + items: *278 examples: default: value: @@ -63299,8 +63919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -63363,22 +63983,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63402,8 +64022,8 @@ paths: parameters: - *17 - *19 - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -63467,8 +64087,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: - - *351 - - *352 + - *359 + - *360 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63503,14 +64123,14 @@ paths: type: integer machines: type: array - items: &697 + items: &705 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *465 - required: *466 + properties: *473 + required: *474 examples: - default: &698 + default: &706 value: total_count: 2 machines: @@ -63550,8 +64170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *351 - - *352 + - *359 + - *360 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63635,8 +64255,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: - - *351 - - *352 + - *359 + - *360 - 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 @@ -63681,7 +64301,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63702,8 +64322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -63721,7 +64341,7 @@ paths: type: integer secrets: type: array - items: &470 + items: &478 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63741,7 +64361,7 @@ paths: - created_at - updated_at examples: - default: *467 + default: *475 headers: Link: *39 x-github: @@ -63764,16 +64384,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *468 + schema: *476 examples: - default: *469 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63793,17 +64413,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '200': description: Response content: application/json: - schema: *470 + schema: *478 examples: - default: *471 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63823,9 +64443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 requestBody: required: true content: @@ -63853,7 +64473,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -63877,9 +64497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '204': description: Response @@ -63907,8 +64527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *351 - - *352 + - *359 + - *360 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63950,7 +64570,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &472 + properties: &480 login: type: string example: octocat @@ -64043,7 +64663,7 @@ paths: user_view_type: type: string example: public - required: &473 + required: &481 - avatar_url - events_url - followers_url @@ -64117,9 +64737,9 @@ 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: - - *351 - - *352 - - *212 + - *359 + - *360 + - *215 responses: '204': description: Response if user is a collaborator @@ -64161,9 +64781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *351 - - *352 - - *212 + - *359 + - *360 + - *215 requestBody: required: false content: @@ -64189,7 +64809,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &540 + schema: &548 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64200,7 +64820,7 @@ paths: example: 42 type: integer format: int64 - repository: *190 + repository: *193 invitee: title: Simple User description: A GitHub user. @@ -64411,9 +65031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *351 - - *352 - - *212 + - *359 + - *360 + - *215 responses: '204': description: No Content when collaborator was removed from the repository. @@ -64442,9 +65062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *351 - - *352 - - *212 + - *359 + - *360 + - *215 responses: '200': description: if user has admin permissions @@ -64464,8 +65084,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *472 - required: *473 + properties: *480 + required: *481 nullable: true required: - permission @@ -64520,8 +65140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -64531,7 +65151,7 @@ paths: application/json: schema: type: array - items: &474 + items: &482 title: Commit Comment description: Commit Comment type: object @@ -64572,8 +65192,8 @@ paths: updated_at: type: string format: date-time - author_association: *134 - reactions: *135 + author_association: *137 + reactions: *138 required: - url - html_url @@ -64589,7 +65209,7 @@ paths: - created_at - updated_at examples: - default: &477 + default: &485 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64648,17 +65268,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '200': description: Response content: application/json: - schema: *474 + schema: *482 examples: - default: &478 + default: &486 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64715,9 +65335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -64739,7 +65359,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *482 examples: default: value: @@ -64790,9 +65410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '204': description: Response @@ -64813,9 +65433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 - 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 commit comment. @@ -64841,9 +65461,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 '404': *6 @@ -64864,9 +65484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -64898,16 +65518,16 @@ paths: description: Reaction exists content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Reaction created content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -64929,10 +65549,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *359 + - *360 + - *149 - *351 - - *352 - - *146 - - *343 responses: '204': description: Response @@ -64981,8 +65601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *351 - - *352 + - *359 + - *360 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65038,9 +65658,9 @@ paths: application/json: schema: type: array - items: *475 + items: *483 examples: - default: &591 + default: &599 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65134,9 +65754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *351 - - *352 - - &476 + - *359 + - *360 + - &484 name: commit_sha description: The SHA of the commit. in: path @@ -65208,9 +65828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *351 - - *352 - - *476 + - *359 + - *360 + - *484 - *17 - *19 responses: @@ -65220,9 +65840,9 @@ paths: application/json: schema: type: array - items: *474 + items: *482 examples: - default: *477 + default: *485 headers: Link: *39 x-github: @@ -65250,9 +65870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *351 - - *352 - - *476 + - *359 + - *360 + - *484 requestBody: required: true content: @@ -65287,9 +65907,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *482 examples: - default: *478 + default: *486 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65317,9 +65937,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: - - *351 - - *352 - - *476 + - *359 + - *360 + - *484 - *17 - *19 responses: @@ -65329,7 +65949,7 @@ paths: application/json: schema: type: array - items: &582 + items: &590 title: Pull Request Simple description: Pull Request Simple type: object @@ -65435,8 +66055,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *479 - required: *480 + properties: *487 + required: *488 nullable: true active_lock_reason: type: string @@ -65481,7 +66101,7 @@ paths: nullable: true requested_teams: type: array - items: *270 + items: *274 nullable: true head: type: object @@ -65532,7 +66152,7 @@ paths: _links: type: object properties: - comments: &481 + comments: &489 title: Link description: Hypermedia Link type: object @@ -65541,13 +66161,13 @@ paths: type: string required: - href - commits: *481 - statuses: *481 - html: *481 - issue: *481 - review_comments: *481 - review_comment: *481 - self: *481 + commits: *489 + statuses: *489 + html: *489 + issue: *489 + review_comments: *489 + review_comment: *489 + self: *489 required: - comments - commits @@ -65557,8 +66177,8 @@ paths: - review_comments - review_comment - self - author_association: *134 - auto_merge: &584 + author_association: *137 + auto_merge: &592 title: Auto merge description: The status of auto merging a pull request. type: object @@ -65621,7 +66241,7 @@ paths: - author_association - auto_merge examples: - default: &583 + default: &591 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66158,11 +66778,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *351 - - *352 + - *359 + - *360 - *19 - *17 - - &482 + - &490 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)" @@ -66177,9 +66797,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *483 examples: - default: &569 + default: &577 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66266,7 +66886,7 @@ paths: '422': *15 '404': *6 '500': *97 - '503': *125 + '503': *128 '409': *92 x-github: githubCloudOnly: false @@ -66292,11 +66912,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: - - *351 - - *352 - - *482 - - *483 - - *484 + - *359 + - *360 + - *490 + - *491 + - *492 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66330,9 +66950,9 @@ paths: type: integer check_runs: type: array - items: *427 + items: *435 examples: - default: *485 + default: *493 headers: Link: *39 x-github: @@ -66357,9 +66977,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: - - *351 - - *352 - - *482 + - *359 + - *360 + - *490 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66367,7 +66987,7 @@ paths: schema: type: integer example: 1 - - *483 + - *491 - *17 - *19 responses: @@ -66385,7 +67005,7 @@ paths: type: integer check_suites: type: array - items: *432 + items: *440 examples: default: value: @@ -66585,9 +67205,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: - - *351 - - *352 - - *482 + - *359 + - *360 + - *490 - *17 - *19 responses: @@ -66654,7 +67274,7 @@ paths: type: string total_count: type: integer - repository: *190 + repository: *193 commit_url: type: string format: uri @@ -66785,9 +67405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *351 - - *352 - - *482 + - *359 + - *360 + - *490 - *17 - *19 responses: @@ -66797,7 +67417,7 @@ paths: application/json: schema: type: array - items: &645 + items: &653 title: Status description: The status of a commit. type: object @@ -66878,7 +67498,7 @@ paths: site_admin: false headers: Link: *39 - '301': *365 + '301': *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66906,8 +67526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -66936,20 +67556,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *486 - required: *487 + properties: *494 + required: *495 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &488 + properties: &496 url: type: string format: uri html_url: type: string format: uri - required: &489 + required: &497 - url - html_url nullable: true @@ -66957,32 +67577,32 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true contributing: title: Community Health File type: object - properties: *488 - required: *489 + properties: *496 + required: *497 nullable: true readme: title: Community Health File type: object - properties: *488 - required: *489 + properties: *496 + required: *497 nullable: true issue_template: title: Community Health File type: object - properties: *488 - required: *489 + properties: *496 + required: *497 nullable: true pull_request_template: title: Community Health File type: object - properties: *488 - required: *489 + properties: *496 + required: *497 nullable: true required: - code_of_conduct @@ -67109,8 +67729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *351 - - *352 + - *359 + - *360 - *19 - *17 - name: basehead @@ -67153,8 +67773,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *475 - merge_base_commit: *475 + base_commit: *483 + merge_base_commit: *483 status: type: string enum: @@ -67174,10 +67794,10 @@ paths: example: 6 commits: type: array - items: *475 + items: *483 files: type: array - items: *490 + items: *498 required: - url - html_url @@ -67421,7 +68041,7 @@ paths: module Test" '404': *6 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67463,8 +68083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *351 - - *352 + - *359 + - *360 - name: path description: path parameter in: path @@ -67605,7 +68225,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &491 + response-if-content-is-a-file: &499 summary: Response if content is a file value: type: file @@ -67737,7 +68357,7 @@ paths: - size - type - url - - &596 + - &604 title: Content File description: Content File type: object @@ -67938,7 +68558,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *491 + response-if-content-is-a-file: *499 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68007,7 +68627,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *492 + '302': *500 '304': *37 x-github: githubCloudOnly: false @@ -68030,8 +68650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *351 - - *352 + - *359 + - *360 - name: path description: path parameter in: path @@ -68124,7 +68744,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &501 title: File Commit description: File Commit type: object @@ -68276,7 +68896,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *501 examples: example-for-creating-a-file: value: @@ -68330,7 +68950,7 @@ paths: schema: oneOf: - *3 - - &522 + - &530 description: Repository rule violation was detected type: object properties: @@ -68351,7 +68971,7 @@ paths: items: type: object properties: - placeholder_id: &637 + placeholder_id: &645 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68383,8 +69003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *351 - - *352 + - *359 + - *360 - name: path description: path parameter in: path @@ -68445,7 +69065,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *501 examples: default: value: @@ -68480,7 +69100,7 @@ paths: '422': *15 '404': *6 '409': *92 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68500,8 +69120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *351 - - *352 + - *359 + - *360 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68624,20 +69244,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *351 - - *352 - - *232 - - *233 - - *234 + - *359 + - *360 - *235 + - *236 + - *237 + - *238 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *236 - - *237 + - *239 + - *240 + - *241 - *84 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -68657,8 +69278,8 @@ paths: default: 30 - *82 - *83 - - *238 - - *239 + - *242 + - *243 responses: '200': description: Response @@ -68666,7 +69287,7 @@ paths: application/json: schema: type: array - items: &496 + items: &504 type: object description: A Dependabot alert. properties: @@ -68699,7 +69320,7 @@ paths: enum: - development - runtime - security_advisory: *494 + security_advisory: *502 security_vulnerability: *101 url: *102 html_url: *103 @@ -68730,7 +69351,7 @@ paths: nullable: true maxLength: 280 fixed_at: *107 - auto_dismissed_at: *495 + auto_dismissed_at: *503 required: - number - state @@ -68957,9 +69578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *351 - - *352 - - &497 + - *359 + - *360 + - &505 name: alert_number in: path description: |- @@ -68974,7 +69595,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *504 examples: default: value: @@ -69084,9 +69705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *351 - - *352 - - *497 + - *359 + - *360 + - *505 requestBody: required: true content: @@ -69131,7 +69752,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *504 examples: default: value: @@ -69260,8 +69881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -69279,7 +69900,7 @@ paths: type: integer secrets: type: array - items: &500 + items: &508 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69332,16 +69953,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *498 + schema: *506 examples: - default: *499 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69361,15 +69982,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '200': description: Response content: application/json: - schema: *500 + schema: *508 examples: default: value: @@ -69395,9 +70016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 requestBody: required: true content: @@ -69425,7 +70046,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -69449,9 +70070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '204': description: Response @@ -69473,8 +70094,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: - - *351 - - *352 + - *359 + - *360 - 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 @@ -69634,8 +70255,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -69874,8 +70495,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -69950,7 +70571,7 @@ paths: - version - url additionalProperties: false - metadata: &501 + metadata: &509 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69983,7 +70604,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *501 + metadata: *509 resolved: type: object description: A collection of resolved package dependencies. @@ -69996,7 +70617,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *501 + metadata: *509 relationship: type: string description: A notation of whether a dependency is requested @@ -70125,8 +70746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *351 - - *352 + - *359 + - *360 - name: sha description: The SHA recorded at creation time. in: query @@ -70166,9 +70787,9 @@ paths: application/json: schema: type: array - items: *502 + items: *510 examples: - default: *503 + default: *511 headers: Link: *39 x-github: @@ -70234,8 +70855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -70316,7 +70937,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *510 examples: simple-example: summary: Simple example @@ -70389,9 +71010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *351 - - *352 - - &504 + - *359 + - *360 + - &512 name: deployment_id description: deployment_id parameter in: path @@ -70403,7 +71024,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *510 examples: default: value: @@ -70468,9 +71089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *351 - - *352 - - *504 + - *359 + - *360 + - *512 responses: '204': description: Response @@ -70492,9 +71113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *351 - - *352 - - *504 + - *359 + - *360 + - *512 - *17 - *19 responses: @@ -70504,7 +71125,7 @@ paths: application/json: schema: type: array - items: &505 + items: &513 title: Deployment Status description: The status of a deployment. type: object @@ -70595,8 +71216,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 required: - id - node_id @@ -70665,9 +71286,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *351 - - *352 - - *504 + - *359 + - *360 + - *512 requestBody: required: true content: @@ -70742,9 +71363,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *513 examples: - default: &506 + default: &514 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70800,9 +71421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *351 - - *352 - - *504 + - *359 + - *360 + - *512 - name: status_id in: path required: true @@ -70813,9 +71434,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *513 examples: - default: *506 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -70840,8 +71461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -70898,8 +71519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -70916,7 +71537,7 @@ paths: type: integer environments: type: array - items: &508 + items: &516 title: Environment description: Details of a deployment environment type: object @@ -70968,7 +71589,7 @@ paths: type: type: string example: wait_timer - wait_timer: &510 + wait_timer: &518 type: integer example: 30 description: The amount of time to delay a job after @@ -71005,11 +71626,11 @@ paths: items: type: object properties: - type: *507 + type: *515 reviewer: anyOf: - *4 - - *270 + - *274 required: - id - node_id @@ -71029,7 +71650,7 @@ paths: - id - node_id - type - deployment_branch_policy: &511 + deployment_branch_policy: &519 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71145,9 +71766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *351 - - *352 - - &509 + - *359 + - *360 + - &517 name: environment_name in: path required: true @@ -71160,9 +71781,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *516 examples: - default: &512 + default: &520 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71246,9 +71867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 requestBody: required: false content: @@ -71257,7 +71878,7 @@ paths: type: object nullable: true properties: - wait_timer: *510 + wait_timer: *518 prevent_self_review: type: boolean example: false @@ -71274,13 +71895,13 @@ paths: items: type: object properties: - type: *507 + type: *515 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *511 + deployment_branch_policy: *519 additionalProperties: false examples: default: @@ -71300,9 +71921,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *516 examples: - default: *512 + default: *520 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71326,9 +71947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 responses: '204': description: Default response @@ -71353,9 +71974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 - *17 - *19 responses: @@ -71373,7 +71994,7 @@ paths: example: 2 branch_policies: type: array - items: &513 + items: &521 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71430,9 +72051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 requestBody: required: true content: @@ -71478,9 +72099,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *521 examples: - example-wildcard: &514 + example-wildcard: &522 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71522,10 +72143,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *351 - - *352 - - *509 - - &515 + - *359 + - *360 + - *517 + - &523 name: branch_policy_id in: path required: true @@ -71537,9 +72158,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *521 examples: - default: *514 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71558,10 +72179,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *351 - - *352 - - *509 - - *515 + - *359 + - *360 + - *517 + - *523 requestBody: required: true content: @@ -71589,9 +72210,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *521 examples: - default: *514 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71610,10 +72231,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *351 - - *352 - - *509 - - *515 + - *359 + - *360 + - *517 + - *523 responses: '204': description: Response @@ -71638,9 +72259,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: - - *509 - - *352 - - *351 + - *517 + - *360 + - *359 responses: '200': description: List of deployment protection rules @@ -71656,7 +72277,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &516 + items: &524 title: Deployment protection rule description: Deployment protection rule type: object @@ -71675,7 +72296,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &517 + app: &525 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71774,9 +72395,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: - - *509 - - *352 - - *351 + - *517 + - *360 + - *359 requestBody: content: application/json: @@ -71797,9 +72418,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *516 + schema: *524 examples: - default: &518 + default: &526 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71834,9 +72455,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: - - *509 - - *352 - - *351 + - *517 + - *360 + - *359 - *19 - *17 responses: @@ -71855,7 +72476,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *517 + items: *525 examples: default: value: @@ -71890,10 +72511,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: - - *351 - - *352 - - *509 - - &519 + - *359 + - *360 + - *517 + - &527 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71905,9 +72526,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *524 examples: - default: *518 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71928,10 +72549,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: - - *509 - - *352 - - *351 - - *519 + - *517 + - *360 + - *359 + - *527 responses: '204': description: Response @@ -71957,9 +72578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 - *17 - *19 responses: @@ -71977,9 +72598,9 @@ paths: type: integer secrets: type: array - items: *388 + items: *396 examples: - default: *389 + default: *397 headers: Link: *39 x-github: @@ -72004,17 +72625,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 responses: '200': description: Response content: application/json: - schema: *390 + schema: *398 examples: - default: *391 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72036,18 +72657,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *351 - - *352 - - *509 - - *200 + - *359 + - *360 + - *517 + - *203 responses: '200': description: Response content: application/json: - schema: *388 + schema: *396 examples: - default: *520 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72069,10 +72690,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *351 - - *352 - - *509 - - *200 + - *359 + - *360 + - *517 + - *203 requestBody: required: true content: @@ -72103,7 +72724,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -72129,10 +72750,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *351 - - *352 - - *509 - - *200 + - *359 + - *360 + - *517 + - *203 responses: '204': description: Default response @@ -72157,10 +72778,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *351 - - *352 - - *509 - - *375 + - *359 + - *360 + - *517 + - *383 - *19 responses: '200': @@ -72177,9 +72798,9 @@ paths: type: integer variables: type: array - items: *392 + items: *400 examples: - default: *393 + default: *401 headers: Link: *39 x-github: @@ -72202,9 +72823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 requestBody: required: true content: @@ -72231,7 +72852,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -72256,18 +72877,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *351 - - *352 - - *509 - - *203 + - *359 + - *360 + - *517 + - *206 responses: '200': description: Response content: application/json: - schema: *392 + schema: *400 examples: - default: *521 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72288,10 +72909,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *351 - - *352 - - *203 - - *509 + - *359 + - *360 + - *206 + - *517 requestBody: required: true content: @@ -72333,10 +72954,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *351 - - *352 - - *203 - - *509 + - *359 + - *360 + - *206 + - *517 responses: '204': description: Response @@ -72358,8 +72979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -72369,7 +72990,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: 200-response: value: @@ -72436,8 +73057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *351 - - *352 + - *359 + - *360 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72459,7 +73080,7 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: default: value: @@ -72596,8 +73217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -72629,9 +73250,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *372 examples: - default: *366 + default: *374 '400': *14 '422': *15 '403': *29 @@ -72652,8 +73273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -72712,8 +73333,8 @@ paths: application/json: schema: oneOf: - - *173 - - *522 + - *176 + - *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72738,8 +73359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *351 - - *352 + - *359 + - *360 - name: file_sha in: path required: true @@ -72838,8 +73459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -72948,7 +73569,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &531 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73161,15 +73782,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *351 - - *352 - - *476 + - *359 + - *360 + - *484 responses: '200': description: Response content: application/json: - schema: *523 + schema: *531 examples: default: value: @@ -73225,9 +73846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *351 - - *352 - - &524 + - *359 + - *360 + - &532 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. @@ -73244,7 +73865,7 @@ paths: application/json: schema: type: array - items: &525 + items: &533 title: Git Reference description: Git references within a repository type: object @@ -73319,17 +73940,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *351 - - *352 - - *524 + - *359 + - *360 + - *532 responses: '200': description: Response content: application/json: - schema: *525 + schema: *533 examples: - default: &526 + default: &534 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73358,8 +73979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -73388,9 +74009,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *533 examples: - default: *526 + default: *534 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73416,9 +74037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *351 - - *352 - - *524 + - *359 + - *360 + - *532 requestBody: required: true content: @@ -73447,9 +74068,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *533 examples: - default: *526 + default: *534 '422': *15 '409': *92 x-github: @@ -73467,9 +74088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *351 - - *352 - - *524 + - *359 + - *360 + - *532 responses: '204': description: Response @@ -73522,8 +74143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -73590,7 +74211,7 @@ paths: description: Response content: application/json: - schema: &528 + schema: &536 title: Git Tag description: Metadata for a Git tag type: object @@ -73641,7 +74262,7 @@ paths: - sha - type - url - verification: *527 + verification: *535 required: - sha - url @@ -73651,7 +74272,7 @@ paths: - tag - message examples: - default: &529 + default: &537 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73724,8 +74345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *351 - - *352 + - *359 + - *360 - name: tag_sha in: path required: true @@ -73736,9 +74357,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *536 examples: - default: *529 + default: *537 '404': *6 '409': *92 x-github: @@ -73762,8 +74383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -73836,7 +74457,7 @@ paths: description: Response content: application/json: - schema: &530 + schema: &538 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73948,8 +74569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *351 - - *352 + - *359 + - *360 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73972,7 +74593,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *538 examples: default-response: summary: Default response @@ -74031,8 +74652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -74042,7 +74663,7 @@ paths: application/json: schema: type: array - items: &531 + items: &539 title: Webhook description: Webhooks for repositories. type: object @@ -74096,7 +74717,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &775 + last_response: &783 title: Hook Response type: object properties: @@ -74170,8 +74791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -74223,9 +74844,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *539 examples: - default: &532 + default: &540 value: type: Repository id: 12345678 @@ -74273,17 +74894,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 responses: '200': description: Response content: application/json: - schema: *531 + schema: *539 examples: - default: *532 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -74303,9 +74924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 requestBody: required: true content: @@ -74350,9 +74971,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *539 examples: - default: *532 + default: *540 '422': *15 '404': *6 x-github: @@ -74373,9 +74994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 responses: '204': description: Response @@ -74399,9 +75020,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: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 responses: '200': description: Response @@ -74428,9 +75049,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: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 requestBody: required: false content: @@ -74474,11 +75095,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 - *17 - - *248 + - *252 responses: '200': description: Response @@ -74486,9 +75107,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *250 + default: *254 '400': *14 '422': *15 x-github: @@ -74507,18 +75128,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: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 - *16 responses: '200': description: Response content: application/json: - schema: *251 + schema: *255 examples: - default: *252 + default: *256 '400': *14 '422': *15 x-github: @@ -74537,9 +75158,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: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 - *16 responses: '202': *93 @@ -74562,9 +75183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 responses: '204': description: Response @@ -74589,9 +75210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 responses: '204': description: Response @@ -74649,14 +75270,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: &533 + schema: &541 title: Import description: A repository import from an external source. type: object @@ -74755,7 +75376,7 @@ paths: - html_url - authors_url examples: - default: &536 + default: &544 value: vcs: subversion use_lfs: true @@ -74771,7 +75392,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': &534 + '503': &542 description: Unavailable due to service under maintenance. content: application/json: @@ -74800,8 +75421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -74849,7 +75470,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *541 examples: default: value: @@ -74874,7 +75495,7 @@ paths: type: string '422': *15 '404': *6 - '503': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74902,8 +75523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -74952,7 +75573,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *541 examples: example-1: summary: Example 1 @@ -75000,7 +75621,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': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75023,12 +75644,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response - '503': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75054,9 +75675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *351 - - *352 - - &721 + - *359 + - *360 + - &729 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75070,7 +75691,7 @@ paths: application/json: schema: type: array - items: &535 + items: &543 title: Porter Author description: Porter Author type: object @@ -75124,7 +75745,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': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75149,8 +75770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *351 - - *352 + - *359 + - *360 - name: author_id in: path required: true @@ -75180,7 +75801,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *543 examples: default: value: @@ -75193,7 +75814,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75217,8 +75838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -75259,7 +75880,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75287,8 +75908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -75315,11 +75936,11 @@ paths: description: Response content: application/json: - schema: *533 + schema: *541 examples: - default: *536 + default: *544 '422': *15 - '503': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75342,8 +75963,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -75351,8 +75972,8 @@ paths: application/json: schema: *22 examples: - default: *537 - '301': *365 + default: *545 + '301': *373 '404': *6 x-github: githubCloudOnly: false @@ -75372,8 +75993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -75381,12 +76002,12 @@ paths: application/json: schema: anyOf: - - *265 + - *269 - type: object properties: {} additionalProperties: false examples: - default: &539 + default: &547 value: limit: collaborators_only origin: repository @@ -75411,13 +76032,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: application/json: - schema: *538 + schema: *546 examples: default: summary: Example request body @@ -75429,9 +76050,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *269 examples: - default: *539 + default: *547 '409': description: Response x-github: @@ -75453,8 +76074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -75477,8 +76098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -75488,9 +76109,9 @@ paths: application/json: schema: type: array - items: *540 + items: *548 examples: - default: &714 + default: &722 value: - id: 1 repository: @@ -75621,9 +76242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *351 - - *352 - - *269 + - *359 + - *360 + - *273 requestBody: required: false content: @@ -75652,7 +76273,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *548 examples: default: value: @@ -75783,9 +76404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *351 - - *352 - - *269 + - *359 + - *360 + - *273 responses: '204': description: Response @@ -75816,8 +76437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *351 - - *352 + - *359 + - *360 - 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 @@ -75857,7 +76478,7 @@ paths: required: false schema: type: string - - *271 + - *275 - name: sort description: What to sort results by. in: query @@ -75870,7 +76491,7 @@ paths: - comments default: created - *84 - - *137 + - *140 - *17 - *19 responses: @@ -75880,9 +76501,9 @@ paths: application/json: schema: type: array - items: *147 + items: *150 examples: - default: &551 + default: &559 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76030,7 +76651,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *365 + '301': *373 '422': *15 '404': *6 x-github: @@ -76059,8 +76680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -76135,9 +76756,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: &546 + default: &554 value: id: 1 node_id: MDU6SXNzdWUx @@ -76291,9 +76912,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *125 + '503': *128 '404': *6 - '410': *362 + '410': *370 x-github: triggersNotification: true githubCloudOnly: false @@ -76321,9 +76942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *351 - - *352 - - *157 + - *359 + - *360 + - *160 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -76333,7 +76954,7 @@ paths: enum: - asc - desc - - *137 + - *140 - *17 - *19 responses: @@ -76343,9 +76964,9 @@ paths: application/json: schema: type: array - items: *541 + items: *549 examples: - default: &548 + default: &556 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76403,17 +77024,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '200': description: Response content: application/json: - schema: *541 + schema: *549 examples: - default: &542 + default: &550 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76467,9 +77088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -76491,9 +77112,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *549 examples: - default: *542 + default: *550 '422': *15 x-github: githubCloudOnly: false @@ -76511,9 +77132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '204': description: Response @@ -76533,9 +77154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 - 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 comment. @@ -76561,9 +77182,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 '404': *6 @@ -76584,9 +77205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -76618,16 +77239,16 @@ paths: description: Reaction exists content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Reaction created content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -76649,10 +77270,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *359 + - *360 + - *149 - *351 - - *352 - - *146 - - *343 responses: '204': description: Response @@ -76672,8 +77293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -76683,7 +77304,7 @@ paths: application/json: schema: type: array - items: &545 + items: &553 title: Issue Event description: Issue Event type: object @@ -76726,8 +77347,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *543 - required: *544 + properties: *551 + required: *552 nullable: true label: title: Issue Event Label @@ -76771,7 +77392,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *270 + requested_team: *274 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76836,7 +77457,7 @@ paths: required: - from - to - author_association: *134 + author_association: *137 lock_reason: type: string nullable: true @@ -76849,8 +77470,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 required: - id - node_id @@ -77034,8 +77655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *351 - - *352 + - *359 + - *360 - name: event_id in: path required: true @@ -77046,7 +77667,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *553 examples: default: value: @@ -77239,7 +77860,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *362 + '410': *370 '403': *29 x-github: githubCloudOnly: false @@ -77273,9 +77894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *351 - - *352 - - &547 + - *359 + - *360 + - &555 name: issue_number description: The number that identifies the issue. in: path @@ -77287,12 +77908,12 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 - '301': *365 + default: *554 + '301': *373 '404': *6 - '410': *362 + '410': *370 '304': *37 x-github: githubCloudOnly: false @@ -77317,9 +77938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: false content: @@ -77414,15 +78035,15 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 '422': *15 - '503': *125 + '503': *128 '403': *29 - '301': *365 + '301': *373 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77440,9 +78061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: false content: @@ -77468,9 +78089,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77486,9 +78107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: content: application/json: @@ -77513,9 +78134,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77537,9 +78158,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: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - name: assignee in: path required: true @@ -77579,10 +78200,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *351 - - *352 - - *547 - - *137 + - *359 + - *360 + - *555 + - *140 - *17 - *19 responses: @@ -77592,13 +78213,13 @@ paths: application/json: schema: type: array - items: *541 + items: *549 examples: - default: *548 + default: *556 headers: Link: *39 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77627,9 +78248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: true content: @@ -77651,16 +78272,16 @@ paths: description: Response content: application/json: - schema: *541 + schema: *549 examples: - default: *542 + default: *550 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *362 + '410': *370 '422': *15 '404': *6 x-github: @@ -77680,9 +78301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - *17 - *19 responses: @@ -77696,7 +78317,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &552 + - &560 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77727,8 +78348,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 label: type: object properties: @@ -77750,7 +78371,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &561 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77781,8 +78402,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 label: type: object properties: @@ -77870,8 +78491,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 assignee: *4 assigner: *4 required: @@ -77886,7 +78507,7 @@ paths: - performed_via_github_app - assignee - assigner - - &554 + - &562 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77917,8 +78538,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 milestone: type: object properties: @@ -77937,7 +78558,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &563 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77968,8 +78589,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 milestone: type: object properties: @@ -77988,7 +78609,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &564 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78019,8 +78640,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 rename: type: object properties: @@ -78042,7 +78663,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &565 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78073,10 +78694,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 review_requester: *4 - requested_team: *270 + requested_team: *274 requested_reviewer: *4 required: - review_requester @@ -78089,7 +78710,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &566 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78120,10 +78741,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 review_requester: *4 - requested_team: *270 + requested_team: *274 requested_reviewer: *4 required: - review_requester @@ -78136,7 +78757,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &567 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78167,8 +78788,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 dismissed_review: type: object properties: @@ -78196,7 +78817,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &568 title: Locked Issue Event description: Locked Issue Event type: object @@ -78227,8 +78848,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 lock_reason: type: string example: '"off-topic"' @@ -78244,7 +78865,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &569 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78275,8 +78896,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 project_card: type: object properties: @@ -78310,7 +78931,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &570 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78341,8 +78962,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 project_card: type: object properties: @@ -78376,7 +78997,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &571 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78407,8 +79028,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 project_card: type: object properties: @@ -78442,7 +79063,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &572 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78533,7 +79154,7 @@ paths: color: red headers: Link: *39 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78550,9 +79171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - *17 - *19 responses: @@ -78562,7 +79183,7 @@ paths: application/json: schema: type: array - items: &549 + items: &557 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78609,7 +79230,7 @@ paths: - color - default examples: - default: &550 + default: &558 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78627,9 +79248,9 @@ paths: default: false headers: Link: *39 - '301': *365 + '301': *373 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78646,9 +79267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: false content: @@ -78707,12 +79328,12 @@ paths: application/json: schema: type: array - items: *549 + items: *557 examples: - default: *550 - '301': *365 + default: *558 + '301': *373 '404': *6 - '410': *362 + '410': *370 '422': *15 x-github: githubCloudOnly: false @@ -78729,9 +79350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: false content: @@ -78791,12 +79412,12 @@ paths: application/json: schema: type: array - items: *549 + items: *557 examples: - default: *550 - '301': *365 + default: *558 + '301': *373 '404': *6 - '410': *362 + '410': *370 '422': *15 x-github: githubCloudOnly: false @@ -78813,15 +79434,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 responses: '204': description: Response - '301': *365 + '301': *373 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78840,9 +79461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - name: name in: path required: true @@ -78855,7 +79476,7 @@ paths: application/json: schema: type: array - items: *549 + items: *557 examples: default: value: @@ -78866,9 +79487,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *365 + '301': *373 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78888,9 +79509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: false content: @@ -78918,7 +79539,7 @@ paths: '204': description: Response '403': *29 - '410': *362 + '410': *370 '404': *6 '422': *15 x-github: @@ -78936,9 +79557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 responses: '204': description: Response @@ -78960,9 +79581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - 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. @@ -78988,13 +79609,13 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79012,9 +79633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: true content: @@ -79046,16 +79667,16 @@ paths: description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -79077,10 +79698,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: + - *359 + - *360 + - *555 - *351 - - *352 - - *547 - - *343 responses: '204': description: Response @@ -79109,9 +79730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: true content: @@ -79121,7 +79742,7 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to remove + description: The id of the sub-issue to remove required: - sub_issue_id examples: @@ -79133,9 +79754,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79168,9 +79789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - *17 - *19 responses: @@ -79180,13 +79801,13 @@ paths: application/json: schema: type: array - items: *147 + items: *150 examples: - default: *551 + default: *559 headers: Link: *39 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79214,9 +79835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: true content: @@ -79226,7 +79847,8 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to add + description: The id of the sub-issue to add. The sub-issue must + belong to the same repository as the parent issue replace_parent: type: boolean description: Option that, when true, instructs the operation to @@ -79242,16 +79864,16 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *362 + '410': *370 '422': *15 '404': *6 x-github: @@ -79271,9 +79893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: true content: @@ -79304,13 +79926,13 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 '403': *29 '404': *6 '422': *7 - '503': *125 + '503': *128 x-github: triggersNotification: true githubCloudOnly: false @@ -79328,9 +79950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - *17 - *19 responses: @@ -79345,19 +79967,19 @@ paths: description: Timeline Event type: object anyOf: - - *552 - - *553 - - *554 - - *555 - - *556 - - *557 - - *558 - - *559 - *560 - *561 - *562 - *563 - *564 + - *565 + - *566 + - *567 + - *568 + - *569 + - *570 + - *571 + - *572 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79400,7 +80022,7 @@ paths: issue_url: type: string format: uri - author_association: *134 + author_association: *137 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -79410,9 +80032,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 - reactions: *135 + properties: *135 + required: *136 + reactions: *138 required: - event - actor @@ -79443,7 +80065,7 @@ paths: properties: type: type: string - issue: *147 + issue: *150 required: - event - created_at @@ -79638,7 +80260,7 @@ paths: type: string body_text: type: string - author_association: *134 + author_association: *137 required: - event - id @@ -79661,7 +80283,7 @@ paths: type: string comments: type: array - items: &585 + items: &593 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79750,7 +80372,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *134 + author_association: *137 _links: type: object properties: @@ -79834,7 +80456,7 @@ paths: enum: - line - file - reactions: *135 + reactions: *138 body_html: type: string example: '"

comment body

"' @@ -79870,7 +80492,7 @@ paths: type: string comments: type: array - items: *474 + items: *482 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -79901,8 +80523,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 assignee: *4 required: - id @@ -79945,8 +80567,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 assignee: *4 required: - id @@ -79989,8 +80611,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 state_reason: type: string nullable: true @@ -80159,7 +80781,7 @@ paths: headers: Link: *39 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80176,8 +80798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -80187,7 +80809,7 @@ paths: application/json: schema: type: array - items: &565 + items: &573 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80252,8 +80874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -80289,9 +80911,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *573 examples: - default: &566 + default: &574 value: id: 1 key: ssh-rsa AAA... @@ -80325,9 +80947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *351 - - *352 - - &567 + - *359 + - *360 + - &575 name: key_id description: The unique identifier of the key. in: path @@ -80339,9 +80961,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *573 examples: - default: *566 + default: *574 '404': *6 x-github: githubCloudOnly: false @@ -80359,9 +80981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *351 - - *352 - - *567 + - *359 + - *360 + - *575 responses: '204': description: Response @@ -80381,8 +81003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -80392,9 +81014,9 @@ paths: application/json: schema: type: array - items: *549 + items: *557 examples: - default: *550 + default: *558 headers: Link: *39 '404': *6 @@ -80415,8 +81037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -80452,9 +81074,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *557 examples: - default: &568 + default: &576 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80486,8 +81108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *351 - - *352 + - *359 + - *360 - name: name in: path required: true @@ -80498,9 +81120,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *557 examples: - default: *568 + default: *576 '404': *6 x-github: githubCloudOnly: false @@ -80517,8 +81139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *351 - - *352 + - *359 + - *360 - name: name in: path required: true @@ -80557,7 +81179,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *557 examples: default: value: @@ -80583,8 +81205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *351 - - *352 + - *359 + - *360 - name: name in: path required: true @@ -80610,8 +81232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -80647,8 +81269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '202': *93 '403': @@ -80676,8 +81298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -80703,9 +81325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *351 - - *352 - - *450 + - *359 + - *360 + - *458 responses: '200': description: Response @@ -80767,8 +81389,8 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true required: - _links @@ -80850,8 +81472,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -80916,8 +81538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -80951,9 +81573,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *475 + schema: *483 examples: - default: *569 + default: *577 '204': description: Response when already merged '404': @@ -80978,8 +81600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *351 - - *352 + - *359 + - *360 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81020,12 +81642,12 @@ paths: application/json: schema: type: array - items: &570 + items: &578 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *479 - required: *480 + properties: *487 + required: *488 examples: default: value: @@ -81081,8 +81703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -81122,9 +81744,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *578 examples: - default: &571 + default: &579 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81183,9 +81805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *351 - - *352 - - &572 + - *359 + - *360 + - &580 name: milestone_number description: The number that identifies the milestone. in: path @@ -81197,9 +81819,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *578 examples: - default: *571 + default: *579 '404': *6 x-github: githubCloudOnly: false @@ -81216,9 +81838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *351 - - *352 - - *572 + - *359 + - *360 + - *580 requestBody: required: false content: @@ -81256,9 +81878,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *578 examples: - default: *571 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81274,9 +81896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *351 - - *352 - - *572 + - *359 + - *360 + - *580 responses: '204': description: Response @@ -81297,9 +81919,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: - - *351 - - *352 - - *572 + - *359 + - *360 + - *580 - *17 - *19 responses: @@ -81309,9 +81931,9 @@ paths: application/json: schema: type: array - items: *549 + items: *557 examples: - default: *550 + default: *558 headers: Link: *39 x-github: @@ -81330,12 +81952,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: - - *351 - - *352 - - *573 - - *574 - - *137 - - *575 + - *359 + - *360 + - *581 + - *582 + - *140 + - *583 - *17 - *19 responses: @@ -81345,9 +81967,9 @@ paths: application/json: schema: type: array - items: *160 + items: *163 examples: - default: *576 + default: *584 headers: Link: *39 x-github: @@ -81371,8 +81993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -81430,14 +82052,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: &577 + schema: &585 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81562,7 +82184,7 @@ paths: - custom_404 - public examples: - default: &578 + default: &586 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81603,8 +82225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -81658,9 +82280,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *585 examples: - default: *578 + default: *586 '422': *15 '409': *92 x-github: @@ -81683,8 +82305,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -81791,8 +82413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -81818,8 +82440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -81829,7 +82451,7 @@ paths: application/json: schema: type: array - items: &579 + items: &587 title: Page Build description: Page Build type: object @@ -81923,8 +82545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *351 - - *352 + - *359 + - *360 responses: '201': description: Response @@ -81969,16 +82591,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *579 + schema: *587 examples: - default: &580 + default: &588 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82026,8 +82648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *351 - - *352 + - *359 + - *360 - name: build_id in: path required: true @@ -82038,9 +82660,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *587 examples: - default: *580 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82060,8 +82682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -82167,9 +82789,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: - - *351 - - *352 - - &581 + - *359 + - *360 + - &589 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82227,11 +82849,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *351 - - *352 - - *581 + - *359 + - *360 + - *589 responses: - '204': *112 + '204': *115 '404': *6 x-github: githubCloudOnly: false @@ -82256,8 +82878,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -82488,7 +83110,7 @@ paths: description: Empty response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -82515,8 +83137,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Private vulnerability reporting status @@ -82553,10 +83175,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: - '204': *112 + '204': *115 '422': *14 x-github: githubCloudOnly: false @@ -82575,10 +83197,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: - '204': *112 + '204': *115 '422': *14 x-github: githubCloudOnly: false @@ -82599,8 +83221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *351 - - *352 + - *359 + - *360 - name: state description: Indicates the state of the projects to return. in: query @@ -82621,7 +83243,7 @@ paths: application/json: schema: type: array - items: *301 + items: *305 examples: default: value: @@ -82661,7 +83283,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *362 + '410': *370 '422': *7 x-github: githubCloudOnly: false @@ -82681,8 +83303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -82708,13 +83330,13 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: *361 + default: *369 '401': *25 '403': *29 '404': *6 - '410': *362 + '410': *370 '422': *7 x-github: githubCloudOnly: false @@ -82734,8 +83356,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -82743,7 +83365,7 @@ paths: application/json: schema: type: array - items: *303 + items: *307 examples: default: value: @@ -82774,8 +83396,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -82787,7 +83409,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *303 + items: *307 required: - properties examples: @@ -82837,8 +83459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *351 - - *352 + - *359 + - *360 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82898,9 +83520,9 @@ paths: application/json: schema: type: array - items: *582 + items: *590 examples: - default: *583 + default: *591 headers: Link: *39 '304': *37 @@ -82932,8 +83554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -82998,7 +83620,7 @@ paths: description: Response content: application/json: - schema: &587 + schema: &595 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83109,8 +83731,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *479 - required: *480 + properties: *487 + required: *488 nullable: true active_lock_reason: type: string @@ -83155,7 +83777,7 @@ paths: nullable: true requested_teams: type: array - items: *323 + items: *327 nullable: true head: type: object @@ -83194,14 +83816,14 @@ paths: _links: type: object properties: - comments: *481 - commits: *481 - statuses: *481 - html: *481 - issue: *481 - review_comments: *481 - review_comment: *481 - self: *481 + comments: *489 + commits: *489 + statuses: *489 + html: *489 + issue: *489 + review_comments: *489 + review_comment: *489 + self: *489 required: - comments - commits @@ -83211,8 +83833,8 @@ paths: - review_comments - review_comment - self - author_association: *134 - auto_merge: *584 + author_association: *137 + auto_merge: *592 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83304,7 +83926,7 @@ paths: - merged_by - review_comments examples: - default: &588 + default: &596 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83831,8 +84453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *351 - - *352 + - *359 + - *360 - name: sort in: query required: false @@ -83851,7 +84473,7 @@ paths: enum: - asc - desc - - *137 + - *140 - *17 - *19 responses: @@ -83861,9 +84483,9 @@ paths: application/json: schema: type: array - items: *585 + items: *593 examples: - default: &590 + default: &598 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83940,17 +84562,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: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '200': description: Response content: application/json: - schema: *585 + schema: *593 examples: - default: &586 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84025,9 +84647,9 @@ 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: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -84049,9 +84671,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *593 examples: - default: *586 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84067,9 +84689,9 @@ 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: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '204': description: Response @@ -84090,9 +84712,9 @@ 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: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 - 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 pull request review comment. @@ -84118,9 +84740,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 '404': *6 @@ -84141,9 +84763,9 @@ 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: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -84175,16 +84797,16 @@ paths: description: Reaction exists content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Reaction created content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -84206,10 +84828,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *359 + - *360 + - *149 - *351 - - *352 - - *146 - - *343 responses: '204': description: Response @@ -84252,9 +84874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *351 - - *352 - - &589 + - *359 + - *360 + - &597 name: pull_number description: The number that identifies the pull request. in: path @@ -84267,9 +84889,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *587 + schema: *595 examples: - default: *588 + default: *596 '304': *37 '404': *6 '406': @@ -84278,7 +84900,7 @@ paths: application/json: schema: *3 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84304,9 +84926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: false content: @@ -84348,9 +84970,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *595 examples: - default: *588 + default: *596 '422': *15 '403': *29 x-github: @@ -84372,9 +84994,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: true content: @@ -84434,21 +85056,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '401': *25 '403': *29 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84474,10 +85096,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *351 - - *352 - - *589 - - *157 + - *359 + - *360 + - *597 + - *160 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -84487,7 +85109,7 @@ paths: enum: - asc - desc - - *137 + - *140 - *17 - *19 responses: @@ -84497,9 +85119,9 @@ paths: application/json: schema: type: array - items: *585 + items: *593 examples: - default: *590 + default: *598 headers: Link: *39 x-github: @@ -84532,9 +85154,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: true content: @@ -84639,7 +85261,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *593 examples: example-for-a-multi-line-comment: value: @@ -84727,10 +85349,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *351 - - *352 - - *589 - - *146 + - *359 + - *360 + - *597 + - *149 requestBody: required: true content: @@ -84752,7 +85374,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *593 examples: default: value: @@ -84838,9 +85460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 - *17 - *19 responses: @@ -84850,9 +85472,9 @@ paths: application/json: schema: type: array - items: *475 + items: *483 examples: - default: *591 + default: *599 headers: Link: *39 x-github: @@ -84882,9 +85504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 - *17 - *19 responses: @@ -84894,7 +85516,7 @@ paths: application/json: schema: type: array - items: *490 + items: *498 examples: default: value: @@ -84913,7 +85535,7 @@ paths: Link: *39 '422': *15 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84932,9 +85554,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 responses: '204': description: Response if pull request has been merged @@ -84957,9 +85579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: false content: @@ -85070,9 +85692,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 responses: '200': description: Response @@ -85088,7 +85710,7 @@ paths: items: *4 teams: type: array - items: *270 + items: *274 required: - users - teams @@ -85147,9 +85769,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: false content: @@ -85186,7 +85808,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *590 examples: default: value: @@ -85722,9 +86344,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: true content: @@ -85758,7 +86380,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *590 examples: default: value: @@ -86263,9 +86885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 - *17 - *19 responses: @@ -86275,7 +86897,7 @@ paths: application/json: schema: type: array - items: &592 + items: &600 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86344,7 +86966,7 @@ paths: type: string body_text: type: string - author_association: *134 + author_association: *137 required: - id - node_id @@ -86426,9 +87048,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: false content: @@ -86514,9 +87136,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *600 examples: - default: &594 + default: &602 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86579,10 +87201,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: - - *351 - - *352 - - *589 - - &593 + - *359 + - *360 + - *597 + - &601 name: review_id description: The unique identifier of the review. in: path @@ -86594,9 +87216,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *600 examples: - default: &595 + default: &603 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86655,10 +87277,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: - - *351 - - *352 - - *589 - - *593 + - *359 + - *360 + - *597 + - *601 requestBody: required: true content: @@ -86681,7 +87303,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *600 examples: default: value: @@ -86743,18 +87365,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: - - *351 - - *352 - - *589 - - *593 + - *359 + - *360 + - *597 + - *601 responses: '200': description: Response content: application/json: - schema: *592 + schema: *600 examples: - default: *594 + default: *602 '422': *7 '404': *6 x-github: @@ -86781,10 +87403,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: - - *351 - - *352 - - *589 - - *593 + - *359 + - *360 + - *597 + - *601 - *17 - *19 responses: @@ -86863,13 +87485,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *134 + author_association: *137 _links: type: object properties: - self: *481 - html: *481 - pull_request: *481 + self: *489 + html: *489 + pull_request: *489 required: - self - html @@ -86878,7 +87500,7 @@ paths: type: string body_html: type: string - reactions: *135 + reactions: *138 side: description: The side of the first line of the range for a multi-line comment. @@ -87012,10 +87634,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: - - *351 - - *352 - - *589 - - *593 + - *359 + - *360 + - *597 + - *601 requestBody: required: true content: @@ -87043,7 +87665,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *600 examples: default: value: @@ -87106,10 +87728,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: - - *351 - - *352 - - *589 - - *593 + - *359 + - *360 + - *597 + - *601 requestBody: required: true content: @@ -87144,9 +87766,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *600 examples: - default: *595 + default: *603 '404': *6 '422': *7 '403': *29 @@ -87168,9 +87790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: false content: @@ -87233,8 +87855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *351 - - *352 + - *359 + - *360 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87247,9 +87869,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *604 examples: - default: &597 + default: &605 value: type: file encoding: base64 @@ -87291,8 +87913,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: - - *351 - - *352 + - *359 + - *360 - name: dir description: The alternate path to look for a README file in: path @@ -87312,9 +87934,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *604 examples: - default: *597 + default: *605 '404': *6 '422': *15 x-github: @@ -87336,8 +87958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -87347,7 +87969,7 @@ paths: application/json: schema: type: array - items: &598 + items: &606 title: Release description: A release. type: object @@ -87410,7 +88032,7 @@ paths: author: *4 assets: type: array - items: &599 + items: &607 title: Release Asset description: Data related to a release. type: object @@ -87481,7 +88103,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *135 + reactions: *138 required: - assets_url - upload_url @@ -87591,8 +88213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -87668,9 +88290,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *606 examples: - default: &602 + default: &610 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87773,9 +88395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *351 - - *352 - - &600 + - *359 + - *360 + - &608 name: asset_id description: The unique identifier of the asset. in: path @@ -87787,9 +88409,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *607 examples: - default: &601 + default: &609 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 @@ -87823,7 +88445,7 @@ paths: type: User site_admin: false '404': *6 - '302': *492 + '302': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87839,9 +88461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *351 - - *352 - - *600 + - *359 + - *360 + - *608 requestBody: required: false content: @@ -87869,9 +88491,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *607 examples: - default: *601 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87887,9 +88509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *351 - - *352 - - *600 + - *359 + - *360 + - *608 responses: '204': description: Response @@ -87913,8 +88535,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -87999,16 +88621,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *598 + schema: *606 examples: - default: *602 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88025,8 +88647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *351 - - *352 + - *359 + - *360 - name: tag description: tag parameter in: path @@ -88039,9 +88661,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *606 examples: - default: *602 + default: *610 '404': *6 x-github: githubCloudOnly: false @@ -88063,9 +88685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *351 - - *352 - - &603 + - *359 + - *360 + - &611 name: release_id description: The unique identifier of the release. in: path @@ -88079,9 +88701,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: *598 + schema: *606 examples: - default: *602 + default: *610 '401': description: Unauthorized x-github: @@ -88099,9 +88721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 requestBody: required: false content: @@ -88165,9 +88787,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *606 examples: - default: *602 + default: *610 '404': description: Not Found if the discussion category name is invalid content: @@ -88188,9 +88810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 responses: '204': description: Response @@ -88210,9 +88832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 - *17 - *19 responses: @@ -88222,7 +88844,7 @@ paths: application/json: schema: type: array - items: *599 + items: *607 examples: default: value: @@ -88303,9 +88925,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: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 - name: name in: query required: true @@ -88331,7 +88953,7 @@ paths: description: Response for successful upload content: application/json: - schema: *599 + schema: *607 examples: response-for-successful-upload: value: @@ -88385,9 +89007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 - 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. @@ -88411,9 +89033,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 '404': *6 @@ -88434,9 +89056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 requestBody: required: true content: @@ -88466,16 +89088,16 @@ paths: description: Reaction exists content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Reaction created content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -88497,10 +89119,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: + - *359 + - *360 + - *611 - *351 - - *352 - - *603 - - *343 responses: '204': description: Response @@ -88524,9 +89146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 - *17 - *19 responses: @@ -88542,8 +89164,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *604 - - &606 + - *612 + - &614 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88562,54 +89184,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *605 - - *606 - - allOf: - - *607 - - *606 - - allOf: - - *608 - - *606 - - allOf: - - *609 - - *606 - - allOf: - - *610 - - *606 - - allOf: - - *611 - - *606 - - allOf: - - *612 - - *606 - allOf: - *613 - - *606 - - allOf: - *614 - - *606 - allOf: - *615 - - *606 + - *614 - allOf: - *616 - - *606 + - *614 - allOf: - *617 - - *606 + - *614 - allOf: - *618 - - *606 + - *614 - allOf: - *619 - - *606 + - *614 - allOf: - *620 - - *606 + - *614 - allOf: - *621 - - *606 + - *614 + - allOf: + - *622 + - *614 + - allOf: + - *623 + - *614 + - allOf: + - *624 + - *614 + - allOf: + - *625 + - *614 + - allOf: + - *626 + - *614 + - allOf: + - *627 + - *614 + - allOf: + - *628 + - *614 + - allOf: + - *629 + - *614 examples: default: value: @@ -88648,8 +89270,8 @@ paths: category: repos subcategory: rules parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 - name: includes_parents @@ -88660,7 +89282,7 @@ paths: schema: type: boolean default: true - - *622 + - *630 responses: '200': description: Response @@ -88668,7 +89290,7 @@ paths: application/json: schema: type: array - items: *122 + items: *125 examples: default: value: @@ -88715,8 +89337,8 @@ paths: category: repos subcategory: rules parameters: - - *351 - - *352 + - *359 + - *360 requestBody: description: Request body required: true @@ -88736,16 +89358,16 @@ paths: - tag - push default: branch - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *115 + items: *123 + conditions: *118 rules: type: array description: An array of rules within the ruleset. - items: *121 + items: *124 required: - name - enforcement @@ -88776,9 +89398,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: &631 + default: &639 value: id: 42 name: super cool ruleset @@ -88825,12 +89447,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *351 - - *352 - - *623 - - *311 - - *624 - - *625 + - *359 + - *360 + - *631 + - *315 + - *632 + - *633 - *17 - *19 responses: @@ -88838,9 +89460,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *634 examples: - default: *627 + default: *635 '404': *6 '500': *97 x-github: @@ -88861,17 +89483,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *351 - - *352 - - *628 + - *359 + - *360 + - *636 responses: '200': description: Response content: application/json: - schema: *629 + schema: *637 examples: - default: *630 + default: *638 '404': *6 '500': *97 x-github: @@ -88899,8 +89521,8 @@ paths: category: repos subcategory: rules parameters: - - *351 - - *352 + - *359 + - *360 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88920,9 +89542,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *631 + default: *639 '404': *6 '500': *97 put: @@ -88940,8 +89562,8 @@ paths: category: repos subcategory: rules parameters: - - *351 - - *352 + - *359 + - *360 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88966,16 +89588,16 @@ paths: - branch - tag - push - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *115 + items: *123 + conditions: *118 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *124 examples: default: value: @@ -89003,9 +89625,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *631 + default: *639 '404': *6 '500': *97 delete: @@ -89023,8 +89645,8 @@ paths: category: repos subcategory: rules parameters: - - *351 - - *352 + - *359 + - *360 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89052,20 +89674,20 @@ 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: - - *351 - - *352 - - *313 - - *314 - - *315 - - *316 - - *84 - - *19 - - *17 - - *632 - - *633 + - *359 + - *360 - *317 - *318 - *319 + - *320 + - *84 + - *19 + - *17 + - *640 + - *641 + - *321 + - *322 + - *323 responses: '200': description: Response @@ -89073,7 +89695,7 @@ paths: application/json: schema: type: array - items: &636 + items: &644 type: object properties: number: *98 @@ -89092,8 +89714,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *634 - resolution: *635 + state: *642 + resolution: *643 resolved_at: type: string format: date-time @@ -89284,7 +89906,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89306,15 +89928,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 responses: '200': description: Response content: application/json: - schema: *636 + schema: *644 examples: default: value: @@ -89345,7 +89967,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89366,9 +89988,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 requestBody: required: true content: @@ -89376,8 +89998,8 @@ paths: schema: type: object properties: - state: *634 - resolution: *635 + state: *642 + resolution: *643 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -89395,7 +90017,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *644 examples: default: value: @@ -89448,7 +90070,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89470,9 +90092,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 - *19 - *17 responses: @@ -89483,7 +90105,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &796 + items: &804 type: object properties: type: @@ -89820,7 +90442,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89842,8 +90464,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -89851,14 +90473,14 @@ paths: schema: type: object properties: - reason: &638 + reason: &646 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *637 + placeholder_id: *645 required: - reason - placeholder_id @@ -89875,7 +90497,7 @@ paths: schema: type: object properties: - reason: *638 + reason: *646 expire_at: type: string format: date-time @@ -89898,7 +90520,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89918,13 +90540,13 @@ 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: - - *351 - - *352 + - *359 + - *360 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *125 + '503': *128 '200': description: Response content: @@ -89934,7 +90556,7 @@ paths: properties: incremental_scans: type: array - items: &639 + items: &647 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89960,15 +90582,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *639 + items: *647 backfill_scans: type: array - items: *639 + items: *647 custom_pattern_backfill_scans: type: array items: allOf: - - *639 + - *647 - type: object properties: pattern_name: @@ -90038,8 +90660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *351 - - *352 + - *359 + - *360 - *84 - name: sort description: The property to sort the results by. @@ -90083,9 +90705,9 @@ paths: application/json: schema: type: array - items: *640 + items: *648 examples: - default: *641 + default: *649 '400': *14 '404': *6 x-github: @@ -90108,8 +90730,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -90182,7 +90804,7 @@ paths: login: type: string description: The username of the user credited. - type: *322 + type: *326 required: - login - type @@ -90269,9 +90891,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *648 examples: - default: &643 + default: &651 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90504,8 +91126,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -90609,7 +91231,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *648 examples: default: value: @@ -90756,17 +91378,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: - - *351 - - *352 - - *642 + - *359 + - *360 + - *650 responses: '200': description: Response content: application/json: - schema: *640 + schema: *648 examples: - default: *643 + default: *651 '403': *29 '404': *6 x-github: @@ -90790,9 +91412,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: - - *351 - - *352 - - *642 + - *359 + - *360 + - *650 requestBody: required: true content: @@ -90865,7 +91487,7 @@ paths: login: type: string description: The username of the user credited. - type: *322 + type: *326 required: - login - type @@ -90951,17 +91573,17 @@ paths: description: Response content: application/json: - schema: *640 + schema: *648 examples: - default: *643 - add_credit: *643 + default: *651 + add_credit: *651 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *173 + schema: *176 examples: invalid_state_transition: value: @@ -90992,9 +91614,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: - - *351 - - *352 - - *642 + - *359 + - *360 + - *650 responses: '202': *93 '400': *14 @@ -91021,17 +91643,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: - - *351 - - *352 - - *642 + - *359 + - *360 + - *650 responses: '202': description: Response content: application/json: - schema: *364 + schema: *372 examples: - default: *366 + default: *374 '400': *14 '422': *15 '403': *29 @@ -91057,8 +91679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -91157,8 +91779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91167,7 +91789,7 @@ paths: application/json: schema: type: array - items: &644 + items: &652 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91180,7 +91802,7 @@ paths: - 1124 - -435 '202': *93 - '204': *112 + '204': *115 '422': description: Repository contains more than 10,000 commits x-github: @@ -91200,8 +91822,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -91250,7 +91872,7 @@ paths: total: 89 week: 1336280400 '202': *93 - '204': *112 + '204': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91277,8 +91899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -91352,7 +91974,7 @@ paths: d: 77 c: 10 '202': *93 - '204': *112 + '204': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91374,8 +91996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91529,8 +92151,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91540,7 +92162,7 @@ paths: application/json: schema: type: array - items: *644 + items: *652 examples: default: value: @@ -91553,7 +92175,7 @@ paths: - - 0 - 2 - 21 - '204': *112 + '204': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91573,8 +92195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *351 - - *352 + - *359 + - *360 - name: sha in: path required: true @@ -91628,7 +92250,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *653 examples: default: value: @@ -91682,8 +92304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -91695,7 +92317,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -91715,14 +92337,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &646 + schema: &654 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91790,8 +92412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -91817,7 +92439,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *654 examples: default: value: @@ -91844,8 +92466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -91865,8 +92487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -91945,8 +92567,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -91954,7 +92576,7 @@ paths: application/json: schema: type: array - items: &647 + items: &655 title: Tag protection description: Tag protection type: object @@ -92006,8 +92628,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -92030,7 +92652,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *655 examples: default: value: @@ -92061,8 +92683,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: - - *351 - - *352 + - *359 + - *360 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92099,8 +92721,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *351 - - *352 + - *359 + - *360 - name: ref in: path required: true @@ -92136,8 +92758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -92147,9 +92769,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 headers: Link: *39 '404': *6 @@ -92169,8 +92791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *351 - - *352 + - *359 + - *360 - *19 - *17 responses: @@ -92178,7 +92800,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &656 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92190,7 +92812,7 @@ paths: required: - names examples: - default: &649 + default: &657 value: names: - octocat @@ -92213,8 +92835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -92245,9 +92867,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *656 examples: - default: *649 + default: *657 '404': *6 '422': *7 x-github: @@ -92268,9 +92890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *351 - - *352 - - &650 + - *359 + - *360 + - &658 name: per description: The time frame to display results for. in: query @@ -92299,7 +92921,7 @@ paths: example: 128 clones: type: array - items: &651 + items: &659 title: Traffic type: object properties: @@ -92386,8 +93008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -92477,8 +93099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -92538,9 +93160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *351 - - *352 - - *650 + - *359 + - *360 + - *658 responses: '200': description: Response @@ -92559,7 +93181,7 @@ paths: example: 3782 views: type: array - items: *651 + items: *659 required: - uniques - count @@ -92636,8 +93258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -92673,7 +93295,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *193 examples: default: value: @@ -92911,8 +93533,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92935,8 +93557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -92958,8 +93580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -92985,8 +93607,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *351 - - *352 + - *359 + - *360 - name: ref in: path required: true @@ -93078,9 +93700,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *372 examples: - default: *366 + default: *374 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93121,7 +93743,7 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: default: value: @@ -93231,7 +93853,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &659 + - &667 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -93240,7 +93862,7 @@ paths: schema: type: string example: members - - &664 + - &672 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -93251,7 +93873,7 @@ paths: default: 1 format: int32 example: 1 - - &665 + - &673 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -93293,7 +93915,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &653 + items: &661 allOf: - type: object required: @@ -93368,7 +93990,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: &666 + meta: &674 type: object description: The metadata associated with the creation/updates to the user. @@ -93428,31 +94050,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &654 + '400': &662 description: Bad request content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 - '401': &655 + schema: *660 + '401': &663 description: Authorization failure - '403': &656 + '403': &664 description: Permission denied - '429': &657 + '429': &665 description: Too many requests content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 - '500': &658 + schema: *660 + '500': &666 description: Internal server error content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 + schema: *660 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93476,7 +94098,7 @@ paths: required: true content: application/json: - schema: &662 + schema: &670 type: object required: - schemas @@ -93532,9 +94154,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *653 + schema: *661 examples: - group: &660 + group: &668 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -93553,13 +94175,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': *654 - '401': *655 - '403': *656 - '409': &663 + '400': *662 + '401': *663 + '403': *664 + '409': &671 description: Duplicate record detected - '429': *657 - '500': *658 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93576,7 +94198,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: - - &661 + - &669 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -93584,22 +94206,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *659 + - *667 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *653 + schema: *661 examples: - default: *660 - '400': *654 - '401': *655 - '403': *656 + default: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *657 - '500': *658 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93618,13 +94240,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: - - *661 + - *669 - *40 requestBody: required: true content: application/json: - schema: *662 + schema: *670 examples: group: summary: Group @@ -93650,17 +94272,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *653 + schema: *661 examples: - group: *660 - groupWithMembers: *660 - '400': *654 - '401': *655 - '403': *656 + group: *668 + groupWithMembers: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *663 - '429': *657 - '500': *658 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93684,13 +94306,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: - - *661 + - *669 - *40 requestBody: required: true content: application/json: - schema: &673 + schema: &681 type: object required: - Operations @@ -93750,17 +94372,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *653 + schema: *661 examples: - updateGroup: *660 - addMembers: *660 - '400': *654 - '401': *655 - '403': *656 + updateGroup: *668 + addMembers: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *663 - '429': *657 - '500': *658 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93776,17 +94398,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: - - *661 + - *669 - *40 responses: '204': description: Group was deleted, no content - '400': *654 - '401': *655 - '403': *656 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *657 - '500': *658 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93820,8 +94442,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *664 - - *665 + - *672 + - *673 - *40 responses: '200': @@ -93854,7 +94476,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &668 + items: &676 allOf: - type: object required: @@ -93933,7 +94555,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &667 + roles: &675 type: array description: The roles assigned to the user. items: @@ -93989,7 +94611,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *666 + meta: *674 startIndex: type: integer description: A starting index for the returned page @@ -94026,11 +94648,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *654 - '401': *655 - '403': *656 - '429': *657 - '500': *658 + '400': *662 + '401': *663 + '403': *664 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94054,7 +94676,7 @@ paths: required: true content: application/json: - schema: &671 + schema: &679 type: object required: - schemas @@ -94136,9 +94758,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *667 + roles: *675 examples: - user: &672 + user: &680 summary: User value: schemas: @@ -94185,9 +94807,9 @@ paths: description: User has been created content: application/scim+json: - schema: *668 + schema: *676 examples: - user: &669 + user: &677 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -94213,13 +94835,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: *669 - '400': *654 - '401': *655 - '403': *656 - '409': *663 - '429': *657 - '500': *658 + enterpriseOwner: *677 + '400': *662 + '401': *663 + '403': *664 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94236,7 +94858,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: - - &670 + - &678 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -94249,15 +94871,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *668 + schema: *676 examples: - default: *669 - '400': *654 - '401': *655 - '403': *656 + default: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *657 - '500': *658 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94279,30 +94901,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: - - *670 + - *678 - *40 requestBody: required: true content: application/json: - schema: *671 + schema: *679 examples: - user: *672 + user: *680 responses: '200': description: User was updated content: application/scim+json: - schema: *668 + schema: *676 examples: - user: *669 - '400': *654 - '401': *655 - '403': *656 + user: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *663 - '429': *657 - '500': *658 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94337,13 +94959,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: - - *670 + - *678 - *40 requestBody: required: true content: application/json: - schema: *673 + schema: *681 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -94383,18 +95005,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *668 - examples: - userMultiValuedProperties: *669 - userSingleValuedProperties: *669 - disableUser: *669 - '400': *654 - '401': *655 - '403': *656 + schema: *676 + examples: + userMultiValuedProperties: *677 + userSingleValuedProperties: *677 + disableUser: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *663 - '429': *657 - '500': *658 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94414,17 +95036,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: - - *670 + - *678 - *40 responses: '204': description: User was deleted, no content - '400': *654 - '401': *655 - '403': *656 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *657 - '500': *658 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94457,7 +95079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *170 + - *173 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -94511,7 +95133,7 @@ paths: example: 1 Resources: type: array - items: &674 + items: &682 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -94742,22 +95364,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': &675 + '404': &683 description: Resource not found content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 - '403': &676 + schema: *660 + '403': &684 description: Forbidden content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 - '400': *654 - '429': *657 + schema: *660 + '400': *662 + '429': *665 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -94777,15 +95399,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *170 + - *173 responses: '201': description: Response content: application/scim+json: - schema: *674 + schema: *682 examples: - default: &677 + default: &685 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -94808,17 +95430,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': *675 - '403': *676 - '500': *658 + '404': *683 + '403': *684 + '500': *666 '409': description: Conflict content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 - '400': *654 + schema: *660 + '400': *662 requestBody: required: true content: @@ -94910,18 +95532,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *170 - - *670 + - *173 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *674 + schema: *682 examples: - default: *677 - '404': *675 - '403': *676 + default: *685 + '404': *683 + '403': *684 '304': *37 x-github: githubCloudOnly: true @@ -94944,19 +95566,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *170 - - *670 + - *173 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *674 + schema: *682 examples: - default: *677 + default: *685 '304': *37 - '404': *675 - '403': *676 + '404': *683 + '403': *684 requestBody: required: true content: @@ -95064,20 +95686,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *170 - - *670 + - *173 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *674 + schema: *682 examples: - default: *677 + default: *685 '304': *37 - '404': *675 - '403': *676 - '400': *654 + '404': *683 + '403': *684 + '400': *662 '429': description: Response content: @@ -95167,13 +95789,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *170 - - *670 + - *173 + - *678 responses: '204': description: Response - '404': *675 - '403': *676 + '404': *683 + '403': *684 '304': *37 x-github: githubCloudOnly: true @@ -95288,7 +95910,7 @@ paths: html_url: type: string format: uri - repository: *190 + repository: *193 score: type: number file_size: @@ -95306,7 +95928,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &678 + text_matches: &686 title: Search Result Text Matches type: array items: @@ -95420,7 +96042,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *125 + '503': *128 '422': *15 '403': *29 x-github: @@ -95469,7 +96091,7 @@ paths: enum: - author-date - committer-date - - &679 + - &687 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 @@ -95540,7 +96162,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *408 + properties: *416 nullable: true comment_count: type: integer @@ -95560,7 +96182,7 @@ paths: url: type: string format: uri - verification: *527 + verification: *535 required: - author - committer @@ -95579,7 +96201,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *408 + properties: *416 nullable: true parents: type: array @@ -95592,12 +96214,12 @@ paths: type: string sha: type: string - repository: *190 + repository: *193 score: type: number node_id: type: string - text_matches: *678 + text_matches: *686 required: - sha - node_id @@ -95790,7 +96412,7 @@ paths: - interactions - created - updated - - *679 + - *687 - *17 - *19 responses: @@ -95909,8 +96531,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *479 - required: *480 + properties: *487 + required: *488 nullable: true comments: type: integer @@ -95924,7 +96546,7 @@ paths: type: string format: date-time nullable: true - text_matches: *678 + text_matches: *686 pull_request: type: object properties: @@ -95957,7 +96579,7 @@ paths: type: string score: type: number - author_association: *134 + author_association: *137 draft: type: boolean repository: *63 @@ -95977,9 +96599,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 - reactions: *135 + properties: *135 + required: *136 + reactions: *138 required: - assignee - closed_at @@ -96095,7 +96717,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *125 + '503': *128 '422': *15 '304': *37 '403': *29 @@ -96148,7 +96770,7 @@ paths: enum: - created - updated - - *679 + - *687 - *17 - *19 responses: @@ -96192,7 +96814,7 @@ paths: nullable: true score: type: number - text_matches: *678 + text_matches: *686 required: - id - node_id @@ -96278,7 +96900,7 @@ paths: - forks - help-wanted-issues - updated - - *679 + - *687 - *17 - *19 responses: @@ -96497,8 +97119,8 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true permissions: type: object @@ -96517,7 +97139,7 @@ paths: - admin - pull - push - text_matches: *678 + text_matches: *686 temp_clone_token: type: string allow_merge_commit: @@ -96719,7 +97341,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *125 + '503': *128 '422': *15 '304': *37 x-github: @@ -96818,7 +97440,7 @@ paths: type: string format: uri nullable: true - text_matches: *678 + text_matches: *686 related: type: array nullable: true @@ -97011,7 +97633,7 @@ paths: - followers - repositories - joined - - *679 + - *687 - *17 - *19 responses: @@ -97115,7 +97737,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *678 + text_matches: *686 blog: type: string nullable: true @@ -97174,7 +97796,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *125 + '503': *128 '422': *15 x-github: githubCloudOnly: false @@ -97194,7 +97816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &680 + - &688 name: team_id description: The unique identifier of the team. in: path @@ -97206,9 +97828,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -97235,7 +97857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *680 + - *688 requestBody: required: true content: @@ -97298,16 +97920,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '201': description: Response content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '404': *6 '422': *15 '403': *29 @@ -97335,7 +97957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *680 + - *688 responses: '204': description: Response @@ -97366,7 +97988,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *680 + - *688 - *84 - *17 - *19 @@ -97377,9 +97999,9 @@ paths: application/json: schema: type: array - items: *334 + items: *342 examples: - default: *681 + default: *689 headers: Link: *39 x-github: @@ -97408,7 +98030,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *680 + - *688 requestBody: required: true content: @@ -97442,9 +98064,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: *335 + default: *343 x-github: triggersNotification: true githubCloudOnly: false @@ -97471,16 +98093,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *680 - - *336 + - *688 + - *344 responses: '200': description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: *335 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97505,8 +98127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *680 - - *336 + - *688 + - *344 requestBody: required: false content: @@ -97529,9 +98151,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: *682 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97556,8 +98178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *680 - - *336 + - *688 + - *344 responses: '204': description: Response @@ -97586,8 +98208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *680 - - *336 + - *688 + - *344 - *84 - *17 - *19 @@ -97598,9 +98220,9 @@ paths: application/json: schema: type: array - items: *337 + items: *345 examples: - default: *683 + default: *691 headers: Link: *39 x-github: @@ -97629,8 +98251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *680 - - *336 + - *688 + - *344 requestBody: required: true content: @@ -97652,9 +98274,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: *338 + default: *346 x-github: triggersNotification: true githubCloudOnly: false @@ -97681,17 +98303,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *680 - - *336 - - *339 + - *688 + - *344 + - *347 responses: '200': description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: *338 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97716,9 +98338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *680 - - *336 - - *339 + - *688 + - *344 + - *347 requestBody: required: true content: @@ -97740,9 +98362,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: *684 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97767,9 +98389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *680 - - *336 - - *339 + - *688 + - *344 + - *347 responses: '204': description: Response @@ -97798,9 +98420,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: - - *680 - - *336 - - *339 + - *688 + - *344 + - *347 - 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. @@ -97826,9 +98448,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 x-github: @@ -97857,9 +98479,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: - - *680 - - *336 - - *339 + - *688 + - *344 + - *347 requestBody: required: true content: @@ -97891,9 +98513,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97919,8 +98541,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: - - *680 - - *336 + - *688 + - *344 - 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. @@ -97946,9 +98568,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 x-github: @@ -97977,8 +98599,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: - - *680 - - *336 + - *688 + - *344 requestBody: required: true content: @@ -98010,9 +98632,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98036,7 +98658,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *680 + - *688 - *17 - *19 responses: @@ -98046,9 +98668,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *268 + default: *272 headers: Link: *39 x-github: @@ -98074,7 +98696,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *680 + - *688 - name: role description: Filters members returned by their role in the team. in: query @@ -98097,7 +98719,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '404': *6 @@ -98125,8 +98747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *680 - - *212 + - *688 + - *215 responses: '204': description: if user is a member @@ -98162,8 +98784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *680 - - *212 + - *688 + - *215 responses: '204': description: Response @@ -98202,8 +98824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *680 - - *212 + - *688 + - *215 responses: '204': description: Response @@ -98239,16 +98861,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: - - *680 - - *212 + - *688 + - *215 responses: '200': description: Response content: application/json: - schema: *348 + schema: *356 examples: - response-if-user-is-a-team-maintainer: *685 + response-if-user-is-a-team-maintainer: *693 '404': *6 x-github: githubCloudOnly: false @@ -98281,8 +98903,8 @@ 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: - - *680 - - *212 + - *688 + - *215 requestBody: required: false content: @@ -98307,9 +98929,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: *686 + response-if-users-membership-with-team-is-now-pending: *694 '403': description: Forbidden if team synchronization is set up '422': @@ -98343,8 +98965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *680 - - *212 + - *688 + - *215 responses: '204': description: Response @@ -98373,7 +98995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *680 + - *688 - *17 - *19 responses: @@ -98383,9 +99005,9 @@ paths: application/json: schema: type: array - items: *349 + items: *357 examples: - default: *687 + default: *695 headers: Link: *39 '404': *6 @@ -98412,16 +99034,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *680 - - *350 + - *688 + - *358 responses: '200': description: Response content: application/json: - schema: *349 + schema: *357 examples: - default: *688 + default: *696 '404': description: Not Found if project is not managed by this team x-github: @@ -98446,8 +99068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *680 - - *350 + - *688 + - *358 requestBody: required: false content: @@ -98515,8 +99137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *680 - - *350 + - *688 + - *358 responses: '204': description: Response @@ -98543,7 +99165,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *680 + - *688 - *17 - *19 responses: @@ -98553,9 +99175,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 '404': *6 @@ -98585,15 +99207,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: - - *680 - - *351 - - *352 + - *688 + - *359 + - *360 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *689 + schema: *697 examples: alternative-response-with-extra-repository-information: value: @@ -98744,9 +99366,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: - - *680 - - *351 - - *352 + - *688 + - *359 + - *360 requestBody: required: false content: @@ -98796,9 +99418,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: - - *680 - - *351 - - *352 + - *688 + - *359 + - *360 responses: '204': description: Response @@ -98827,15 +99449,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: - - *680 + - *688 responses: '200': description: Response content: application/json: - schema: *353 + schema: *361 examples: - default: *354 + default: *362 '403': *29 '404': *6 x-github: @@ -98862,7 +99484,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: - - *680 + - *688 requestBody: required: true content: @@ -98919,7 +99541,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *361 examples: default: value: @@ -98950,7 +99572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *680 + - *688 - *17 - *19 responses: @@ -98960,9 +99582,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - response-if-child-teams-exist: *690 + response-if-child-teams-exist: *698 headers: Link: *39 '404': *6 @@ -98995,7 +99617,7 @@ paths: application/json: schema: oneOf: - - &692 + - &700 title: Private User description: Private User type: object @@ -99198,7 +99820,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *691 + - *699 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99351,7 +99973,7 @@ paths: description: Response content: application/json: - schema: *692 + schema: *700 examples: default: value: @@ -99430,7 +100052,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 '304': *37 '404': *6 '403': *29 @@ -99453,7 +100075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *212 + - *215 responses: '204': description: If the user is blocked @@ -99481,7 +100103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *212 + - *215 responses: '204': description: Response @@ -99505,7 +100127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *212 + - *215 responses: '204': description: Response @@ -99554,9 +100176,9 @@ paths: type: integer codespaces: type: array - items: *274 + items: *278 examples: - default: *275 + default: *279 '304': *37 '500': *97 '401': *25 @@ -99695,21 +100317,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '401': *25 '403': *29 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99749,7 +100371,7 @@ paths: type: integer secrets: type: array - items: &693 + items: &701 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99789,7 +100411,7 @@ paths: - visibility - selected_repositories_url examples: - default: *467 + default: *475 headers: Link: *39 x-github: @@ -99859,13 +100481,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *200 + - *203 responses: '200': description: Response content: application/json: - schema: *693 + schema: *701 examples: default: value: @@ -99895,7 +100517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *200 + - *203 requestBody: required: true content: @@ -99940,7 +100562,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -99968,7 +100590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *200 + - *203 responses: '204': description: Response @@ -99993,7 +100615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *200 + - *203 responses: '200': description: Response @@ -100009,9 +100631,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *193 examples: - default: *694 + default: *702 '401': *25 '403': *29 '404': *6 @@ -100036,7 +100658,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *200 + - *203 requestBody: required: true content: @@ -100090,7 +100712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *200 + - *203 - name: repository_id in: path required: true @@ -100123,7 +100745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *200 + - *203 - name: repository_id in: path required: true @@ -100155,15 +100777,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: - - *276 + - *280 responses: '200': description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '304': *37 '500': *97 '401': *25 @@ -100189,7 +100811,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: - - *276 + - *280 requestBody: required: false content: @@ -100219,9 +100841,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '401': *25 '403': *29 '404': *6 @@ -100243,7 +100865,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: - - *276 + - *280 responses: '202': *93 '304': *37 @@ -100272,13 +100894,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: - - *276 + - *280 responses: '202': description: Response content: application/json: - schema: &695 + schema: &703 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100319,7 +100941,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &696 + default: &704 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100351,7 +100973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *276 + - *280 - name: export_id in: path required: true @@ -100364,9 +100986,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *703 examples: - default: *696 + default: *704 '404': *6 x-github: githubCloudOnly: false @@ -100387,7 +101009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *276 + - *280 responses: '200': description: Response @@ -100403,9 +101025,9 @@ paths: type: integer machines: type: array - items: *697 + items: *705 examples: - default: *698 + default: *706 '304': *37 '500': *97 '401': *25 @@ -100434,7 +101056,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: - - *276 + - *280 requestBody: required: true content: @@ -100484,13 +101106,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *364 + repository: *372 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *465 - required: *466 + properties: *473 + required: *474 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -101264,15 +101886,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: - - *276 + - *280 responses: '200': description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '304': *37 '500': *97 '400': *14 @@ -101304,15 +101926,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: - - *276 + - *280 responses: '200': description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '500': *97 '401': *25 '403': *29 @@ -101342,9 +101964,9 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: &711 + default: &719 value: - id: 197 name: hello_docker @@ -101445,7 +102067,7 @@ paths: application/json: schema: type: array - items: &699 + items: &707 title: Email description: Email type: object @@ -101510,9 +102132,9 @@ paths: application/json: schema: type: array - items: *699 + items: *707 examples: - default: &713 + default: &721 value: - email: octocat@github.com verified: true @@ -101587,7 +102209,7 @@ paths: application/json: schema: type: array - items: *699 + items: *707 examples: default: value: @@ -101697,7 +102319,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '304': *37 @@ -101730,7 +102352,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '304': *37 @@ -101752,7 +102374,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *212 + - *215 responses: '204': description: if the person is followed by the authenticated user @@ -101782,7 +102404,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *212 + - *215 responses: '204': description: Response @@ -101807,7 +102429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *212 + - *215 responses: '204': description: Response @@ -101843,7 +102465,7 @@ paths: application/json: schema: type: array - items: &700 + items: &708 title: GPG Key description: A unique encryption key type: object @@ -101974,7 +102596,7 @@ paths: - subkeys - revoked examples: - default: &724 + default: &732 value: - id: 3 name: Octocat's GPG Key @@ -102059,9 +102681,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *708 examples: - default: &701 + default: &709 value: id: 3 name: Octocat's GPG Key @@ -102118,7 +102740,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: - - &702 + - &710 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102130,9 +102752,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *708 examples: - default: *701 + default: *709 '404': *6 '304': *37 '403': *29 @@ -102155,7 +102777,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: - - *702 + - *710 responses: '204': description: Response @@ -102346,7 +102968,7 @@ paths: type: array items: *63 examples: - default: *703 + default: *711 headers: Link: *39 '404': *6 @@ -102371,7 +102993,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *185 + - *188 responses: '204': description: Response @@ -102397,7 +103019,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *185 + - *188 responses: '204': description: Response @@ -102431,12 +103053,12 @@ paths: application/json: schema: anyOf: - - *265 + - *269 - type: object properties: {} additionalProperties: false examples: - default: *266 + default: *270 '204': description: Response when there are no restrictions x-github: @@ -102460,7 +103082,7 @@ paths: required: true content: application/json: - schema: *538 + schema: *546 examples: default: value: @@ -102471,7 +103093,7 @@ paths: description: Response content: application/json: - schema: *265 + schema: *269 examples: default: value: @@ -102552,7 +103174,7 @@ paths: - closed - all default: open - - *271 + - *275 - name: sort description: What to sort results by. in: query @@ -102565,7 +103187,7 @@ paths: - comments default: created - *84 - - *137 + - *140 - *17 - *19 responses: @@ -102575,9 +103197,9 @@ paths: application/json: schema: type: array - items: *147 + items: *150 examples: - default: *272 + default: *276 headers: Link: *39 '404': *6 @@ -102610,7 +103232,7 @@ paths: application/json: schema: type: array - items: &704 + items: &712 title: Key description: Key type: object @@ -102707,9 +103329,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *712 examples: - default: &705 + default: &713 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102742,15 +103364,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: - - *567 + - *575 responses: '200': description: Response content: application/json: - schema: *704 + schema: *712 examples: - default: *705 + default: *713 '404': *6 '304': *37 '403': *29 @@ -102773,7 +103395,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: - - *567 + - *575 responses: '204': description: Response @@ -102806,7 +103428,7 @@ paths: application/json: schema: type: array - items: &706 + items: &714 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102863,7 +103485,7 @@ paths: - id - type - login - plan: *151 + plan: *154 required: - billing_cycle - next_billing_date @@ -102874,7 +103496,7 @@ paths: - account - plan examples: - default: &707 + default: &715 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102936,9 +103558,9 @@ paths: application/json: schema: type: array - items: *706 + items: *714 examples: - default: *707 + default: *715 headers: Link: *39 '304': *37 @@ -102978,7 +103600,7 @@ paths: application/json: schema: type: array - items: *277 + items: *281 examples: default: value: @@ -103080,13 +103702,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *277 + schema: *281 examples: default: value: @@ -103144,7 +103766,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *170 + - *173 requestBody: required: true content: @@ -103169,7 +103791,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *281 examples: default: value: @@ -103237,7 +103859,7 @@ paths: application/json: schema: type: array - items: *279 + items: *283 examples: default: value: @@ -103490,7 +104112,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: default: value: @@ -103670,7 +104292,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *280 + - *284 - name: exclude in: query required: false @@ -103683,7 +104305,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: default: value: @@ -103877,7 +104499,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *280 + - *284 responses: '302': description: Response @@ -103903,7 +104525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *280 + - *284 responses: '204': description: Response @@ -103932,8 +104554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *280 - - *708 + - *284 + - *716 responses: '204': description: Response @@ -103957,7 +104579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *280 + - *284 - *17 - *19 responses: @@ -103967,9 +104589,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 '404': *6 @@ -104006,7 +104628,7 @@ paths: type: array items: *58 examples: - default: *709 + default: *717 headers: Link: *39 '304': *37 @@ -104048,7 +104670,7 @@ paths: - docker - nuget - container - - *710 + - *718 - *19 - *17 responses: @@ -104058,10 +104680,10 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: *711 - '400': *712 + default: *719 + '400': *720 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104081,16 +104703,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: - - *288 - - *289 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *286 + schema: *290 examples: - default: &725 + default: &733 value: id: 40201 name: octo-name @@ -104203,8 +104825,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: - - *288 - - *289 + - *292 + - *293 responses: '204': description: Response @@ -104234,8 +104856,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: - - *288 - - *289 + - *292 + - *293 - name: token description: package token schema: @@ -104267,8 +104889,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: - - *288 - - *289 + - *292 + - *293 - *19 - *17 - name: state @@ -104288,7 +104910,7 @@ paths: application/json: schema: type: array - items: *290 + items: *294 examples: default: value: @@ -104337,15 +104959,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: - - *288 - - *289 - - *291 + - *292 + - *293 + - *295 responses: '200': description: Response content: application/json: - schema: *290 + schema: *294 examples: default: value: @@ -104381,9 +105003,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: - - *288 - - *289 - - *291 + - *292 + - *293 + - *295 responses: '204': description: Response @@ -104413,9 +105035,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: - - *288 - - *289 - - *291 + - *292 + - *293 + - *295 responses: '204': description: Response @@ -104471,7 +105093,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: default: value: @@ -104540,9 +105162,9 @@ paths: application/json: schema: type: array - items: *699 + items: *707 examples: - default: *713 + default: *721 headers: Link: *39 '304': *37 @@ -104655,7 +105277,7 @@ paths: type: array items: *63 examples: - default: &720 + default: &728 summary: Default response value: - id: 1296269 @@ -104957,9 +105579,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *372 examples: - default: *366 + default: *374 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104997,9 +105619,9 @@ paths: application/json: schema: type: array - items: *540 + items: *548 examples: - default: *714 + default: *722 headers: Link: *39 '304': *37 @@ -105022,7 +105644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *269 + - *273 responses: '204': description: Response @@ -105045,7 +105667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *269 + - *273 responses: '204': description: Response @@ -105078,7 +105700,7 @@ paths: application/json: schema: type: array - items: &715 + items: &723 title: Social account description: Social media account type: object @@ -105093,7 +105715,7 @@ paths: - provider - url examples: - default: &716 + default: &724 value: - provider: twitter url: https://twitter.com/github @@ -105155,9 +105777,9 @@ paths: application/json: schema: type: array - items: *715 + items: *723 examples: - default: *716 + default: *724 '422': *15 '304': *37 '404': *6 @@ -105244,7 +105866,7 @@ paths: application/json: schema: type: array - items: &717 + items: &725 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105264,7 +105886,7 @@ paths: - title - created_at examples: - default: &726 + default: &734 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105330,9 +105952,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *725 examples: - default: &718 + default: &726 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105363,7 +105985,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: - - &719 + - &727 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105375,9 +105997,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *725 examples: - default: *718 + default: *726 '404': *6 '304': *37 '403': *29 @@ -105400,7 +106022,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: - - *719 + - *727 responses: '204': description: Response @@ -105429,7 +106051,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: - - &727 + - &735 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 @@ -105454,11 +106076,11 @@ paths: type: array items: *63 examples: - default-response: *720 + default-response: *728 application/vnd.github.v3.star+json: schema: type: array - items: &728 + items: &736 title: Starred Repository description: Starred Repository type: object @@ -105614,8 +106236,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response if this repository is starred by you @@ -105643,8 +106265,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -105668,8 +106290,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -105702,9 +106324,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 '304': *37 @@ -105741,7 +106363,7 @@ paths: application/json: schema: type: array - items: *332 + items: *340 examples: default: value: @@ -105819,7 +106441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *153 + - *156 responses: '200': description: Response @@ -105827,10 +106449,10 @@ paths: application/json: schema: oneOf: - - *692 - - *691 + - *700 + - *699 examples: - default-response: &722 + default-response: &730 summary: Default response value: login: octocat @@ -105865,7 +106487,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &723 + response-with-git-hub-plan-information: &731 summary: Response with GitHub plan information value: login: octocat @@ -105925,7 +106547,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *721 + - *729 - *17 responses: '200': @@ -105936,7 +106558,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: example: ; rel="next" @@ -105966,7 +106588,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *212 + - *215 responses: '200': description: Response @@ -105974,11 +106596,11 @@ paths: application/json: schema: oneOf: - - *692 - - *691 + - *700 + - *699 examples: - default-response: *722 - response-with-git-hub-plan-information: *723 + default-response: *730 + response-with-git-hub-plan-information: *731 '404': *6 x-github: githubCloudOnly: false @@ -106004,7 +106626,7 @@ paths: - *17 - *82 - *83 - - *212 + - *215 - name: subject_digest description: Subject Digest in: path @@ -106106,7 +106728,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -106132,7 +106754,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *212 + - *215 responses: '200': description: Response @@ -106140,9 +106762,9 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: *711 + default: *719 '403': *29 '401': *25 x-github: @@ -106165,7 +106787,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106175,7 +106797,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -106246,8 +106868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *212 - - *170 + - *215 + - *173 - *17 - *19 responses: @@ -106257,7 +106879,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -106336,7 +106958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106346,7 +106968,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -106413,7 +107035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106425,7 +107047,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -106444,7 +107066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106456,7 +107078,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -106475,7 +107097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *212 + - *215 - name: target_user in: path required: true @@ -106502,8 +107124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *212 - - *137 + - *215 + - *140 - *17 - *19 responses: @@ -106513,9 +107135,9 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 + default: *142 headers: Link: *39 '422': *15 @@ -106536,7 +107158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106546,9 +107168,9 @@ paths: application/json: schema: type: array - items: *700 + items: *708 examples: - default: *724 + default: *732 headers: Link: *39 x-github: @@ -106572,7 +107194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *212 + - *215 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106644,7 +107266,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *212 + - *215 responses: '200': description: Response @@ -106652,7 +107274,7 @@ paths: application/json: schema: *22 examples: - default: *537 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106670,7 +107292,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106718,7 +107340,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106730,7 +107352,7 @@ paths: type: array items: *58 examples: - default: *709 + default: *717 headers: Link: *39 x-github: @@ -106769,8 +107391,8 @@ paths: - docker - nuget - container - - *710 - - *212 + - *718 + - *215 - *19 - *17 responses: @@ -106780,12 +107402,12 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: *711 + default: *719 '403': *29 '401': *25 - '400': *712 + '400': *720 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106805,17 +107427,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *288 - - *289 - - *212 + - *292 + - *293 + - *215 responses: '200': description: Response content: application/json: - schema: *286 + schema: *290 examples: - default: *725 + default: *733 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106836,9 +107458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *288 - - *289 - - *212 + - *292 + - *293 + - *215 responses: '204': description: Response @@ -106870,9 +107492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *288 - - *289 - - *212 + - *292 + - *293 + - *215 - name: token description: package token schema: @@ -106904,9 +107526,9 @@ 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: - - *288 - - *289 - - *212 + - *292 + - *293 + - *215 responses: '200': description: Response @@ -106914,7 +107536,7 @@ paths: application/json: schema: type: array - items: *290 + items: *294 examples: default: value: @@ -106972,16 +107594,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: - - *288 - - *289 - - *291 - - *212 + - *292 + - *293 + - *295 + - *215 responses: '200': description: Response content: application/json: - schema: *290 + schema: *294 examples: default: value: @@ -107016,10 +107638,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *288 - - *289 - - *212 - - *291 + - *292 + - *293 + - *215 + - *295 responses: '204': description: Response @@ -107051,10 +107673,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *288 - - *289 - - *212 - - *291 + - *292 + - *293 + - *215 + - *295 responses: '204': description: Response @@ -107077,7 +107699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *212 + - *215 - name: state description: Indicates the state of the projects to return. in: query @@ -107098,7 +107720,7 @@ paths: application/json: schema: type: array - items: *301 + items: *305 examples: default: value: @@ -107157,7 +107779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -107167,7 +107789,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -107246,7 +107868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -107256,7 +107878,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -107333,7 +107955,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *212 + - *215 - name: type description: Limit results to repositories of the specified type. in: query @@ -107376,9 +107998,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -107402,15 +108024,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *212 + - *215 responses: '200': description: Response content: application/json: - schema: *324 + schema: *328 examples: - default: *325 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107432,15 +108054,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *212 + - *215 responses: '200': description: Response content: application/json: - schema: *328 + schema: *332 examples: - default: *329 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107462,15 +108084,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *212 + - *215 responses: '200': description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *331 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107488,7 +108110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -107498,9 +108120,9 @@ paths: application/json: schema: type: array - items: *715 + items: *723 examples: - default: *716 + default: *724 headers: Link: *39 x-github: @@ -107520,7 +108142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -107530,9 +108152,9 @@ paths: application/json: schema: type: array - items: *717 + items: *725 examples: - default: *726 + default: *734 headers: Link: *39 x-github: @@ -107556,8 +108178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *212 - - *727 + - *215 + - *735 - *84 - *17 - *19 @@ -107569,11 +108191,11 @@ paths: schema: anyOf: - type: array - items: *728 + items: *736 - type: array items: *63 examples: - default-response: *720 + default-response: *728 headers: Link: *39 x-github: @@ -107592,7 +108214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -107602,9 +108224,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -107732,7 +108354,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &729 + enterprise: &737 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -107790,7 +108412,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &730 + installation: &738 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -107809,7 +108431,7 @@ x-webhooks: required: - id - node_id - organization: &731 + organization: &739 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -107869,13 +108491,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &732 + repository: &740 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: &769 + properties: &777 id: description: Unique identifier of the repository example: 42 @@ -107895,8 +108517,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true organization: title: Simple User @@ -108558,7 +109180,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &770 + required: &778 - archive_url - assignees_url - blobs_url @@ -108709,10 +109331,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -108788,11 +109410,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - rule: &733 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: &741 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) @@ -109015,11 +109637,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - rule: *733 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: *741 sender: *4 required: - action @@ -109202,11 +109824,11 @@ x-webhooks: - everyone required: - from - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - rule: *733 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: *741 sender: *4 required: - action @@ -109279,7 +109901,7 @@ x-webhooks: required: true content: application/json: - schema: &736 + schema: &744 title: Exemption request cancellation event type: object properties: @@ -109287,11 +109909,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - exemption_request: &734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + exemption_request: &742 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -109441,7 +110063,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &735 + items: &743 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -109551,7 +110173,7 @@ x-webhooks: required: true content: application/json: - schema: &737 + schema: &745 title: Exemption request completed event type: object properties: @@ -109559,11 +110181,11 @@ x-webhooks: type: string enum: - completed - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - exemption_request: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + exemption_request: *742 sender: *4 required: - action @@ -109635,7 +110257,7 @@ x-webhooks: required: true content: application/json: - schema: &738 + schema: &746 title: Exemption request created event type: object properties: @@ -109643,11 +110265,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - exemption_request: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + exemption_request: *742 sender: *4 required: - action @@ -109719,7 +110341,7 @@ x-webhooks: required: true content: application/json: - schema: &739 + schema: &747 title: Exemption response dismissed event type: object properties: @@ -109727,12 +110349,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - exemption_request: *734 - exemption_response: *735 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + exemption_request: *742 + exemption_response: *743 sender: *4 required: - action @@ -109806,7 +110428,7 @@ x-webhooks: required: true content: application/json: - schema: &740 + schema: &748 title: Exemption response submitted event type: object properties: @@ -109814,12 +110436,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - exemption_request: *734 - exemption_response: *735 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + exemption_request: *742 + exemption_response: *743 sender: *4 required: - action @@ -109892,7 +110514,7 @@ x-webhooks: required: true content: application/json: - schema: *736 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -109959,7 +110581,7 @@ x-webhooks: required: true content: application/json: - schema: *737 + schema: *745 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110026,7 +110648,7 @@ x-webhooks: required: true content: application/json: - schema: *738 + schema: *746 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110093,7 +110715,7 @@ x-webhooks: required: true content: application/json: - schema: *739 + schema: *747 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110161,7 +110783,7 @@ x-webhooks: required: true content: application/json: - schema: *740 + schema: *748 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110239,7 +110861,7 @@ x-webhooks: type: string enum: - completed - check_run: &742 + check_run: &750 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110253,8 +110875,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 check_suite: description: A suite of checks performed on the code of a given code change @@ -110302,8 +110924,8 @@ x-webhooks: type: string pull_requests: type: array - items: *426 - repository: *190 + items: *434 + repository: *193 status: example: completed type: string @@ -110340,7 +110962,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *741 + deployment: *749 details_url: example: https://example.com type: string @@ -110390,7 +111012,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *426 + items: *434 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -110425,9 +111047,9 @@ x-webhooks: - output - app - pull_requests - installation: *730 - organization: *731 - repository: *732 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -110820,10 +111442,10 @@ x-webhooks: type: string enum: - created - check_run: *742 - installation: *730 - organization: *731 - repository: *732 + check_run: *750 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -111219,10 +111841,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *742 - installation: *730 - organization: *731 - repository: *732 + check_run: *750 + installation: *738 + organization: *739 + repository: *740 requested_action: description: The action requested by the user. type: object @@ -111627,10 +112249,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *742 - installation: *730 - organization: *731 - repository: *732 + check_run: *750 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -112607,10 +113229,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -113280,10 +113902,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -113947,10 +114569,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -114113,7 +114735,7 @@ x-webhooks: required: - login - id - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114258,20 +114880,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &743 + commit_oid: &751 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: *729 - installation: *730 - organization: *731 - ref: &744 + enterprise: *737 + installation: *738 + organization: *739 + ref: &752 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: *732 + repository: *740 sender: *4 required: - action @@ -114433,7 +115055,7 @@ x-webhooks: required: - login - id - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114594,12 +115216,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *729 - installation: *730 - organization: *731 - ref: *744 - repository: *732 + commit_oid: *751 + enterprise: *737 + installation: *738 + organization: *739 + ref: *752 + repository: *740 sender: *4 required: - action @@ -114694,7 +115316,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114860,12 +115482,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *729 - installation: *730 - organization: *731 - ref: *744 - repository: *732 + commit_oid: *751 + enterprise: *737 + installation: *738 + organization: *739 + ref: *752 + repository: *740 sender: *4 required: - action @@ -115028,7 +115650,7 @@ x-webhooks: required: - login - id - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115194,12 +115816,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *729 - installation: *730 - organization: *731 - ref: *744 - repository: *732 + commit_oid: *751 + enterprise: *737 + installation: *738 + organization: *739 + ref: *752 + repository: *740 sender: *4 required: - action @@ -115296,7 +115918,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115464,16 +116086,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 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: *732 + repository: *740 sender: *4 required: - action @@ -115567,7 +116189,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115707,12 +116329,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *729 - installation: *730 - organization: *731 - ref: *744 - repository: *732 + commit_oid: *751 + enterprise: *737 + installation: *738 + organization: *739 + ref: *752 + repository: *740 sender: *4 required: - action @@ -115969,10 +116591,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -116052,18 +116674,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *731 - pusher_type: &745 + organization: *739 + pusher_type: &753 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &746 + ref: &754 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -116073,7 +116695,7 @@ x-webhooks: enum: - tag - branch - repository: *732 + repository: *740 sender: *4 required: - ref @@ -116155,10 +116777,10 @@ x-webhooks: type: string enum: - created - definition: *108 - enterprise: *729 - installation: *730 - organization: *731 + definition: *111 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -116243,9 +116865,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -116322,10 +116944,10 @@ x-webhooks: type: string enum: - updated - definition: *108 - enterprise: *729 - installation: *730 - organization: *731 + definition: *111 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -116402,19 +117024,19 @@ x-webhooks: type: string enum: - updated - enterprise: *729 - installation: *730 - repository: *732 - organization: *731 + enterprise: *737 + installation: *738 + repository: *740 + organization: *739 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *303 + items: *307 old_property_values: type: array description: The old custom property values for the repository. - items: *303 + items: *307 required: - action - repository @@ -116490,18 +117112,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *729 - installation: *730 - organization: *731 - pusher_type: *745 - ref: *746 + enterprise: *737 + installation: *738 + organization: *739 + pusher_type: *753 + ref: *754 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *732 + repository: *740 sender: *4 required: - ref @@ -116585,11 +117207,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -116673,11 +117295,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -116761,11 +117383,11 @@ x-webhooks: type: string enum: - created - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -116847,11 +117469,11 @@ x-webhooks: type: string enum: - dismissed - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -116933,11 +117555,11 @@ x-webhooks: type: string enum: - fixed - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -117020,11 +117642,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -117106,11 +117728,11 @@ x-webhooks: type: string enum: - reopened - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -117187,9 +117809,9 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - key: &747 + enterprise: *737 + installation: *738 + key: &755 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117225,8 +117847,8 @@ x-webhooks: - verified - created_at - read_only - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -117303,11 +117925,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - key: *747 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + key: *755 + organization: *739 + repository: *740 sender: *4 required: - action @@ -117868,12 +118490,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: &751 + workflow: &759 title: Workflow type: object nullable: true @@ -118599,13 +119221,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *502 + deployment: *510 pull_requests: type: array - items: *587 - repository: *732 - organization: *731 - installation: *730 + items: *595 + repository: *740 + organization: *739 + installation: *738 sender: *4 responses: '200': @@ -118676,7 +119298,7 @@ x-webhooks: type: string enum: - approved - approver: &748 + approver: &756 type: object properties: avatar_url: @@ -118719,11 +119341,11 @@ x-webhooks: type: string comment: type: string - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - reviewers: &749 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + reviewers: &757 type: array items: type: object @@ -118802,7 +119424,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &750 + workflow_job_run: &758 type: object properties: conclusion: @@ -119533,18 +120155,18 @@ x-webhooks: type: string enum: - rejected - approver: *748 + approver: *756 comment: type: string - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - reviewers: *749 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + reviewers: *757 sender: *4 since: type: string - workflow_job_run: *750 + workflow_job_run: *758 workflow_job_runs: type: array items: @@ -120248,13 +120870,13 @@ x-webhooks: type: string enum: - requested - enterprise: *729 + enterprise: *737 environment: type: string - installation: *730 - organization: *731 - repository: *732 - requestor: &756 + installation: *738 + organization: *739 + repository: *740 + requestor: &764 title: User type: object nullable: true @@ -122153,12 +122775,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *751 + workflow: *759 workflow_run: title: Deployment Workflow Run type: object @@ -122838,7 +123460,7 @@ x-webhooks: type: string enum: - answered - answer: &754 + answer: &762 type: object properties: author_association: @@ -122995,7 +123617,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &752 + discussion: &760 title: Discussion description: A Discussion in a repository. type: object @@ -123281,7 +123903,7 @@ x-webhooks: - id labels: type: array - items: *549 + items: *557 required: - repository_url - category @@ -123303,10 +123925,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -123433,11 +124055,11 @@ x-webhooks: - from required: - category - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -123520,11 +124142,11 @@ x-webhooks: type: string enum: - closed - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -123606,7 +124228,7 @@ x-webhooks: type: string enum: - created - comment: &753 + comment: &761 type: object properties: author_association: @@ -123763,11 +124385,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -123850,12 +124472,12 @@ x-webhooks: type: string enum: - deleted - comment: *753 - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + comment: *761 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -123950,12 +124572,12 @@ x-webhooks: - from required: - body - comment: *753 - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + comment: *761 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124039,11 +124661,11 @@ x-webhooks: type: string enum: - created - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124125,11 +124747,11 @@ x-webhooks: type: string enum: - deleted - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124229,11 +124851,11 @@ x-webhooks: type: string required: - from - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124315,10 +124937,10 @@ x-webhooks: type: string enum: - labeled - discussion: *752 - enterprise: *729 - installation: *730 - label: &755 + discussion: *760 + enterprise: *737 + installation: *738 + label: &763 title: Label type: object properties: @@ -124350,8 +124972,8 @@ x-webhooks: - color - default - description - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124434,11 +125056,11 @@ x-webhooks: type: string enum: - locked - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124520,11 +125142,11 @@ x-webhooks: type: string enum: - pinned - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124606,11 +125228,11 @@ x-webhooks: type: string enum: - reopened - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124695,16 +125317,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *752 - new_repository: *732 + new_discussion: *760 + new_repository: *740 required: - new_discussion - new_repository - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124787,10 +125409,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *752 - old_answer: *754 - organization: *731 - repository: *732 + discussion: *760 + old_answer: *762 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124872,12 +125494,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *752 - enterprise: *729 - installation: *730 - label: *755 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124960,11 +125582,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125046,11 +125668,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125123,7 +125745,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *729 + enterprise: *737 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -125783,9 +126405,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *730 - organization: *731 - repository: *732 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - forkee @@ -125931,9 +126553,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pages: description: The pages that were updated. type: array @@ -125970,7 +126592,7 @@ x-webhooks: - action - sha - html_url - repository: *732 + repository: *740 sender: *4 required: - pages @@ -126046,10 +126668,10 @@ x-webhooks: type: string enum: - created - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories: &757 + organization: *739 + repositories: &765 description: An array of repository objects that the installation can access. type: array @@ -126075,8 +126697,8 @@ x-webhooks: - name - full_name - private - repository: *732 - requester: *756 + repository: *740 + requester: *764 sender: *4 required: - action @@ -126151,11 +126773,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories: *757 - repository: *732 + organization: *739 + repositories: *765 + repository: *740 requester: nullable: true sender: *4 @@ -126231,11 +126853,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories: *757 - repository: *732 + organization: *739 + repositories: *765 + repository: *740 requester: nullable: true sender: *4 @@ -126311,10 +126933,10 @@ x-webhooks: type: string enum: - added - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories_added: &758 + organization: *739 + repositories_added: &766 description: An array of repository objects, which were added to the installation. type: array @@ -126360,15 +126982,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *732 - repository_selection: &759 + repository: *740 + repository_selection: &767 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *756 + requester: *764 sender: *4 required: - action @@ -126447,10 +127069,10 @@ x-webhooks: type: string enum: - removed - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories_added: *758 + organization: *739 + repositories_added: *766 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126477,9 +127099,9 @@ x-webhooks: - name - full_name - private - repository: *732 - repository_selection: *759 - requester: *756 + repository: *740 + repository_selection: *767 + requester: *764 sender: *4 required: - action @@ -126558,11 +127180,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories: *757 - repository: *732 + organization: *739 + repositories: *765 + repository: *740 requester: nullable: true sender: *4 @@ -126741,10 +127363,10 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 target_type: type: string @@ -126823,11 +127445,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories: *757 - repository: *732 + organization: *739 + repositories: *765 + repository: *740 requester: nullable: true sender: *4 @@ -126951,8 +127573,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 reactions: title: Reactions type: object @@ -127079,8 +127701,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128235,8 +128857,8 @@ x-webhooks: - state - locked - assignee - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -128316,7 +128938,7 @@ x-webhooks: type: string enum: - deleted - comment: &760 + comment: &768 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -128481,8 +129103,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129635,8 +130257,8 @@ x-webhooks: - state - locked - assignee - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -129716,7 +130338,7 @@ x-webhooks: type: string enum: - edited - changes: &788 + changes: &796 description: The changes to the comment. type: object properties: @@ -129728,9 +130350,9 @@ x-webhooks: type: string required: - from - comment: *760 - enterprise: *729 - installation: *730 + comment: *768 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -130884,8 +131506,8 @@ x-webhooks: - state - locked - assignee - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -130967,10 +131589,10 @@ x-webhooks: type: string enum: - assigned - assignee: *756 - enterprise: *729 - installation: *730 - issue: &763 + assignee: *764 + enterprise: *737 + installation: *738 + issue: &771 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -131888,8 +132510,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -131969,8 +132591,8 @@ x-webhooks: type: string enum: - closed - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -133028,8 +133650,8 @@ x-webhooks: required: - state - closed_at - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -133108,8 +133730,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134020,8 +134642,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -134100,8 +134722,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135015,7 +135637,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &761 + milestone: &769 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135153,8 +135775,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -135253,8 +135875,8 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136172,9 +136794,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *755 - organization: *731 - repository: *732 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -136254,8 +136876,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137172,9 +137794,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *755 - organization: *731 - repository: *732 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -137254,8 +137876,8 @@ x-webhooks: type: string enum: - locked - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138173,8 +138795,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -138253,8 +138875,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139166,9 +139788,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *761 - organization: *731 - repository: *732 + milestone: *769 + organization: *739 + repository: *740 sender: *4 required: - action @@ -140629,8 +141251,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141547,8 +142169,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -141628,9 +142250,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *729 - installation: *730 - issue: &762 + enterprise: *737 + installation: *738 + issue: &770 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -142541,8 +143163,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -142621,8 +143243,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143539,8 +144161,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -145002,11 +145624,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *729 - installation: *730 - issue: *762 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + issue: *770 + organization: *739 + repository: *740 sender: *4 required: - action @@ -145087,7 +145709,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &791 + assignee: &799 title: User type: object nullable: true @@ -145157,11 +145779,11 @@ x-webhooks: required: - login - id - enterprise: *729 - installation: *730 - issue: *763 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + issue: *771 + organization: *739 + repository: *740 sender: *4 required: - action @@ -145240,12 +145862,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *729 - installation: *730 - issue: *763 - label: *755 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + issue: *771 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -145325,8 +145947,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146242,8 +146864,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146323,11 +146945,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *729 - installation: *730 - issue: *762 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + issue: *770 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146406,11 +147028,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - label: *755 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146488,11 +147110,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - label: *755 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146602,11 +147224,11 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - label: *755 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146688,9 +147310,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *729 - installation: *730 - marketplace_purchase: &764 + enterprise: *737 + installation: *738 + marketplace_purchase: &772 title: Marketplace Purchase type: object required: @@ -146773,8 +147395,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *731 - previous_marketplace_purchase: &765 + organization: *739 + previous_marketplace_purchase: &773 title: Marketplace Purchase type: object properties: @@ -146854,7 +147476,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *732 + repository: *740 sender: *4 required: - action @@ -146934,10 +147556,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *729 - installation: *730 - marketplace_purchase: *764 - organization: *731 + enterprise: *737 + installation: *738 + marketplace_purchase: *772 + organization: *739 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -147020,7 +147642,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *732 + repository: *740 sender: *4 required: - action @@ -147102,10 +147724,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *729 - installation: *730 - marketplace_purchase: *764 - organization: *731 + enterprise: *737 + installation: *738 + marketplace_purchase: *772 + organization: *739 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -147187,7 +147809,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *732 + repository: *740 sender: *4 required: - action @@ -147268,8 +147890,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 marketplace_purchase: title: Marketplace Purchase type: object @@ -147351,9 +147973,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *731 - previous_marketplace_purchase: *765 - repository: *732 + organization: *739 + previous_marketplace_purchase: *773 + repository: *740 sender: *4 required: - action @@ -147433,12 +148055,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *729 - installation: *730 - marketplace_purchase: *764 - organization: *731 - previous_marketplace_purchase: *765 - repository: *732 + enterprise: *737 + installation: *738 + marketplace_purchase: *772 + organization: *739 + previous_marketplace_purchase: *773 + repository: *740 sender: *4 required: - action @@ -147540,11 +148162,11 @@ x-webhooks: type: string required: - to - enterprise: *729 - installation: *730 - member: *756 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + member: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -147644,11 +148266,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *729 - installation: *730 - member: *756 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + member: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -147727,11 +148349,11 @@ x-webhooks: type: string enum: - removed - enterprise: *729 - installation: *730 - member: *756 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + member: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -147809,11 +148431,11 @@ x-webhooks: type: string enum: - added - enterprise: *729 - installation: *730 - member: *756 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + member: *764 + organization: *739 + repository: *740 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147889,7 +148511,7 @@ x-webhooks: required: - login - id - team: &766 + team: &774 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -148079,11 +148701,11 @@ x-webhooks: type: string enum: - removed - enterprise: *729 - installation: *730 - member: *756 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + member: *764 + organization: *739 + repository: *740 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148160,7 +148782,7 @@ x-webhooks: required: - login - id - team: *766 + team: *774 required: - action - scope @@ -148242,8 +148864,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *730 - merge_group: &768 + installation: *738 + merge_group: &776 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -148262,15 +148884,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *767 + head_commit: *775 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148356,10 +148978,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *730 - merge_group: *768 - organization: *731 - repository: *732 + installation: *738 + merge_group: *776 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148432,7 +149054,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 + enterprise: *737 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -148540,16 +149162,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *730 - organization: *731 + installation: *738 + organization: *739 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: *769 - required: *770 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -148630,11 +149252,11 @@ x-webhooks: type: string enum: - closed - enterprise: *729 - installation: *730 - milestone: *761 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + milestone: *769 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148713,9 +149335,9 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - milestone: &771 + enterprise: *737 + installation: *738 + milestone: &779 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148852,8 +149474,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148932,11 +149554,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - milestone: *761 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + milestone: *769 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149046,11 +149668,11 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - milestone: *761 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + milestone: *769 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149130,11 +149752,11 @@ x-webhooks: type: string enum: - opened - enterprise: *729 - installation: *730 - milestone: *771 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + milestone: *779 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149213,11 +149835,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *756 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + blocked_user: *764 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149296,11 +149918,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *756 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + blocked_user: *764 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149379,9 +150001,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - membership: &772 + enterprise: *737 + installation: *738 + membership: &780 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -149473,8 +150095,8 @@ x-webhooks: - role - organization_url - user - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149552,11 +150174,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *729 - installation: *730 - membership: *772 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + membership: *780 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149635,8 +150257,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -149752,10 +150374,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 - user: *756 + user: *764 required: - action - invitation @@ -149833,11 +150455,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *729 - installation: *730 - membership: *772 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + membership: *780 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149924,11 +150546,11 @@ x-webhooks: properties: from: type: string - enterprise: *729 - installation: *730 - membership: *772 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + membership: *780 + organization: *739 + repository: *740 sender: *4 required: - action @@ -150004,9 +150626,9 @@ x-webhooks: type: string enum: - published - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 package: description: Information about the package. type: object @@ -150505,7 +151127,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &773 + items: &781 title: Ruby Gems metadata type: object properties: @@ -150600,7 +151222,7 @@ x-webhooks: - owner - package_version - registry - repository: *732 + repository: *740 sender: *4 required: - action @@ -150676,9 +151298,9 @@ x-webhooks: type: string enum: - updated - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 package: description: Information about the package. type: object @@ -151031,7 +151653,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *773 + items: *781 source_url: type: string format: uri @@ -151101,7 +151723,7 @@ x-webhooks: - owner - package_version - registry - repository: *732 + repository: *740 sender: *4 required: - action @@ -151278,12 +151900,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *729 + enterprise: *737 id: type: integer - installation: *730 - organization: *731 - repository: *732 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - id @@ -151363,7 +151985,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &774 + personal_access_token_request: &782 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -151509,10 +152131,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *729 - organization: *731 + enterprise: *737 + organization: *739 sender: *4 - installation: *730 + installation: *738 required: - action - personal_access_token_request @@ -151591,11 +152213,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *774 - enterprise: *729 - organization: *731 + personal_access_token_request: *782 + enterprise: *737 + organization: *739 sender: *4 - installation: *730 + installation: *738 required: - action - personal_access_token_request @@ -151673,11 +152295,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *774 - enterprise: *729 - organization: *731 + personal_access_token_request: *782 + enterprise: *737 + organization: *739 sender: *4 - installation: *730 + installation: *738 required: - action - personal_access_token_request @@ -151754,11 +152376,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *774 - organization: *731 - enterprise: *729 + personal_access_token_request: *782 + organization: *739 + enterprise: *737 sender: *4 - installation: *730 + installation: *738 required: - action - personal_access_token_request @@ -151862,7 +152484,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *775 + last_response: *783 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -151894,8 +152516,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 zen: description: Random string of GitHub zen. @@ -152140,10 +152762,10 @@ x-webhooks: - from required: - note - enterprise: *729 - installation: *730 - organization: *731 - project_card: &776 + enterprise: *737 + installation: *738 + organization: *739 + project_card: &784 title: Project Card type: object properties: @@ -152262,7 +152884,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *732 + repository: *740 sender: *4 required: - action @@ -152343,11 +152965,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - project_card: *776 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project_card: *784 + repository: *740 sender: *4 required: - action @@ -152427,9 +153049,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 project_card: title: Project Card type: object @@ -152557,8 +153179,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: *769 - required: *770 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -152652,11 +153274,11 @@ x-webhooks: - from required: - note - enterprise: *729 - installation: *730 - organization: *731 - project_card: *776 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project_card: *784 + repository: *740 sender: *4 required: - action @@ -152750,9 +153372,9 @@ x-webhooks: - from required: - column_id - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 project_card: allOf: - title: Project Card @@ -152942,7 +153564,7 @@ x-webhooks: type: string required: - after_id - repository: *732 + repository: *740 sender: *4 required: - action @@ -153022,10 +153644,10 @@ x-webhooks: type: string enum: - closed - enterprise: *729 - installation: *730 - organization: *731 - project: &778 + enterprise: *737 + installation: *738 + organization: *739 + project: &786 title: Project type: object properties: @@ -153149,7 +153771,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *732 + repository: *740 sender: *4 required: - action @@ -153229,10 +153851,10 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - project_column: &777 + enterprise: *737 + installation: *738 + organization: *739 + project_column: &785 title: Project Column type: object properties: @@ -153271,7 +153893,7 @@ x-webhooks: - name - created_at - updated_at - repository: *732 + repository: *740 sender: *4 required: - action @@ -153350,18 +153972,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - project_column: *777 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *785 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: *769 - required: *770 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -153451,11 +154073,11 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - organization: *731 - project_column: *777 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *785 + repository: *740 sender: *4 required: - action @@ -153535,11 +154157,11 @@ x-webhooks: type: string enum: - moved - enterprise: *729 - installation: *730 - organization: *731 - project_column: *777 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *785 + repository: *740 sender: *4 required: - action @@ -153619,11 +154241,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - project: *778 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project: *786 + repository: *740 sender: *4 required: - action @@ -153703,18 +154325,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - project: *778 + enterprise: *737 + installation: *738 + organization: *739 + project: *786 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: *769 - required: *770 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -153816,11 +154438,11 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - organization: *731 - project: *778 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project: *786 + repository: *740 sender: *4 required: - action @@ -153899,11 +154521,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *729 - installation: *730 - organization: *731 - project: *778 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project: *786 + repository: *740 sender: *4 required: - action @@ -153984,9 +154606,9 @@ x-webhooks: type: string enum: - closed - installation: *730 - organization: *731 - projects_v2: &779 + installation: *738 + organization: *739 + projects_v2: &787 title: Projects v2 Project description: A projects v2 project type: object @@ -154129,9 +154751,9 @@ x-webhooks: type: string enum: - created - installation: *730 - organization: *731 - projects_v2: *779 + installation: *738 + organization: *739 + projects_v2: *787 sender: *4 required: - action @@ -154212,9 +154834,9 @@ x-webhooks: type: string enum: - deleted - installation: *730 - organization: *731 - projects_v2: *779 + installation: *738 + organization: *739 + projects_v2: *787 sender: *4 required: - action @@ -154331,9 +154953,9 @@ x-webhooks: type: string to: type: string - installation: *730 - organization: *731 - projects_v2: *779 + installation: *738 + organization: *739 + projects_v2: *787 sender: *4 required: - action @@ -154416,7 +155038,7 @@ x-webhooks: type: string enum: - archived - changes: &783 + changes: &791 type: object properties: archived_at: @@ -154430,9 +155052,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *730 - organization: *731 - projects_v2_item: &780 + installation: *738 + organization: *739 + projects_v2_item: &788 title: Projects v2 Item description: An item belonging to a project type: object @@ -154566,9 +155188,9 @@ x-webhooks: nullable: true to: type: string - installation: *730 - organization: *731 - projects_v2_item: *780 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -154650,9 +155272,9 @@ x-webhooks: type: string enum: - created - installation: *730 - organization: *731 - projects_v2_item: *780 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -154733,9 +155355,9 @@ x-webhooks: type: string enum: - deleted - installation: *730 - organization: *731 - projects_v2_item: *780 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -154841,7 +155463,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &781 + - &789 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -154859,7 +155481,7 @@ x-webhooks: required: - id - name - - &782 + - &790 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -154882,8 +155504,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *781 - - *782 + - *789 + - *790 required: - field_value - type: object @@ -154899,9 +155521,9 @@ x-webhooks: nullable: true required: - body - installation: *730 - organization: *731 - projects_v2_item: *780 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -154996,9 +155618,9 @@ x-webhooks: to: type: string nullable: true - installation: *730 - organization: *731 - projects_v2_item: *780 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -155081,10 +155703,10 @@ x-webhooks: type: string enum: - restored - changes: *783 - installation: *730 - organization: *731 - projects_v2_item: *780 + changes: *791 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -155166,9 +155788,9 @@ x-webhooks: type: string enum: - reopened - installation: *730 - organization: *731 - projects_v2: *779 + installation: *738 + organization: *739 + projects_v2: *787 sender: *4 required: - action @@ -155249,9 +155871,9 @@ x-webhooks: type: string enum: - created - installation: *730 - organization: *731 - projects_v2_status_update: &784 + installation: *738 + organization: *739 + projects_v2_status_update: &792 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -155378,9 +156000,9 @@ x-webhooks: type: string enum: - deleted - installation: *730 - organization: *731 - projects_v2_status_update: *784 + installation: *738 + organization: *739 + projects_v2_status_update: *792 sender: *4 required: - action @@ -155516,9 +156138,9 @@ x-webhooks: type: string format: date nullable: true - installation: *730 - organization: *731 - projects_v2_status_update: *784 + installation: *738 + organization: *739 + projects_v2_status_update: *792 sender: *4 required: - action @@ -155589,10 +156211,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - repository @@ -155669,13 +156291,13 @@ x-webhooks: type: string enum: - assigned - assignee: *756 - enterprise: *729 - installation: *730 - number: &785 + assignee: *764 + enterprise: *737 + installation: *738 + number: &793 description: The pull request number. type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -157958,7 +158580,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -158040,11 +158662,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -160322,7 +160944,7 @@ x-webhooks: - draft reason: type: string - repository: *732 + repository: *740 sender: *4 required: - action @@ -160404,11 +161026,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -162686,7 +163308,7 @@ x-webhooks: - draft reason: type: string - repository: *732 + repository: *740 sender: *4 required: - action @@ -162768,13 +163390,13 @@ x-webhooks: type: string enum: - closed - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: &786 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: &794 allOf: - - *587 + - *595 - type: object properties: allow_auto_merge: @@ -162836,7 +163458,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *732 + repository: *740 sender: *4 required: - action @@ -162917,12 +163539,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: *786 - repository: *732 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: *794 + repository: *740 sender: *4 required: - action @@ -163002,11 +163624,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *729 - milestone: *570 - number: *785 - organization: *731 - pull_request: &787 + enterprise: *737 + milestone: *578 + number: *793 + organization: *739 + pull_request: &795 title: Pull Request type: object properties: @@ -165269,7 +165891,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -165348,11 +165970,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -167634,7 +168256,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *732 + repository: *740 sender: *4 required: - action @@ -167758,12 +168380,12 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: *786 - repository: *732 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: *794 + repository: *740 sender: *4 required: - action @@ -167843,11 +168465,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -170114,7 +170736,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -170194,11 +170816,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *729 - installation: *730 - label: *755 - number: *785 - organization: *731 + enterprise: *737 + installation: *738 + label: *763 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -172480,7 +173102,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -172561,10 +173183,10 @@ x-webhooks: type: string enum: - locked - enterprise: *729 - installation: *730 - number: *785 - organization: *731 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -174844,7 +175466,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -174924,12 +175546,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *729 - milestone: *570 - number: *785 - organization: *731 - pull_request: *787 - repository: *732 + enterprise: *737 + milestone: *578 + number: *793 + organization: *739 + pull_request: *795 + repository: *740 sender: *4 required: - action @@ -175008,12 +175630,12 @@ x-webhooks: type: string enum: - opened - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: *786 - repository: *732 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: *794 + repository: *740 sender: *4 required: - action @@ -175094,12 +175716,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: *786 - repository: *732 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: *794 + repository: *740 sender: *4 required: - action @@ -175179,12 +175801,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: *786 - repository: *732 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: *794 + repository: *740 sender: *4 required: - action @@ -175550,9 +176172,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -177722,7 +178344,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *732 + repository: *740 sender: *4 required: - action @@ -177802,7 +178424,7 @@ x-webhooks: type: string enum: - deleted - comment: &789 + comment: &797 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. @@ -178087,9 +178709,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -180247,7 +180869,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *732 + repository: *740 sender: *4 required: - action @@ -180327,11 +180949,11 @@ x-webhooks: type: string enum: - edited - changes: *788 - comment: *789 - enterprise: *729 - installation: *730 - organization: *731 + changes: *796 + comment: *797 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -182492,7 +183114,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *732 + repository: *740 sender: *4 required: - action @@ -182573,9 +183195,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -184748,7 +185370,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *732 + repository: *740 review: description: The review that was affected. type: object @@ -184991,9 +185613,9 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -187047,8 +187669,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *732 - review: &790 + repository: *740 + review: &798 description: The review that was affected. type: object properties: @@ -187277,12 +187899,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -189565,7 +190187,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 requested_reviewer: title: User type: object @@ -189649,12 +190271,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -191944,7 +192566,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192136,12 +192758,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -194426,7 +195048,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 requested_reviewer: title: User type: object @@ -194511,12 +195133,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -196792,7 +197414,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196973,9 +197595,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -199150,8 +199772,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *732 - review: *790 + repository: *740 + review: *798 sender: *4 required: - action @@ -199231,9 +199853,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -201303,7 +201925,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *732 + repository: *740 sender: *4 thread: type: object @@ -201686,9 +202308,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -203744,7 +204366,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *732 + repository: *740 sender: *4 thread: type: object @@ -204130,10 +204752,10 @@ x-webhooks: type: string before: type: string - enterprise: *729 - installation: *730 - number: *785 - organization: *731 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -206404,7 +207026,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -206486,11 +207108,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *791 - enterprise: *729 - installation: *730 - number: *785 - organization: *731 + assignee: *799 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -208773,7 +209395,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -208852,11 +209474,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *729 - installation: *730 - label: *755 - number: *785 - organization: *731 + enterprise: *737 + installation: *738 + label: *763 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -211129,7 +211751,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -211210,10 +211832,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *729 - installation: *730 - number: *785 - organization: *731 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -213478,7 +214100,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -213678,7 +214300,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *729 + enterprise: *737 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -213770,8 +214392,8 @@ x-webhooks: - url - author - committer - installation: *730 - organization: *731 + installation: *738 + organization: *739 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -214346,9 +214968,9 @@ x-webhooks: type: string enum: - published - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 registry_package: type: object properties: @@ -214794,7 +215416,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *773 + items: *781 summary: type: string tag_name: @@ -214848,7 +215470,7 @@ x-webhooks: - owner - package_version - registry - repository: *732 + repository: *740 sender: *4 required: - action @@ -214926,9 +215548,9 @@ x-webhooks: type: string enum: - updated - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 registry_package: type: object properties: @@ -215236,7 +215858,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *773 + items: *781 summary: type: string tag_name: @@ -215285,7 +215907,7 @@ x-webhooks: - owner - package_version - registry - repository: *732 + repository: *740 sender: *4 required: - action @@ -215362,10 +215984,10 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - release: &792 + enterprise: *737 + installation: *738 + organization: *739 + release: &800 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -215670,7 +216292,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *732 + repository: *740 sender: *4 required: - action @@ -215747,11 +216369,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - release: *792 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + release: *800 + repository: *740 sender: *4 required: - action @@ -215859,11 +216481,11 @@ x-webhooks: type: boolean required: - to - enterprise: *729 - installation: *730 - organization: *731 - release: *792 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + release: *800 + repository: *740 sender: *4 required: - action @@ -215941,9 +216563,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -216252,7 +216874,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *732 + repository: *740 sender: *4 required: - action @@ -216328,10 +216950,10 @@ x-webhooks: type: string enum: - published - enterprise: *729 - installation: *730 - organization: *731 - release: &793 + enterprise: *737 + installation: *738 + organization: *739 + release: &801 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216637,7 +217259,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *732 + repository: *740 sender: *4 required: - action @@ -216713,11 +217335,11 @@ x-webhooks: type: string enum: - released - enterprise: *729 - installation: *730 - organization: *731 - release: *792 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + release: *800 + repository: *740 sender: *4 required: - action @@ -216793,11 +217415,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *729 - installation: *730 - organization: *731 - release: *793 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + release: *801 + repository: *740 sender: *4 required: - action @@ -216873,11 +217495,11 @@ x-webhooks: type: string enum: - published - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - repository_advisory: *640 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_advisory: *648 sender: *4 required: - action @@ -216953,11 +217575,11 @@ x-webhooks: type: string enum: - reported - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - repository_advisory: *640 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_advisory: *648 sender: *4 required: - action @@ -217033,10 +217655,10 @@ x-webhooks: type: string enum: - archived - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217113,10 +217735,10 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217194,10 +217816,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217281,10 +217903,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217396,10 +218018,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217471,10 +218093,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 status: type: string @@ -217555,10 +218177,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217635,10 +218257,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217732,10 +218354,10 @@ x-webhooks: - name required: - repository - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217815,11 +218437,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - repository_ruleset: *122 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_ruleset: *125 sender: *4 required: - action @@ -217897,11 +218519,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - repository_ruleset: *122 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_ruleset: *125 sender: *4 required: - action @@ -217979,11 +218601,11 @@ x-webhooks: type: string enum: - edited - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - repository_ruleset: *122 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_ruleset: *125 changes: type: object properties: @@ -218002,16 +218624,16 @@ x-webhooks: properties: added: type: array - items: *115 + items: *118 deleted: type: array - items: *115 + items: *118 updated: type: array items: type: object properties: - condition: *115 + condition: *118 changes: type: object properties: @@ -218044,16 +218666,16 @@ x-webhooks: properties: added: type: array - items: *121 + items: *124 deleted: type: array - items: *121 + items: *124 updated: type: array items: type: object properties: - rule: *121 + rule: *124 changes: type: object properties: @@ -218287,10 +218909,10 @@ x-webhooks: - from required: - owner - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -218368,10 +218990,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -218449,7 +219071,7 @@ x-webhooks: type: string enum: - create - alert: &794 + alert: &802 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -218570,10 +219192,10 @@ x-webhooks: type: string enum: - open - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -218779,10 +219401,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -218860,11 +219482,11 @@ x-webhooks: type: string enum: - reopen - alert: *794 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + alert: *802 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219063,10 +219685,10 @@ x-webhooks: enum: - fixed - open - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219144,7 +219766,7 @@ x-webhooks: type: string enum: - created - alert: &795 + alert: &803 type: object properties: number: *98 @@ -219255,10 +219877,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219339,11 +219961,11 @@ x-webhooks: type: string enum: - created - alert: *795 - installation: *730 - location: *796 - organization: *731 - repository: *732 + alert: *803 + installation: *738 + location: *804 + organization: *739 + repository: *740 sender: *4 required: - location @@ -219581,11 +220203,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *795 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + alert: *803 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219663,11 +220285,11 @@ x-webhooks: type: string enum: - reopened - alert: *795 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + alert: *803 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219745,11 +220367,11 @@ x-webhooks: type: string enum: - resolved - alert: *795 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + alert: *803 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219827,11 +220449,11 @@ x-webhooks: type: string enum: - validated - alert: *795 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + alert: *803 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219957,10 +220579,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *732 - enterprise: *729 - installation: *730 - organization: *731 + repository: *740 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -220038,11 +220660,11 @@ x-webhooks: type: string enum: - published - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - security_advisory: &797 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + security_advisory: &805 description: The details of the security advisory, including summary, description, and severity. type: object @@ -220225,11 +220847,11 @@ x-webhooks: type: string enum: - updated - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - security_advisory: *797 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + security_advisory: *805 sender: *4 required: - action @@ -220302,10 +220924,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -220489,11 +221111,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *306 - enterprise: *729 - installation: *730 - organization: *731 - repository: *364 + security_and_analysis: *310 + enterprise: *737 + installation: *738 + organization: *739 + repository: *372 sender: *4 required: - changes @@ -220571,12 +221193,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: &798 + sponsorship: &806 type: object properties: created_at: @@ -220877,12 +221499,12 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *798 + sponsorship: *806 required: - action - sponsorship @@ -220970,12 +221592,12 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *798 + sponsorship: *806 required: - action - changes @@ -221052,17 +221674,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &799 + effective_date: &807 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: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *798 + sponsorship: *806 required: - action - sponsorship @@ -221136,7 +221758,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &800 + changes: &808 type: object properties: tier: @@ -221180,13 +221802,13 @@ x-webhooks: - from required: - tier - effective_date: *799 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + effective_date: *807 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *798 + sponsorship: *806 required: - action - changes @@ -221263,13 +221885,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *800 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + changes: *808 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *798 + sponsorship: *806 required: - action - changes @@ -221343,10 +221965,10 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221429,10 +222051,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221851,15 +222473,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *729 + enterprise: *737 id: description: The unique identifier of the status. type: integer - installation: *730 + installation: *738 name: type: string - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 sha: description: The Commit SHA. @@ -221968,15 +222590,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *147 + parent_issue: *150 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *147 - installation: *730 - organization: *731 - repository: *732 + sub_issue: *150 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222060,15 +222682,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *147 + parent_issue: *150 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *147 - installation: *730 - organization: *731 - repository: *732 + sub_issue: *150 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222152,15 +222774,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *147 + sub_issue: *150 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *147 - installation: *730 - organization: *731 - repository: *732 + parent_issue: *150 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222244,15 +222866,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *147 + sub_issue: *150 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *147 - installation: *730 - organization: *731 - repository: *732 + parent_issue: *150 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222329,12 +222951,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - team: &801 + team: &809 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -222524,9 +223146,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -222984,7 +223606,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *801 + team: *809 required: - action - team @@ -223060,9 +223682,9 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -223520,7 +224142,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *801 + team: *809 required: - action - team @@ -223597,9 +224219,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -224057,7 +224679,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *801 + team: *809 required: - action - team @@ -224201,9 +224823,9 @@ x-webhooks: - from required: - permissions - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -224661,7 +225283,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *801 + team: *809 required: - action - changes @@ -224739,9 +225361,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -225199,7 +225821,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *801 + team: *809 required: - action - team @@ -225275,10 +225897,10 @@ x-webhooks: type: string enum: - started - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -225351,16 +225973,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *729 + enterprise: *737 inputs: type: object nullable: true additionalProperties: true - installation: *730 - organization: *731 + installation: *738 + organization: *739 ref: type: string - repository: *732 + repository: *740 sender: *4 workflow: type: string @@ -225442,10 +226064,10 @@ x-webhooks: type: string enum: - completed - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: allOf: @@ -225682,7 +226304,7 @@ x-webhooks: type: string required: - conclusion - deployment: *502 + deployment: *510 required: - action - repository @@ -225761,10 +226383,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: allOf: @@ -226024,7 +226646,7 @@ x-webhooks: required: - status - steps - deployment: *502 + deployment: *510 required: - action - repository @@ -226103,10 +226725,10 @@ x-webhooks: type: string enum: - queued - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: type: object @@ -226241,7 +226863,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *502 + deployment: *510 required: - action - repository @@ -226320,10 +226942,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: type: object @@ -226459,7 +227081,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *502 + deployment: *510 required: - action - repository @@ -226539,12 +227161,12 @@ x-webhooks: type: string enum: - completed - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *751 + workflow: *759 workflow_run: title: Workflow Run type: object @@ -227543,12 +228165,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *751 + workflow: *759 workflow_run: title: Workflow Run type: object @@ -228532,12 +229154,12 @@ x-webhooks: type: string enum: - requested - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *751 + workflow: *759 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 87e33190e..51bd97b6a 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -191,6 +191,10 @@ { "name": "private-registries", "description": "Manage private registry configurations." + }, + { + "name": "hosted-compute", + "description": "Manage hosted compute networking resources." } ], "servers": [ @@ -33068,6 +33072,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -34826,6 +34838,731 @@ } } }, + "/enterprises/{enterprise}/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an enterprise", + "description": "Lists all hosted compute network configurations configured in an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "network_configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "network_configurations": { + "type": "array", + "items": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "network_configurations": [ + { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + }, + { + "id": "456789ABDCEF123", + "name": "My other configuration", + "compute_service": "none", + "network_settings_ids": [ + "56789ABDCEF1234", + "6789ABDCEF12345" + ], + "created_on": "2023-04-26T15:23:37Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an enterprise", + "description": "Creates a hosted compute network configuration for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, `.`, `-`, and `_`.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, + "/enterprises/{enterprise}/network-configurations/{network_configuration_id}": { + "get": { + "summary": "Get a hosted compute network configuration for an enterprise", + "description": "Gets a hosted compute network configuration configured in an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an enterprise", + "description": "Updates a hosted compute network configuration for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, `.`, `-`, and `_`.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an enterprise", + "description": "Deletes a hosted compute network configuration from an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, + "/enterprises/{enterprise}/network-settings/{network_settings_id}": { + "get": { + "summary": "Get a hosted compute network settings resource for an enterprise", + "description": "Gets a hosted compute network settings resource configured for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-settings-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_settings_id", + "description": "Unique identifier of the hosted compute network settings.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network settings resource", + "description": "A hosted compute network settings resource.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network settings resource.", + "type": "string", + "example": "220F78DACB92BBFBC5E6F22DE1CCF52309D" + }, + "network_configuration_id": { + "description": "The identifier of the network configuration that is using this settings resource.", + "type": "string", + "example": "934E208B3EE0BD60CF5F752C426BFB53562" + }, + "name": { + "description": "The name of the network settings resource.", + "type": "string", + "example": "my-network-settings" + }, + "subnet_id": { + "description": "The subnet this network settings resource is configured for.", + "type": "string", + "example": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + }, + "region": { + "description": "The location of the subnet this network settings resource is configured for.", + "type": "string", + "example": "eastus" + } + }, + "required": [ + "id", + "name", + "subnet_id", + "region" + ] + }, + "examples": { + "default": { + "value": { + "id": "220F78DACB92BBFBC5E6F22DE1CCF52309D", + "network_configuration_id": "934E208B3EE0BD60CF5F752C426BFB53562", + "name": "my_network_settings", + "subnet_id": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet", + "region": "eastus" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, "/enterprises/{enterprise}/properties/schema": { "get": { "summary": "Get custom properties for an enterprise", @@ -105077,6 +105814,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -164652,142 +165397,586 @@ ], "responses": { "200": { - "description": "Success", + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_advanced_security_committers": { + "type": "integer", + "example": 25 + }, + "total_count": { + "type": "integer", + "example": 2 + }, + "maximum_advanced_security_committers": { + "type": "integer", + "example": 4, + "description": "The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security" + }, + "purchased_advanced_security_committers": { + "type": "integer", + "example": 4, + "description": "The total number of GitHub Advanced Security licences purchased" + }, + "repositories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "advanced_security_committers": { + "type": "integer", + "example": 25 + }, + "advanced_security_committers_breakdown": { + "type": "array", + "items": { + "type": "object", + "properties": { + "user_login": { + "type": "string" + }, + "last_pushed_date": { + "type": "string", + "example": "2021-11-03" + }, + "last_pushed_email": { + "type": "string", + "example": "monalisa@github.com" + } + }, + "required": [ + "user_login", + "last_pushed_date", + "last_pushed_email" + ] + } + } + }, + "required": [ + "name", + "advanced_security_committers", + "advanced_security_committers_breakdown" + ] + } + } + }, + "required": [ + "repositories" + ] + }, + "examples": { + "default": { + "value": { + "total_advanced_security_committers": 2, + "total_count": 2, + "maximum_advanced_security_committers": 4, + "purchased_advanced_security_committers": 4, + "repositories": [ + { + "name": "octocat-org/Hello-World", + "advanced_security_committers": 2, + "advanced_security_committers_breakdown": [ + { + "user_login": "octocat", + "last_pushed_date": "2021-11-03", + "last_pushed_email": "octocat@github.com" + }, + { + "user_login": "octokitten", + "last_pushed_date": "2021-10-25", + "last_pushed_email": "octokitten@github.com" + } + ] + }, + { + "name": "octocat-org/server", + "advanced_security_committers": 1, + "advanced_security_committers_breakdown": [ + { + "user_login": "octokitten", + "last_pushed_date": "2021-10-26", + "last_pushed_email": "octokitten@github.com" + } + ] + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "billing" + } + } + }, + "/orgs/{org}/settings/billing/packages": { + "get": { + "summary": "Get GitHub Packages billing for an organization", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", + "operationId": "billing/get-github-packages-billing-org", + "tags": [ + "billing" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_gigabytes_bandwidth_used": { + "type": "integer", + "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." + }, + "total_paid_gigabytes_bandwidth_used": { + "type": "integer", + "description": "Total paid storage space (GB) for GitHuub Packages." + }, + "included_gigabytes_bandwidth": { + "type": "integer", + "description": "Free storage space (GB) for GitHub Packages." + } + }, + "required": [ + "total_gigabytes_bandwidth_used", + "total_paid_gigabytes_bandwidth_used", + "included_gigabytes_bandwidth" + ] + }, + "examples": { + "default": { + "value": { + "total_gigabytes_bandwidth_used": 50, + "total_paid_gigabytes_bandwidth_used": 40, + "included_gigabytes_bandwidth": 10 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "billing", + "subcategory": "billing" + } + } + }, + "/orgs/{org}/settings/billing/shared-storage": { + "get": { + "summary": "Get shared storage billing for an organization", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", + "operationId": "billing/get-shared-storage-billing-org", + "tags": [ + "billing" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "days_left_in_billing_cycle": { + "type": "integer", + "description": "Numbers of days left in billing cycle." + }, + "estimated_paid_storage_for_month": { + "type": "integer", + "description": "Estimated storage space (GB) used in billing cycle." + }, + "estimated_storage_for_month": { + "type": "integer", + "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." + } + }, + "required": [ + "days_left_in_billing_cycle", + "estimated_paid_storage_for_month", + "estimated_storage_for_month" + ] + }, + "examples": { + "default": { + "value": { + "days_left_in_billing_cycle": 20, + "estimated_paid_storage_for_month": 15, + "estimated_storage_for_month": 40 + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "billing", + "subcategory": "billing" + } + } + }, + "/orgs/{org}/settings/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an organization", + "description": "Lists all hosted compute network configurations configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { "type": "object", + "required": [ + "total_count", + "network_configurations" + ], "properties": { - "total_advanced_security_committers": { - "type": "integer", - "example": 25 - }, "total_count": { - "type": "integer", - "example": 2 - }, - "maximum_advanced_security_committers": { - "type": "integer", - "example": 4, - "description": "The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security" - }, - "purchased_advanced_security_committers": { - "type": "integer", - "example": 4, - "description": "The total number of GitHub Advanced Security licences purchased" + "type": "integer" }, - "repositories": { + "network_configurations": { "type": "array", "items": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", "type": "object", "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, "name": { + "description": "The name of the network configuration.", "type": "string", - "example": "octocat/Hello-World" + "example": "my-network-configuration" }, - "advanced_security_committers": { - "type": "integer", - "example": 25 + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] }, - "advanced_security_committers_breakdown": { + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", "type": "array", "items": { - "type": "object", - "properties": { - "user_login": { - "type": "string" - }, - "last_pushed_date": { - "type": "string", - "example": "2021-11-03" - }, - "last_pushed_email": { - "type": "string", - "example": "monalisa@github.com" - } - }, - "required": [ - "user_login", - "last_pushed_date", - "last_pushed_email" - ] - } + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true } }, "required": [ + "id", "name", - "advanced_security_committers", - "advanced_security_committers_breakdown" + "created_on" ] } } - }, - "required": [ - "repositories" - ] + } }, "examples": { "default": { "value": { - "total_advanced_security_committers": 2, "total_count": 2, - "maximum_advanced_security_committers": 4, - "purchased_advanced_security_committers": 4, - "repositories": [ + "network_configurations": [ { - "name": "octocat-org/Hello-World", - "advanced_security_committers": 2, - "advanced_security_committers_breakdown": [ - { - "user_login": "octocat", - "last_pushed_date": "2021-11-03", - "last_pushed_email": "octocat@github.com" - }, - { - "user_login": "octokitten", - "last_pushed_date": "2021-10-25", - "last_pushed_email": "octokitten@github.com" - } - ] + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" }, { - "name": "octocat-org/server", - "advanced_security_committers": 1, - "advanced_security_committers_breakdown": [ - { - "user_login": "octokitten", - "last_pushed_date": "2021-10-26", - "last_pushed_email": "octokitten@github.com" - } - ] + "id": "456789ABDCEF123", + "name": "My other configuration", + "compute_service": "none", + "network_settings_ids": [ + "56789ABDCEF1234", + "6789ABDCEF12345" + ], + "created_on": "2023-04-26T15:23:37Z" } ] } } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "billing" + "category": "settings", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an organization", + "description": "Creates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" } } }, - "/orgs/{org}/settings/billing/packages": { + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": { "get": { - "summary": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-org", + "summary": "Get a hosted compute network configuration for an organization", + "description": "Gets a hosted compute network configuration configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", "tags": [ - "billing" + "hosted-compute" ], + "operationId": "hosted-compute/get-network-configuration-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization" }, "parameters": [ { @@ -164798,6 +165987,15 @@ "schema": { "type": "string" } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -164806,59 +166004,290 @@ "content": { "application/json": { "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", "type": "object", "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true } }, "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" + "id", + "name", + "created_on" ] }, "examples": { "default": { "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" } } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an organization", + "description": "Updates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "examples": { + "default": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an organization", + "description": "Deletes a hosted compute network configuration from an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" } } }, - "/orgs/{org}/settings/billing/shared-storage": { + "/orgs/{org}/settings/network-settings/{network_settings_id}": { "get": { - "summary": "Get shared storage billing for an organization", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-org", + "summary": "Get a hosted compute network settings resource for an organization", + "description": "Gets a hosted compute network settings resource configured for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", "tags": [ - "billing" + "hosted-compute" ], + "operationId": "hosted-compute/get-network-settings-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization" }, "parameters": [ { @@ -164869,6 +166298,15 @@ "schema": { "type": "string" } + }, + { + "name": "network_settings_id", + "description": "Unique identifier of the hosted compute network settings.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -164877,45 +166315,71 @@ "content": { "application/json": { "schema": { + "title": "Hosted compute network settings resource", + "description": "A hosted compute network settings resource.", "type": "object", "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." + "id": { + "description": "The unique identifier of the network settings resource.", + "type": "string", + "example": "220F78DACB92BBFBC5E6F22DE1CCF52309D" }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." + "network_configuration_id": { + "description": "The identifier of the network configuration that is using this settings resource.", + "type": "string", + "example": "934E208B3EE0BD60CF5F752C426BFB53562" }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." + "name": { + "description": "The name of the network settings resource.", + "type": "string", + "example": "my-network-settings" + }, + "subnet_id": { + "description": "The subnet this network settings resource is configured for.", + "type": "string", + "example": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + }, + "region": { + "description": "The location of the subnet this network settings resource is configured for.", + "type": "string", + "example": "eastus" } }, "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" + "id", + "name", + "subnet_id", + "region" ] }, "examples": { "default": { "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 + "id": "220F78DACB92BBFBC5E6F22DE1CCF52309D", + "network_configuration_id": "934E208B3EE0BD60CF5F752C426BFB53562", + "name": "my_network_settings", + "subnet_id": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet", + "region": "eastus" } } } } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } } } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" } } }, @@ -285524,6 +286988,14 @@ "type": "string" } }, + { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -357802,7 +359274,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to remove" + "description": "The id of the sub-issue to remove" } }, "required": [ @@ -362578,7 +364050,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to add" + "description": "The id of the sub-issue to add. The sub-issue must belong to the same repository as the parent issue" }, "replace_parent": { "type": "boolean", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 8a1a4d58b..4fac89e5f 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -101,6 +101,8 @@ tags: description: Endpoints to manage Code security using the REST API. - name: private-registries description: Manage private registry configurations. +- name: hosted-compute + description: Manage hosted compute networking resources. servers: - url: https://api.github.com externalDocs: @@ -846,7 +848,7 @@ paths: - subscriptions_url - type - url - type: &322 + type: &326 type: string description: The type of credit the user is receiving. enum: @@ -979,7 +981,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &174 + schema: &177 title: Validation Error Simple description: Validation Error Simple type: object @@ -1012,7 +1014,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: - - &642 + - &650 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1130,7 +1132,7 @@ paths: GitHub. type: object nullable: true - properties: &132 + properties: &135 id: description: Unique identifier of the GitHub app example: 37 @@ -1270,7 +1272,7 @@ paths: type: string example: '"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\n-----END RSA PRIVATE KEY-----\n"' - required: &133 + required: &136 - id - node_id - owner @@ -1575,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &248 + - &252 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 @@ -1591,7 +1593,7 @@ paths: application/json: schema: type: array - items: &249 + items: &253 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1668,7 +1670,7 @@ paths: - installation_id - repository_id examples: - default: &250 + default: &254 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1700,7 +1702,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &652 + schema: &660 title: Scim Error description: Scim Error type: object @@ -1727,7 +1729,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &173 + schema: &176 title: Validation Error description: Validation Error type: object @@ -1796,7 +1798,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &255 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1910,7 +1912,7 @@ paths: - request - response examples: - default: &252 + default: &256 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2111,7 +2113,7 @@ paths: parameters: - *17 - *19 - - &137 + - &140 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2837,7 +2839,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &304 + properties: &308 id: description: Unique identifier of the repository example: 42 @@ -2857,7 +2859,7 @@ paths: title: License Simple description: License Simple type: object - properties: &148 + properties: &151 key: type: string example: mit @@ -2879,7 +2881,7 @@ paths: html_url: type: string format: uri - required: &149 + required: &152 - key - name - url @@ -3266,7 +3268,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &305 + required: &309 - archive_url - assignees_url - blobs_url @@ -7279,7 +7281,7 @@ paths: description: Response content: application/json: - schema: &175 + schema: &178 type: object properties: total_active_caches_count: @@ -7294,7 +7296,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &176 + default: &179 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7484,7 +7486,7 @@ paths: - public_ip_enabled - platform examples: - default: &177 + default: &180 value: total_count: 2 runners: @@ -7776,7 +7778,7 @@ paths: description: Response content: application/json: - schema: &178 + schema: &181 type: object properties: public_ips: @@ -7801,7 +7803,7 @@ paths: required: - public_ips examples: - default: &179 + default: &182 value: public_ips: current_usage: 17 @@ -7841,7 +7843,7 @@ paths: type: array items: *44 examples: - default: &180 + default: &183 value: id: 4-core cpu_cores: 4 @@ -8104,7 +8106,7 @@ paths: - all - local_only - selected - selected_actions_url: &183 + selected_actions_url: &186 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -8472,7 +8474,7 @@ paths: description: Success response content: application/json: - schema: &186 + schema: &189 type: object properties: default_workflow_permissions: &52 @@ -8520,7 +8522,7 @@ paths: required: true content: application/json: - schema: &187 + schema: &190 type: object properties: default_workflow_permissions: *52 @@ -9352,7 +9354,7 @@ paths: application/json: schema: type: array - items: &191 + items: &194 title: Runner Application description: Runner Application type: object @@ -9377,7 +9379,7 @@ paths: - download_url - filename examples: - default: &192 + default: &195 value: - os: osx architecture: x64 @@ -9461,7 +9463,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &193 + '201': &196 description: Response content: application/json: @@ -9571,7 +9573,7 @@ paths: - token - expires_at examples: - default: &194 + default: &197 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9611,7 +9613,7 @@ paths: application/json: schema: *64 examples: - default: &195 + default: &198 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9643,7 +9645,7 @@ paths: application/json: schema: *61 examples: - default: &196 + default: &199 value: id: 23 name: MBP @@ -9857,7 +9859,7 @@ paths: - *40 - *60 responses: - '200': &197 + '200': &200 description: Response content: application/json: @@ -9913,7 +9915,7 @@ paths: parameters: - *40 - *60 - - &198 + - &201 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10004,7 +10006,7 @@ paths: required: true content: application/json: - schema: &205 + schema: &208 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10075,7 +10077,7 @@ paths: required: false schema: type: string - - &206 + - &209 name: include description: |- The event types to include: @@ -10093,7 +10095,7 @@ paths: - web - git - all - - &207 + - &210 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. @@ -10101,7 +10103,7 @@ paths: required: false schema: type: string - - &208 + - &211 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. @@ -10109,7 +10111,7 @@ paths: required: false schema: type: string - - &209 + - &212 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10131,7 +10133,7 @@ paths: application/json: schema: type: array - items: &210 + items: &213 type: object properties: "@timestamp": @@ -10253,7 +10255,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &211 + default: &214 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10815,7 +10817,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &213 + - &216 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -10825,7 +10827,7 @@ paths: schema: &85 type: string description: The name of the tool used to generate the code scanning analysis. - - &214 + - &217 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -10848,7 +10850,7 @@ paths: be returned. in: query required: false - schema: &215 + schema: &218 type: string description: State of a code scanning alert. enum: @@ -10873,7 +10875,7 @@ paths: application/json: schema: type: array - items: &216 + items: &219 type: object properties: number: &98 @@ -10902,7 +10904,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &437 + instances_url: &445 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10937,7 +10939,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &438 + dismissed_reason: &446 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -10946,13 +10948,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &439 + dismissed_comment: &447 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &440 + rule: &448 type: object properties: id: @@ -11005,7 +11007,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &441 + tool: &449 type: object properties: name: *85 @@ -11015,15 +11017,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *86 - most_recent_instance: &442 + most_recent_instance: &450 type: object properties: - ref: &435 + ref: &443 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &452 + analysis_key: &460 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11034,7 +11036,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &453 + category: &461 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11372,7 +11374,7 @@ paths: - most_recent_instance - repository examples: - default: &217 + default: &220 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -11603,7 +11605,7 @@ paths: headers: Link: *39 '404': *6 - '503': &125 + '503': &128 description: Service unavailable content: application/json: @@ -12127,7 +12129,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &222 type: array description: A list of default code security configurations items: @@ -12143,7 +12145,7 @@ paths: default configuration: *88 examples: - default: &220 + default: &223 value: - default_for_new_repos: public configuration: @@ -12425,7 +12427,7 @@ paths: - *40 - *90 responses: - '204': &112 + '204': &115 description: A header with no content is returned. '400': *14 '403': *29 @@ -12553,7 +12555,7 @@ paths: default: value: default_for_new_repos: all - configuration: &218 + configuration: &221 value: id: 1325 target_type: organization @@ -12633,7 +12635,7 @@ paths: application/json: schema: type: array - items: &221 + items: &224 type: object description: Repositories associated with a code security configuration and attachment status @@ -12657,7 +12659,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &222 + repository: &225 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13122,7 +13124,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &224 + items: &227 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13140,7 +13142,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &270 + - &274 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13199,7 +13201,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &283 + properties: &287 id: description: Unique identifier of the team type: integer @@ -13255,7 +13257,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &284 + required: &288 - id - node_id - url @@ -13374,7 +13376,7 @@ paths: - created_at additionalProperties: false examples: - default: &225 + default: &228 value: total_seats: 2 seats: @@ -13509,7 +13511,7 @@ paths: application/json: schema: type: array - items: &127 + items: &130 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -13817,7 +13819,7 @@ paths: - date additionalProperties: true examples: - default: &128 + default: &131 value: - date: '2024-06-24' total_active_users: 24 @@ -13919,7 +13921,7 @@ paths: '500': *97 '403': *29 '404': *6 - '422': &129 + '422': &132 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -13989,7 +13991,7 @@ paths: application/json: schema: type: array - items: &130 + items: &133 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -14168,7 +14170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &232 + - &235 name: state in: query description: |- @@ -14177,7 +14179,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &233 + - &236 name: severity in: query description: |- @@ -14186,7 +14188,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &234 + - &237 name: ecosystem in: query description: |- @@ -14195,14 +14197,26 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &235 + - &238 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &236 + - &239 + name: epss_percentage + in: query + description: |- + CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as: + - An exact number (`n`) + - Comparators such as `>n`, `=n`, `<=n` + - A range like `n..n`, where `n` is a number from 0.0 to 1.0 + + Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. + schema: + type: string + - &240 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14212,7 +14226,7 @@ paths: enum: - development - runtime - - &237 + - &241 name: sort in: query description: |- @@ -14230,7 +14244,7 @@ paths: - *84 - *82 - *83 - - &238 + - &242 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14243,7 +14257,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &239 + - &243 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14263,7 +14277,7 @@ paths: application/json: schema: type: array - items: &240 + items: &244 type: object description: A Dependabot alert. properties: @@ -14313,7 +14327,7 @@ paths: enum: - development - runtime - security_advisory: &494 + security_advisory: &502 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14544,7 +14558,7 @@ paths: nullable: true maxLength: 280 fixed_at: *107 - auto_dismissed_at: &495 + auto_dismissed_at: &503 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -14570,7 +14584,7 @@ paths: - repository additionalProperties: false examples: - default: &241 + default: &245 value: - number: 2 state: dismissed @@ -14962,6 +14976,360 @@ paths: previews: [] category: enterprise-admin subcategory: license + "/enterprises/{enterprise}/network-configurations": + get: + summary: List hosted compute network configurations for an enterprise + description: Lists all hosted compute network configurations configured in an + enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise + parameters: + - *40 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: &108 + title: Hosted compute network configuration + description: A hosted compute network configuration. + type: object + properties: + id: + description: The unique identifier of the network configuration. + type: string + example: 123ABC456DEF789 + name: + description: The name of the network configuration. + type: string + example: my-network-configuration + compute_service: + description: The hosted compute service the network configuration + supports. + type: string + enum: + - none + - actions + - codespaces + network_settings_ids: + description: The unique identifier of each network settings + in the configuration. + type: array + items: + type: string + example: 123ABC456DEF789 + created_on: + description: The time at which the network configuration + was created, in ISO 8601 format. + type: string + format: date-time + example: '2024-04-26T11:31:07Z' + nullable: true + required: + - id + - name + - created_on + examples: + default: &336 + value: + total_count: 2 + network_configurations: + - id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + - id: 456789ABDCEF123 + name: My other configuration + compute_service: none + network_settings_ids: + - 56789ABDCEF1234 + - 6789ABDCEF12345 + created_on: '2023-04-26T15:23:37Z' + headers: + Link: *39 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an enterprise + description: Creates a hosted compute network configuration for an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, `.`, `-`, and `_`. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: *108 + examples: + default: &109 + value: + id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + "/enterprises/{enterprise}/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an enterprise + description: Gets a hosted compute network configuration configured in an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - *40 + - &110 + name: network_configuration_id + description: Unique identifier of the hosted compute network configuration. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *108 + examples: + default: *109 + headers: + Link: *39 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an enterprise + description: Updates a hosted compute network configuration for an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - *40 + - *110 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, `.`, `-`, and `_`. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: *108 + examples: + default: *109 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an enterprise + description: Deletes a hosted compute network configuration from an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise + parameters: + - *40 + - *110 + responses: + '204': + description: Response + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + "/enterprises/{enterprise}/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an enterprise + description: Gets a hosted compute network settings resource configured for + an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/get-network-settings-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise + parameters: + - *40 + - &337 + name: network_settings_id + description: Unique identifier of the hosted compute network settings. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: &338 + title: Hosted compute network settings resource + description: A hosted compute network settings resource. + type: object + properties: + id: + description: The unique identifier of the network settings resource. + type: string + example: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: + description: The identifier of the network configuration that + is using this settings resource. + type: string + example: 934E208B3EE0BD60CF5F752C426BFB53562 + name: + description: The name of the network settings resource. + type: string + example: my-network-settings + subnet_id: + description: The subnet this network settings resource is configured + for. + type: string + example: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: + description: The location of the subnet this network settings + resource is configured for. + type: string + example: eastus + required: + - id + - name + - subnet_id + - region + examples: + default: &339 + value: + id: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 + name: my_network_settings + subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: eastus + headers: + Link: *39 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations "/enterprises/{enterprise}/properties/schema": get: summary: Get custom properties for an enterprise @@ -14986,7 +15354,7 @@ paths: application/json: schema: type: array - items: &108 + items: &111 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -15052,7 +15420,7 @@ paths: - property_name - value_type examples: - default: &109 + default: &112 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15108,7 +15476,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *108 + items: *111 minItems: 1 maxItems: 100 required: @@ -15138,9 +15506,9 @@ paths: application/json: schema: type: array - items: *108 + items: *111 examples: - default: *109 + default: *112 '403': *29 '404': *6 x-github: @@ -15165,7 +15533,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *40 - - &110 + - &113 name: custom_property_name description: The custom property name in: path @@ -15177,9 +15545,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *111 examples: - default: &111 + default: &114 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15215,12 +15583,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *40 - - *110 + - *113 requestBody: required: true content: application/json: - schema: &302 + schema: &306 title: Custom Property Set Payload description: Custom property set payload type: object @@ -15276,9 +15644,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *111 examples: - default: *111 + default: *114 '403': *29 '404': *6 x-github: @@ -15303,9 +15671,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *40 - - *110 + - *113 responses: - '204': *112 + '204': *115 '403': *29 '404': *6 x-github: @@ -15345,7 +15713,7 @@ paths: - push - repository default: branch - enforcement: &119 + enforcement: &122 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -15358,7 +15726,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &120 + items: &123 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -15395,7 +15763,7 @@ paths: - always - pull_request default: always - conditions: &124 + conditions: &127 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -15409,7 +15777,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &113 + - &116 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -15435,7 +15803,7 @@ paths: type: string required: - organization_name - - &116 + - &119 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -15464,7 +15832,7 @@ paths: is prevented. required: - repository_name - - &115 + - &118 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -15492,8 +15860,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *113 - - &118 + - *116 + - &121 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -15506,7 +15874,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &114 + items: &117 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -15537,16 +15905,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *114 + items: *117 required: - repository_property - - *115 + - *118 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &117 + - &120 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -15563,25 +15931,25 @@ paths: type: integer required: - organization_id - - *116 - - *115 + - *119 + - *118 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *117 + - *120 + - *121 - *118 - - *115 rules: type: array description: An array of rules within the ruleset. - items: &121 + items: &124 title: Repository Rule type: object description: A repository rule. oneOf: - - &604 + - &612 title: creation description: Only allow users with bypass permission to create matching refs. @@ -15593,7 +15961,7 @@ paths: type: string enum: - creation - - &605 + - &613 title: update description: Only allow users with bypass permission to update matching refs. @@ -15614,7 +15982,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &607 + - &615 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -15626,7 +15994,7 @@ paths: type: string enum: - deletion - - &608 + - &616 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -15638,7 +16006,7 @@ paths: type: string enum: - required_linear_history - - &609 + - &617 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -15714,7 +16082,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &610 + - &618 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -15738,7 +16106,7 @@ paths: type: string required: - required_deployment_environments - - &611 + - &619 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -15750,7 +16118,7 @@ paths: type: string enum: - required_signatures - - &612 + - &620 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -15801,7 +16169,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &613 + - &621 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -15848,7 +16216,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &614 + - &622 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -15860,7 +16228,7 @@ paths: type: string enum: - non_fast_forward - - &615 + - &623 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -15896,7 +16264,7 @@ paths: required: - operator - pattern - - &616 + - &624 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -15932,7 +16300,7 @@ paths: required: - operator - pattern - - &617 + - &625 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -15968,7 +16336,7 @@ paths: required: - operator - pattern - - &618 + - &626 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16004,7 +16372,7 @@ paths: required: - operator - pattern - - &619 + - &627 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16130,7 +16498,7 @@ paths: maximum: 100 required: - max_file_size - - &620 + - &628 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16179,7 +16547,7 @@ paths: - repository_id required: - workflows - - &621 + - &629 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -16265,7 +16633,7 @@ paths: description: Response content: application/json: - schema: &122 + schema: &125 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -16300,11 +16668,11 @@ paths: source: type: string description: The name of the source - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 + items: *123 current_user_can_bypass: type: string description: |- @@ -16335,8 +16703,8 @@ paths: conditions: nullable: true anyOf: - - *115 - - &309 + - *118 + - &313 title: Organization ruleset conditions type: object description: |- @@ -16350,14 +16718,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *115 - - *116 + - *118 + - *119 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *115 + - *118 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -16379,11 +16747,11 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *115 - *118 + - *121 rules: type: array - items: *121 + items: *124 created_at: type: string format: date-time @@ -16391,7 +16759,7 @@ paths: type: string format: date-time examples: - default: &123 + default: &126 value: id: 21 name: super cool ruleset @@ -16450,9 +16818,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *123 + default: *126 '404': *6 '500': *97 x-github: @@ -16496,16 +16864,16 @@ paths: - tag - push - repository - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *124 + items: *123 + conditions: *127 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *124 examples: default: value: @@ -16529,9 +16897,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *123 + default: *126 '404': *6 '500': *97 x-github: @@ -16580,7 +16948,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &313 + - &317 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -16591,7 +16959,7 @@ paths: enum: - open - resolved - - &314 + - &318 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -16601,7 +16969,7 @@ paths: required: false schema: type: string - - &315 + - &319 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -16610,7 +16978,7 @@ paths: required: false schema: type: string - - &316 + - &320 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. @@ -16626,7 +16994,7 @@ paths: - *17 - *82 - *83 - - &317 + - &321 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -16635,7 +17003,7 @@ paths: required: false schema: type: string - - &318 + - &322 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -16644,7 +17012,7 @@ paths: schema: type: boolean default: false - - &319 + - &323 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -16660,7 +17028,7 @@ paths: application/json: schema: type: array - items: &320 + items: &324 type: object properties: number: *98 @@ -16679,14 +17047,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &634 + state: &642 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: &635 + resolution: &643 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -16783,7 +17151,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &321 + default: &325 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -17018,7 +17386,7 @@ paths: headers: Link: *39 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17046,7 +17414,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &328 type: object properties: total_minutes_used: @@ -17116,7 +17484,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &325 + default: &329 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -17154,7 +17522,7 @@ paths: description: Success content: application/json: - schema: &326 + schema: &330 type: object properties: total_advanced_security_committers: @@ -17209,7 +17577,7 @@ paths: required: - repositories examples: - default: &327 + default: &331 value: total_advanced_security_committers: 2 total_count: 2 @@ -17297,7 +17665,7 @@ paths: '400': *14 '403': *29 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17318,7 +17686,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *40 - - &126 + - &129 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -17362,7 +17730,7 @@ paths: '403': *29 '409': *92 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17382,7 +17750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *40 - - *126 + - *129 requestBody: required: true content: @@ -17420,7 +17788,7 @@ paths: '400': *14 '403': *29 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17448,7 +17816,7 @@ paths: description: Response content: application/json: - schema: &328 + schema: &332 type: object properties: total_gigabytes_bandwidth_used: @@ -17466,7 +17834,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &329 + default: &333 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -17498,7 +17866,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &334 type: object properties: days_left_in_billing_cycle: @@ -17516,7 +17884,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &331 + default: &335 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -17541,7 +17909,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *40 - - &164 + - &167 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -17550,7 +17918,7 @@ paths: required: false schema: type: integer - - &165 + - &168 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. @@ -17558,7 +17926,7 @@ paths: required: false schema: type: integer - - &166 + - &169 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. @@ -17566,7 +17934,7 @@ paths: required: false schema: type: integer - - &167 + - &170 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. @@ -17586,7 +17954,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &168 + schema: &171 type: object properties: usageItems: @@ -17639,7 +18007,7 @@ paths: - netAmount - organizationName examples: - default: &169 + default: &172 value: usageItems: - date: '2023-08-01' @@ -17656,7 +18024,7 @@ paths: '400': *14 '403': *29 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17727,13 +18095,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 + default: *131 '500': *97 '403': *29 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17768,7 +18136,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *40 - - &282 + - &286 name: team_slug description: The slug of the team name. in: path @@ -17806,9 +18174,9 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: &226 + default: &229 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -17964,7 +18332,7 @@ paths: application/json: schema: type: array - items: &159 + items: &162 title: Event description: Event type: object @@ -17974,7 +18342,7 @@ paths: type: type: string nullable: true - actor: &131 + actor: &134 title: Actor description: Actor type: object @@ -18014,18 +18382,18 @@ paths: - id - name - url - org: *131 + org: *134 payload: type: object properties: action: type: string - issue: &147 + issue: &150 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &543 + properties: &551 id: type: integer format: int64 @@ -18136,7 +18504,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &479 + properties: &487 url: type: string format: uri @@ -18206,7 +18574,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &480 + required: &488 - closed_issues - creator - description @@ -18295,9 +18663,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 - author_association: &134 + properties: *135 + required: *136 + author_association: &137 title: author_association type: string example: OWNER @@ -18311,7 +18679,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &135 + reactions: &138 title: Reaction Rollup type: object properties: @@ -18361,7 +18729,7 @@ paths: - total - completed - percent_completed - required: &544 + required: &552 - assignee - closed_at - comments @@ -18383,7 +18751,7 @@ paths: - author_association - created_at - updated_at - comment: &541 + comment: &549 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -18431,7 +18799,7 @@ paths: issue_url: type: string format: uri - author_association: *134 + author_association: *137 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -18441,9 +18809,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 - reactions: *135 + properties: *135 + required: *136 + reactions: *138 required: - id - node_id @@ -18538,7 +18906,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18619,7 +18987,7 @@ paths: _links: type: object properties: - timeline: &136 + timeline: &139 title: Link With Type description: Hypermedia Link with Type type: object @@ -18631,17 +18999,17 @@ paths: required: - href - type - user: *136 - security_advisories: *136 - current_user: *136 - current_user_public: *136 - current_user_actor: *136 - current_user_organization: *136 + user: *139 + security_advisories: *139 + current_user: *139 + current_user_public: *139 + current_user_actor: *139 + current_user_organization: *139 current_user_organizations: type: array - items: *136 - repository_discussions: *136 - repository_discussions_category: *136 + items: *139 + repository_discussions: *139 + repository_discussions_category: *139 required: - timeline - user @@ -18703,7 +19071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *137 + - *140 - *17 - *19 responses: @@ -18713,7 +19081,7 @@ paths: application/json: schema: type: array - items: &138 + items: &141 title: Base Gist description: Base Gist type: object @@ -18812,7 +19180,7 @@ paths: - created_at - updated_at examples: - default: &139 + default: &142 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -18933,7 +19301,7 @@ paths: description: Response content: application/json: - schema: &140 + schema: &143 title: Gist Simple description: Gist Simple type: object @@ -18950,7 +19318,7 @@ paths: url: type: string format: uri - user: &691 + user: &699 title: Public User description: Public User type: object @@ -19312,7 +19680,7 @@ paths: truncated: type: boolean examples: - default: &141 + default: &144 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -19416,7 +19784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *137 + - *140 - *17 - *19 responses: @@ -19426,9 +19794,9 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 + default: *142 headers: Link: *39 '422': *15 @@ -19450,7 +19818,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *137 + - *140 - *17 - *19 responses: @@ -19460,9 +19828,9 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 + default: *142 headers: Link: *39 '401': *25 @@ -19490,7 +19858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &142 + - &145 name: gist_id description: The unique identifier of the gist. in: path @@ -19502,10 +19870,10 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: - default: *141 - '403': &145 + default: *144 + '403': &148 description: Forbidden Gist content: application/json: @@ -19553,7 +19921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *142 + - *145 requestBody: required: true content: @@ -19613,9 +19981,9 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: - updateGist: *141 + updateGist: *144 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -19773,7 +20141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *142 + - *145 responses: '204': description: Response @@ -19802,7 +20170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *142 + - *145 - *17 - *19 responses: @@ -19812,7 +20180,7 @@ paths: application/json: schema: type: array - items: &143 + items: &146 title: Gist Comment description: A comment made to a gist. type: object @@ -19847,7 +20215,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *134 + author_association: *137 required: - url - id @@ -19912,7 +20280,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *142 + - *145 requestBody: required: true content: @@ -19937,9 +20305,9 @@ paths: description: Response content: application/json: - schema: *143 + schema: *146 examples: - default: &144 + default: &147 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -19997,8 +20365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *142 - - &146 + - *145 + - &149 name: comment_id description: The unique identifier of the comment. in: path @@ -20011,12 +20379,12 @@ paths: description: Response content: application/json: - schema: *143 + schema: *146 examples: - default: *144 + default: *147 '304': *37 '404': *6 - '403': *145 + '403': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20038,8 +20406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *142 - - *146 + - *145 + - *149 requestBody: required: true content: @@ -20064,9 +20432,9 @@ paths: description: Response content: application/json: - schema: *143 + schema: *146 examples: - default: *144 + default: *147 '404': *6 x-github: githubCloudOnly: false @@ -20083,8 +20451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *142 - - *146 + - *145 + - *149 responses: '204': description: Response @@ -20107,7 +20475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *142 + - *145 - *17 - *19 responses: @@ -20208,7 +20576,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *142 + - *145 - *17 - *19 responses: @@ -20218,7 +20586,7 @@ paths: application/json: schema: type: array - items: *140 + items: *143 examples: default: value: @@ -20283,13 +20651,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *142 + - *145 responses: '201': description: Response content: application/json: - schema: *138 + schema: *141 examples: default: value: @@ -20360,7 +20728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *142 + - *145 responses: '204': description: Response if gist is starred @@ -20390,7 +20758,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *142 + - *145 responses: '204': description: Response @@ -20412,7 +20780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *142 + - *145 responses: '204': description: Response @@ -20441,7 +20809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *142 + - *145 - name: sha in: path required: true @@ -20452,9 +20820,9 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: - default: *141 + default: *144 '422': *15 '404': *6 '403': *29 @@ -20820,7 +21188,7 @@ paths: - closed - all default: open - - &271 + - &275 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -20839,7 +21207,7 @@ paths: - comments default: created - *84 - - *137 + - *140 - name: collab in: query required: false @@ -20869,9 +21237,9 @@ paths: application/json: schema: type: array - items: *147 + items: *150 examples: - default: &272 + default: &276 value: - id: 1 node_id: MDU6SXNzdWUx @@ -21155,8 +21523,8 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 examples: default: value: @@ -21440,7 +21808,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &150 + X-CommonMarker-Version: &153 example: 0.17.4 schema: type: string @@ -21495,7 +21863,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *150 + X-CommonMarker-Version: *153 content: text/html: schema: @@ -21524,7 +21892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &153 + - &156 name: account_id description: account_id parameter in: path @@ -21536,7 +21904,7 @@ paths: description: Response content: application/json: - schema: &152 + schema: &155 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -21566,7 +21934,7 @@ paths: nullable: true id: type: integer - plan: &151 + plan: &154 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -21655,7 +22023,7 @@ paths: nullable: true updated_at: type: string - plan: *151 + plan: *154 required: - url - id @@ -21663,7 +22031,7 @@ paths: - login - marketplace_purchase examples: - default: &154 + default: &157 value: url: https://api.github.com/orgs/github type: Organization @@ -21748,9 +22116,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: &155 + default: &158 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -21790,14 +22158,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &156 + - &159 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &157 + - &160 name: sort description: The property to sort the results by. in: query @@ -21827,9 +22195,9 @@ paths: application/json: schema: type: array - items: *152 + items: *155 examples: - default: &158 + default: &161 value: - url: https://api.github.com/orgs/github type: Organization @@ -21903,15 +22271,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *153 + - *156 responses: '200': description: Response content: application/json: - schema: *152 + schema: *155 examples: - default: *154 + default: *157 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -21943,9 +22311,9 @@ paths: application/json: schema: type: array - items: *151 + items: *154 examples: - default: *155 + default: *158 headers: Link: *39 '401': *25 @@ -21968,8 +22336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *156 - - *157 + - *159 + - *160 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -21989,9 +22357,9 @@ paths: application/json: schema: type: array - items: *152 + items: *155 examples: - default: *158 + default: *161 headers: Link: *39 '401': *25 @@ -22255,14 +22623,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: - - &351 + - &359 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &352 + - &360 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -22279,7 +22647,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -22333,7 +22701,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &365 + '301': &373 description: Moved permanently content: application/json: @@ -22355,7 +22723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &573 + - &581 name: all description: If `true`, show notifications marked as read. in: query @@ -22363,7 +22731,7 @@ paths: schema: type: boolean default: false - - &574 + - &582 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -22372,8 +22740,8 @@ paths: schema: type: boolean default: false - - *137 - - &575 + - *140 + - &583 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: @@ -22398,18 +22766,18 @@ paths: application/json: schema: type: array - items: &160 + items: &163 title: Thread description: Thread type: object properties: id: type: string - repository: &190 + repository: &193 title: Minimal Repository description: Minimal Repository type: object - properties: &243 + properties: &247 id: type: integer format: int64 @@ -22685,7 +23053,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &306 + security_and_analysis: &310 nullable: true type: object properties: @@ -22749,7 +23117,7 @@ paths: enum: - enabled - disabled - required: &244 + required: &248 - archive_url - assignees_url - blobs_url @@ -22837,7 +23205,7 @@ paths: - url - subscription_url examples: - default: &576 + default: &584 value: - id: '1' repository: @@ -23003,7 +23371,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &161 + - &164 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -23017,7 +23385,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *163 examples: default: value: @@ -23120,7 +23488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *161 + - *164 responses: '205': description: Reset Content @@ -23143,7 +23511,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *161 + - *164 responses: '204': description: No content @@ -23166,13 +23534,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *161 + - *164 responses: '200': description: Response content: application/json: - schema: &162 + schema: &165 title: Thread Subscription description: Thread Subscription type: object @@ -23209,7 +23577,7 @@ paths: - url - subscribed examples: - default: &163 + default: &166 value: subscribed: true ignored: false @@ -23240,7 +23608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *161 + - *164 requestBody: required: false content: @@ -23261,9 +23629,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *163 + default: *166 '304': *37 '403': *29 '401': *25 @@ -23286,7 +23654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *161 + - *164 responses: '204': description: Response @@ -23383,7 +23751,7 @@ paths: type: array items: *58 examples: - default: &709 + default: &717 value: - login: github id: 1 @@ -23447,7 +23815,7 @@ paths: type: integer custom_roles: type: array - items: &227 + items: &230 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -23495,7 +23863,7 @@ paths: - created_at - updated_at examples: - default: &228 + default: &231 value: id: 8030 name: Security Engineer @@ -23541,29 +23909,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - &170 + - &173 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string - - *164 - - *165 - - *166 - *167 + - *168 + - *169 + - *170 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *168 + schema: *171 examples: - default: *169 + default: *172 '400': *14 '403': *29 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23589,13 +23957,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: &171 + schema: &174 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -23898,7 +24266,7 @@ paths: - updated_at - archived_at examples: - default-response: &172 + default-response: &175 value: login: github id: 1 @@ -23991,7 +24359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *170 + - *173 requestBody: required: false content: @@ -24214,17 +24582,17 @@ paths: description: Response content: application/json: - schema: *171 + schema: *174 examples: - default: *172 + default: *175 '422': description: Validation failed content: application/json: schema: oneOf: - - *173 - - *174 + - *176 + - *177 '409': *92 x-github: githubCloudOnly: false @@ -24248,7 +24616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *170 + - *173 responses: '202': *93 '404': *6 @@ -24273,15 +24641,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *175 + schema: *178 examples: - default: *176 + default: *179 headers: Link: *39 x-github: @@ -24304,7 +24672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -24322,7 +24690,7 @@ paths: type: integer repository_cache_usages: type: array - items: &370 + items: &378 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24377,7 +24745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -24397,7 +24765,7 @@ paths: type: array items: *41 examples: - default: *177 + default: *180 headers: Link: *39 x-github: @@ -24417,7 +24785,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *170 + - *173 requestBody: required: true content: @@ -24510,7 +24878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -24546,7 +24914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -24581,15 +24949,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *178 + schema: *181 examples: - default: *179 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24607,7 +24975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -24625,7 +24993,7 @@ paths: type: array items: *44 examples: - default: *180 + default: *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24643,7 +25011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -24687,7 +25055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *170 + - *173 - *46 responses: '200': @@ -24716,7 +25084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *170 + - *173 - *46 requestBody: required: true @@ -24779,7 +25147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *170 + - *173 - *46 responses: '202': @@ -24808,13 +25176,13 @@ 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-an-organization parameters: - - *170 + - *173 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &181 + schema: &184 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -24828,7 +25196,7 @@ paths: required: - include_claim_keys examples: - default: &182 + default: &185 value: include_claim_keys: - repo @@ -24850,20 +25218,20 @@ 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-an-organization parameters: - - *170 + - *173 requestBody: required: true content: application/json: - schema: *181 + schema: *184 examples: - default: *182 + default: *185 responses: '201': description: Empty response content: application/json: - schema: &201 + schema: &204 title: Empty Object description: An object without any properties. type: object @@ -24893,7 +25261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -24902,7 +25270,7 @@ paths: schema: type: object properties: - enabled_repositories: &184 + enabled_repositories: &187 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -24916,7 +25284,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *48 - selected_actions_url: *183 + selected_actions_url: *186 required: - enabled_repositories examples: @@ -24945,7 +25313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *170 + - *173 responses: '204': description: Response @@ -24956,7 +25324,7 @@ paths: schema: type: object properties: - enabled_repositories: *184 + enabled_repositories: *187 allowed_actions: *48 required: - enabled_repositories @@ -24984,7 +25352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -25004,7 +25372,7 @@ paths: type: array items: *63 examples: - default: &703 + default: &711 value: total_count: 1 repositories: @@ -25144,7 +25512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *170 + - *173 responses: '204': description: Response @@ -25188,8 +25556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *170 - - &185 + - *173 + - &188 name: repository_id description: The unique identifier of the repository. in: path @@ -25217,8 +25585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *170 - - *185 + - *173 + - *188 responses: '204': description: Response @@ -25241,7 +25609,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -25272,7 +25640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *170 + - *173 responses: '204': description: Response @@ -25304,13 +25672,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *186 + schema: *189 examples: default: *54 x-github: @@ -25333,7 +25701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *170 + - *173 responses: '204': description: Success response @@ -25344,7 +25712,7 @@ paths: required: false content: application/json: - schema: *187 + schema: *190 examples: default: *54 x-github: @@ -25366,7 +25734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *170 + - *173 - *17 - *19 - name: visible_to_repository @@ -25391,7 +25759,7 @@ paths: type: number runner_groups: type: array - items: &188 + items: &191 type: object properties: id: @@ -25507,7 +25875,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *170 + - *173 requestBody: required: true content: @@ -25579,9 +25947,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: &189 + default: &192 value: id: 2 name: octo-runner-group @@ -25616,14 +25984,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *170 + - *173 - *57 responses: '200': description: Response content: application/json: - schema: *188 + schema: *191 examples: default: value: @@ -25659,7 +26027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *170 + - *173 - *57 requestBody: required: true @@ -25714,9 +26082,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *191 examples: - default: *189 + default: *192 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -25735,7 +26103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *170 + - *173 - *57 responses: '204': @@ -25759,7 +26127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *170 + - *173 - *57 - *17 - *19 @@ -25780,7 +26148,7 @@ paths: type: array items: *41 examples: - default: *177 + default: *180 headers: Link: *39 x-github: @@ -25802,7 +26170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *170 + - *173 - *57 - *19 - *17 @@ -25821,9 +26189,9 @@ paths: type: number repositories: type: array - items: *190 + items: *193 examples: - default: &694 + default: &702 value: total_count: 1 repositories: @@ -26075,7 +26443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *170 + - *173 - *57 requestBody: required: true @@ -26120,9 +26488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *170 + - *173 - *57 - - *185 + - *188 responses: '204': description: Response @@ -26144,9 +26512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *170 + - *173 - *57 - - *185 + - *188 responses: '204': description: Response @@ -26169,7 +26537,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *170 + - *173 - *57 - *17 - *19 @@ -26211,7 +26579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *170 + - *173 - *57 requestBody: required: true @@ -26256,7 +26624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *170 + - *173 - *57 - *60 responses: @@ -26280,7 +26648,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *170 + - *173 - *57 - *60 responses: @@ -26312,7 +26680,7 @@ paths: in: query schema: type: string - - *170 + - *173 - *17 - *19 responses: @@ -26356,7 +26724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -26364,9 +26732,9 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: - default: *192 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26388,7 +26756,7 @@ 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-an-organization parameters: - - *170 + - *173 requestBody: required: true content: @@ -26431,7 +26799,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *193 + '201': *196 '404': *6 '422': *7 x-github: @@ -26461,7 +26829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *170 + - *173 responses: '201': description: Response @@ -26469,7 +26837,7 @@ paths: application/json: schema: *64 examples: - default: *194 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26497,7 +26865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *170 + - *173 responses: '201': description: Response @@ -26505,7 +26873,7 @@ paths: application/json: schema: *64 examples: - default: *195 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26527,7 +26895,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *170 + - *173 - *60 responses: '200': @@ -26536,7 +26904,7 @@ paths: application/json: schema: *61 examples: - default: *196 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26557,7 +26925,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *170 + - *173 - *60 responses: '204': @@ -26583,7 +26951,7 @@ 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-an-organization parameters: - - *170 + - *173 - *60 responses: '200': *66 @@ -26608,7 +26976,7 @@ 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-an-organization parameters: - - *170 + - *173 - *60 requestBody: required: true @@ -26657,7 +27025,7 @@ 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-an-organization parameters: - - *170 + - *173 - *60 requestBody: required: true @@ -26707,10 +27075,10 @@ 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-an-organization parameters: - - *170 + - *173 - *60 responses: - '200': *197 + '200': *200 '404': *6 x-github: githubCloudOnly: false @@ -26737,9 +27105,9 @@ 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-an-organization parameters: - - *170 + - *173 - *60 - - *198 + - *201 responses: '200': *66 '404': *6 @@ -26766,7 +27134,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *170 + - *173 - *17 - *19 responses: @@ -26784,7 +27152,7 @@ paths: type: integer secrets: type: array - items: &199 + items: &202 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -26857,13 +27225,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: &390 + schema: &398 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -26892,7 +27260,7 @@ paths: - key_id - key examples: - default: &391 + default: &399 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26917,8 +27285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *170 - - &200 + - *173 + - &203 name: secret_name description: The name of the secret. in: path @@ -26930,7 +27298,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *202 examples: default: value: @@ -26960,8 +27328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -27016,7 +27384,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -27042,8 +27410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 responses: '204': description: Response @@ -27069,8 +27437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - *19 - *17 responses: @@ -27088,9 +27456,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *193 examples: - default: &204 + default: &207 value: total_count: 1 repositories: @@ -27182,8 +27550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -27235,8 +27603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -27269,8 +27637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -27302,8 +27670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *170 - - &375 + - *173 + - &383 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)." @@ -27327,7 +27695,7 @@ paths: type: integer variables: type: array - items: &202 + items: &205 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -27412,7 +27780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *170 + - *173 requestBody: required: true content: @@ -27460,7 +27828,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -27485,8 +27853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *170 - - &203 + - *173 + - &206 name: name description: The name of the variable. in: path @@ -27498,7 +27866,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *205 examples: default: value: @@ -27528,8 +27896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 requestBody: required: true content: @@ -27591,8 +27959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 responses: '204': description: Response @@ -27618,8 +27986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 - *19 - *17 responses: @@ -27637,9 +28005,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *193 examples: - default: *204 + default: *207 '409': description: Response when the visibility of the variable is not set to `selected` @@ -27665,8 +28033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 requestBody: required: true content: @@ -27715,8 +28083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 - name: repository_id in: path required: true @@ -27750,8 +28118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *170 - - *203 + - *173 + - *206 - name: repository_id in: path required: true @@ -27782,7 +28150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -27809,11 +28177,11 @@ paths: required: true content: application/json: - schema: *205 + schema: *208 examples: default: *69 parameters: - - *170 + - *173 responses: '200': description: Response @@ -27837,7 +28205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *170 + - *173 responses: '204': description: Response @@ -27865,7 +28233,7 @@ paths: - *17 - *82 - *83 - - *170 + - *173 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -27908,7 +28276,7 @@ paths: bundle_url: type: string examples: - default: &404 + default: &412 value: attestations: - bundle: @@ -28026,7 +28394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *170 + - *173 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -28034,10 +28402,10 @@ paths: required: false schema: type: string - - *206 - - *207 - - *208 - *209 + - *210 + - *211 + - *212 - *17 responses: '200': @@ -28046,9 +28414,9 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: *211 + default: *214 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -28065,7 +28433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -28077,7 +28445,7 @@ paths: type: array items: *4 examples: - default: &273 + default: &277 value: - login: octocat id: 1 @@ -28115,8 +28483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *170 - - &212 + - *173 + - &215 name: username description: The handle for the GitHub user account. in: path @@ -28147,8 +28515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -28168,8 +28536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -28195,14 +28563,14 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *170 - - &310 + - *173 + - &314 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - &421 + - &429 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -28210,7 +28578,7 @@ paths: required: false schema: type: string - - &422 + - &430 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -28218,7 +28586,7 @@ paths: required: false schema: type: string - - &311 + - &315 name: time_period description: |- The time period to filter by. @@ -28234,7 +28602,7 @@ paths: - week - month default: day - - &423 + - &431 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -28259,7 +28627,7 @@ paths: application/json: schema: type: array - items: &424 + items: &432 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -28414,7 +28782,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &425 + default: &433 value: - id: 21 number: 42 @@ -28500,9 +28868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *170 - - *213 - - *214 + - *173 + - *216 + - *217 - *82 - *83 - *19 @@ -28513,7 +28881,7 @@ paths: be returned. in: query required: false - schema: *215 + schema: *218 - name: sort description: The property by which to sort the results. in: query @@ -28529,7 +28897,7 @@ paths: be returned. in: query required: false - schema: &436 + schema: &444 type: string description: Severity of a code scanning alert. enum: @@ -28547,13 +28915,13 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: - default: *217 + default: *220 headers: Link: *39 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28575,7 +28943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *170 + - *173 - name: target_type in: query description: The target type of the code security configuration @@ -28682,7 +29050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *170 + - *173 requestBody: required: true content: @@ -28857,7 +29225,7 @@ paths: application/json: schema: *88 examples: - default: *218 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28879,15 +29247,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *220 + default: *223 '304': *37 '403': *29 '404': *6 @@ -28913,7 +29281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *170 + - *173 requestBody: required: true content: @@ -28936,7 +29304,7 @@ paths: - 32 - 91 responses: - '204': *112 + '204': *115 '400': *14 '403': *29 '404': *6 @@ -28962,7 +29330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *170 + - *173 - *90 responses: '200': @@ -28971,7 +29339,7 @@ paths: application/json: schema: *88 examples: - default: *218 + default: *221 '304': *37 '403': *29 '404': *6 @@ -28995,7 +29363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *170 + - *173 - *90 requestBody: required: true @@ -29203,10 +29571,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *170 + - *173 - *90 responses: - '204': *112 + '204': *115 '400': *14 '403': *29 '404': *6 @@ -29234,7 +29602,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *170 + - *173 - *90 requestBody: required: true @@ -29298,7 +29666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *170 + - *173 - *90 requestBody: required: true @@ -29344,7 +29712,7 @@ paths: default: value: default_for_new_repos: all - configuration: *218 + configuration: *221 '403': *29 '404': *6 x-github: @@ -29368,7 +29736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *170 + - *173 - *90 - name: per_page description: The number of results per page (max 100). For more information, @@ -29397,13 +29765,13 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *222 + repository: *225 '403': *29 '404': *6 x-github: @@ -29427,7 +29795,7 @@ paths: parameters: - *17 - *19 - - *170 + - *173 responses: '200': description: Response @@ -29443,7 +29811,7 @@ paths: type: integer codespaces: type: array - items: &274 + items: &278 type: object title: Codespace description: A codespace. @@ -29468,12 +29836,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *190 + repository: *193 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &465 + properties: &473 name: type: string description: The name of the machine. @@ -29515,7 +29883,7 @@ paths: - ready - in_progress nullable: true - required: &466 + required: &474 - name - display_name - operating_system @@ -29720,7 +30088,7 @@ paths: - pulls_url - recent_folders examples: - default: &275 + default: &279 value: total_count: 3 codespaces: @@ -30152,7 +30520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *170 + - *173 deprecated: true requestBody: required: true @@ -30219,7 +30587,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *170 + - *173 deprecated: true requestBody: required: true @@ -30274,7 +30642,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *170 + - *173 requestBody: required: true content: @@ -30326,7 +30694,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *170 + - *173 - *17 - *19 responses: @@ -30344,7 +30712,7 @@ paths: type: integer secrets: type: array - items: &223 + items: &226 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -30383,7 +30751,7 @@ paths: - updated_at - visibility examples: - default: &467 + default: &475 value: total_count: 2 secrets: @@ -30415,13 +30783,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: &468 + schema: &476 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -30450,7 +30818,7 @@ paths: - key_id - key examples: - default: &469 + default: &477 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30473,16 +30841,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 responses: '200': description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: &471 + default: &479 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30509,8 +30877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -30565,7 +30933,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -30591,8 +30959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 responses: '204': description: Response @@ -30617,8 +30985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - *19 - *17 responses: @@ -30636,9 +31004,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *193 examples: - default: *204 + default: *207 '404': *6 x-github: githubCloudOnly: false @@ -30660,8 +31028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -30711,8 +31079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -30745,8 +31113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -30785,7 +31153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *170 + - *173 responses: '200': description: OK @@ -30928,7 +31296,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *170 + - *173 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -30951,9 +31319,9 @@ paths: currently being billed. seats: type: array - items: *224 + items: *227 examples: - default: *225 + default: *228 headers: Link: *39 '500': *97 @@ -30989,7 +31357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *170 + - *173 requestBody: content: application/json: @@ -31067,7 +31435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *170 + - *173 requestBody: content: application/json: @@ -31147,7 +31515,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *170 + - *173 requestBody: content: application/json: @@ -31224,7 +31592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *170 + - *173 requestBody: content: application/json: @@ -31305,7 +31673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *170 + - *173 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -31337,13 +31705,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 + default: *131 '500': *97 '403': *29 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31374,7 +31742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members parameters: - - *170 + - *173 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -31406,9 +31774,9 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: *226 + default: *229 '500': *97 '401': *25 '403': *29 @@ -31434,7 +31802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *170 + - *173 - *17 - name: page description: Page token @@ -31578,7 +31946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *170 + - *173 - name: credential_id in: path required: true @@ -31609,7 +31977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *170 + - *173 responses: '200': description: Response - list of custom role names @@ -31624,7 +31992,7 @@ paths: type: integer custom_roles: type: array - items: *227 + items: *230 examples: default: value: @@ -31711,12 +32079,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *170 + - *173 requestBody: required: true content: application/json: - schema: &230 + schema: &233 type: object properties: name: @@ -31757,9 +32125,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '422': *15 '404': *6 x-github: @@ -31783,8 +32151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *170 - - &229 + - *173 + - &232 name: role_id description: The unique identifier of the role. in: path @@ -31796,9 +32164,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '404': *6 x-github: githubCloudOnly: true @@ -31820,13 +32188,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *170 - - *229 + - *173 + - *232 requestBody: required: true content: application/json: - schema: &231 + schema: &234 type: object properties: name: @@ -31864,9 +32232,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '422': *15 '404': *6 x-github: @@ -31890,8 +32258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *170 - - *229 + - *173 + - *232 responses: '204': description: Response @@ -31919,12 +32287,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *170 + - *173 requestBody: required: true content: application/json: - schema: *230 + schema: *233 examples: default: value: @@ -31938,9 +32306,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '422': *15 '404': *6 x-github: @@ -31970,16 +32338,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *170 - - *229 + - *173 + - *232 responses: '200': description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '404': *6 x-github: githubCloudOnly: true @@ -32007,13 +32375,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *170 - - *229 + - *173 + - *232 requestBody: required: true content: application/json: - schema: *231 + schema: *234 examples: default: value: @@ -32028,9 +32396,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *228 + default: *231 '422': *15 '404': *6 x-github: @@ -32060,8 +32428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *170 - - *229 + - *173 + - *232 responses: '204': description: Response @@ -32089,18 +32457,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *170 - - *232 - - *233 - - *234 + - *173 - *235 - *236 - *237 + - *238 + - *239 + - *240 + - *241 - *84 - *82 - *83 - - *238 - - *239 + - *242 + - *243 - *17 responses: '200': @@ -32109,9 +32478,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *241 + default: *245 '304': *37 '400': *14 '403': *29 @@ -32137,7 +32506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *170 + - *173 - *17 - *19 responses: @@ -32155,7 +32524,7 @@ paths: type: integer secrets: type: array - items: &242 + items: &246 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -32226,13 +32595,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: &498 + schema: &506 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -32249,7 +32618,7 @@ paths: - key_id - key examples: - default: &499 + default: &507 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32272,14 +32641,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 responses: '200': description: Response content: application/json: - schema: *242 + schema: *246 examples: default: value: @@ -32307,8 +32676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -32363,7 +32732,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -32387,8 +32756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 responses: '204': description: Response @@ -32412,8 +32781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - *19 - *17 responses: @@ -32431,9 +32800,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *193 examples: - default: *204 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32454,8 +32823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -32505,8 +32874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -32537,8 +32906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *170 - - *200 + - *173 + - *203 - name: repository_id in: path required: true @@ -32568,7 +32937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -32576,7 +32945,7 @@ paths: application/json: schema: type: array - items: &286 + items: &290 title: Package description: A software package type: object @@ -32626,8 +32995,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *243 - required: *244 + properties: *247 + required: *248 nullable: true created_at: type: string @@ -32646,7 +33015,7 @@ paths: - created_at - updated_at examples: - default: &287 + default: &291 value: - id: 197 name: hello_docker @@ -32724,7 +33093,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *170 + - *173 - *17 - *19 responses: @@ -32734,7 +33103,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: 200-response: value: @@ -32804,7 +33173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *170 + - *173 - name: group_id description: The unique identifier of the group. in: path @@ -32830,7 +33199,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &354 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -32911,7 +33280,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &347 + default: &355 value: group_id: '123' group_name: Octocat admins @@ -32949,7 +33318,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *170 + - *173 - *17 - name: page description: Page token @@ -32966,7 +33335,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &352 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -33003,7 +33372,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &345 + default: &353 value: groups: - group_id: '123' @@ -33037,7 +33406,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *170 + - *173 - *17 - *19 responses: @@ -33047,7 +33416,7 @@ paths: application/json: schema: type: array - items: &267 + items: &271 title: Organization Invitation description: Organization Invitation type: object @@ -33094,7 +33463,7 @@ paths: - invitation_teams_url - node_id examples: - default: &268 + default: &272 value: - id: 1 login: monalisa @@ -33153,7 +33522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -33161,7 +33530,7 @@ paths: application/json: schema: type: array - items: &307 + items: &311 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -33175,7 +33544,7 @@ paths: - name - description examples: - default: &308 + default: &312 value: - name: add_assignee description: Assign or remove a user @@ -33206,7 +33575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *170 + - *173 - *17 - *19 responses: @@ -33216,7 +33585,7 @@ paths: application/json: schema: type: array - items: &245 + items: &249 title: Org Hook description: Org Hook type: object @@ -33325,7 +33694,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *170 + - *173 requestBody: required: true content: @@ -33385,9 +33754,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *249 examples: - default: &246 + default: &250 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -33431,8 +33800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *170 - - &247 + - *173 + - &251 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. @@ -33445,9 +33814,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *249 examples: - default: *246 + default: *250 '404': *6 x-github: githubCloudOnly: false @@ -33468,8 +33837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 requestBody: required: false content: @@ -33514,7 +33883,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *249 examples: default: value: @@ -33553,8 +33922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 responses: '204': description: Response @@ -33579,8 +33948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *170 - - *247 + - *173 + - *251 responses: '200': description: Response @@ -33608,8 +33977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *170 - - *247 + - *173 + - *251 requestBody: required: false content: @@ -33657,10 +34026,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 - *17 - - *248 + - *252 responses: '200': description: Response @@ -33668,9 +34037,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *250 + default: *254 '400': *14 '422': *15 x-github: @@ -33693,17 +34062,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 - *16 responses: '200': description: Response content: application/json: - schema: *251 + schema: *255 examples: - default: *252 + default: *256 '400': *14 '422': *15 x-github: @@ -33726,8 +34095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 - *16 responses: '202': *93 @@ -33753,8 +34122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *170 - - *247 + - *173 + - *251 responses: '204': description: Response @@ -33776,8 +34145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *170 - - &257 + - *173 + - &261 name: actor_type in: path description: The type of the actor @@ -33790,14 +34159,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &258 + - &262 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &253 + - &257 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`.' @@ -33805,7 +34174,7 @@ paths: required: true schema: type: string - - &254 + - &258 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) @@ -33898,13 +34267,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *170 - - *253 - - *254 + - *173 + - *257 + - *258 - *19 - *17 - *84 - - &263 + - &267 name: sort description: The property to sort the results by. in: query @@ -33982,15 +34351,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *170 - - *253 - - *254 + - *173 + - *257 + - *258 responses: '200': description: Response content: application/json: - schema: &255 + schema: &259 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -34006,7 +34375,7 @@ paths: type: integer format: int64 examples: - default: &256 + default: &260 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -34026,24 +34395,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *170 - - &259 + - *173 + - &263 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *253 - - *254 + - *257 + - *258 responses: '200': description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *256 + default: *260 x-github: enabledForGitHubApps: true category: orgs @@ -34061,19 +34430,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *170 - - *253 - - *254 + - *173 - *257 - *258 + - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *255 + schema: *259 examples: - default: *256 + default: *260 x-github: enabledForGitHubApps: true category: orgs @@ -34090,10 +34459,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *170 - - *253 - - *254 - - &260 + - *173 + - *257 + - *258 + - &264 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -34106,7 +34475,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &265 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -34122,7 +34491,7 @@ paths: type: integer format: int64 examples: - default: &262 + default: &266 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -34158,19 +34527,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *170 - - *259 - - *253 - - *254 - - *260 + - *173 + - *263 + - *257 + - *258 + - *264 responses: '200': description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: enabledForGitHubApps: true category: orgs @@ -34187,20 +34556,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *170 + - *173 + - *261 + - *262 - *257 - *258 - - *253 - - *254 - - *260 + - *264 responses: '200': description: Response content: application/json: - schema: *261 + schema: *265 examples: - default: *262 + default: *266 x-github: enabledForGitHubApps: true category: orgs @@ -34217,14 +34586,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *170 - - *259 - - *253 - - *254 + - *173 + - *263 + - *257 + - *258 - *19 - *17 - *84 - - *263 + - *267 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -34297,7 +34666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *170 + - *173 responses: '200': description: Response @@ -34305,7 +34674,7 @@ paths: application/json: schema: *22 examples: - default: &537 + default: &545 value: id: 1 account: @@ -34374,7 +34743,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -34463,7 +34832,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -34471,12 +34840,12 @@ paths: application/json: schema: anyOf: - - &265 + - &269 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &264 + limit: &268 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -34501,7 +34870,7 @@ paths: properties: {} additionalProperties: false examples: - default: &266 + default: &270 value: limit: collaborators_only origin: organization @@ -34525,18 +34894,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *170 + - *173 requestBody: required: true content: application/json: - schema: &538 + schema: &546 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *264 + limit: *268 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -34560,9 +34929,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *269 examples: - default: *266 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -34580,7 +34949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *170 + - *173 responses: '204': description: Response @@ -34606,7 +34975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *170 + - *173 - *17 - *19 - name: role @@ -34640,9 +35009,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *268 + default: *272 headers: Link: *39 '404': *6 @@ -34666,7 +35035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *170 + - *173 requestBody: required: false content: @@ -34720,7 +35089,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *271 examples: default: value: @@ -34776,8 +35145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *170 - - &269 + - *173 + - &273 name: invitation_id description: The unique identifier of the invitation. in: path @@ -34810,8 +35179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *170 - - *269 + - *173 + - *273 - *17 - *19 responses: @@ -34821,9 +35190,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: &285 + default: &289 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -34868,7 +35237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *170 + - *173 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -34898,7 +35267,7 @@ paths: - closed - all default: open - - *271 + - *275 - name: sort description: What to sort results by. in: query @@ -34911,7 +35280,7 @@ paths: - comments default: created - *84 - - *137 + - *140 - *17 - *19 responses: @@ -34921,9 +35290,9 @@ paths: application/json: schema: type: array - items: *147 + items: *150 examples: - default: *272 + default: *276 headers: Link: *39 '404': *6 @@ -34945,7 +35314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *170 + - *173 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34981,7 +35350,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '422': *15 @@ -35001,8 +35370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response if requester is an organization member and user is @@ -35033,8 +35402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -35060,8 +35429,8 @@ paths: parameters: - *17 - *19 - - *170 - - *212 + - *173 + - *215 responses: '200': description: Response @@ -35077,9 +35446,9 @@ paths: type: integer codespaces: type: array - items: *274 + items: *278 examples: - default: *275 + default: *279 '304': *37 '500': *97 '401': *25 @@ -35104,9 +35473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *170 - - *212 - - &276 + - *173 + - *215 + - &280 name: codespace_name in: path required: true @@ -35139,17 +35508,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *170 - - *212 - - *276 + - *173 + - *215 + - *280 responses: '200': description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: &464 + default: &472 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35322,14 +35691,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *224 + schema: *227 examples: default: value: @@ -35397,14 +35766,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '200': description: Response content: application/json: - schema: &277 + schema: &281 title: Org Membership description: Org Membership type: object @@ -35456,7 +35825,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &278 + response-if-user-has-an-active-admin-membership-with-organization: &282 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -35524,8 +35893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 requestBody: required: false content: @@ -35553,9 +35922,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *281 examples: - response-if-user-already-had-membership-with-organization: *278 + response-if-user-already-had-membership-with-organization: *282 '422': *15 '403': *29 x-github: @@ -35576,8 +35945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -35602,7 +35971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *170 + - *173 - *17 - *19 - name: exclude @@ -35623,7 +35992,7 @@ paths: application/json: schema: type: array - items: &279 + items: &283 title: Migration description: A migration. type: object @@ -35876,7 +36245,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *170 + - *173 requestBody: required: true content: @@ -35952,7 +36321,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: default: value: @@ -36130,8 +36499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *170 - - &280 + - *173 + - &284 name: migration_id description: The unique identifier of the migration. in: path @@ -36158,7 +36527,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *279 + schema: *283 examples: default: value: @@ -36327,8 +36696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *170 - - *280 + - *173 + - *284 responses: '302': description: Response @@ -36349,8 +36718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *170 - - *280 + - *173 + - *284 responses: '204': description: Response @@ -36373,9 +36742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *170 - - *280 - - &708 + - *173 + - *284 + - &716 name: repo_name description: repo_name parameter in: path @@ -36402,8 +36771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *170 - - *280 + - *173 + - *284 - *17 - *19 responses: @@ -36413,9 +36782,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: &292 + default: &296 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36554,7 +36923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -36608,7 +36977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response - list of organization roles @@ -36624,7 +36993,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &281 + items: &285 title: Organization Role description: Organization roles type: object @@ -36784,7 +37153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *170 + - *173 requestBody: required: true content: @@ -36831,7 +37200,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *285 examples: default: value: @@ -36882,8 +37251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '204': description: Response @@ -36908,9 +37277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *170 - - *282 - - *229 + - *173 + - *286 + - *232 responses: '204': description: Response @@ -36939,9 +37308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *170 - - *282 - - *229 + - *173 + - *286 + - *232 responses: '204': description: Response @@ -36966,8 +37335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -36992,9 +37361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *170 - - *212 - - *229 + - *173 + - *215 + - *232 responses: '204': description: Response @@ -37024,9 +37393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *170 - - *212 - - *229 + - *173 + - *215 + - *232 responses: '204': description: Response @@ -37054,14 +37423,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *170 - - *229 + - *173 + - *232 responses: '200': description: Response content: application/json: - schema: *281 + schema: *285 examples: default: value: @@ -37118,8 +37487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *170 - - *229 + - *173 + - *232 requestBody: required: true content: @@ -37158,7 +37527,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *285 examples: default: value: @@ -37211,8 +37580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *170 - - *229 + - *173 + - *232 responses: '204': description: Response @@ -37237,8 +37606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *170 - - *229 + - *173 + - *232 - *17 - *19 responses: @@ -37316,8 +37685,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *283 - required: *284 + properties: *287 + required: *288 nullable: true required: - id @@ -37332,7 +37701,7 @@ paths: - slug - parent examples: - default: *285 + default: *289 headers: Link: *39 '404': @@ -37361,8 +37730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *170 - - *229 + - *173 + - *232 - *17 - *19 responses: @@ -37390,13 +37759,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &323 + items: &327 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *283 - required: *284 + properties: *287 + required: *288 name: nullable: true type: string @@ -37491,7 +37860,7 @@ paths: - type - url examples: - default: *273 + default: *277 headers: Link: *39 '404': @@ -37515,7 +37884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *170 + - *173 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -37539,7 +37908,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -37564,8 +37933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *170 - - *212 + - *173 + - *215 requestBody: required: false content: @@ -37622,8 +37991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -37680,8 +38049,8 @@ paths: - docker - nuget - container - - *170 - - &710 + - *173 + - &718 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -37717,12 +38086,12 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: *287 + default: *291 '403': *29 '401': *25 - '400': &712 + '400': &720 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37744,7 +38113,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &288 + - &292 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 @@ -37762,20 +38131,20 @@ paths: - docker - nuget - container - - &289 + - &293 name: package_name description: The name of the package. in: path required: true schema: type: string - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *286 + schema: *290 examples: default: value: @@ -37827,9 +38196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *288 - - *289 - - *170 + - *292 + - *293 + - *173 responses: '204': description: Response @@ -37861,9 +38230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *288 - - *289 - - *170 + - *292 + - *293 + - *173 - name: token description: package token schema: @@ -37895,9 +38264,9 @@ 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: - - *288 - - *289 - - *170 + - *292 + - *293 + - *173 - *19 - *17 - name: state @@ -37917,7 +38286,7 @@ paths: application/json: schema: type: array - items: &290 + items: &294 title: Package Version description: A version of a software package type: object @@ -38042,10 +38411,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: - - *288 - - *289 - - *170 - - &291 + - *292 + - *293 + - *173 + - &295 name: package_version_id description: Unique identifier of the package version. in: path @@ -38057,7 +38426,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *294 examples: default: value: @@ -38093,10 +38462,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *288 - - *289 - - *170 - - *291 + - *292 + - *293 + - *173 + - *295 responses: '204': description: Response @@ -38128,10 +38497,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *288 - - *289 - - *170 - - *291 + - *292 + - *293 + - *173 + - *295 responses: '204': description: Response @@ -38158,10 +38527,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *170 + - *173 - *17 - *19 - - &293 + - &297 name: sort description: The property by which to sort the results. in: query @@ -38172,7 +38541,7 @@ paths: - created_at default: created_at - *84 - - &294 + - &298 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -38183,7 +38552,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &295 + - &299 name: repository description: The name of the repository to use to filter the results. in: query @@ -38191,7 +38560,7 @@ paths: schema: type: string example: Hello-World - - &296 + - &300 name: permission description: The permission to use to filter the results. in: query @@ -38199,7 +38568,7 @@ paths: schema: type: string example: issues_read - - &297 + - &301 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) @@ -38209,7 +38578,7 @@ paths: schema: type: string format: date-time - - &298 + - &302 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) @@ -38372,7 +38741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *170 + - *173 requestBody: required: true content: @@ -38438,7 +38807,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *170 + - *173 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38478,7 +38847,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *112 + '204': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38499,7 +38868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *170 + - *173 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38519,9 +38888,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -38544,16 +38913,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *170 + - *173 - *17 - *19 - - *293 - - *84 - - *294 - - *295 - - *296 - *297 + - *84 - *298 + - *299 + - *300 + - *301 + - *302 responses: '500': *97 '422': *15 @@ -38702,7 +39071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *170 + - *173 requestBody: required: true content: @@ -38762,7 +39131,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *170 + - *173 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -38792,7 +39161,7 @@ paths: responses: '500': *97 '404': *6 - '204': *112 + '204': *115 '403': *29 '422': *15 x-github: @@ -38814,7 +39183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *170 + - *173 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -38833,9 +39202,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -38861,7 +39230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -38879,7 +39248,7 @@ paths: type: integer configurations: type: array - items: &299 + items: &303 title: Organization private registry description: Private registry configuration for an organization type: object @@ -38955,7 +39324,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *170 + - *173 requestBody: required: true content: @@ -39085,7 +39454,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &300 + org-private-registry-with-selected-visibility: &304 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -39128,7 +39497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -39178,16 +39547,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *170 - - *200 + - *173 + - *203 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *299 + schema: *303 examples: - default: *300 + default: *304 '404': *6 x-github: githubCloudOnly: false @@ -39210,8 +39579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *170 - - *200 + - *173 + - *203 requestBody: required: true content: @@ -39290,8 +39659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *170 - - *200 + - *173 + - *203 responses: '204': description: Response @@ -39316,7 +39685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *170 + - *173 - name: state description: Indicates the state of the projects to return. in: query @@ -39337,7 +39706,7 @@ paths: application/json: schema: type: array - items: &301 + items: &305 title: Project description: Projects are a way to organize columns and cards of work. @@ -39481,7 +39850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *170 + - *173 requestBody: required: true content: @@ -39507,7 +39876,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: default: value: @@ -39545,7 +39914,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &362 + '410': &370 description: Gone content: application/json: @@ -39569,7 +39938,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -39577,9 +39946,9 @@ paths: application/json: schema: type: array - items: *108 + items: *111 examples: - default: *109 + default: *112 '403': *29 '404': *6 x-github: @@ -39602,7 +39971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *170 + - *173 requestBody: required: true content: @@ -39613,7 +39982,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *108 + items: *111 minItems: 1 maxItems: 100 required: @@ -39643,9 +40012,9 @@ paths: application/json: schema: type: array - items: *108 + items: *111 examples: - default: *109 + default: *112 '403': *29 '404': *6 x-github: @@ -39666,16 +40035,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *170 - - *110 + - *173 + - *113 responses: '200': description: Response content: application/json: - schema: *108 + schema: *111 examples: - default: *111 + default: *114 '403': *29 '404': *6 x-github: @@ -39698,13 +40067,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *170 - - *110 + - *173 + - *113 requestBody: required: true content: application/json: - schema: *302 + schema: *306 examples: default: value: @@ -39720,9 +40089,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *111 examples: - default: *111 + default: *114 '403': *29 '404': *6 x-github: @@ -39745,10 +40114,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *170 - - *110 + - *173 + - *113 responses: - '204': *112 + '204': *115 '403': *29 '404': *6 x-github: @@ -39769,7 +40138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *170 + - *173 - *17 - *19 - name: repository_query @@ -39807,7 +40176,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &303 + items: &307 title: Custom Property Value description: Custom property name and associated value type: object @@ -39874,7 +40243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *170 + - *173 requestBody: required: true content: @@ -39894,7 +40263,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *303 + items: *307 required: - repository_names - properties @@ -39935,7 +40304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *170 + - *173 - *17 - *19 responses: @@ -39947,7 +40316,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -39966,8 +40335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response if user is a public member @@ -39991,8 +40360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -40013,8 +40382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *170 - - *212 + - *173 + - *215 responses: '204': description: Response @@ -40038,7 +40407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *170 + - *173 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -40085,9 +40454,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -40108,7 +40477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *170 + - *173 requestBody: required: true content: @@ -40290,7 +40659,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &372 title: Full Repository description: Full Repository type: object @@ -40567,8 +40936,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *304 - required: *305 + properties: *308 + required: *309 nullable: true temp_clone_token: type: string @@ -40655,8 +41024,8 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true organization: title: Simple User @@ -40683,7 +41052,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &486 + properties: &494 url: type: string format: uri @@ -40699,12 +41068,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &487 + required: &495 - url - key - name - html_url - security_and_analysis: *306 + security_and_analysis: *310 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40788,7 +41157,7 @@ paths: - network_count - subscribers_count examples: - default: &366 + default: &374 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41306,7 +41675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response @@ -41314,9 +41683,9 @@ paths: application/json: schema: type: array - items: *307 + items: *311 examples: - default: *308 + default: *312 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41338,10 +41707,10 @@ paths: category: orgs subcategory: rules parameters: - - *170 + - *173 - *17 - *19 - - &622 + - &630 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41359,7 +41728,7 @@ paths: application/json: schema: type: array - items: *122 + items: *125 examples: default: value: @@ -41406,7 +41775,7 @@ paths: category: orgs subcategory: rules parameters: - - *170 + - *173 requestBody: description: Request body required: true @@ -41427,16 +41796,16 @@ paths: - push - repository default: branch - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *309 + items: *123 + conditions: *313 rules: type: array description: An array of rules within the ruleset. - items: *121 + items: *124 required: - name - enforcement @@ -41474,9 +41843,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: &312 + default: &316 value: id: 21 name: super cool ruleset @@ -41530,8 +41899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *170 - - &623 + - *173 + - &631 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 @@ -41541,16 +41910,16 @@ paths: schema: type: string x-multi-segment: true - - *310 - - *311 - - &624 + - *314 + - *315 + - &632 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 - - &625 + - &633 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -41570,7 +41939,7 @@ paths: description: Response content: application/json: - schema: &626 + schema: &634 title: Rule Suites description: Response type: array @@ -41625,7 +41994,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &627 + default: &635 value: - id: 21 actor_id: 12 @@ -41668,8 +42037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *170 - - &628 + - *173 + - &636 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41685,7 +42054,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &637 title: Rule Suite description: Response type: object @@ -41784,7 +42153,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &630 + default: &638 value: id: 21 actor_id: 12 @@ -41845,7 +42214,7 @@ paths: category: orgs subcategory: rules parameters: - - *170 + - *173 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41857,9 +42226,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *312 + default: *316 '404': *6 '500': *97 put: @@ -41877,7 +42246,7 @@ paths: category: orgs subcategory: rules parameters: - - *170 + - *173 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41903,16 +42272,16 @@ paths: - tag - push - repository - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *309 + items: *123 + conditions: *313 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *124 examples: default: value: @@ -41947,9 +42316,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *312 + default: *316 '404': *6 '500': *97 delete: @@ -41967,7 +42336,7 @@ paths: category: orgs subcategory: rules parameters: - - *170 + - *173 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41995,15 +42364,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *170 - - *313 - - *314 - - *315 - - *316 + - *173 + - *317 + - *318 + - *319 + - *320 - *84 - *19 - *17 - - &632 + - &640 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 @@ -42013,7 +42382,7 @@ paths: required: false schema: type: string - - &633 + - &641 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 @@ -42023,9 +42392,9 @@ paths: required: false schema: type: string - - *317 - - *318 - - *319 + - *321 + - *322 + - *323 responses: '200': description: Response @@ -42033,13 +42402,13 @@ paths: application/json: schema: type: array - items: *320 + items: *324 examples: - default: *321 + default: *325 headers: Link: *39 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42061,7 +42430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *170 + - *173 - *84 - name: sort description: The property to sort the results by. @@ -42105,7 +42474,7 @@ paths: application/json: schema: type: array - items: &640 + items: &648 description: A repository security advisory. type: object properties: @@ -42325,7 +42694,7 @@ paths: login: type: string description: The username of the user credited. - type: *322 + type: *326 credits_detailed: type: array nullable: true @@ -42335,7 +42704,7 @@ paths: type: object properties: user: *4 - type: *322 + type: *326 state: type: string description: The state of the user's acceptance of the @@ -42359,7 +42728,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *270 + items: *274 private_fork: readOnly: true nullable: true @@ -42396,7 +42765,7 @@ paths: - private_fork additionalProperties: false examples: - default: &641 + default: &649 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42775,7 +43144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *170 + - *173 responses: '200': description: Response @@ -42783,9 +43152,9 @@ paths: application/json: schema: type: array - items: *323 + items: *327 examples: - default: *285 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42808,8 +43177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '204': description: Response @@ -42834,8 +43203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '204': description: Response @@ -42864,15 +43233,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *324 + schema: *328 examples: - default: *325 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42896,7 +43265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *170 + - *173 - *17 - *19 responses: @@ -42904,9 +43273,9 @@ paths: description: Success content: application/json: - schema: *326 + schema: *330 examples: - default: *327 + default: *331 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42928,15 +43297,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *328 + schema: *332 examples: - default: *329 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42958,20 +43327,271 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *331 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/network-configurations": + get: + summary: List hosted compute network configurations for an organization + description: |- + Lists all hosted compute network configurations configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization + parameters: + - *173 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: *108 + examples: + default: *336 + headers: + Link: *39 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an organization + description: |- + Creates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *173 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: *108 + examples: + default: *109 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an organization + description: |- + Gets a hosted compute network configuration configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *173 + - *110 + responses: + '200': + description: Response + content: + application/json: + schema: *108 + examples: + default: *109 + headers: + Link: *39 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an organization + description: |- + Updates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization + parameters: + - *173 + - *110 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: *108 + examples: + default: *109 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an organization + description: |- + Deletes a hosted compute network configuration from an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization + parameters: + - *173 + - *110 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an organization + description: |- + Gets a hosted compute network settings resource configured for an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-settings-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization + parameters: + - *173 + - *337 + responses: + '200': + description: Response + content: + application/json: + schema: *338 + examples: + default: *339 + headers: + Link: *39 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations "/orgs/{org}/team-sync/groups": get: summary: List IdP groups for an organization @@ -42983,7 +43603,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *170 + - *173 - *17 - name: page description: Page token @@ -43002,7 +43622,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &361 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -43048,7 +43668,7 @@ paths: type: string nullable: true examples: - default: &354 + default: &362 value: groups: - group_id: '123' @@ -43093,8 +43713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *170 - - *282 + - *173 + - *286 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -43126,13 +43746,13 @@ paths: application/json: schema: type: array - items: *127 + items: *130 examples: - default: *128 + default: *131 '500': *97 '403': *29 '404': *6 - '422': *129 + '422': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43166,8 +43786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - - *170 - - *282 + - *173 + - *286 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -43199,9 +43819,9 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: - default: *226 + default: *229 '500': *97 '401': *25 '403': *29 @@ -43223,7 +43843,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *170 + - *173 - *17 - *19 responses: @@ -43233,9 +43853,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 headers: Link: *39 '403': *29 @@ -43257,7 +43877,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *170 + - *173 requestBody: required: true content: @@ -43329,7 +43949,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &340 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43392,8 +44012,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *283 - required: *284 + properties: *287 + required: *288 nullable: true members_count: type: integer @@ -43639,7 +44259,7 @@ paths: - repos_count - organization examples: - default: &333 + default: &341 value: id: 1 node_id: MDQ6VGVhbTE= @@ -43709,16 +44329,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *170 - - *282 + - *173 + - *286 responses: '200': description: Response content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -43739,8 +44359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *170 - - *282 + - *173 + - *286 requestBody: required: false content: @@ -43802,16 +44422,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '201': description: Response content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '404': *6 '422': *15 '403': *29 @@ -43836,8 +44456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '204': description: Response @@ -43863,8 +44483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *170 - - *282 + - *173 + - *286 - *84 - *17 - *19 @@ -43881,7 +44501,7 @@ paths: application/json: schema: type: array - items: &334 + items: &342 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43960,7 +44580,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *135 + reactions: *138 required: - author - body @@ -43980,7 +44600,7 @@ paths: - updated_at - url examples: - default: &681 + default: &689 value: - author: login: octocat @@ -44054,8 +44674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *170 - - *282 + - *173 + - *286 requestBody: required: true content: @@ -44089,9 +44709,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: &335 + default: &343 value: author: login: octocat @@ -44163,9 +44783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *170 - - *282 - - &336 + - *173 + - *286 + - &344 name: discussion_number description: The number that identifies the discussion. in: path @@ -44177,9 +44797,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: *335 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44201,9 +44821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 requestBody: required: false content: @@ -44226,9 +44846,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: &682 + default: &690 value: author: login: octocat @@ -44298,9 +44918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 responses: '204': description: Response @@ -44326,9 +44946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 - *84 - *17 - *19 @@ -44339,7 +44959,7 @@ paths: application/json: schema: type: array - items: &337 + items: &345 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44396,7 +45016,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *135 + reactions: *138 required: - author - body @@ -44411,7 +45031,7 @@ paths: - updated_at - url examples: - default: &683 + default: &691 value: - author: login: octocat @@ -44479,9 +45099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 requestBody: required: true content: @@ -44503,9 +45123,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: &338 + default: &346 value: author: login: octocat @@ -44571,10 +45191,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *170 - - *282 - - *336 - - &339 + - *173 + - *286 + - *344 + - &347 name: comment_number description: The number that identifies the comment. in: path @@ -44586,9 +45206,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: *338 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44610,10 +45230,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *170 - - *282 - - *336 - - *339 + - *173 + - *286 + - *344 + - *347 requestBody: required: true content: @@ -44635,9 +45255,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: &684 + default: &692 value: author: login: octocat @@ -44701,10 +45321,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *170 - - *282 - - *336 - - *339 + - *173 + - *286 + - *344 + - *347 responses: '204': description: Response @@ -44730,10 +45350,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *170 - - *282 - - *336 - - *339 + - *173 + - *286 + - *344 + - *347 - 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. @@ -44759,7 +45379,7 @@ paths: application/json: schema: type: array - items: &340 + items: &348 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44802,7 +45422,7 @@ paths: - content - created_at examples: - default: &342 + default: &350 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44852,10 +45472,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *170 - - *282 - - *336 - - *339 + - *173 + - *286 + - *344 + - *347 requestBody: required: true content: @@ -44888,9 +45508,9 @@ paths: team discussion comment content: application/json: - schema: *340 + schema: *348 examples: - default: &341 + default: &349 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -44919,9 +45539,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44944,11 +45564,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *170 - - *282 - - *336 - - *339 - - &343 + - *173 + - *286 + - *344 + - *347 + - &351 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44980,9 +45600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 - 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. @@ -45008,9 +45628,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 x-github: @@ -45036,9 +45656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *170 - - *282 - - *336 + - *173 + - *286 + - *344 requestBody: required: true content: @@ -45070,16 +45690,16 @@ paths: description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45102,10 +45722,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *170 - - *282 - - *336 - - *343 + - *173 + - *286 + - *344 + - *351 responses: '204': description: Response @@ -45128,16 +45748,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '200': description: Response content: application/json: - schema: *344 + schema: *352 examples: - default: *345 + default: *353 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45156,8 +45776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *170 - - *282 + - *173 + - *286 requestBody: required: true content: @@ -45180,9 +45800,9 @@ paths: description: Response content: application/json: - schema: *346 + schema: *354 examples: - default: *347 + default: *355 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -45201,8 +45821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '204': description: Response @@ -45226,8 +45846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *170 - - *282 + - *173 + - *286 - *17 - *19 responses: @@ -45237,9 +45857,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *268 + default: *272 headers: Link: *39 x-github: @@ -45261,8 +45881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *170 - - *282 + - *173 + - *286 - name: role description: Filters members returned by their role in the team. in: query @@ -45285,7 +45905,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -45315,15 +45935,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *170 - - *282 - - *212 + - *173 + - *286 + - *215 responses: '200': description: Response content: application/json: - schema: &348 + schema: &356 title: Team Membership description: Team Membership type: object @@ -45350,7 +45970,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &685 + response-if-user-is-a-team-maintainer: &693 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45386,9 +46006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *170 - - *282 - - *212 + - *173 + - *286 + - *215 requestBody: required: false content: @@ -45413,9 +46033,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: &686 + response-if-users-membership-with-team-is-now-pending: &694 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45450,9 +46070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *170 - - *282 - - *212 + - *173 + - *286 + - *215 responses: '204': description: Response @@ -45478,8 +46098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *170 - - *282 + - *173 + - *286 - *17 - *19 responses: @@ -45489,7 +46109,7 @@ paths: application/json: schema: type: array - items: &349 + items: &357 title: Team Project description: A team's access to a project. type: object @@ -45557,7 +46177,7 @@ paths: - updated_at - permissions examples: - default: &687 + default: &695 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45618,9 +46238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *170 - - *282 - - &350 + - *173 + - *286 + - &358 name: project_id description: The unique identifier of the project. in: path @@ -45632,9 +46252,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *357 examples: - default: &688 + default: &696 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45694,9 +46314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *170 - - *282 - - *350 + - *173 + - *286 + - *358 requestBody: required: false content: @@ -45760,9 +46380,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *170 - - *282 - - *350 + - *173 + - *286 + - *358 responses: '204': description: Response @@ -45786,8 +46406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *170 - - *282 + - *173 + - *286 - *17 - *19 responses: @@ -45797,9 +46417,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -45828,16 +46448,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *170 - - *282 - - *351 - - *352 + - *173 + - *286 + - *359 + - *360 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &689 + schema: &697 title: Team Repository description: A team's access to a repository. type: object @@ -45860,8 +46480,8 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true forks: type: integer @@ -46406,10 +47026,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *170 - - *282 - - *351 - - *352 + - *173 + - *286 + - *359 + - *360 requestBody: required: false content: @@ -46454,10 +47074,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *170 - - *282 - - *351 - - *352 + - *173 + - *286 + - *359 + - *360 responses: '204': description: Response @@ -46483,16 +47103,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *170 - - *282 + - *173 + - *286 responses: '200': description: Response content: application/json: - schema: *353 + schema: *361 examples: - default: *354 + default: *362 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -46514,8 +47134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *170 - - *282 + - *173 + - *286 requestBody: required: true content: @@ -46558,7 +47178,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *361 examples: default: value: @@ -46590,8 +47210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *170 - - *282 + - *173 + - *286 - *17 - *19 responses: @@ -46601,9 +47221,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - response-if-child-teams-exist: &690 + response-if-child-teams-exist: &698 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46656,7 +47276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *170 + - *173 - name: security_product in: path description: The security feature to enable or disable. @@ -46727,7 +47347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &355 + - &363 name: card_id description: The unique identifier of the card. in: path @@ -46739,7 +47359,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &364 title: Project Card description: Project cards represent a scope of work. type: object @@ -46806,7 +47426,7 @@ paths: - created_at - updated_at examples: - default: &357 + default: &365 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -46856,7 +47476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *355 + - *363 requestBody: required: false content: @@ -46883,9 +47503,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *364 examples: - default: *357 + default: *365 '304': *37 '403': *29 '401': *25 @@ -46906,7 +47526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *355 + - *363 responses: '204': description: Response @@ -46944,7 +47564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *355 + - *363 requestBody: required: true content: @@ -47049,7 +47669,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &358 + - &366 name: column_id description: The unique identifier of the column. in: path @@ -47061,7 +47681,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &367 title: Project Column description: Project columns contain cards of work. type: object @@ -47107,7 +47727,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &368 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47136,7 +47756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *358 + - *366 requestBody: required: true content: @@ -47160,9 +47780,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *367 examples: - default: *360 + default: *368 '304': *37 '403': *29 '401': *25 @@ -47181,7 +47801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *358 + - *366 responses: '204': description: Response @@ -47204,7 +47824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *358 + - *366 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -47225,7 +47845,7 @@ paths: application/json: schema: type: array - items: *356 + items: *364 examples: default: value: @@ -47278,7 +47898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *358 + - *366 requestBody: required: true content: @@ -47318,9 +47938,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *364 examples: - default: *357 + default: *365 '304': *37 '403': *29 '401': *25 @@ -47330,8 +47950,8 @@ paths: application/json: schema: oneOf: - - *173 - - *174 + - *176 + - *177 '503': description: Response content: @@ -47370,7 +47990,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *358 + - *366 requestBody: required: true content: @@ -47426,15 +48046,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *350 + - *358 responses: '200': description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: &361 + default: &369 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47487,7 +48107,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *350 + - *358 requestBody: required: false content: @@ -47533,9 +48153,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: *361 + default: *369 '404': description: Not Found if the authenticated user does not have access to the project @@ -47556,7 +48176,7 @@ paths: items: type: string '401': *25 - '410': *362 + '410': *370 '422': *7 x-github: githubCloudOnly: false @@ -47574,7 +48194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *350 + - *358 responses: '204': description: Delete Success @@ -47595,7 +48215,7 @@ paths: items: type: string '401': *25 - '410': *362 + '410': *370 '404': *6 x-github: githubCloudOnly: false @@ -47618,7 +48238,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *350 + - *358 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -47645,7 +48265,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '404': *6 @@ -47670,8 +48290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *350 - - *212 + - *358 + - *215 requestBody: required: false content: @@ -47718,8 +48338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *350 - - *212 + - *358 + - *215 responses: '204': description: Response @@ -47747,8 +48367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *350 - - *212 + - *358 + - *215 responses: '200': description: Response @@ -47815,7 +48435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *350 + - *358 - *17 - *19 responses: @@ -47825,7 +48445,7 @@ paths: application/json: schema: type: array - items: *359 + items: *367 examples: default: value: @@ -47857,7 +48477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *350 + - *358 requestBody: required: true content: @@ -47880,7 +48500,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *367 examples: default: value: @@ -47941,7 +48561,7 @@ paths: resources: type: object properties: - core: &363 + core: &371 title: Rate Limit type: object properties: @@ -47958,20 +48578,20 @@ paths: - remaining - reset - used - graphql: *363 - search: *363 - code_search: *363 - source_import: *363 - integration_manifest: *363 - code_scanning_upload: *363 - actions_runner_registration: *363 - scim: *363 - dependency_snapshots: *363 - code_scanning_autofix: *363 + graphql: *371 + search: *371 + code_search: *371 + source_import: *371 + integration_manifest: *371 + code_scanning_upload: *371 + actions_runner_registration: *371 + scim: *371 + dependency_snapshots: *371 + code_scanning_autofix: *371 required: - core - search - rate: *363 + rate: *371 required: - rate - resources @@ -48075,14 +48695,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *364 + schema: *372 examples: default-response: summary: Default response @@ -48587,7 +49207,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *365 + '301': *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48605,8 +49225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -48852,10 +49472,10 @@ paths: description: Response content: application/json: - schema: *364 + schema: *372 examples: - default: *366 - '307': &367 + default: *374 + '307': &375 description: Temporary Redirect content: application/json: @@ -48884,8 +49504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -48907,7 +49527,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': *367 + '307': *375 '404': *6 x-github: githubCloudOnly: false @@ -48930,11 +49550,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 - - &382 + - &390 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48957,7 +49577,7 @@ paths: type: integer artifacts: type: array - items: &368 + items: &376 title: Artifact description: An artifact type: object @@ -49028,7 +49648,7 @@ paths: - expires_at - updated_at examples: - default: &383 + default: &391 value: total_count: 2 artifacts: @@ -49087,9 +49707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *351 - - *352 - - &369 + - *359 + - *360 + - &377 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49101,7 +49721,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *376 examples: default: value: @@ -49138,9 +49758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *351 - - *352 - - *369 + - *359 + - *360 + - *377 responses: '204': description: Response @@ -49164,9 +49784,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *351 - - *352 - - *369 + - *359 + - *360 + - *377 - name: archive_format in: path required: true @@ -49180,7 +49800,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': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49203,14 +49823,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *370 + schema: *378 examples: default: value: @@ -49236,11 +49856,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: - - *351 - - *352 + - *359 + - *360 - *17 - *19 - - &371 + - &379 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 @@ -49274,7 +49894,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &380 title: Repository actions caches description: Repository actions caches type: object @@ -49316,7 +49936,7 @@ paths: - total_count - actions_caches examples: - default: &373 + default: &381 value: total_count: 1 actions_caches: @@ -49348,23 +49968,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: - - *351 - - *352 + - *359 + - *360 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *371 + - *379 responses: '200': description: Response content: application/json: - schema: *372 + schema: *380 examples: - default: *373 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49384,8 +50004,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: - - *351 - - *352 + - *359 + - *360 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49416,9 +50036,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: - - *351 - - *352 - - &374 + - *359 + - *360 + - &382 name: job_id description: The unique identifier of the job. in: path @@ -49430,7 +50050,7 @@ paths: description: Response content: application/json: - schema: &386 + schema: &394 title: Job description: Information of a job execution in a workflow run type: object @@ -49737,9 +50357,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: - - *351 - - *352 - - *374 + - *359 + - *360 + - *382 responses: '302': description: Response @@ -49767,9 +50387,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: - - *351 - - *352 - - *374 + - *359 + - *360 + - *382 requestBody: required: false content: @@ -49790,7 +50410,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -49814,8 +50434,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Status response @@ -49865,8 +50485,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -49900,7 +50520,7 @@ paths: description: Empty response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -49929,8 +50549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -49948,7 +50568,7 @@ paths: type: integer secrets: type: array - items: &388 + items: &396 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49968,7 +50588,7 @@ paths: - created_at - updated_at examples: - default: &389 + default: &397 value: total_count: 2 secrets: @@ -50001,9 +50621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *351 - - *352 - - *375 + - *359 + - *360 + - *383 - *19 responses: '200': @@ -50020,7 +50640,7 @@ paths: type: integer variables: type: array - items: &392 + items: &400 title: Actions Variable type: object properties: @@ -50050,7 +50670,7 @@ paths: - created_at - updated_at examples: - default: &393 + default: &401 value: total_count: 2 variables: @@ -50083,8 +50703,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -50093,11 +50713,11 @@ paths: schema: type: object properties: - enabled: &376 + enabled: &384 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *48 - selected_actions_url: *183 + selected_actions_url: *186 required: - enabled examples: @@ -50126,8 +50746,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -50138,7 +50758,7 @@ paths: schema: type: object properties: - enabled: *376 + enabled: *384 allowed_actions: *48 required: - enabled @@ -50169,14 +50789,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: &377 + schema: &385 type: object properties: access_level: @@ -50194,7 +50814,7 @@ paths: required: - access_level examples: - default: &378 + default: &386 value: access_level: organization x-github: @@ -50219,15 +50839,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: application/json: - schema: *377 + schema: *385 examples: - default: *378 + default: *386 responses: '204': description: Response @@ -50251,8 +50871,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -50283,8 +50903,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -50316,14 +50936,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *186 + schema: *189 examples: default: *54 x-github: @@ -50346,8 +50966,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Success response @@ -50358,7 +50978,7 @@ paths: required: true content: application/json: - schema: *187 + schema: *190 examples: default: *54 x-github: @@ -50387,8 +51007,8 @@ paths: in: query schema: type: string - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -50432,8 +51052,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -50441,9 +51061,9 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: - default: *192 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50465,8 +51085,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -50509,7 +51129,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *193 + '201': *196 '404': *6 '422': *7 x-github: @@ -50539,8 +51159,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: - - *351 - - *352 + - *359 + - *360 responses: '201': description: Response @@ -50548,7 +51168,7 @@ paths: application/json: schema: *64 examples: - default: *194 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50576,8 +51196,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: - - *351 - - *352 + - *359 + - *360 responses: '201': description: Response @@ -50585,7 +51205,7 @@ paths: application/json: schema: *64 examples: - default: *195 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50607,8 +51227,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: - - *351 - - *352 + - *359 + - *360 - *60 responses: '200': @@ -50617,7 +51237,7 @@ paths: application/json: schema: *61 examples: - default: *196 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50638,8 +51258,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: - - *351 - - *352 + - *359 + - *360 - *60 responses: '204': @@ -50665,8 +51285,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: - - *351 - - *352 + - *359 + - *360 - *60 responses: '200': *66 @@ -50691,8 +51311,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: - - *351 - - *352 + - *359 + - *360 - *60 requestBody: required: true @@ -50741,8 +51361,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: - - *351 - - *352 + - *359 + - *360 - *60 requestBody: required: true @@ -50792,11 +51412,11 @@ 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: - - *351 - - *352 + - *359 + - *360 - *60 responses: - '200': *197 + '200': *200 '404': *6 x-github: githubCloudOnly: false @@ -50823,10 +51443,10 @@ 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: - - *351 - - *352 + - *359 + - *360 - *60 - - *198 + - *201 responses: '200': *66 '404': *6 @@ -50854,9 +51474,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: - - *351 - - *352 - - &396 + - *359 + - *360 + - &404 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. @@ -50864,7 +51484,7 @@ paths: required: false schema: type: string - - &397 + - &405 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50872,7 +51492,7 @@ paths: required: false schema: type: string - - &398 + - &406 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50881,7 +51501,7 @@ paths: required: false schema: type: string - - &399 + - &407 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 @@ -50908,7 +51528,7 @@ paths: - pending - *17 - *19 - - &400 + - &408 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)." @@ -50917,7 +51537,7 @@ paths: schema: type: string format: date-time - - &379 + - &387 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50926,13 +51546,13 @@ paths: schema: type: boolean default: false - - &401 + - &409 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &402 + - &410 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50955,7 +51575,7 @@ paths: type: integer workflow_runs: type: array - items: &380 + items: &388 title: Workflow Run description: An invocation of a workflow type: object @@ -51050,7 +51670,7 @@ paths: that triggered the run. type: array nullable: true - items: &426 + items: &434 title: Pull Request Minimal type: object properties: @@ -51169,7 +51789,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &430 + properties: &438 id: type: string description: SHA for the commit @@ -51220,7 +51840,7 @@ paths: - name - email nullable: true - required: &431 + required: &439 - id - tree_id - message @@ -51228,8 +51848,8 @@ paths: - author - committer nullable: true - repository: *190 - head_repository: *190 + repository: *193 + head_repository: *193 head_repository_id: type: integer example: 5 @@ -51267,7 +51887,7 @@ paths: - workflow_url - pull_requests examples: - default: &403 + default: &411 value: total_count: 1 workflow_runs: @@ -51503,24 +52123,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *351 - - *352 - - &381 + - *359 + - *360 + - &389 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *379 + - *387 responses: '200': description: Response content: application/json: - schema: *380 + schema: *388 examples: - default: &384 + default: &392 value: id: 30433642 name: Build @@ -51761,9 +52381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '204': description: Response @@ -51786,9 +52406,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '200': description: Response @@ -51907,15 +52527,15 @@ 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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '201': description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -51942,12 +52562,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 - *17 - *19 - - *382 + - *390 responses: '200': description: Response @@ -51963,9 +52583,9 @@ paths: type: integer artifacts: type: array - items: *368 + items: *376 examples: - default: *383 + default: *391 headers: Link: *39 x-github: @@ -51989,25 +52609,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *351 - - *352 - - *381 - - &385 + - *359 + - *360 + - *389 + - &393 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *379 + - *387 responses: '200': description: Response content: application/json: - schema: *380 + schema: *388 examples: - default: *384 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52030,10 +52650,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: - - *351 - - *352 - - *381 - - *385 + - *359 + - *360 + - *389 + - *393 - *17 - *19 responses: @@ -52051,9 +52671,9 @@ paths: type: integer jobs: type: array - items: *386 + items: *394 examples: - default: &387 + default: &395 value: total_count: 1 jobs: @@ -52166,10 +52786,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *351 - - *352 - - *381 - - *385 + - *359 + - *360 + - *389 + - *393 responses: '302': description: Response @@ -52197,15 +52817,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '202': description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -52232,9 +52852,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 requestBody: required: true content: @@ -52301,15 +52921,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '202': description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -52336,9 +52956,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 - 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 @@ -52368,9 +52988,9 @@ paths: type: integer jobs: type: array - items: *386 + items: *394 examples: - default: *387 + default: *395 headers: Link: *39 x-github: @@ -52395,9 +53015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '302': description: Response @@ -52424,9 +53044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '204': description: Response @@ -52453,9 +53073,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '200': description: Response @@ -52515,7 +53135,7 @@ paths: items: type: object properties: - type: &507 + type: &515 type: string description: The type of reviewer. enum: @@ -52525,7 +53145,7 @@ paths: reviewer: anyOf: - *4 - - *270 + - *274 required: - environment - wait_timer @@ -52600,9 +53220,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 requestBody: required: true content: @@ -52649,7 +53269,7 @@ paths: application/json: schema: type: array - items: &502 + items: &510 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52737,8 +53357,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 required: - id - node_id @@ -52755,7 +53375,7 @@ paths: - created_at - updated_at examples: - default: &503 + default: &511 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52811,9 +53431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 requestBody: required: false content: @@ -52834,7 +53454,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -52857,9 +53477,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: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 requestBody: required: false content: @@ -52880,7 +53500,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -52905,9 +53525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *351 - - *352 - - *381 + - *359 + - *360 + - *389 responses: '200': description: Response @@ -53044,8 +53664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -53063,9 +53683,9 @@ paths: type: integer secrets: type: array - items: *388 + items: *396 examples: - default: *389 + default: *397 headers: Link: *39 x-github: @@ -53090,16 +53710,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *390 + schema: *398 examples: - default: *391 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53121,17 +53741,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '200': description: Response content: application/json: - schema: *388 + schema: *396 examples: - default: &520 + default: &528 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53157,9 +53777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 requestBody: required: true content: @@ -53187,7 +53807,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -53213,9 +53833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '204': description: Response @@ -53240,9 +53860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *351 - - *352 - - *375 + - *359 + - *360 + - *383 - *19 responses: '200': @@ -53259,9 +53879,9 @@ paths: type: integer variables: type: array - items: *392 + items: *400 examples: - default: *393 + default: *401 headers: Link: *39 x-github: @@ -53284,8 +53904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -53312,7 +53932,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -53337,17 +53957,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *351 - - *352 - - *203 + - *359 + - *360 + - *206 responses: '200': description: Response content: application/json: - schema: *392 + schema: *400 examples: - default: &521 + default: &529 value: name: USERNAME value: octocat @@ -53373,9 +53993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *351 - - *352 - - *203 + - *359 + - *360 + - *206 requestBody: required: true content: @@ -53417,9 +54037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *351 - - *352 - - *203 + - *359 + - *360 + - *206 responses: '204': description: Response @@ -53444,8 +54064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -53463,7 +54083,7 @@ paths: type: integer workflows: type: array - items: &394 + items: &402 title: Workflow description: A GitHub Actions workflow type: object @@ -53570,9 +54190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *351 - - *352 - - &395 + - *359 + - *360 + - &403 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53587,7 +54207,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *402 examples: default: value: @@ -53620,9 +54240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *351 - - *352 - - *395 + - *359 + - *360 + - *403 responses: '204': description: Response @@ -53647,9 +54267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *351 - - *352 - - *395 + - *359 + - *360 + - *403 responses: '204': description: Response @@ -53700,9 +54320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *351 - - *352 - - *395 + - *359 + - *360 + - *403 responses: '204': description: Response @@ -53729,19 +54349,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: - - *351 - - *352 - - *395 - - *396 - - *397 - - *398 - - *399 + - *359 + - *360 + - *403 + - *404 + - *405 + - *406 + - *407 - *17 - *19 - - *400 - - *379 - - *401 - - *402 + - *408 + - *387 + - *409 + - *410 responses: '200': description: Response @@ -53757,9 +54377,9 @@ paths: type: integer workflow_runs: type: array - items: *380 + items: *388 examples: - default: *403 + default: *411 headers: Link: *39 x-github: @@ -53785,9 +54405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *351 - - *352 - - *395 + - *359 + - *360 + - *403 responses: '200': description: Response @@ -53848,8 +54468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *351 - - *352 + - *359 + - *360 - *84 - *17 - *82 @@ -54013,8 +54633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -54026,7 +54646,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '404': *6 @@ -54051,8 +54671,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: - - *351 - - *352 + - *359 + - *360 - name: assignee in: path required: true @@ -54088,8 +54708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -54201,8 +54821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *82 - *83 @@ -54248,7 +54868,7 @@ paths: bundle_url: type: string examples: - default: *404 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54268,8 +54888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -54277,7 +54897,7 @@ paths: application/json: schema: type: array - items: &405 + items: &413 title: Autolink reference description: An autolink reference. type: object @@ -54327,8 +54947,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -54367,9 +54987,9 @@ paths: description: response content: application/json: - schema: *405 + schema: *413 examples: - default: &406 + default: &414 value: id: 1 key_prefix: TICKET- @@ -54400,9 +55020,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: - - *351 - - *352 - - &407 + - *359 + - *360 + - &415 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54414,9 +55034,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *413 examples: - default: *406 + default: *414 '404': *6 x-github: githubCloudOnly: false @@ -54436,9 +55056,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: - - *351 - - *352 - - *407 + - *359 + - *360 + - *415 responses: '204': description: Response @@ -54462,8 +55082,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response if Dependabot is enabled @@ -54511,8 +55131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -54533,8 +55153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -54554,8 +55174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *351 - - *352 + - *359 + - *360 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54593,7 +55213,7 @@ paths: - url protected: type: boolean - protection: &409 + protection: &417 title: Branch Protection description: Branch Protection type: object @@ -54635,7 +55255,7 @@ paths: required: - contexts - checks - enforce_admins: &412 + enforce_admins: &420 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54650,7 +55270,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &414 + required_pull_request_reviews: &422 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54671,7 +55291,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *270 + items: *274 apps: description: The list of apps with review dismissal access. @@ -54700,7 +55320,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *270 + items: *274 apps: description: The list of apps allowed to bypass pull request requirements. @@ -54726,7 +55346,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &411 + restrictions: &419 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55033,9 +55653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *351 - - *352 - - &410 + - *359 + - *360 + - &418 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). @@ -55049,14 +55669,14 @@ paths: description: Response content: application/json: - schema: &420 + schema: &428 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &475 + commit: &483 title: Commit description: Commit type: object @@ -55090,7 +55710,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &408 + properties: &416 name: type: string example: '"Chris Wanstrath"' @@ -55105,7 +55725,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *408 + properties: *416 nullable: true message: type: string @@ -55126,7 +55746,7 @@ paths: required: - sha - url - verification: &527 + verification: &535 title: Verification type: object properties: @@ -55159,12 +55779,12 @@ paths: nullable: true oneOf: - *4 - - *201 + - *204 committer: nullable: true oneOf: - *4 - - *201 + - *204 parents: type: array items: @@ -55195,7 +55815,7 @@ paths: type: integer files: type: array - items: &490 + items: &498 title: Diff Entry description: Diff Entry type: object @@ -55278,7 +55898,7 @@ paths: - self protected: type: boolean - protection: *409 + protection: *417 protection_url: type: string format: uri @@ -55385,7 +56005,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *365 + '301': *373 '404': *6 x-github: githubCloudOnly: false @@ -55407,15 +56027,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *409 + schema: *417 examples: default: value: @@ -55609,9 +56229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -55866,7 +56486,7 @@ paths: url: type: string format: uri - required_status_checks: &417 + required_status_checks: &425 title: Status Check Policy description: Status Check Policy type: object @@ -55942,7 +56562,7 @@ paths: items: *4 teams: type: array - items: *270 + items: *274 apps: type: array items: *5 @@ -55960,7 +56580,7 @@ paths: items: *4 teams: type: array - items: *270 + items: *274 apps: type: array items: *5 @@ -56018,7 +56638,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *411 + restrictions: *419 required_conversation_resolution: type: object properties: @@ -56130,9 +56750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -56157,17 +56777,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *412 + schema: *420 examples: - default: &413 + default: &421 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56189,17 +56809,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *412 + schema: *420 examples: - default: *413 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56218,9 +56838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -56245,17 +56865,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *414 + schema: *422 examples: - default: &415 + default: &423 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56351,9 +56971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -56451,9 +57071,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *422 examples: - default: *415 + default: *423 '422': *15 x-github: githubCloudOnly: false @@ -56474,9 +57094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -56503,17 +57123,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *412 + schema: *420 examples: - default: &416 + default: &424 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56536,17 +57156,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *412 + schema: *420 examples: - default: *416 + default: *424 '404': *6 x-github: githubCloudOnly: false @@ -56566,9 +57186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -56593,17 +57213,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *417 + schema: *425 examples: - default: &418 + default: &426 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56629,9 +57249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -56683,9 +57303,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *425 examples: - default: *418 + default: *426 '404': *6 '422': *15 x-github: @@ -56707,9 +57327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -56733,9 +57353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response @@ -56769,9 +57389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -56838,9 +57458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -56904,9 +57524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: content: application/json: @@ -56972,15 +57592,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response content: application/json: - schema: *411 + schema: *419 examples: default: value: @@ -57071,9 +57691,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '204': description: Response @@ -57096,9 +57716,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: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response @@ -57108,7 +57728,7 @@ paths: type: array items: *5 examples: - default: &419 + default: &427 value: - id: 1 slug: octoapp @@ -57165,9 +57785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57201,7 +57821,7 @@ paths: type: array items: *5 examples: - default: *419 + default: *427 '422': *15 x-github: githubCloudOnly: false @@ -57222,9 +57842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57258,7 +57878,7 @@ paths: type: array items: *5 examples: - default: *419 + default: *427 '422': *15 x-github: githubCloudOnly: false @@ -57279,9 +57899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57315,7 +57935,7 @@ paths: type: array items: *5 examples: - default: *419 + default: *427 '422': *15 x-github: githubCloudOnly: false @@ -57337,9 +57957,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: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response @@ -57347,9 +57967,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 '404': *6 x-github: githubCloudOnly: false @@ -57369,9 +57989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -57407,9 +58027,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -57430,9 +58050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: false content: @@ -57468,9 +58088,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -57491,9 +58111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: content: application/json: @@ -57528,9 +58148,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -57552,9 +58172,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: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 responses: '200': description: Response @@ -57564,7 +58184,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 '404': *6 x-github: githubCloudOnly: false @@ -57588,9 +58208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57623,7 +58243,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -57648,9 +58268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57683,7 +58303,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -57708,9 +58328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57743,7 +58363,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -57770,9 +58390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 requestBody: required: true content: @@ -57794,7 +58414,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *428 examples: default: value: @@ -57908,12 +58528,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *351 - - *352 - - *421 - - *422 - - *311 - - *423 + - *359 + - *360 + - *429 + - *430 + - *315 + - *431 - *17 - *19 responses: @@ -57923,9 +58543,9 @@ paths: application/json: schema: type: array - items: *424 + items: *432 examples: - default: *425 + default: *433 '404': *6 '500': *97 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -57945,8 +58565,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *351 - - *352 + - *359 + - *360 - name: bypass_request_number in: path required: true @@ -57960,7 +58580,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *432 examples: default: value: @@ -58018,8 +58638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -58298,7 +58918,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &435 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58409,16 +59029,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *426 - deployment: &741 + items: *434 + deployment: &749 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58485,8 +59105,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 required: - id - node_id @@ -58698,9 +59318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *351 - - *352 - - &428 + - *359 + - *360 + - &436 name: check_run_id description: The unique identifier of the check run. in: path @@ -58712,9 +59332,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *435 examples: - default: &429 + default: &437 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58814,9 +59434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *351 - - *352 - - *428 + - *359 + - *360 + - *436 requestBody: required: true content: @@ -59056,9 +59676,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *435 examples: - default: *429 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59078,9 +59698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *351 - - *352 - - *428 + - *359 + - *360 + - *436 - *17 - *19 responses: @@ -59177,15 +59797,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *351 - - *352 - - *428 + - *359 + - *360 + - *436 responses: '201': description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -59223,8 +59843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -59246,7 +59866,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &432 + schema: &440 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59310,7 +59930,7 @@ paths: nullable: true pull_requests: type: array - items: *426 + items: *434 nullable: true app: title: GitHub app @@ -59321,9 +59941,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 - repository: *190 + properties: *135 + required: *136 + repository: *193 created_at: type: string format: date-time @@ -59332,12 +59952,12 @@ paths: type: string format: date-time nullable: true - head_commit: &767 + head_commit: &775 title: Simple Commit description: A commit. type: object - properties: *430 - required: *431 + properties: *438 + required: *439 latest_check_runs_count: type: integer check_runs_url: @@ -59365,7 +59985,7 @@ paths: - check_runs_url - pull_requests examples: - default: &433 + default: &441 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59656,9 +60276,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *432 + schema: *440 examples: - default: *433 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59677,8 +60297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -59739,7 +60359,7 @@ paths: required: - app_id - setting - repository: *190 + repository: *193 examples: default: value: @@ -59987,9 +60607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *351 - - *352 - - &434 + - *359 + - *360 + - &442 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60001,9 +60621,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *440 examples: - default: *433 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60026,17 +60646,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: - - *351 - - *352 - - *434 - - &483 + - *359 + - *360 + - *442 + - &491 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &484 + - &492 name: status description: Returns check runs with the specified `status`. in: query @@ -60075,9 +60695,9 @@ paths: type: integer check_runs: type: array - items: *427 + items: *435 examples: - default: &485 + default: &493 value: total_count: 1 check_runs: @@ -60179,15 +60799,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *351 - - *352 - - *434 + - *359 + - *360 + - *442 responses: '201': description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -60214,21 +60834,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: - - *351 - - *352 - - *213 - - *214 + - *359 + - *360 + - *216 + - *217 - *19 - *17 - - &450 + - &458 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: *435 - - &451 + schema: *443 + - &459 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60253,13 +60873,13 @@ paths: be returned. in: query required: false - schema: *215 + schema: *218 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *436 + schema: *444 responses: '200': description: Response @@ -60275,7 +60895,7 @@ paths: updated_at: *105 url: *102 html_url: *103 - instances_url: *437 + instances_url: *445 state: *87 fixed_at: *107 dismissed_by: @@ -60286,11 +60906,11 @@ paths: required: *21 nullable: true dismissed_at: *106 - dismissed_reason: *438 - dismissed_comment: *439 - rule: *440 - tool: *441 - most_recent_instance: *442 + dismissed_reason: *446 + dismissed_comment: *447 + rule: *448 + tool: *449 + most_recent_instance: *450 required: - number - created_at @@ -60406,14 +61026,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &443 + '403': &451 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60433,9 +61053,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: - - *351 - - *352 - - &444 + - *359 + - *360 + - &452 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60449,7 +61069,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &453 type: object properties: number: *98 @@ -60457,7 +61077,7 @@ paths: updated_at: *105 url: *102 html_url: *103 - instances_url: *437 + instances_url: *445 state: *87 fixed_at: *107 dismissed_by: @@ -60468,8 +61088,8 @@ paths: required: *21 nullable: true dismissed_at: *106 - dismissed_reason: *438 - dismissed_comment: *439 + dismissed_reason: *446 + dismissed_comment: *447 rule: type: object properties: @@ -60523,8 +61143,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *441 - most_recent_instance: *442 + tool: *449 + most_recent_instance: *450 required: - number - created_at @@ -60613,9 +61233,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60633,9 +61253,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 requestBody: required: true content: @@ -60650,8 +61270,8 @@ paths: enum: - open - dismissed - dismissed_reason: *438 - dismissed_comment: *439 + dismissed_reason: *446 + dismissed_comment: *447 required: - state examples: @@ -60666,7 +61286,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *453 examples: default: value: @@ -60741,14 +61361,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &449 + '403': &457 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60768,15 +61388,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 responses: '200': description: Response content: application/json: - schema: &446 + schema: &454 type: object properties: status: @@ -60802,13 +61422,13 @@ paths: - description - started_at examples: - default: &447 + default: &455 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &448 + '400': &456 description: Bad Request content: application/json: @@ -60819,9 +61439,9 @@ 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': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60844,29 +61464,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 responses: '200': description: OK content: application/json: - schema: *446 + schema: *454 examples: - default: *447 + default: *455 '202': description: Accepted content: application/json: - schema: *446 + schema: *454 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *448 + '400': *456 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60876,7 +61496,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60898,9 +61518,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 requestBody: required: false content: @@ -60945,12 +61565,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *448 - '403': *449 + '400': *456 + '403': *457 '404': *6 '422': description: Unprocessable Entity - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60970,13 +61590,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 - *19 - *17 - - *450 - - *451 + - *458 + - *459 responses: '200': description: Response @@ -60984,7 +61604,7 @@ paths: application/json: schema: type: array - items: *442 + items: *450 examples: default: value: @@ -61023,9 +61643,9 @@ paths: end_column: 50 classifications: - source - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61057,25 +61677,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: - - *351 - - *352 - - *213 - - *214 + - *359 + - *360 + - *216 + - *217 - *19 - *17 - - *451 + - *459 - 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: *435 + schema: *443 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &454 + schema: &462 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61096,23 +61716,23 @@ paths: application/json: schema: type: array - items: &455 + items: &463 type: object properties: - ref: *435 - commit_sha: &463 + ref: *443 + commit_sha: &471 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: *452 + analysis_key: *460 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *453 + category: *461 error: type: string example: error reading field xyz @@ -61136,8 +61756,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *454 - tool: *441 + sarif_id: *462 + tool: *449 deletable: type: boolean warning: @@ -61198,9 +61818,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61234,8 +61854,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: - - *351 - - *352 + - *359 + - *360 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61248,7 +61868,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *463 examples: response: summary: application/json response @@ -61302,9 +61922,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61384,8 +62004,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: - - *351 - - *352 + - *359 + - *360 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61438,9 +62058,9 @@ 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': *449 + '403': *457 '404': *6 - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61460,8 +62080,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -61469,7 +62089,7 @@ paths: application/json: schema: type: array - items: &456 + items: &464 title: CodeQL Database description: A CodeQL database. type: object @@ -61580,9 +62200,9 @@ 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': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61609,8 +62229,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: - - *351 - - *352 + - *359 + - *360 - name: language in: path description: The language of the CodeQL database. @@ -61622,7 +62242,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *464 examples: default: value: @@ -61654,11 +62274,11 @@ 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': &492 + '302': &500 description: Found - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61678,8 +62298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *351 - - *352 + - *359 + - *360 - name: language in: path description: The language of the CodeQL database. @@ -61689,9 +62309,9 @@ paths: responses: '204': description: Response - '403': *449 + '403': *457 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61717,8 +62337,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -61727,7 +62347,7 @@ paths: type: object additionalProperties: false properties: - language: &457 + language: &465 type: string description: The language targeted by the CodeQL query enum: @@ -61805,7 +62425,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &461 + schema: &469 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61815,7 +62435,7 @@ paths: description: The ID of the variant analysis. controller_repo: *94 actor: *4 - query_language: *457 + query_language: *465 query_pack_url: type: string description: The download url for the query pack. @@ -61862,7 +62482,7 @@ paths: items: type: object properties: - repository: &458 + repository: &466 title: Repository Identifier description: Repository Identifier type: object @@ -61898,7 +62518,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &462 + analysis_status: &470 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61930,7 +62550,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &459 + access_mismatch_repos: &467 type: object properties: repository_count: @@ -61944,7 +62564,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: *458 + items: *466 required: - repository_count - repositories @@ -61966,8 +62586,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *459 - over_limit_repos: *459 + no_codeql_db_repos: *467 + over_limit_repos: *467 required: - access_mismatch_repos - not_found_repos @@ -61983,7 +62603,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &460 + value: &468 summary: Default response value: id: 1 @@ -62135,17 +62755,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *460 + value: *468 repository_lists: summary: Response for a successful variant analysis submission - value: *460 + value: *468 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62166,8 +62786,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: - - *351 - - *352 + - *359 + - *360 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62179,11 +62799,11 @@ paths: description: Response content: application/json: - schema: *461 + schema: *469 examples: - default: *460 + default: *468 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62204,7 +62824,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: - - *351 + - *359 - name: repo in: path description: The name of the controller repository. @@ -62239,7 +62859,7 @@ paths: type: object properties: repository: *94 - analysis_status: *462 + analysis_status: *470 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62343,7 +62963,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62364,8 +62984,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -62439,9 +63059,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *443 + '403': *451 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62460,8 +63080,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -62518,7 +63138,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -62543,7 +63163,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *449 + '403': *457 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62551,7 +63171,7 @@ paths: content: application/json: schema: *3 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62608,8 +63228,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -62617,7 +63237,7 @@ paths: schema: type: object properties: - commit_sha: *463 + commit_sha: *471 ref: type: string description: |- @@ -62675,7 +63295,7 @@ paths: schema: type: object properties: - id: *454 + id: *462 url: type: string description: The REST API URL for checking the status of the upload. @@ -62689,11 +63309,11 @@ 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': *449 + '403': *457 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62712,8 +63332,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: - - *351 - - *352 + - *359 + - *360 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62759,10 +63379,10 @@ 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': *443 + '403': *451 '404': description: Not Found if the sarif id does not match any upload - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62784,8 +63404,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -62838,7 +63458,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *112 + '204': *115 '304': *37 '403': *29 '404': *6 @@ -62863,8 +63483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *351 - - *352 + - *359 + - *360 - 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 @@ -62984,8 +63604,8 @@ paths: parameters: - *17 - *19 - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -63001,7 +63621,7 @@ paths: type: integer codespaces: type: array - items: *274 + items: *278 examples: default: value: @@ -63299,8 +63919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -63363,22 +63983,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63402,8 +64022,8 @@ paths: parameters: - *17 - *19 - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -63467,8 +64087,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: - - *351 - - *352 + - *359 + - *360 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63503,14 +64123,14 @@ paths: type: integer machines: type: array - items: &697 + items: &705 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *465 - required: *466 + properties: *473 + required: *474 examples: - default: &698 + default: &706 value: total_count: 2 machines: @@ -63550,8 +64170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *351 - - *352 + - *359 + - *360 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63635,8 +64255,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: - - *351 - - *352 + - *359 + - *360 - 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 @@ -63681,7 +64301,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63702,8 +64322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -63721,7 +64341,7 @@ paths: type: integer secrets: type: array - items: &470 + items: &478 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63741,7 +64361,7 @@ paths: - created_at - updated_at examples: - default: *467 + default: *475 headers: Link: *39 x-github: @@ -63764,16 +64384,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *468 + schema: *476 examples: - default: *469 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63793,17 +64413,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '200': description: Response content: application/json: - schema: *470 + schema: *478 examples: - default: *471 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63823,9 +64443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 requestBody: required: true content: @@ -63853,7 +64473,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -63877,9 +64497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '204': description: Response @@ -63907,8 +64527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *351 - - *352 + - *359 + - *360 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63950,7 +64570,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &472 + properties: &480 login: type: string example: octocat @@ -64043,7 +64663,7 @@ paths: user_view_type: type: string example: public - required: &473 + required: &481 - avatar_url - events_url - followers_url @@ -64117,9 +64737,9 @@ 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: - - *351 - - *352 - - *212 + - *359 + - *360 + - *215 responses: '204': description: Response if user is a collaborator @@ -64161,9 +64781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *351 - - *352 - - *212 + - *359 + - *360 + - *215 requestBody: required: false content: @@ -64189,7 +64809,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &540 + schema: &548 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64200,7 +64820,7 @@ paths: example: 42 type: integer format: int64 - repository: *190 + repository: *193 invitee: title: Simple User description: A GitHub user. @@ -64411,9 +65031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *351 - - *352 - - *212 + - *359 + - *360 + - *215 responses: '204': description: No Content when collaborator was removed from the repository. @@ -64442,9 +65062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *351 - - *352 - - *212 + - *359 + - *360 + - *215 responses: '200': description: if user has admin permissions @@ -64464,8 +65084,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *472 - required: *473 + properties: *480 + required: *481 nullable: true required: - permission @@ -64520,8 +65140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -64531,7 +65151,7 @@ paths: application/json: schema: type: array - items: &474 + items: &482 title: Commit Comment description: Commit Comment type: object @@ -64572,8 +65192,8 @@ paths: updated_at: type: string format: date-time - author_association: *134 - reactions: *135 + author_association: *137 + reactions: *138 required: - url - html_url @@ -64589,7 +65209,7 @@ paths: - created_at - updated_at examples: - default: &477 + default: &485 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64648,17 +65268,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '200': description: Response content: application/json: - schema: *474 + schema: *482 examples: - default: &478 + default: &486 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64715,9 +65335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -64739,7 +65359,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *482 examples: default: value: @@ -64790,9 +65410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '204': description: Response @@ -64813,9 +65433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 - 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 commit comment. @@ -64841,9 +65461,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 '404': *6 @@ -64864,9 +65484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -64898,16 +65518,16 @@ paths: description: Reaction exists content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Reaction created content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -64929,10 +65549,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *359 + - *360 + - *149 - *351 - - *352 - - *146 - - *343 responses: '204': description: Response @@ -64981,8 +65601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *351 - - *352 + - *359 + - *360 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65038,9 +65658,9 @@ paths: application/json: schema: type: array - items: *475 + items: *483 examples: - default: &591 + default: &599 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65134,9 +65754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *351 - - *352 - - &476 + - *359 + - *360 + - &484 name: commit_sha description: The SHA of the commit. in: path @@ -65208,9 +65828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *351 - - *352 - - *476 + - *359 + - *360 + - *484 - *17 - *19 responses: @@ -65220,9 +65840,9 @@ paths: application/json: schema: type: array - items: *474 + items: *482 examples: - default: *477 + default: *485 headers: Link: *39 x-github: @@ -65250,9 +65870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *351 - - *352 - - *476 + - *359 + - *360 + - *484 requestBody: required: true content: @@ -65287,9 +65907,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *482 examples: - default: *478 + default: *486 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65317,9 +65937,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: - - *351 - - *352 - - *476 + - *359 + - *360 + - *484 - *17 - *19 responses: @@ -65329,7 +65949,7 @@ paths: application/json: schema: type: array - items: &582 + items: &590 title: Pull Request Simple description: Pull Request Simple type: object @@ -65435,8 +66055,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *479 - required: *480 + properties: *487 + required: *488 nullable: true active_lock_reason: type: string @@ -65481,7 +66101,7 @@ paths: nullable: true requested_teams: type: array - items: *270 + items: *274 nullable: true head: type: object @@ -65532,7 +66152,7 @@ paths: _links: type: object properties: - comments: &481 + comments: &489 title: Link description: Hypermedia Link type: object @@ -65541,13 +66161,13 @@ paths: type: string required: - href - commits: *481 - statuses: *481 - html: *481 - issue: *481 - review_comments: *481 - review_comment: *481 - self: *481 + commits: *489 + statuses: *489 + html: *489 + issue: *489 + review_comments: *489 + review_comment: *489 + self: *489 required: - comments - commits @@ -65557,8 +66177,8 @@ paths: - review_comments - review_comment - self - author_association: *134 - auto_merge: &584 + author_association: *137 + auto_merge: &592 title: Auto merge description: The status of auto merging a pull request. type: object @@ -65621,7 +66241,7 @@ paths: - author_association - auto_merge examples: - default: &583 + default: &591 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66158,11 +66778,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *351 - - *352 + - *359 + - *360 - *19 - *17 - - &482 + - &490 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)" @@ -66177,9 +66797,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *483 examples: - default: &569 + default: &577 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66266,7 +66886,7 @@ paths: '422': *15 '404': *6 '500': *97 - '503': *125 + '503': *128 '409': *92 x-github: githubCloudOnly: false @@ -66292,11 +66912,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: - - *351 - - *352 - - *482 - - *483 - - *484 + - *359 + - *360 + - *490 + - *491 + - *492 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66330,9 +66950,9 @@ paths: type: integer check_runs: type: array - items: *427 + items: *435 examples: - default: *485 + default: *493 headers: Link: *39 x-github: @@ -66357,9 +66977,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: - - *351 - - *352 - - *482 + - *359 + - *360 + - *490 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66367,7 +66987,7 @@ paths: schema: type: integer example: 1 - - *483 + - *491 - *17 - *19 responses: @@ -66385,7 +67005,7 @@ paths: type: integer check_suites: type: array - items: *432 + items: *440 examples: default: value: @@ -66585,9 +67205,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: - - *351 - - *352 - - *482 + - *359 + - *360 + - *490 - *17 - *19 responses: @@ -66654,7 +67274,7 @@ paths: type: string total_count: type: integer - repository: *190 + repository: *193 commit_url: type: string format: uri @@ -66785,9 +67405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *351 - - *352 - - *482 + - *359 + - *360 + - *490 - *17 - *19 responses: @@ -66797,7 +67417,7 @@ paths: application/json: schema: type: array - items: &645 + items: &653 title: Status description: The status of a commit. type: object @@ -66878,7 +67498,7 @@ paths: site_admin: false headers: Link: *39 - '301': *365 + '301': *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66906,8 +67526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -66936,20 +67556,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *486 - required: *487 + properties: *494 + required: *495 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &488 + properties: &496 url: type: string format: uri html_url: type: string format: uri - required: &489 + required: &497 - url - html_url nullable: true @@ -66957,32 +67577,32 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true contributing: title: Community Health File type: object - properties: *488 - required: *489 + properties: *496 + required: *497 nullable: true readme: title: Community Health File type: object - properties: *488 - required: *489 + properties: *496 + required: *497 nullable: true issue_template: title: Community Health File type: object - properties: *488 - required: *489 + properties: *496 + required: *497 nullable: true pull_request_template: title: Community Health File type: object - properties: *488 - required: *489 + properties: *496 + required: *497 nullable: true required: - code_of_conduct @@ -67109,8 +67729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *351 - - *352 + - *359 + - *360 - *19 - *17 - name: basehead @@ -67153,8 +67773,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *475 - merge_base_commit: *475 + base_commit: *483 + merge_base_commit: *483 status: type: string enum: @@ -67174,10 +67794,10 @@ paths: example: 6 commits: type: array - items: *475 + items: *483 files: type: array - items: *490 + items: *498 required: - url - html_url @@ -67421,7 +68041,7 @@ paths: module Test" '404': *6 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67463,8 +68083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *351 - - *352 + - *359 + - *360 - name: path description: path parameter in: path @@ -67605,7 +68225,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &491 + response-if-content-is-a-file: &499 summary: Response if content is a file value: type: file @@ -67737,7 +68357,7 @@ paths: - size - type - url - - &596 + - &604 title: Content File description: Content File type: object @@ -67938,7 +68558,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *491 + response-if-content-is-a-file: *499 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68007,7 +68627,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *492 + '302': *500 '304': *37 x-github: githubCloudOnly: false @@ -68030,8 +68650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *351 - - *352 + - *359 + - *360 - name: path description: path parameter in: path @@ -68124,7 +68744,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &501 title: File Commit description: File Commit type: object @@ -68276,7 +68896,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *501 examples: example-for-creating-a-file: value: @@ -68330,7 +68950,7 @@ paths: schema: oneOf: - *3 - - &522 + - &530 description: Repository rule violation was detected type: object properties: @@ -68351,7 +68971,7 @@ paths: items: type: object properties: - placeholder_id: &637 + placeholder_id: &645 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68383,8 +69003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *351 - - *352 + - *359 + - *360 - name: path description: path parameter in: path @@ -68445,7 +69065,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *501 examples: default: value: @@ -68480,7 +69100,7 @@ paths: '422': *15 '404': *6 '409': *92 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68500,8 +69120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *351 - - *352 + - *359 + - *360 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68624,20 +69244,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *351 - - *352 - - *232 - - *233 - - *234 + - *359 + - *360 - *235 + - *236 + - *237 + - *238 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *236 - - *237 + - *239 + - *240 + - *241 - *84 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -68657,8 +69278,8 @@ paths: default: 30 - *82 - *83 - - *238 - - *239 + - *242 + - *243 responses: '200': description: Response @@ -68666,7 +69287,7 @@ paths: application/json: schema: type: array - items: &496 + items: &504 type: object description: A Dependabot alert. properties: @@ -68699,7 +69320,7 @@ paths: enum: - development - runtime - security_advisory: *494 + security_advisory: *502 security_vulnerability: *101 url: *102 html_url: *103 @@ -68730,7 +69351,7 @@ paths: nullable: true maxLength: 280 fixed_at: *107 - auto_dismissed_at: *495 + auto_dismissed_at: *503 required: - number - state @@ -68957,9 +69578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *351 - - *352 - - &497 + - *359 + - *360 + - &505 name: alert_number in: path description: |- @@ -68974,7 +69595,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *504 examples: default: value: @@ -69084,9 +69705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *351 - - *352 - - *497 + - *359 + - *360 + - *505 requestBody: required: true content: @@ -69131,7 +69752,7 @@ paths: description: Response content: application/json: - schema: *496 + schema: *504 examples: default: value: @@ -69260,8 +69881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -69279,7 +69900,7 @@ paths: type: integer secrets: type: array - items: &500 + items: &508 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69332,16 +69953,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *498 + schema: *506 examples: - default: *499 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69361,15 +69982,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '200': description: Response content: application/json: - schema: *500 + schema: *508 examples: default: value: @@ -69395,9 +70016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 requestBody: required: true content: @@ -69425,7 +70046,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -69449,9 +70070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *351 - - *352 - - *200 + - *359 + - *360 + - *203 responses: '204': description: Response @@ -69473,8 +70094,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: - - *351 - - *352 + - *359 + - *360 - 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 @@ -69634,8 +70255,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -69874,8 +70495,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -69950,7 +70571,7 @@ paths: - version - url additionalProperties: false - metadata: &501 + metadata: &509 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69983,7 +70604,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *501 + metadata: *509 resolved: type: object description: A collection of resolved package dependencies. @@ -69996,7 +70617,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *501 + metadata: *509 relationship: type: string description: A notation of whether a dependency is requested @@ -70125,8 +70746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *351 - - *352 + - *359 + - *360 - name: sha description: The SHA recorded at creation time. in: query @@ -70166,9 +70787,9 @@ paths: application/json: schema: type: array - items: *502 + items: *510 examples: - default: *503 + default: *511 headers: Link: *39 x-github: @@ -70234,8 +70855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -70316,7 +70937,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *510 examples: simple-example: summary: Simple example @@ -70389,9 +71010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *351 - - *352 - - &504 + - *359 + - *360 + - &512 name: deployment_id description: deployment_id parameter in: path @@ -70403,7 +71024,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *510 examples: default: value: @@ -70468,9 +71089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *351 - - *352 - - *504 + - *359 + - *360 + - *512 responses: '204': description: Response @@ -70492,9 +71113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *351 - - *352 - - *504 + - *359 + - *360 + - *512 - *17 - *19 responses: @@ -70504,7 +71125,7 @@ paths: application/json: schema: type: array - items: &505 + items: &513 title: Deployment Status description: The status of a deployment. type: object @@ -70595,8 +71216,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 required: - id - node_id @@ -70665,9 +71286,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *351 - - *352 - - *504 + - *359 + - *360 + - *512 requestBody: required: true content: @@ -70742,9 +71363,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *513 examples: - default: &506 + default: &514 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70800,9 +71421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *351 - - *352 - - *504 + - *359 + - *360 + - *512 - name: status_id in: path required: true @@ -70813,9 +71434,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *513 examples: - default: *506 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -70840,8 +71461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -70898,8 +71519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -70916,7 +71537,7 @@ paths: type: integer environments: type: array - items: &508 + items: &516 title: Environment description: Details of a deployment environment type: object @@ -70968,7 +71589,7 @@ paths: type: type: string example: wait_timer - wait_timer: &510 + wait_timer: &518 type: integer example: 30 description: The amount of time to delay a job after @@ -71005,11 +71626,11 @@ paths: items: type: object properties: - type: *507 + type: *515 reviewer: anyOf: - *4 - - *270 + - *274 required: - id - node_id @@ -71029,7 +71650,7 @@ paths: - id - node_id - type - deployment_branch_policy: &511 + deployment_branch_policy: &519 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71145,9 +71766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *351 - - *352 - - &509 + - *359 + - *360 + - &517 name: environment_name in: path required: true @@ -71160,9 +71781,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *516 examples: - default: &512 + default: &520 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71246,9 +71867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 requestBody: required: false content: @@ -71257,7 +71878,7 @@ paths: type: object nullable: true properties: - wait_timer: *510 + wait_timer: *518 prevent_self_review: type: boolean example: false @@ -71274,13 +71895,13 @@ paths: items: type: object properties: - type: *507 + type: *515 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *511 + deployment_branch_policy: *519 additionalProperties: false examples: default: @@ -71300,9 +71921,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *516 examples: - default: *512 + default: *520 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71326,9 +71947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 responses: '204': description: Default response @@ -71353,9 +71974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 - *17 - *19 responses: @@ -71373,7 +71994,7 @@ paths: example: 2 branch_policies: type: array - items: &513 + items: &521 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71430,9 +72051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 requestBody: required: true content: @@ -71478,9 +72099,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *521 examples: - example-wildcard: &514 + example-wildcard: &522 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71522,10 +72143,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *351 - - *352 - - *509 - - &515 + - *359 + - *360 + - *517 + - &523 name: branch_policy_id in: path required: true @@ -71537,9 +72158,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *521 examples: - default: *514 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71558,10 +72179,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *351 - - *352 - - *509 - - *515 + - *359 + - *360 + - *517 + - *523 requestBody: required: true content: @@ -71589,9 +72210,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *521 examples: - default: *514 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71610,10 +72231,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *351 - - *352 - - *509 - - *515 + - *359 + - *360 + - *517 + - *523 responses: '204': description: Response @@ -71638,9 +72259,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: - - *509 - - *352 - - *351 + - *517 + - *360 + - *359 responses: '200': description: List of deployment protection rules @@ -71656,7 +72277,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &516 + items: &524 title: Deployment protection rule description: Deployment protection rule type: object @@ -71675,7 +72296,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &517 + app: &525 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71774,9 +72395,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: - - *509 - - *352 - - *351 + - *517 + - *360 + - *359 requestBody: content: application/json: @@ -71797,9 +72418,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *516 + schema: *524 examples: - default: &518 + default: &526 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71834,9 +72455,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: - - *509 - - *352 - - *351 + - *517 + - *360 + - *359 - *19 - *17 responses: @@ -71855,7 +72476,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *517 + items: *525 examples: default: value: @@ -71890,10 +72511,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: - - *351 - - *352 - - *509 - - &519 + - *359 + - *360 + - *517 + - &527 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71905,9 +72526,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *524 examples: - default: *518 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71928,10 +72549,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: - - *509 - - *352 - - *351 - - *519 + - *517 + - *360 + - *359 + - *527 responses: '204': description: Response @@ -71957,9 +72578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 - *17 - *19 responses: @@ -71977,9 +72598,9 @@ paths: type: integer secrets: type: array - items: *388 + items: *396 examples: - default: *389 + default: *397 headers: Link: *39 x-github: @@ -72004,17 +72625,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 responses: '200': description: Response content: application/json: - schema: *390 + schema: *398 examples: - default: *391 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72036,18 +72657,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *351 - - *352 - - *509 - - *200 + - *359 + - *360 + - *517 + - *203 responses: '200': description: Response content: application/json: - schema: *388 + schema: *396 examples: - default: *520 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72069,10 +72690,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *351 - - *352 - - *509 - - *200 + - *359 + - *360 + - *517 + - *203 requestBody: required: true content: @@ -72103,7 +72724,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -72129,10 +72750,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *351 - - *352 - - *509 - - *200 + - *359 + - *360 + - *517 + - *203 responses: '204': description: Default response @@ -72157,10 +72778,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *351 - - *352 - - *509 - - *375 + - *359 + - *360 + - *517 + - *383 - *19 responses: '200': @@ -72177,9 +72798,9 @@ paths: type: integer variables: type: array - items: *392 + items: *400 examples: - default: *393 + default: *401 headers: Link: *39 x-github: @@ -72202,9 +72823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *351 - - *352 - - *509 + - *359 + - *360 + - *517 requestBody: required: true content: @@ -72231,7 +72852,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -72256,18 +72877,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *351 - - *352 - - *509 - - *203 + - *359 + - *360 + - *517 + - *206 responses: '200': description: Response content: application/json: - schema: *392 + schema: *400 examples: - default: *521 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72288,10 +72909,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *351 - - *352 - - *203 - - *509 + - *359 + - *360 + - *206 + - *517 requestBody: required: true content: @@ -72333,10 +72954,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *351 - - *352 - - *203 - - *509 + - *359 + - *360 + - *206 + - *517 responses: '204': description: Response @@ -72358,8 +72979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -72369,7 +72990,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: 200-response: value: @@ -72436,8 +73057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *351 - - *352 + - *359 + - *360 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72459,7 +73080,7 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: default: value: @@ -72596,8 +73217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -72629,9 +73250,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *372 examples: - default: *366 + default: *374 '400': *14 '422': *15 '403': *29 @@ -72652,8 +73273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -72712,8 +73333,8 @@ paths: application/json: schema: oneOf: - - *173 - - *522 + - *176 + - *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72738,8 +73359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *351 - - *352 + - *359 + - *360 - name: file_sha in: path required: true @@ -72838,8 +73459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -72948,7 +73569,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &531 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73161,15 +73782,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *351 - - *352 - - *476 + - *359 + - *360 + - *484 responses: '200': description: Response content: application/json: - schema: *523 + schema: *531 examples: default: value: @@ -73225,9 +73846,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *351 - - *352 - - &524 + - *359 + - *360 + - &532 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. @@ -73244,7 +73865,7 @@ paths: application/json: schema: type: array - items: &525 + items: &533 title: Git Reference description: Git references within a repository type: object @@ -73319,17 +73940,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *351 - - *352 - - *524 + - *359 + - *360 + - *532 responses: '200': description: Response content: application/json: - schema: *525 + schema: *533 examples: - default: &526 + default: &534 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73358,8 +73979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -73388,9 +74009,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *533 examples: - default: *526 + default: *534 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73416,9 +74037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *351 - - *352 - - *524 + - *359 + - *360 + - *532 requestBody: required: true content: @@ -73447,9 +74068,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *533 examples: - default: *526 + default: *534 '422': *15 '409': *92 x-github: @@ -73467,9 +74088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *351 - - *352 - - *524 + - *359 + - *360 + - *532 responses: '204': description: Response @@ -73522,8 +74143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -73590,7 +74211,7 @@ paths: description: Response content: application/json: - schema: &528 + schema: &536 title: Git Tag description: Metadata for a Git tag type: object @@ -73641,7 +74262,7 @@ paths: - sha - type - url - verification: *527 + verification: *535 required: - sha - url @@ -73651,7 +74272,7 @@ paths: - tag - message examples: - default: &529 + default: &537 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73724,8 +74345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *351 - - *352 + - *359 + - *360 - name: tag_sha in: path required: true @@ -73736,9 +74357,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *536 examples: - default: *529 + default: *537 '404': *6 '409': *92 x-github: @@ -73762,8 +74383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -73836,7 +74457,7 @@ paths: description: Response content: application/json: - schema: &530 + schema: &538 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73948,8 +74569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *351 - - *352 + - *359 + - *360 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73972,7 +74593,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *538 examples: default-response: summary: Default response @@ -74031,8 +74652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -74042,7 +74663,7 @@ paths: application/json: schema: type: array - items: &531 + items: &539 title: Webhook description: Webhooks for repositories. type: object @@ -74096,7 +74717,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &775 + last_response: &783 title: Hook Response type: object properties: @@ -74170,8 +74791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -74223,9 +74844,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *539 examples: - default: &532 + default: &540 value: type: Repository id: 12345678 @@ -74273,17 +74894,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 responses: '200': description: Response content: application/json: - schema: *531 + schema: *539 examples: - default: *532 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -74303,9 +74924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 requestBody: required: true content: @@ -74350,9 +74971,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *539 examples: - default: *532 + default: *540 '422': *15 '404': *6 x-github: @@ -74373,9 +74994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 responses: '204': description: Response @@ -74399,9 +75020,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: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 responses: '200': description: Response @@ -74428,9 +75049,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: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 requestBody: required: false content: @@ -74474,11 +75095,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 - *17 - - *248 + - *252 responses: '200': description: Response @@ -74486,9 +75107,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *250 + default: *254 '400': *14 '422': *15 x-github: @@ -74507,18 +75128,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: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 - *16 responses: '200': description: Response content: application/json: - schema: *251 + schema: *255 examples: - default: *252 + default: *256 '400': *14 '422': *15 x-github: @@ -74537,9 +75158,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: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 - *16 responses: '202': *93 @@ -74562,9 +75183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 responses: '204': description: Response @@ -74589,9 +75210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *351 - - *352 - - *247 + - *359 + - *360 + - *251 responses: '204': description: Response @@ -74649,14 +75270,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: &533 + schema: &541 title: Import description: A repository import from an external source. type: object @@ -74755,7 +75376,7 @@ paths: - html_url - authors_url examples: - default: &536 + default: &544 value: vcs: subversion use_lfs: true @@ -74771,7 +75392,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': &534 + '503': &542 description: Unavailable due to service under maintenance. content: application/json: @@ -74800,8 +75421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -74849,7 +75470,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *541 examples: default: value: @@ -74874,7 +75495,7 @@ paths: type: string '422': *15 '404': *6 - '503': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74902,8 +75523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -74952,7 +75573,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *541 examples: example-1: summary: Example 1 @@ -75000,7 +75621,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': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75023,12 +75644,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response - '503': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75054,9 +75675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *351 - - *352 - - &721 + - *359 + - *360 + - &729 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75070,7 +75691,7 @@ paths: application/json: schema: type: array - items: &535 + items: &543 title: Porter Author description: Porter Author type: object @@ -75124,7 +75745,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': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75149,8 +75770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *351 - - *352 + - *359 + - *360 - name: author_id in: path required: true @@ -75180,7 +75801,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *543 examples: default: value: @@ -75193,7 +75814,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75217,8 +75838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -75259,7 +75880,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75287,8 +75908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -75315,11 +75936,11 @@ paths: description: Response content: application/json: - schema: *533 + schema: *541 examples: - default: *536 + default: *544 '422': *15 - '503': *534 + '503': *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75342,8 +75963,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -75351,8 +75972,8 @@ paths: application/json: schema: *22 examples: - default: *537 - '301': *365 + default: *545 + '301': *373 '404': *6 x-github: githubCloudOnly: false @@ -75372,8 +75993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -75381,12 +76002,12 @@ paths: application/json: schema: anyOf: - - *265 + - *269 - type: object properties: {} additionalProperties: false examples: - default: &539 + default: &547 value: limit: collaborators_only origin: repository @@ -75411,13 +76032,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: application/json: - schema: *538 + schema: *546 examples: default: summary: Example request body @@ -75429,9 +76050,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *269 examples: - default: *539 + default: *547 '409': description: Response x-github: @@ -75453,8 +76074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -75477,8 +76098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -75488,9 +76109,9 @@ paths: application/json: schema: type: array - items: *540 + items: *548 examples: - default: &714 + default: &722 value: - id: 1 repository: @@ -75621,9 +76242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *351 - - *352 - - *269 + - *359 + - *360 + - *273 requestBody: required: false content: @@ -75652,7 +76273,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *548 examples: default: value: @@ -75783,9 +76404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *351 - - *352 - - *269 + - *359 + - *360 + - *273 responses: '204': description: Response @@ -75816,8 +76437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *351 - - *352 + - *359 + - *360 - 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 @@ -75857,7 +76478,7 @@ paths: required: false schema: type: string - - *271 + - *275 - name: sort description: What to sort results by. in: query @@ -75870,7 +76491,7 @@ paths: - comments default: created - *84 - - *137 + - *140 - *17 - *19 responses: @@ -75880,9 +76501,9 @@ paths: application/json: schema: type: array - items: *147 + items: *150 examples: - default: &551 + default: &559 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76030,7 +76651,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *365 + '301': *373 '422': *15 '404': *6 x-github: @@ -76059,8 +76680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -76135,9 +76756,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: &546 + default: &554 value: id: 1 node_id: MDU6SXNzdWUx @@ -76291,9 +76912,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *125 + '503': *128 '404': *6 - '410': *362 + '410': *370 x-github: triggersNotification: true githubCloudOnly: false @@ -76321,9 +76942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *351 - - *352 - - *157 + - *359 + - *360 + - *160 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -76333,7 +76954,7 @@ paths: enum: - asc - desc - - *137 + - *140 - *17 - *19 responses: @@ -76343,9 +76964,9 @@ paths: application/json: schema: type: array - items: *541 + items: *549 examples: - default: &548 + default: &556 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76403,17 +77024,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '200': description: Response content: application/json: - schema: *541 + schema: *549 examples: - default: &542 + default: &550 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76467,9 +77088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -76491,9 +77112,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *549 examples: - default: *542 + default: *550 '422': *15 x-github: githubCloudOnly: false @@ -76511,9 +77132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '204': description: Response @@ -76533,9 +77154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 - 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 comment. @@ -76561,9 +77182,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 '404': *6 @@ -76584,9 +77205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -76618,16 +77239,16 @@ paths: description: Reaction exists content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Reaction created content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -76649,10 +77270,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *359 + - *360 + - *149 - *351 - - *352 - - *146 - - *343 responses: '204': description: Response @@ -76672,8 +77293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -76683,7 +77304,7 @@ paths: application/json: schema: type: array - items: &545 + items: &553 title: Issue Event description: Issue Event type: object @@ -76726,8 +77347,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *543 - required: *544 + properties: *551 + required: *552 nullable: true label: title: Issue Event Label @@ -76771,7 +77392,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *270 + requested_team: *274 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76836,7 +77457,7 @@ paths: required: - from - to - author_association: *134 + author_association: *137 lock_reason: type: string nullable: true @@ -76849,8 +77470,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 required: - id - node_id @@ -77034,8 +77655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *351 - - *352 + - *359 + - *360 - name: event_id in: path required: true @@ -77046,7 +77667,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *553 examples: default: value: @@ -77239,7 +77860,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *362 + '410': *370 '403': *29 x-github: githubCloudOnly: false @@ -77273,9 +77894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *351 - - *352 - - &547 + - *359 + - *360 + - &555 name: issue_number description: The number that identifies the issue. in: path @@ -77287,12 +77908,12 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 - '301': *365 + default: *554 + '301': *373 '404': *6 - '410': *362 + '410': *370 '304': *37 x-github: githubCloudOnly: false @@ -77317,9 +77938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: false content: @@ -77414,15 +78035,15 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 '422': *15 - '503': *125 + '503': *128 '403': *29 - '301': *365 + '301': *373 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77440,9 +78061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: false content: @@ -77468,9 +78089,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77486,9 +78107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: content: application/json: @@ -77513,9 +78134,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77537,9 +78158,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: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - name: assignee in: path required: true @@ -77579,10 +78200,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *351 - - *352 - - *547 - - *137 + - *359 + - *360 + - *555 + - *140 - *17 - *19 responses: @@ -77592,13 +78213,13 @@ paths: application/json: schema: type: array - items: *541 + items: *549 examples: - default: *548 + default: *556 headers: Link: *39 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77627,9 +78248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: true content: @@ -77651,16 +78272,16 @@ paths: description: Response content: application/json: - schema: *541 + schema: *549 examples: - default: *542 + default: *550 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *362 + '410': *370 '422': *15 '404': *6 x-github: @@ -77680,9 +78301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - *17 - *19 responses: @@ -77696,7 +78317,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &552 + - &560 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77727,8 +78348,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 label: type: object properties: @@ -77750,7 +78371,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &561 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77781,8 +78402,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 label: type: object properties: @@ -77870,8 +78491,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 assignee: *4 assigner: *4 required: @@ -77886,7 +78507,7 @@ paths: - performed_via_github_app - assignee - assigner - - &554 + - &562 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77917,8 +78538,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 milestone: type: object properties: @@ -77937,7 +78558,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &563 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77968,8 +78589,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 milestone: type: object properties: @@ -77988,7 +78609,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &564 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78019,8 +78640,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 rename: type: object properties: @@ -78042,7 +78663,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &565 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78073,10 +78694,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 review_requester: *4 - requested_team: *270 + requested_team: *274 requested_reviewer: *4 required: - review_requester @@ -78089,7 +78710,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &566 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78120,10 +78741,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 review_requester: *4 - requested_team: *270 + requested_team: *274 requested_reviewer: *4 required: - review_requester @@ -78136,7 +78757,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &567 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78167,8 +78788,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 dismissed_review: type: object properties: @@ -78196,7 +78817,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &568 title: Locked Issue Event description: Locked Issue Event type: object @@ -78227,8 +78848,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 lock_reason: type: string example: '"off-topic"' @@ -78244,7 +78865,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &569 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78275,8 +78896,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 project_card: type: object properties: @@ -78310,7 +78931,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &570 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78341,8 +78962,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 project_card: type: object properties: @@ -78376,7 +78997,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &571 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78407,8 +79028,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 project_card: type: object properties: @@ -78442,7 +79063,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &572 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78533,7 +79154,7 @@ paths: color: red headers: Link: *39 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78550,9 +79171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - *17 - *19 responses: @@ -78562,7 +79183,7 @@ paths: application/json: schema: type: array - items: &549 + items: &557 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78609,7 +79230,7 @@ paths: - color - default examples: - default: &550 + default: &558 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78627,9 +79248,9 @@ paths: default: false headers: Link: *39 - '301': *365 + '301': *373 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78646,9 +79267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: false content: @@ -78707,12 +79328,12 @@ paths: application/json: schema: type: array - items: *549 + items: *557 examples: - default: *550 - '301': *365 + default: *558 + '301': *373 '404': *6 - '410': *362 + '410': *370 '422': *15 x-github: githubCloudOnly: false @@ -78729,9 +79350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: false content: @@ -78791,12 +79412,12 @@ paths: application/json: schema: type: array - items: *549 + items: *557 examples: - default: *550 - '301': *365 + default: *558 + '301': *373 '404': *6 - '410': *362 + '410': *370 '422': *15 x-github: githubCloudOnly: false @@ -78813,15 +79434,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 responses: '204': description: Response - '301': *365 + '301': *373 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78840,9 +79461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - name: name in: path required: true @@ -78855,7 +79476,7 @@ paths: application/json: schema: type: array - items: *549 + items: *557 examples: default: value: @@ -78866,9 +79487,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *365 + '301': *373 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78888,9 +79509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: false content: @@ -78918,7 +79539,7 @@ paths: '204': description: Response '403': *29 - '410': *362 + '410': *370 '404': *6 '422': *15 x-github: @@ -78936,9 +79557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 responses: '204': description: Response @@ -78960,9 +79581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - 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. @@ -78988,13 +79609,13 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79012,9 +79633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: true content: @@ -79046,16 +79667,16 @@ paths: description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -79077,10 +79698,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: + - *359 + - *360 + - *555 - *351 - - *352 - - *547 - - *343 responses: '204': description: Response @@ -79109,9 +79730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: true content: @@ -79121,7 +79742,7 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to remove + description: The id of the sub-issue to remove required: - sub_issue_id examples: @@ -79133,9 +79754,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79168,9 +79789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - *17 - *19 responses: @@ -79180,13 +79801,13 @@ paths: application/json: schema: type: array - items: *147 + items: *150 examples: - default: *551 + default: *559 headers: Link: *39 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79214,9 +79835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: true content: @@ -79226,7 +79847,8 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to add + description: The id of the sub-issue to add. The sub-issue must + belong to the same repository as the parent issue replace_parent: type: boolean description: Option that, when true, instructs the operation to @@ -79242,16 +79864,16 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *362 + '410': *370 '422': *15 '404': *6 x-github: @@ -79271,9 +79893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 requestBody: required: true content: @@ -79304,13 +79926,13 @@ paths: description: Response content: application/json: - schema: *147 + schema: *150 examples: - default: *546 + default: *554 '403': *29 '404': *6 '422': *7 - '503': *125 + '503': *128 x-github: triggersNotification: true githubCloudOnly: false @@ -79328,9 +79950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *351 - - *352 - - *547 + - *359 + - *360 + - *555 - *17 - *19 responses: @@ -79345,19 +79967,19 @@ paths: description: Timeline Event type: object anyOf: - - *552 - - *553 - - *554 - - *555 - - *556 - - *557 - - *558 - - *559 - *560 - *561 - *562 - *563 - *564 + - *565 + - *566 + - *567 + - *568 + - *569 + - *570 + - *571 + - *572 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79400,7 +80022,7 @@ paths: issue_url: type: string format: uri - author_association: *134 + author_association: *137 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -79410,9 +80032,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 - reactions: *135 + properties: *135 + required: *136 + reactions: *138 required: - event - actor @@ -79443,7 +80065,7 @@ paths: properties: type: type: string - issue: *147 + issue: *150 required: - event - created_at @@ -79638,7 +80260,7 @@ paths: type: string body_text: type: string - author_association: *134 + author_association: *137 required: - event - id @@ -79661,7 +80283,7 @@ paths: type: string comments: type: array - items: &585 + items: &593 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79750,7 +80372,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *134 + author_association: *137 _links: type: object properties: @@ -79834,7 +80456,7 @@ paths: enum: - line - file - reactions: *135 + reactions: *138 body_html: type: string example: '"

comment body

"' @@ -79870,7 +80492,7 @@ paths: type: string comments: type: array - items: *474 + items: *482 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -79901,8 +80523,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 assignee: *4 required: - id @@ -79945,8 +80567,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 assignee: *4 required: - id @@ -79989,8 +80611,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 state_reason: type: string nullable: true @@ -80159,7 +80781,7 @@ paths: headers: Link: *39 '404': *6 - '410': *362 + '410': *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80176,8 +80798,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -80187,7 +80809,7 @@ paths: application/json: schema: type: array - items: &565 + items: &573 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80252,8 +80874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -80289,9 +80911,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *573 examples: - default: &566 + default: &574 value: id: 1 key: ssh-rsa AAA... @@ -80325,9 +80947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *351 - - *352 - - &567 + - *359 + - *360 + - &575 name: key_id description: The unique identifier of the key. in: path @@ -80339,9 +80961,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *573 examples: - default: *566 + default: *574 '404': *6 x-github: githubCloudOnly: false @@ -80359,9 +80981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *351 - - *352 - - *567 + - *359 + - *360 + - *575 responses: '204': description: Response @@ -80381,8 +81003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -80392,9 +81014,9 @@ paths: application/json: schema: type: array - items: *549 + items: *557 examples: - default: *550 + default: *558 headers: Link: *39 '404': *6 @@ -80415,8 +81037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -80452,9 +81074,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *557 examples: - default: &568 + default: &576 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80486,8 +81108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *351 - - *352 + - *359 + - *360 - name: name in: path required: true @@ -80498,9 +81120,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *557 examples: - default: *568 + default: *576 '404': *6 x-github: githubCloudOnly: false @@ -80517,8 +81139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *351 - - *352 + - *359 + - *360 - name: name in: path required: true @@ -80557,7 +81179,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *557 examples: default: value: @@ -80583,8 +81205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *351 - - *352 + - *359 + - *360 - name: name in: path required: true @@ -80610,8 +81232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -80647,8 +81269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '202': *93 '403': @@ -80676,8 +81298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -80703,9 +81325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *351 - - *352 - - *450 + - *359 + - *360 + - *458 responses: '200': description: Response @@ -80767,8 +81389,8 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true required: - _links @@ -80850,8 +81472,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -80916,8 +81538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -80951,9 +81573,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *475 + schema: *483 examples: - default: *569 + default: *577 '204': description: Response when already merged '404': @@ -80978,8 +81600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *351 - - *352 + - *359 + - *360 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81020,12 +81642,12 @@ paths: application/json: schema: type: array - items: &570 + items: &578 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *479 - required: *480 + properties: *487 + required: *488 examples: default: value: @@ -81081,8 +81703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -81122,9 +81744,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *578 examples: - default: &571 + default: &579 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81183,9 +81805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *351 - - *352 - - &572 + - *359 + - *360 + - &580 name: milestone_number description: The number that identifies the milestone. in: path @@ -81197,9 +81819,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *578 examples: - default: *571 + default: *579 '404': *6 x-github: githubCloudOnly: false @@ -81216,9 +81838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *351 - - *352 - - *572 + - *359 + - *360 + - *580 requestBody: required: false content: @@ -81256,9 +81878,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *578 examples: - default: *571 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81274,9 +81896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *351 - - *352 - - *572 + - *359 + - *360 + - *580 responses: '204': description: Response @@ -81297,9 +81919,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: - - *351 - - *352 - - *572 + - *359 + - *360 + - *580 - *17 - *19 responses: @@ -81309,9 +81931,9 @@ paths: application/json: schema: type: array - items: *549 + items: *557 examples: - default: *550 + default: *558 headers: Link: *39 x-github: @@ -81330,12 +81952,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: - - *351 - - *352 - - *573 - - *574 - - *137 - - *575 + - *359 + - *360 + - *581 + - *582 + - *140 + - *583 - *17 - *19 responses: @@ -81345,9 +81967,9 @@ paths: application/json: schema: type: array - items: *160 + items: *163 examples: - default: *576 + default: *584 headers: Link: *39 x-github: @@ -81371,8 +81993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -81430,14 +82052,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: &577 + schema: &585 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81562,7 +82184,7 @@ paths: - custom_404 - public examples: - default: &578 + default: &586 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81603,8 +82225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -81658,9 +82280,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *585 examples: - default: *578 + default: *586 '422': *15 '409': *92 x-github: @@ -81683,8 +82305,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -81791,8 +82413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -81818,8 +82440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -81829,7 +82451,7 @@ paths: application/json: schema: type: array - items: &579 + items: &587 title: Page Build description: Page Build type: object @@ -81923,8 +82545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *351 - - *352 + - *359 + - *360 responses: '201': description: Response @@ -81969,16 +82591,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *579 + schema: *587 examples: - default: &580 + default: &588 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82026,8 +82648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *351 - - *352 + - *359 + - *360 - name: build_id in: path required: true @@ -82038,9 +82660,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *587 examples: - default: *580 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82060,8 +82682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -82167,9 +82789,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: - - *351 - - *352 - - &581 + - *359 + - *360 + - &589 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82227,11 +82849,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *351 - - *352 - - *581 + - *359 + - *360 + - *589 responses: - '204': *112 + '204': *115 '404': *6 x-github: githubCloudOnly: false @@ -82256,8 +82878,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -82488,7 +83110,7 @@ paths: description: Empty response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -82515,8 +83137,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Private vulnerability reporting status @@ -82553,10 +83175,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: - '204': *112 + '204': *115 '422': *14 x-github: githubCloudOnly: false @@ -82575,10 +83197,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *351 - - *352 + - *359 + - *360 responses: - '204': *112 + '204': *115 '422': *14 x-github: githubCloudOnly: false @@ -82599,8 +83221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *351 - - *352 + - *359 + - *360 - name: state description: Indicates the state of the projects to return. in: query @@ -82621,7 +83243,7 @@ paths: application/json: schema: type: array - items: *301 + items: *305 examples: default: value: @@ -82661,7 +83283,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *362 + '410': *370 '422': *7 x-github: githubCloudOnly: false @@ -82681,8 +83303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -82708,13 +83330,13 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: *361 + default: *369 '401': *25 '403': *29 '404': *6 - '410': *362 + '410': *370 '422': *7 x-github: githubCloudOnly: false @@ -82734,8 +83356,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -82743,7 +83365,7 @@ paths: application/json: schema: type: array - items: *303 + items: *307 examples: default: value: @@ -82774,8 +83396,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -82787,7 +83409,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *303 + items: *307 required: - properties examples: @@ -82837,8 +83459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *351 - - *352 + - *359 + - *360 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82898,9 +83520,9 @@ paths: application/json: schema: type: array - items: *582 + items: *590 examples: - default: *583 + default: *591 headers: Link: *39 '304': *37 @@ -82932,8 +83554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -82998,7 +83620,7 @@ paths: description: Response content: application/json: - schema: &587 + schema: &595 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83109,8 +83731,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *479 - required: *480 + properties: *487 + required: *488 nullable: true active_lock_reason: type: string @@ -83155,7 +83777,7 @@ paths: nullable: true requested_teams: type: array - items: *323 + items: *327 nullable: true head: type: object @@ -83194,14 +83816,14 @@ paths: _links: type: object properties: - comments: *481 - commits: *481 - statuses: *481 - html: *481 - issue: *481 - review_comments: *481 - review_comment: *481 - self: *481 + comments: *489 + commits: *489 + statuses: *489 + html: *489 + issue: *489 + review_comments: *489 + review_comment: *489 + self: *489 required: - comments - commits @@ -83211,8 +83833,8 @@ paths: - review_comments - review_comment - self - author_association: *134 - auto_merge: *584 + author_association: *137 + auto_merge: *592 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83304,7 +83926,7 @@ paths: - merged_by - review_comments examples: - default: &588 + default: &596 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83831,8 +84453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *351 - - *352 + - *359 + - *360 - name: sort in: query required: false @@ -83851,7 +84473,7 @@ paths: enum: - asc - desc - - *137 + - *140 - *17 - *19 responses: @@ -83861,9 +84483,9 @@ paths: application/json: schema: type: array - items: *585 + items: *593 examples: - default: &590 + default: &598 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83940,17 +84562,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: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '200': description: Response content: application/json: - schema: *585 + schema: *593 examples: - default: &586 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84025,9 +84647,9 @@ 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: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -84049,9 +84671,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *593 examples: - default: *586 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84067,9 +84689,9 @@ 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: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 responses: '204': description: Response @@ -84090,9 +84712,9 @@ 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: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 - 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 pull request review comment. @@ -84118,9 +84740,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 '404': *6 @@ -84141,9 +84763,9 @@ 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: - - *351 - - *352 - - *146 + - *359 + - *360 + - *149 requestBody: required: true content: @@ -84175,16 +84797,16 @@ paths: description: Reaction exists content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Reaction created content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -84206,10 +84828,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *359 + - *360 + - *149 - *351 - - *352 - - *146 - - *343 responses: '204': description: Response @@ -84252,9 +84874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *351 - - *352 - - &589 + - *359 + - *360 + - &597 name: pull_number description: The number that identifies the pull request. in: path @@ -84267,9 +84889,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *587 + schema: *595 examples: - default: *588 + default: *596 '304': *37 '404': *6 '406': @@ -84278,7 +84900,7 @@ paths: application/json: schema: *3 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84304,9 +84926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: false content: @@ -84348,9 +84970,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *595 examples: - default: *588 + default: *596 '422': *15 '403': *29 x-github: @@ -84372,9 +84994,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: true content: @@ -84434,21 +85056,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '401': *25 '403': *29 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84474,10 +85096,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *351 - - *352 - - *589 - - *157 + - *359 + - *360 + - *597 + - *160 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -84487,7 +85109,7 @@ paths: enum: - asc - desc - - *137 + - *140 - *17 - *19 responses: @@ -84497,9 +85119,9 @@ paths: application/json: schema: type: array - items: *585 + items: *593 examples: - default: *590 + default: *598 headers: Link: *39 x-github: @@ -84532,9 +85154,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: true content: @@ -84639,7 +85261,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *593 examples: example-for-a-multi-line-comment: value: @@ -84727,10 +85349,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *351 - - *352 - - *589 - - *146 + - *359 + - *360 + - *597 + - *149 requestBody: required: true content: @@ -84752,7 +85374,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *593 examples: default: value: @@ -84838,9 +85460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 - *17 - *19 responses: @@ -84850,9 +85472,9 @@ paths: application/json: schema: type: array - items: *475 + items: *483 examples: - default: *591 + default: *599 headers: Link: *39 x-github: @@ -84882,9 +85504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 - *17 - *19 responses: @@ -84894,7 +85516,7 @@ paths: application/json: schema: type: array - items: *490 + items: *498 examples: default: value: @@ -84913,7 +85535,7 @@ paths: Link: *39 '422': *15 '500': *97 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84932,9 +85554,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 responses: '204': description: Response if pull request has been merged @@ -84957,9 +85579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: false content: @@ -85070,9 +85692,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 responses: '200': description: Response @@ -85088,7 +85710,7 @@ paths: items: *4 teams: type: array - items: *270 + items: *274 required: - users - teams @@ -85147,9 +85769,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: false content: @@ -85186,7 +85808,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *590 examples: default: value: @@ -85722,9 +86344,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: true content: @@ -85758,7 +86380,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *590 examples: default: value: @@ -86263,9 +86885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 - *17 - *19 responses: @@ -86275,7 +86897,7 @@ paths: application/json: schema: type: array - items: &592 + items: &600 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86344,7 +86966,7 @@ paths: type: string body_text: type: string - author_association: *134 + author_association: *137 required: - id - node_id @@ -86426,9 +87048,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: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: false content: @@ -86514,9 +87136,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *600 examples: - default: &594 + default: &602 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86579,10 +87201,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: - - *351 - - *352 - - *589 - - &593 + - *359 + - *360 + - *597 + - &601 name: review_id description: The unique identifier of the review. in: path @@ -86594,9 +87216,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *600 examples: - default: &595 + default: &603 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86655,10 +87277,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: - - *351 - - *352 - - *589 - - *593 + - *359 + - *360 + - *597 + - *601 requestBody: required: true content: @@ -86681,7 +87303,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *600 examples: default: value: @@ -86743,18 +87365,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: - - *351 - - *352 - - *589 - - *593 + - *359 + - *360 + - *597 + - *601 responses: '200': description: Response content: application/json: - schema: *592 + schema: *600 examples: - default: *594 + default: *602 '422': *7 '404': *6 x-github: @@ -86781,10 +87403,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: - - *351 - - *352 - - *589 - - *593 + - *359 + - *360 + - *597 + - *601 - *17 - *19 responses: @@ -86863,13 +87485,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *134 + author_association: *137 _links: type: object properties: - self: *481 - html: *481 - pull_request: *481 + self: *489 + html: *489 + pull_request: *489 required: - self - html @@ -86878,7 +87500,7 @@ paths: type: string body_html: type: string - reactions: *135 + reactions: *138 side: description: The side of the first line of the range for a multi-line comment. @@ -87012,10 +87634,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: - - *351 - - *352 - - *589 - - *593 + - *359 + - *360 + - *597 + - *601 requestBody: required: true content: @@ -87043,7 +87665,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *600 examples: default: value: @@ -87106,10 +87728,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: - - *351 - - *352 - - *589 - - *593 + - *359 + - *360 + - *597 + - *601 requestBody: required: true content: @@ -87144,9 +87766,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *600 examples: - default: *595 + default: *603 '404': *6 '422': *7 '403': *29 @@ -87168,9 +87790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *351 - - *352 - - *589 + - *359 + - *360 + - *597 requestBody: required: false content: @@ -87233,8 +87855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *351 - - *352 + - *359 + - *360 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87247,9 +87869,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *604 examples: - default: &597 + default: &605 value: type: file encoding: base64 @@ -87291,8 +87913,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: - - *351 - - *352 + - *359 + - *360 - name: dir description: The alternate path to look for a README file in: path @@ -87312,9 +87934,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *604 examples: - default: *597 + default: *605 '404': *6 '422': *15 x-github: @@ -87336,8 +87958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -87347,7 +87969,7 @@ paths: application/json: schema: type: array - items: &598 + items: &606 title: Release description: A release. type: object @@ -87410,7 +88032,7 @@ paths: author: *4 assets: type: array - items: &599 + items: &607 title: Release Asset description: Data related to a release. type: object @@ -87481,7 +88103,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *135 + reactions: *138 required: - assets_url - upload_url @@ -87591,8 +88213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -87668,9 +88290,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *606 examples: - default: &602 + default: &610 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87773,9 +88395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *351 - - *352 - - &600 + - *359 + - *360 + - &608 name: asset_id description: The unique identifier of the asset. in: path @@ -87787,9 +88409,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *607 examples: - default: &601 + default: &609 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 @@ -87823,7 +88445,7 @@ paths: type: User site_admin: false '404': *6 - '302': *492 + '302': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87839,9 +88461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *351 - - *352 - - *600 + - *359 + - *360 + - *608 requestBody: required: false content: @@ -87869,9 +88491,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *607 examples: - default: *601 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87887,9 +88509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *351 - - *352 - - *600 + - *359 + - *360 + - *608 responses: '204': description: Response @@ -87913,8 +88535,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -87999,16 +88621,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *598 + schema: *606 examples: - default: *602 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88025,8 +88647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *351 - - *352 + - *359 + - *360 - name: tag description: tag parameter in: path @@ -88039,9 +88661,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *606 examples: - default: *602 + default: *610 '404': *6 x-github: githubCloudOnly: false @@ -88063,9 +88685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *351 - - *352 - - &603 + - *359 + - *360 + - &611 name: release_id description: The unique identifier of the release. in: path @@ -88079,9 +88701,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: *598 + schema: *606 examples: - default: *602 + default: *610 '401': description: Unauthorized x-github: @@ -88099,9 +88721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 requestBody: required: false content: @@ -88165,9 +88787,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *606 examples: - default: *602 + default: *610 '404': description: Not Found if the discussion category name is invalid content: @@ -88188,9 +88810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 responses: '204': description: Response @@ -88210,9 +88832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 - *17 - *19 responses: @@ -88222,7 +88844,7 @@ paths: application/json: schema: type: array - items: *599 + items: *607 examples: default: value: @@ -88303,9 +88925,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: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 - name: name in: query required: true @@ -88331,7 +88953,7 @@ paths: description: Response for successful upload content: application/json: - schema: *599 + schema: *607 examples: response-for-successful-upload: value: @@ -88385,9 +89007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 - 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. @@ -88411,9 +89033,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 '404': *6 @@ -88434,9 +89056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *351 - - *352 - - *603 + - *359 + - *360 + - *611 requestBody: required: true content: @@ -88466,16 +89088,16 @@ paths: description: Reaction exists content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '201': description: Reaction created content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 '422': *15 x-github: githubCloudOnly: false @@ -88497,10 +89119,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: + - *359 + - *360 + - *611 - *351 - - *352 - - *603 - - *343 responses: '204': description: Response @@ -88524,9 +89146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *351 - - *352 - - *410 + - *359 + - *360 + - *418 - *17 - *19 responses: @@ -88542,8 +89164,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *604 - - &606 + - *612 + - &614 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88562,54 +89184,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *605 - - *606 - - allOf: - - *607 - - *606 - - allOf: - - *608 - - *606 - - allOf: - - *609 - - *606 - - allOf: - - *610 - - *606 - - allOf: - - *611 - - *606 - - allOf: - - *612 - - *606 - allOf: - *613 - - *606 - - allOf: - *614 - - *606 - allOf: - *615 - - *606 + - *614 - allOf: - *616 - - *606 + - *614 - allOf: - *617 - - *606 + - *614 - allOf: - *618 - - *606 + - *614 - allOf: - *619 - - *606 + - *614 - allOf: - *620 - - *606 + - *614 - allOf: - *621 - - *606 + - *614 + - allOf: + - *622 + - *614 + - allOf: + - *623 + - *614 + - allOf: + - *624 + - *614 + - allOf: + - *625 + - *614 + - allOf: + - *626 + - *614 + - allOf: + - *627 + - *614 + - allOf: + - *628 + - *614 + - allOf: + - *629 + - *614 examples: default: value: @@ -88648,8 +89270,8 @@ paths: category: repos subcategory: rules parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 - name: includes_parents @@ -88660,7 +89282,7 @@ paths: schema: type: boolean default: true - - *622 + - *630 responses: '200': description: Response @@ -88668,7 +89290,7 @@ paths: application/json: schema: type: array - items: *122 + items: *125 examples: default: value: @@ -88715,8 +89337,8 @@ paths: category: repos subcategory: rules parameters: - - *351 - - *352 + - *359 + - *360 requestBody: description: Request body required: true @@ -88736,16 +89358,16 @@ paths: - tag - push default: branch - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *115 + items: *123 + conditions: *118 rules: type: array description: An array of rules within the ruleset. - items: *121 + items: *124 required: - name - enforcement @@ -88776,9 +89398,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: &631 + default: &639 value: id: 42 name: super cool ruleset @@ -88825,12 +89447,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *351 - - *352 - - *623 - - *311 - - *624 - - *625 + - *359 + - *360 + - *631 + - *315 + - *632 + - *633 - *17 - *19 responses: @@ -88838,9 +89460,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *634 examples: - default: *627 + default: *635 '404': *6 '500': *97 x-github: @@ -88861,17 +89483,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *351 - - *352 - - *628 + - *359 + - *360 + - *636 responses: '200': description: Response content: application/json: - schema: *629 + schema: *637 examples: - default: *630 + default: *638 '404': *6 '500': *97 x-github: @@ -88899,8 +89521,8 @@ paths: category: repos subcategory: rules parameters: - - *351 - - *352 + - *359 + - *360 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88920,9 +89542,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *631 + default: *639 '404': *6 '500': *97 put: @@ -88940,8 +89562,8 @@ paths: category: repos subcategory: rules parameters: - - *351 - - *352 + - *359 + - *360 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88966,16 +89588,16 @@ paths: - branch - tag - push - enforcement: *119 + enforcement: *122 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *120 - conditions: *115 + items: *123 + conditions: *118 rules: description: An array of rules within the ruleset. type: array - items: *121 + items: *124 examples: default: value: @@ -89003,9 +89625,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *125 examples: - default: *631 + default: *639 '404': *6 '500': *97 delete: @@ -89023,8 +89645,8 @@ paths: category: repos subcategory: rules parameters: - - *351 - - *352 + - *359 + - *360 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89052,20 +89674,20 @@ 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: - - *351 - - *352 - - *313 - - *314 - - *315 - - *316 - - *84 - - *19 - - *17 - - *632 - - *633 + - *359 + - *360 - *317 - *318 - *319 + - *320 + - *84 + - *19 + - *17 + - *640 + - *641 + - *321 + - *322 + - *323 responses: '200': description: Response @@ -89073,7 +89695,7 @@ paths: application/json: schema: type: array - items: &636 + items: &644 type: object properties: number: *98 @@ -89092,8 +89714,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *634 - resolution: *635 + state: *642 + resolution: *643 resolved_at: type: string format: date-time @@ -89284,7 +89906,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89306,15 +89928,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 responses: '200': description: Response content: application/json: - schema: *636 + schema: *644 examples: default: value: @@ -89345,7 +89967,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89366,9 +89988,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 requestBody: required: true content: @@ -89376,8 +89998,8 @@ paths: schema: type: object properties: - state: *634 - resolution: *635 + state: *642 + resolution: *643 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -89395,7 +90017,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *644 examples: default: value: @@ -89448,7 +90070,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89470,9 +90092,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: - - *351 - - *352 - - *444 + - *359 + - *360 + - *452 - *19 - *17 responses: @@ -89483,7 +90105,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &796 + items: &804 type: object properties: type: @@ -89820,7 +90442,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89842,8 +90464,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -89851,14 +90473,14 @@ paths: schema: type: object properties: - reason: &638 + reason: &646 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *637 + placeholder_id: *645 required: - reason - placeholder_id @@ -89875,7 +90497,7 @@ paths: schema: type: object properties: - reason: *638 + reason: *646 expire_at: type: string format: date-time @@ -89898,7 +90520,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *125 + '503': *128 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89918,13 +90540,13 @@ 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: - - *351 - - *352 + - *359 + - *360 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *125 + '503': *128 '200': description: Response content: @@ -89934,7 +90556,7 @@ paths: properties: incremental_scans: type: array - items: &639 + items: &647 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89960,15 +90582,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *639 + items: *647 backfill_scans: type: array - items: *639 + items: *647 custom_pattern_backfill_scans: type: array items: allOf: - - *639 + - *647 - type: object properties: pattern_name: @@ -90038,8 +90660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *351 - - *352 + - *359 + - *360 - *84 - name: sort description: The property to sort the results by. @@ -90083,9 +90705,9 @@ paths: application/json: schema: type: array - items: *640 + items: *648 examples: - default: *641 + default: *649 '400': *14 '404': *6 x-github: @@ -90108,8 +90730,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -90182,7 +90804,7 @@ paths: login: type: string description: The username of the user credited. - type: *322 + type: *326 required: - login - type @@ -90269,9 +90891,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *648 examples: - default: &643 + default: &651 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90504,8 +91126,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -90609,7 +91231,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *648 examples: default: value: @@ -90756,17 +91378,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: - - *351 - - *352 - - *642 + - *359 + - *360 + - *650 responses: '200': description: Response content: application/json: - schema: *640 + schema: *648 examples: - default: *643 + default: *651 '403': *29 '404': *6 x-github: @@ -90790,9 +91412,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: - - *351 - - *352 - - *642 + - *359 + - *360 + - *650 requestBody: required: true content: @@ -90865,7 +91487,7 @@ paths: login: type: string description: The username of the user credited. - type: *322 + type: *326 required: - login - type @@ -90951,17 +91573,17 @@ paths: description: Response content: application/json: - schema: *640 + schema: *648 examples: - default: *643 - add_credit: *643 + default: *651 + add_credit: *651 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *173 + schema: *176 examples: invalid_state_transition: value: @@ -90992,9 +91614,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: - - *351 - - *352 - - *642 + - *359 + - *360 + - *650 responses: '202': *93 '400': *14 @@ -91021,17 +91643,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: - - *351 - - *352 - - *642 + - *359 + - *360 + - *650 responses: '202': description: Response content: application/json: - schema: *364 + schema: *372 examples: - default: *366 + default: *374 '400': *14 '422': *15 '403': *29 @@ -91057,8 +91679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -91157,8 +91779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91167,7 +91789,7 @@ paths: application/json: schema: type: array - items: &644 + items: &652 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91180,7 +91802,7 @@ paths: - 1124 - -435 '202': *93 - '204': *112 + '204': *115 '422': description: Repository contains more than 10,000 commits x-github: @@ -91200,8 +91822,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -91250,7 +91872,7 @@ paths: total: 89 week: 1336280400 '202': *93 - '204': *112 + '204': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91277,8 +91899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -91352,7 +91974,7 @@ paths: d: 77 c: 10 '202': *93 - '204': *112 + '204': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91374,8 +91996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91529,8 +92151,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91540,7 +92162,7 @@ paths: application/json: schema: type: array - items: *644 + items: *652 examples: default: value: @@ -91553,7 +92175,7 @@ paths: - - 0 - 2 - 21 - '204': *112 + '204': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91573,8 +92195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *351 - - *352 + - *359 + - *360 - name: sha in: path required: true @@ -91628,7 +92250,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *653 examples: default: value: @@ -91682,8 +92304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -91695,7 +92317,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -91715,14 +92337,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &646 + schema: &654 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91790,8 +92412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: false content: @@ -91817,7 +92439,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *654 examples: default: value: @@ -91844,8 +92466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -91865,8 +92487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -91945,8 +92567,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: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -91954,7 +92576,7 @@ paths: application/json: schema: type: array - items: &647 + items: &655 title: Tag protection description: Tag protection type: object @@ -92006,8 +92628,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: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -92030,7 +92652,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *655 examples: default: value: @@ -92061,8 +92683,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: - - *351 - - *352 + - *359 + - *360 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92099,8 +92721,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *351 - - *352 + - *359 + - *360 - name: ref in: path required: true @@ -92136,8 +92758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *351 - - *352 + - *359 + - *360 - *17 - *19 responses: @@ -92147,9 +92769,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - default: *285 + default: *289 headers: Link: *39 '404': *6 @@ -92169,8 +92791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *351 - - *352 + - *359 + - *360 - *19 - *17 responses: @@ -92178,7 +92800,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &656 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92190,7 +92812,7 @@ paths: required: - names examples: - default: &649 + default: &657 value: names: - octocat @@ -92213,8 +92835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -92245,9 +92867,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *656 examples: - default: *649 + default: *657 '404': *6 '422': *7 x-github: @@ -92268,9 +92890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *351 - - *352 - - &650 + - *359 + - *360 + - &658 name: per description: The time frame to display results for. in: query @@ -92299,7 +92921,7 @@ paths: example: 128 clones: type: array - items: &651 + items: &659 title: Traffic type: object properties: @@ -92386,8 +93008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -92477,8 +93099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *351 - - *352 + - *359 + - *360 responses: '200': description: Response @@ -92538,9 +93160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *351 - - *352 - - *650 + - *359 + - *360 + - *658 responses: '200': description: Response @@ -92559,7 +93181,7 @@ paths: example: 3782 views: type: array - items: *651 + items: *659 required: - uniques - count @@ -92636,8 +93258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *351 - - *352 + - *359 + - *360 requestBody: required: true content: @@ -92673,7 +93295,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *193 examples: default: value: @@ -92911,8 +93533,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92935,8 +93557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -92958,8 +93580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -92985,8 +93607,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *351 - - *352 + - *359 + - *360 - name: ref in: path required: true @@ -93078,9 +93700,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *372 examples: - default: *366 + default: *374 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93121,7 +93743,7 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: default: value: @@ -93231,7 +93853,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &659 + - &667 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -93240,7 +93862,7 @@ paths: schema: type: string example: members - - &664 + - &672 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -93251,7 +93873,7 @@ paths: default: 1 format: int32 example: 1 - - &665 + - &673 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -93293,7 +93915,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &653 + items: &661 allOf: - type: object required: @@ -93368,7 +93990,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: &666 + meta: &674 type: object description: The metadata associated with the creation/updates to the user. @@ -93428,31 +94050,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &654 + '400': &662 description: Bad request content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 - '401': &655 + schema: *660 + '401': &663 description: Authorization failure - '403': &656 + '403': &664 description: Permission denied - '429': &657 + '429': &665 description: Too many requests content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 - '500': &658 + schema: *660 + '500': &666 description: Internal server error content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 + schema: *660 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93476,7 +94098,7 @@ paths: required: true content: application/json: - schema: &662 + schema: &670 type: object required: - schemas @@ -93532,9 +94154,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *653 + schema: *661 examples: - group: &660 + group: &668 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -93553,13 +94175,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': *654 - '401': *655 - '403': *656 - '409': &663 + '400': *662 + '401': *663 + '403': *664 + '409': &671 description: Duplicate record detected - '429': *657 - '500': *658 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93576,7 +94198,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: - - &661 + - &669 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -93584,22 +94206,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *659 + - *667 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *653 + schema: *661 examples: - default: *660 - '400': *654 - '401': *655 - '403': *656 + default: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *657 - '500': *658 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93618,13 +94240,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: - - *661 + - *669 - *40 requestBody: required: true content: application/json: - schema: *662 + schema: *670 examples: group: summary: Group @@ -93650,17 +94272,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *653 + schema: *661 examples: - group: *660 - groupWithMembers: *660 - '400': *654 - '401': *655 - '403': *656 + group: *668 + groupWithMembers: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *663 - '429': *657 - '500': *658 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93684,13 +94306,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: - - *661 + - *669 - *40 requestBody: required: true content: application/json: - schema: &673 + schema: &681 type: object required: - Operations @@ -93750,17 +94372,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *653 + schema: *661 examples: - updateGroup: *660 - addMembers: *660 - '400': *654 - '401': *655 - '403': *656 + updateGroup: *668 + addMembers: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *663 - '429': *657 - '500': *658 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93776,17 +94398,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: - - *661 + - *669 - *40 responses: '204': description: Group was deleted, no content - '400': *654 - '401': *655 - '403': *656 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *657 - '500': *658 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -93820,8 +94442,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *664 - - *665 + - *672 + - *673 - *40 responses: '200': @@ -93854,7 +94476,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &668 + items: &676 allOf: - type: object required: @@ -93933,7 +94555,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &667 + roles: &675 type: array description: The roles assigned to the user. items: @@ -93989,7 +94611,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *666 + meta: *674 startIndex: type: integer description: A starting index for the returned page @@ -94026,11 +94648,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *654 - '401': *655 - '403': *656 - '429': *657 - '500': *658 + '400': *662 + '401': *663 + '403': *664 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94054,7 +94676,7 @@ paths: required: true content: application/json: - schema: &671 + schema: &679 type: object required: - schemas @@ -94136,9 +94758,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *667 + roles: *675 examples: - user: &672 + user: &680 summary: User value: schemas: @@ -94185,9 +94807,9 @@ paths: description: User has been created content: application/scim+json: - schema: *668 + schema: *676 examples: - user: &669 + user: &677 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -94213,13 +94835,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: *669 - '400': *654 - '401': *655 - '403': *656 - '409': *663 - '429': *657 - '500': *658 + enterpriseOwner: *677 + '400': *662 + '401': *663 + '403': *664 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94236,7 +94858,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: - - &670 + - &678 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -94249,15 +94871,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *668 + schema: *676 examples: - default: *669 - '400': *654 - '401': *655 - '403': *656 + default: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *657 - '500': *658 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94279,30 +94901,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: - - *670 + - *678 - *40 requestBody: required: true content: application/json: - schema: *671 + schema: *679 examples: - user: *672 + user: *680 responses: '200': description: User was updated content: application/scim+json: - schema: *668 + schema: *676 examples: - user: *669 - '400': *654 - '401': *655 - '403': *656 + user: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *663 - '429': *657 - '500': *658 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94337,13 +94959,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: - - *670 + - *678 - *40 requestBody: required: true content: application/json: - schema: *673 + schema: *681 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -94383,18 +95005,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *668 - examples: - userMultiValuedProperties: *669 - userSingleValuedProperties: *669 - disableUser: *669 - '400': *654 - '401': *655 - '403': *656 + schema: *676 + examples: + userMultiValuedProperties: *677 + userSingleValuedProperties: *677 + disableUser: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *663 - '429': *657 - '500': *658 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94414,17 +95036,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: - - *670 + - *678 - *40 responses: '204': description: User was deleted, no content - '400': *654 - '401': *655 - '403': *656 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *657 - '500': *658 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -94457,7 +95079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *170 + - *173 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -94511,7 +95133,7 @@ paths: example: 1 Resources: type: array - items: &674 + items: &682 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -94742,22 +95364,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': &675 + '404': &683 description: Resource not found content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 - '403': &676 + schema: *660 + '403': &684 description: Forbidden content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 - '400': *654 - '429': *657 + schema: *660 + '400': *662 + '429': *665 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -94777,15 +95399,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *170 + - *173 responses: '201': description: Response content: application/scim+json: - schema: *674 + schema: *682 examples: - default: &677 + default: &685 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -94808,17 +95430,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': *675 - '403': *676 - '500': *658 + '404': *683 + '403': *684 + '500': *666 '409': description: Conflict content: application/json: - schema: *652 + schema: *660 application/scim+json: - schema: *652 - '400': *654 + schema: *660 + '400': *662 requestBody: required: true content: @@ -94910,18 +95532,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *170 - - *670 + - *173 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *674 + schema: *682 examples: - default: *677 - '404': *675 - '403': *676 + default: *685 + '404': *683 + '403': *684 '304': *37 x-github: githubCloudOnly: true @@ -94944,19 +95566,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *170 - - *670 + - *173 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *674 + schema: *682 examples: - default: *677 + default: *685 '304': *37 - '404': *675 - '403': *676 + '404': *683 + '403': *684 requestBody: required: true content: @@ -95064,20 +95686,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *170 - - *670 + - *173 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *674 + schema: *682 examples: - default: *677 + default: *685 '304': *37 - '404': *675 - '403': *676 - '400': *654 + '404': *683 + '403': *684 + '400': *662 '429': description: Response content: @@ -95167,13 +95789,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *170 - - *670 + - *173 + - *678 responses: '204': description: Response - '404': *675 - '403': *676 + '404': *683 + '403': *684 '304': *37 x-github: githubCloudOnly: true @@ -95288,7 +95910,7 @@ paths: html_url: type: string format: uri - repository: *190 + repository: *193 score: type: number file_size: @@ -95306,7 +95928,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &678 + text_matches: &686 title: Search Result Text Matches type: array items: @@ -95420,7 +96042,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *125 + '503': *128 '422': *15 '403': *29 x-github: @@ -95469,7 +96091,7 @@ paths: enum: - author-date - committer-date - - &679 + - &687 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 @@ -95540,7 +96162,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *408 + properties: *416 nullable: true comment_count: type: integer @@ -95560,7 +96182,7 @@ paths: url: type: string format: uri - verification: *527 + verification: *535 required: - author - committer @@ -95579,7 +96201,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *408 + properties: *416 nullable: true parents: type: array @@ -95592,12 +96214,12 @@ paths: type: string sha: type: string - repository: *190 + repository: *193 score: type: number node_id: type: string - text_matches: *678 + text_matches: *686 required: - sha - node_id @@ -95790,7 +96412,7 @@ paths: - interactions - created - updated - - *679 + - *687 - *17 - *19 responses: @@ -95909,8 +96531,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *479 - required: *480 + properties: *487 + required: *488 nullable: true comments: type: integer @@ -95924,7 +96546,7 @@ paths: type: string format: date-time nullable: true - text_matches: *678 + text_matches: *686 pull_request: type: object properties: @@ -95957,7 +96579,7 @@ paths: type: string score: type: number - author_association: *134 + author_association: *137 draft: type: boolean repository: *63 @@ -95977,9 +96599,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 - reactions: *135 + properties: *135 + required: *136 + reactions: *138 required: - assignee - closed_at @@ -96095,7 +96717,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *125 + '503': *128 '422': *15 '304': *37 '403': *29 @@ -96148,7 +96770,7 @@ paths: enum: - created - updated - - *679 + - *687 - *17 - *19 responses: @@ -96192,7 +96814,7 @@ paths: nullable: true score: type: number - text_matches: *678 + text_matches: *686 required: - id - node_id @@ -96278,7 +96900,7 @@ paths: - forks - help-wanted-issues - updated - - *679 + - *687 - *17 - *19 responses: @@ -96497,8 +97119,8 @@ paths: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true permissions: type: object @@ -96517,7 +97139,7 @@ paths: - admin - pull - push - text_matches: *678 + text_matches: *686 temp_clone_token: type: string allow_merge_commit: @@ -96719,7 +97341,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *125 + '503': *128 '422': *15 '304': *37 x-github: @@ -96818,7 +97440,7 @@ paths: type: string format: uri nullable: true - text_matches: *678 + text_matches: *686 related: type: array nullable: true @@ -97011,7 +97633,7 @@ paths: - followers - repositories - joined - - *679 + - *687 - *17 - *19 responses: @@ -97115,7 +97737,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *678 + text_matches: *686 blog: type: string nullable: true @@ -97174,7 +97796,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *125 + '503': *128 '422': *15 x-github: githubCloudOnly: false @@ -97194,7 +97816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &680 + - &688 name: team_id description: The unique identifier of the team. in: path @@ -97206,9 +97828,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '404': *6 x-github: githubCloudOnly: false @@ -97235,7 +97857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *680 + - *688 requestBody: required: true content: @@ -97298,16 +97920,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '201': description: Response content: application/json: - schema: *332 + schema: *340 examples: - default: *333 + default: *341 '404': *6 '422': *15 '403': *29 @@ -97335,7 +97957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *680 + - *688 responses: '204': description: Response @@ -97366,7 +97988,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *680 + - *688 - *84 - *17 - *19 @@ -97377,9 +97999,9 @@ paths: application/json: schema: type: array - items: *334 + items: *342 examples: - default: *681 + default: *689 headers: Link: *39 x-github: @@ -97408,7 +98030,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *680 + - *688 requestBody: required: true content: @@ -97442,9 +98064,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: *335 + default: *343 x-github: triggersNotification: true githubCloudOnly: false @@ -97471,16 +98093,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *680 - - *336 + - *688 + - *344 responses: '200': description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: *335 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97505,8 +98127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *680 - - *336 + - *688 + - *344 requestBody: required: false content: @@ -97529,9 +98151,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *342 examples: - default: *682 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97556,8 +98178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *680 - - *336 + - *688 + - *344 responses: '204': description: Response @@ -97586,8 +98208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *680 - - *336 + - *688 + - *344 - *84 - *17 - *19 @@ -97598,9 +98220,9 @@ paths: application/json: schema: type: array - items: *337 + items: *345 examples: - default: *683 + default: *691 headers: Link: *39 x-github: @@ -97629,8 +98251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *680 - - *336 + - *688 + - *344 requestBody: required: true content: @@ -97652,9 +98274,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: *338 + default: *346 x-github: triggersNotification: true githubCloudOnly: false @@ -97681,17 +98303,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *680 - - *336 - - *339 + - *688 + - *344 + - *347 responses: '200': description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: *338 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97716,9 +98338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *680 - - *336 - - *339 + - *688 + - *344 + - *347 requestBody: required: true content: @@ -97740,9 +98362,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *345 examples: - default: *684 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97767,9 +98389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *680 - - *336 - - *339 + - *688 + - *344 + - *347 responses: '204': description: Response @@ -97798,9 +98420,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: - - *680 - - *336 - - *339 + - *688 + - *344 + - *347 - 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. @@ -97826,9 +98448,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 x-github: @@ -97857,9 +98479,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: - - *680 - - *336 - - *339 + - *688 + - *344 + - *347 requestBody: required: true content: @@ -97891,9 +98513,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97919,8 +98541,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: - - *680 - - *336 + - *688 + - *344 - 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. @@ -97946,9 +98568,9 @@ paths: application/json: schema: type: array - items: *340 + items: *348 examples: - default: *342 + default: *350 headers: Link: *39 x-github: @@ -97977,8 +98599,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: - - *680 - - *336 + - *688 + - *344 requestBody: required: true content: @@ -98010,9 +98632,9 @@ paths: description: Response content: application/json: - schema: *340 + schema: *348 examples: - default: *341 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98036,7 +98658,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *680 + - *688 - *17 - *19 responses: @@ -98046,9 +98668,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *268 + default: *272 headers: Link: *39 x-github: @@ -98074,7 +98696,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *680 + - *688 - name: role description: Filters members returned by their role in the team. in: query @@ -98097,7 +98719,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '404': *6 @@ -98125,8 +98747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *680 - - *212 + - *688 + - *215 responses: '204': description: if user is a member @@ -98162,8 +98784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *680 - - *212 + - *688 + - *215 responses: '204': description: Response @@ -98202,8 +98824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *680 - - *212 + - *688 + - *215 responses: '204': description: Response @@ -98239,16 +98861,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: - - *680 - - *212 + - *688 + - *215 responses: '200': description: Response content: application/json: - schema: *348 + schema: *356 examples: - response-if-user-is-a-team-maintainer: *685 + response-if-user-is-a-team-maintainer: *693 '404': *6 x-github: githubCloudOnly: false @@ -98281,8 +98903,8 @@ 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: - - *680 - - *212 + - *688 + - *215 requestBody: required: false content: @@ -98307,9 +98929,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *356 examples: - response-if-users-membership-with-team-is-now-pending: *686 + response-if-users-membership-with-team-is-now-pending: *694 '403': description: Forbidden if team synchronization is set up '422': @@ -98343,8 +98965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *680 - - *212 + - *688 + - *215 responses: '204': description: Response @@ -98373,7 +98995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *680 + - *688 - *17 - *19 responses: @@ -98383,9 +99005,9 @@ paths: application/json: schema: type: array - items: *349 + items: *357 examples: - default: *687 + default: *695 headers: Link: *39 '404': *6 @@ -98412,16 +99034,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *680 - - *350 + - *688 + - *358 responses: '200': description: Response content: application/json: - schema: *349 + schema: *357 examples: - default: *688 + default: *696 '404': description: Not Found if project is not managed by this team x-github: @@ -98446,8 +99068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *680 - - *350 + - *688 + - *358 requestBody: required: false content: @@ -98515,8 +99137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *680 - - *350 + - *688 + - *358 responses: '204': description: Response @@ -98543,7 +99165,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *680 + - *688 - *17 - *19 responses: @@ -98553,9 +99175,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 '404': *6 @@ -98585,15 +99207,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: - - *680 - - *351 - - *352 + - *688 + - *359 + - *360 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *689 + schema: *697 examples: alternative-response-with-extra-repository-information: value: @@ -98744,9 +99366,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: - - *680 - - *351 - - *352 + - *688 + - *359 + - *360 requestBody: required: false content: @@ -98796,9 +99418,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: - - *680 - - *351 - - *352 + - *688 + - *359 + - *360 responses: '204': description: Response @@ -98827,15 +99449,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: - - *680 + - *688 responses: '200': description: Response content: application/json: - schema: *353 + schema: *361 examples: - default: *354 + default: *362 '403': *29 '404': *6 x-github: @@ -98862,7 +99484,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: - - *680 + - *688 requestBody: required: true content: @@ -98919,7 +99541,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *361 examples: default: value: @@ -98950,7 +99572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *680 + - *688 - *17 - *19 responses: @@ -98960,9 +99582,9 @@ paths: application/json: schema: type: array - items: *270 + items: *274 examples: - response-if-child-teams-exist: *690 + response-if-child-teams-exist: *698 headers: Link: *39 '404': *6 @@ -98995,7 +99617,7 @@ paths: application/json: schema: oneOf: - - &692 + - &700 title: Private User description: Private User type: object @@ -99198,7 +99820,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *691 + - *699 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99351,7 +99973,7 @@ paths: description: Response content: application/json: - schema: *692 + schema: *700 examples: default: value: @@ -99430,7 +100052,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 '304': *37 '404': *6 '403': *29 @@ -99453,7 +100075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *212 + - *215 responses: '204': description: If the user is blocked @@ -99481,7 +100103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *212 + - *215 responses: '204': description: Response @@ -99505,7 +100127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *212 + - *215 responses: '204': description: Response @@ -99554,9 +100176,9 @@ paths: type: integer codespaces: type: array - items: *274 + items: *278 examples: - default: *275 + default: *279 '304': *37 '500': *97 '401': *25 @@ -99695,21 +100317,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '401': *25 '403': *29 '404': *6 - '503': *125 + '503': *128 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99749,7 +100371,7 @@ paths: type: integer secrets: type: array - items: &693 + items: &701 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99789,7 +100411,7 @@ paths: - visibility - selected_repositories_url examples: - default: *467 + default: *475 headers: Link: *39 x-github: @@ -99859,13 +100481,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *200 + - *203 responses: '200': description: Response content: application/json: - schema: *693 + schema: *701 examples: default: value: @@ -99895,7 +100517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *200 + - *203 requestBody: required: true content: @@ -99940,7 +100562,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -99968,7 +100590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *200 + - *203 responses: '204': description: Response @@ -99993,7 +100615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *200 + - *203 responses: '200': description: Response @@ -100009,9 +100631,9 @@ paths: type: integer repositories: type: array - items: *190 + items: *193 examples: - default: *694 + default: *702 '401': *25 '403': *29 '404': *6 @@ -100036,7 +100658,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *200 + - *203 requestBody: required: true content: @@ -100090,7 +100712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *200 + - *203 - name: repository_id in: path required: true @@ -100123,7 +100745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *200 + - *203 - name: repository_id in: path required: true @@ -100155,15 +100777,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: - - *276 + - *280 responses: '200': description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '304': *37 '500': *97 '401': *25 @@ -100189,7 +100811,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: - - *276 + - *280 requestBody: required: false content: @@ -100219,9 +100841,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '401': *25 '403': *29 '404': *6 @@ -100243,7 +100865,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: - - *276 + - *280 responses: '202': *93 '304': *37 @@ -100272,13 +100894,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: - - *276 + - *280 responses: '202': description: Response content: application/json: - schema: &695 + schema: &703 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100319,7 +100941,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &696 + default: &704 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100351,7 +100973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *276 + - *280 - name: export_id in: path required: true @@ -100364,9 +100986,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *703 examples: - default: *696 + default: *704 '404': *6 x-github: githubCloudOnly: false @@ -100387,7 +101009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *276 + - *280 responses: '200': description: Response @@ -100403,9 +101025,9 @@ paths: type: integer machines: type: array - items: *697 + items: *705 examples: - default: *698 + default: *706 '304': *37 '500': *97 '401': *25 @@ -100434,7 +101056,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: - - *276 + - *280 requestBody: required: true content: @@ -100484,13 +101106,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *364 + repository: *372 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *465 - required: *466 + properties: *473 + required: *474 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -101264,15 +101886,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: - - *276 + - *280 responses: '200': description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '304': *37 '500': *97 '400': *14 @@ -101304,15 +101926,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: - - *276 + - *280 responses: '200': description: Response content: application/json: - schema: *274 + schema: *278 examples: - default: *464 + default: *472 '500': *97 '401': *25 '403': *29 @@ -101342,9 +101964,9 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: &711 + default: &719 value: - id: 197 name: hello_docker @@ -101445,7 +102067,7 @@ paths: application/json: schema: type: array - items: &699 + items: &707 title: Email description: Email type: object @@ -101510,9 +102132,9 @@ paths: application/json: schema: type: array - items: *699 + items: *707 examples: - default: &713 + default: &721 value: - email: octocat@github.com verified: true @@ -101587,7 +102209,7 @@ paths: application/json: schema: type: array - items: *699 + items: *707 examples: default: value: @@ -101697,7 +102319,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '304': *37 @@ -101730,7 +102352,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 '304': *37 @@ -101752,7 +102374,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *212 + - *215 responses: '204': description: if the person is followed by the authenticated user @@ -101782,7 +102404,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *212 + - *215 responses: '204': description: Response @@ -101807,7 +102429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *212 + - *215 responses: '204': description: Response @@ -101843,7 +102465,7 @@ paths: application/json: schema: type: array - items: &700 + items: &708 title: GPG Key description: A unique encryption key type: object @@ -101974,7 +102596,7 @@ paths: - subkeys - revoked examples: - default: &724 + default: &732 value: - id: 3 name: Octocat's GPG Key @@ -102059,9 +102681,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *708 examples: - default: &701 + default: &709 value: id: 3 name: Octocat's GPG Key @@ -102118,7 +102740,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: - - &702 + - &710 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102130,9 +102752,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *708 examples: - default: *701 + default: *709 '404': *6 '304': *37 '403': *29 @@ -102155,7 +102777,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: - - *702 + - *710 responses: '204': description: Response @@ -102346,7 +102968,7 @@ paths: type: array items: *63 examples: - default: *703 + default: *711 headers: Link: *39 '404': *6 @@ -102371,7 +102993,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *185 + - *188 responses: '204': description: Response @@ -102397,7 +103019,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *185 + - *188 responses: '204': description: Response @@ -102431,12 +103053,12 @@ paths: application/json: schema: anyOf: - - *265 + - *269 - type: object properties: {} additionalProperties: false examples: - default: *266 + default: *270 '204': description: Response when there are no restrictions x-github: @@ -102460,7 +103082,7 @@ paths: required: true content: application/json: - schema: *538 + schema: *546 examples: default: value: @@ -102471,7 +103093,7 @@ paths: description: Response content: application/json: - schema: *265 + schema: *269 examples: default: value: @@ -102552,7 +103174,7 @@ paths: - closed - all default: open - - *271 + - *275 - name: sort description: What to sort results by. in: query @@ -102565,7 +103187,7 @@ paths: - comments default: created - *84 - - *137 + - *140 - *17 - *19 responses: @@ -102575,9 +103197,9 @@ paths: application/json: schema: type: array - items: *147 + items: *150 examples: - default: *272 + default: *276 headers: Link: *39 '404': *6 @@ -102610,7 +103232,7 @@ paths: application/json: schema: type: array - items: &704 + items: &712 title: Key description: Key type: object @@ -102707,9 +103329,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *712 examples: - default: &705 + default: &713 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102742,15 +103364,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: - - *567 + - *575 responses: '200': description: Response content: application/json: - schema: *704 + schema: *712 examples: - default: *705 + default: *713 '404': *6 '304': *37 '403': *29 @@ -102773,7 +103395,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: - - *567 + - *575 responses: '204': description: Response @@ -102806,7 +103428,7 @@ paths: application/json: schema: type: array - items: &706 + items: &714 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102863,7 +103485,7 @@ paths: - id - type - login - plan: *151 + plan: *154 required: - billing_cycle - next_billing_date @@ -102874,7 +103496,7 @@ paths: - account - plan examples: - default: &707 + default: &715 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102936,9 +103558,9 @@ paths: application/json: schema: type: array - items: *706 + items: *714 examples: - default: *707 + default: *715 headers: Link: *39 '304': *37 @@ -102978,7 +103600,7 @@ paths: application/json: schema: type: array - items: *277 + items: *281 examples: default: value: @@ -103080,13 +103702,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *170 + - *173 responses: '200': description: Response content: application/json: - schema: *277 + schema: *281 examples: default: value: @@ -103144,7 +103766,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *170 + - *173 requestBody: required: true content: @@ -103169,7 +103791,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *281 examples: default: value: @@ -103237,7 +103859,7 @@ paths: application/json: schema: type: array - items: *279 + items: *283 examples: default: value: @@ -103490,7 +104112,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: default: value: @@ -103670,7 +104292,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *280 + - *284 - name: exclude in: query required: false @@ -103683,7 +104305,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: default: value: @@ -103877,7 +104499,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *280 + - *284 responses: '302': description: Response @@ -103903,7 +104525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *280 + - *284 responses: '204': description: Response @@ -103932,8 +104554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *280 - - *708 + - *284 + - *716 responses: '204': description: Response @@ -103957,7 +104579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *280 + - *284 - *17 - *19 responses: @@ -103967,9 +104589,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 '404': *6 @@ -104006,7 +104628,7 @@ paths: type: array items: *58 examples: - default: *709 + default: *717 headers: Link: *39 '304': *37 @@ -104048,7 +104670,7 @@ paths: - docker - nuget - container - - *710 + - *718 - *19 - *17 responses: @@ -104058,10 +104680,10 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: *711 - '400': *712 + default: *719 + '400': *720 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104081,16 +104703,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: - - *288 - - *289 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *286 + schema: *290 examples: - default: &725 + default: &733 value: id: 40201 name: octo-name @@ -104203,8 +104825,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: - - *288 - - *289 + - *292 + - *293 responses: '204': description: Response @@ -104234,8 +104856,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: - - *288 - - *289 + - *292 + - *293 - name: token description: package token schema: @@ -104267,8 +104889,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: - - *288 - - *289 + - *292 + - *293 - *19 - *17 - name: state @@ -104288,7 +104910,7 @@ paths: application/json: schema: type: array - items: *290 + items: *294 examples: default: value: @@ -104337,15 +104959,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: - - *288 - - *289 - - *291 + - *292 + - *293 + - *295 responses: '200': description: Response content: application/json: - schema: *290 + schema: *294 examples: default: value: @@ -104381,9 +105003,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: - - *288 - - *289 - - *291 + - *292 + - *293 + - *295 responses: '204': description: Response @@ -104413,9 +105035,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: - - *288 - - *289 - - *291 + - *292 + - *293 + - *295 responses: '204': description: Response @@ -104471,7 +105093,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: default: value: @@ -104540,9 +105162,9 @@ paths: application/json: schema: type: array - items: *699 + items: *707 examples: - default: *713 + default: *721 headers: Link: *39 '304': *37 @@ -104655,7 +105277,7 @@ paths: type: array items: *63 examples: - default: &720 + default: &728 summary: Default response value: - id: 1296269 @@ -104957,9 +105579,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *372 examples: - default: *366 + default: *374 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104997,9 +105619,9 @@ paths: application/json: schema: type: array - items: *540 + items: *548 examples: - default: *714 + default: *722 headers: Link: *39 '304': *37 @@ -105022,7 +105644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *269 + - *273 responses: '204': description: Response @@ -105045,7 +105667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *269 + - *273 responses: '204': description: Response @@ -105078,7 +105700,7 @@ paths: application/json: schema: type: array - items: &715 + items: &723 title: Social account description: Social media account type: object @@ -105093,7 +105715,7 @@ paths: - provider - url examples: - default: &716 + default: &724 value: - provider: twitter url: https://twitter.com/github @@ -105155,9 +105777,9 @@ paths: application/json: schema: type: array - items: *715 + items: *723 examples: - default: *716 + default: *724 '422': *15 '304': *37 '404': *6 @@ -105244,7 +105866,7 @@ paths: application/json: schema: type: array - items: &717 + items: &725 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105264,7 +105886,7 @@ paths: - title - created_at examples: - default: &726 + default: &734 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105330,9 +105952,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *725 examples: - default: &718 + default: &726 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105363,7 +105985,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: - - &719 + - &727 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105375,9 +105997,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *725 examples: - default: *718 + default: *726 '404': *6 '304': *37 '403': *29 @@ -105400,7 +106022,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: - - *719 + - *727 responses: '204': description: Response @@ -105429,7 +106051,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: - - &727 + - &735 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 @@ -105454,11 +106076,11 @@ paths: type: array items: *63 examples: - default-response: *720 + default-response: *728 application/vnd.github.v3.star+json: schema: type: array - items: &728 + items: &736 title: Starred Repository description: Starred Repository type: object @@ -105614,8 +106236,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response if this repository is starred by you @@ -105643,8 +106265,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -105668,8 +106290,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: - - *351 - - *352 + - *359 + - *360 responses: '204': description: Response @@ -105702,9 +106324,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 '304': *37 @@ -105741,7 +106363,7 @@ paths: application/json: schema: type: array - items: *332 + items: *340 examples: default: value: @@ -105819,7 +106441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *153 + - *156 responses: '200': description: Response @@ -105827,10 +106449,10 @@ paths: application/json: schema: oneOf: - - *692 - - *691 + - *700 + - *699 examples: - default-response: &722 + default-response: &730 summary: Default response value: login: octocat @@ -105865,7 +106487,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &723 + response-with-git-hub-plan-information: &731 summary: Response with GitHub plan information value: login: octocat @@ -105925,7 +106547,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *721 + - *729 - *17 responses: '200': @@ -105936,7 +106558,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: example: ; rel="next" @@ -105966,7 +106588,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *212 + - *215 responses: '200': description: Response @@ -105974,11 +106596,11 @@ paths: application/json: schema: oneOf: - - *692 - - *691 + - *700 + - *699 examples: - default-response: *722 - response-with-git-hub-plan-information: *723 + default-response: *730 + response-with-git-hub-plan-information: *731 '404': *6 x-github: githubCloudOnly: false @@ -106004,7 +106626,7 @@ paths: - *17 - *82 - *83 - - *212 + - *215 - name: subject_digest description: Subject Digest in: path @@ -106106,7 +106728,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *204 examples: default: value: @@ -106132,7 +106754,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *212 + - *215 responses: '200': description: Response @@ -106140,9 +106762,9 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: *711 + default: *719 '403': *29 '401': *25 x-github: @@ -106165,7 +106787,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106175,7 +106797,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -106246,8 +106868,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *212 - - *170 + - *215 + - *173 - *17 - *19 responses: @@ -106257,7 +106879,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -106336,7 +106958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106346,7 +106968,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -106413,7 +107035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106425,7 +107047,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -106444,7 +107066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106456,7 +107078,7 @@ paths: type: array items: *4 examples: - default: *273 + default: *277 headers: Link: *39 x-github: @@ -106475,7 +107097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *212 + - *215 - name: target_user in: path required: true @@ -106502,8 +107124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *212 - - *137 + - *215 + - *140 - *17 - *19 responses: @@ -106513,9 +107135,9 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 + default: *142 headers: Link: *39 '422': *15 @@ -106536,7 +107158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106546,9 +107168,9 @@ paths: application/json: schema: type: array - items: *700 + items: *708 examples: - default: *724 + default: *732 headers: Link: *39 x-github: @@ -106572,7 +107194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *212 + - *215 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106644,7 +107266,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *212 + - *215 responses: '200': description: Response @@ -106652,7 +107274,7 @@ paths: application/json: schema: *22 examples: - default: *537 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106670,7 +107292,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106718,7 +107340,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -106730,7 +107352,7 @@ paths: type: array items: *58 examples: - default: *709 + default: *717 headers: Link: *39 x-github: @@ -106769,8 +107391,8 @@ paths: - docker - nuget - container - - *710 - - *212 + - *718 + - *215 - *19 - *17 responses: @@ -106780,12 +107402,12 @@ paths: application/json: schema: type: array - items: *286 + items: *290 examples: - default: *711 + default: *719 '403': *29 '401': *25 - '400': *712 + '400': *720 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106805,17 +107427,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *288 - - *289 - - *212 + - *292 + - *293 + - *215 responses: '200': description: Response content: application/json: - schema: *286 + schema: *290 examples: - default: *725 + default: *733 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106836,9 +107458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *288 - - *289 - - *212 + - *292 + - *293 + - *215 responses: '204': description: Response @@ -106870,9 +107492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *288 - - *289 - - *212 + - *292 + - *293 + - *215 - name: token description: package token schema: @@ -106904,9 +107526,9 @@ 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: - - *288 - - *289 - - *212 + - *292 + - *293 + - *215 responses: '200': description: Response @@ -106914,7 +107536,7 @@ paths: application/json: schema: type: array - items: *290 + items: *294 examples: default: value: @@ -106972,16 +107594,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: - - *288 - - *289 - - *291 - - *212 + - *292 + - *293 + - *295 + - *215 responses: '200': description: Response content: application/json: - schema: *290 + schema: *294 examples: default: value: @@ -107016,10 +107638,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *288 - - *289 - - *212 - - *291 + - *292 + - *293 + - *215 + - *295 responses: '204': description: Response @@ -107051,10 +107673,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *288 - - *289 - - *212 - - *291 + - *292 + - *293 + - *215 + - *295 responses: '204': description: Response @@ -107077,7 +107699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *212 + - *215 - name: state description: Indicates the state of the projects to return. in: query @@ -107098,7 +107720,7 @@ paths: application/json: schema: type: array - items: *301 + items: *305 examples: default: value: @@ -107157,7 +107779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -107167,7 +107789,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -107246,7 +107868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -107256,7 +107878,7 @@ paths: application/json: schema: type: array - items: *159 + items: *162 examples: default: value: @@ -107333,7 +107955,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *212 + - *215 - name: type description: Limit results to repositories of the specified type. in: query @@ -107376,9 +107998,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -107402,15 +108024,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *212 + - *215 responses: '200': description: Response content: application/json: - schema: *324 + schema: *328 examples: - default: *325 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107432,15 +108054,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *212 + - *215 responses: '200': description: Response content: application/json: - schema: *328 + schema: *332 examples: - default: *329 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107462,15 +108084,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *212 + - *215 responses: '200': description: Response content: application/json: - schema: *330 + schema: *334 examples: - default: *331 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107488,7 +108110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -107498,9 +108120,9 @@ paths: application/json: schema: type: array - items: *715 + items: *723 examples: - default: *716 + default: *724 headers: Link: *39 x-github: @@ -107520,7 +108142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -107530,9 +108152,9 @@ paths: application/json: schema: type: array - items: *717 + items: *725 examples: - default: *726 + default: *734 headers: Link: *39 x-github: @@ -107556,8 +108178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *212 - - *727 + - *215 + - *735 - *84 - *17 - *19 @@ -107569,11 +108191,11 @@ paths: schema: anyOf: - type: array - items: *728 + items: *736 - type: array items: *63 examples: - default-response: *720 + default-response: *728 headers: Link: *39 x-github: @@ -107592,7 +108214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *212 + - *215 - *17 - *19 responses: @@ -107602,9 +108224,9 @@ paths: application/json: schema: type: array - items: *190 + items: *193 examples: - default: *292 + default: *296 headers: Link: *39 x-github: @@ -107732,7 +108354,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &729 + enterprise: &737 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -107790,7 +108412,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &730 + installation: &738 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -107809,7 +108431,7 @@ x-webhooks: required: - id - node_id - organization: &731 + organization: &739 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -107869,13 +108491,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &732 + repository: &740 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: &769 + properties: &777 id: description: Unique identifier of the repository example: 42 @@ -107895,8 +108517,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *148 - required: *149 + properties: *151 + required: *152 nullable: true organization: title: Simple User @@ -108558,7 +109180,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &770 + required: &778 - archive_url - assignees_url - blobs_url @@ -108709,10 +109331,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -108788,11 +109410,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - rule: &733 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: &741 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) @@ -109015,11 +109637,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - rule: *733 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: *741 sender: *4 required: - action @@ -109202,11 +109824,11 @@ x-webhooks: - everyone required: - from - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - rule: *733 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + rule: *741 sender: *4 required: - action @@ -109279,7 +109901,7 @@ x-webhooks: required: true content: application/json: - schema: &736 + schema: &744 title: Exemption request cancellation event type: object properties: @@ -109287,11 +109909,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - exemption_request: &734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + exemption_request: &742 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -109441,7 +110063,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &735 + items: &743 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -109551,7 +110173,7 @@ x-webhooks: required: true content: application/json: - schema: &737 + schema: &745 title: Exemption request completed event type: object properties: @@ -109559,11 +110181,11 @@ x-webhooks: type: string enum: - completed - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - exemption_request: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + exemption_request: *742 sender: *4 required: - action @@ -109635,7 +110257,7 @@ x-webhooks: required: true content: application/json: - schema: &738 + schema: &746 title: Exemption request created event type: object properties: @@ -109643,11 +110265,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - exemption_request: *734 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + exemption_request: *742 sender: *4 required: - action @@ -109719,7 +110341,7 @@ x-webhooks: required: true content: application/json: - schema: &739 + schema: &747 title: Exemption response dismissed event type: object properties: @@ -109727,12 +110349,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - exemption_request: *734 - exemption_response: *735 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + exemption_request: *742 + exemption_response: *743 sender: *4 required: - action @@ -109806,7 +110428,7 @@ x-webhooks: required: true content: application/json: - schema: &740 + schema: &748 title: Exemption response submitted event type: object properties: @@ -109814,12 +110436,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - exemption_request: *734 - exemption_response: *735 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + exemption_request: *742 + exemption_response: *743 sender: *4 required: - action @@ -109892,7 +110514,7 @@ x-webhooks: required: true content: application/json: - schema: *736 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -109959,7 +110581,7 @@ x-webhooks: required: true content: application/json: - schema: *737 + schema: *745 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110026,7 +110648,7 @@ x-webhooks: required: true content: application/json: - schema: *738 + schema: *746 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110093,7 +110715,7 @@ x-webhooks: required: true content: application/json: - schema: *739 + schema: *747 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110161,7 +110783,7 @@ x-webhooks: required: true content: application/json: - schema: *740 + schema: *748 responses: '200': description: Return a 200 status to indicate that the data was received @@ -110239,7 +110861,7 @@ x-webhooks: type: string enum: - completed - check_run: &742 + check_run: &750 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110253,8 +110875,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 check_suite: description: A suite of checks performed on the code of a given code change @@ -110302,8 +110924,8 @@ x-webhooks: type: string pull_requests: type: array - items: *426 - repository: *190 + items: *434 + repository: *193 status: example: completed type: string @@ -110340,7 +110962,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *741 + deployment: *749 details_url: example: https://example.com type: string @@ -110390,7 +111012,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *426 + items: *434 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -110425,9 +111047,9 @@ x-webhooks: - output - app - pull_requests - installation: *730 - organization: *731 - repository: *732 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -110820,10 +111442,10 @@ x-webhooks: type: string enum: - created - check_run: *742 - installation: *730 - organization: *731 - repository: *732 + check_run: *750 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -111219,10 +111841,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *742 - installation: *730 - organization: *731 - repository: *732 + check_run: *750 + installation: *738 + organization: *739 + repository: *740 requested_action: description: The action requested by the user. type: object @@ -111627,10 +112249,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *742 - installation: *730 - organization: *731 - repository: *732 + check_run: *750 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - check_run @@ -112607,10 +113229,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -113280,10 +113902,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -113947,10 +114569,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -114113,7 +114735,7 @@ x-webhooks: required: - login - id - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114258,20 +114880,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &743 + commit_oid: &751 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: *729 - installation: *730 - organization: *731 - ref: &744 + enterprise: *737 + installation: *738 + organization: *739 + ref: &752 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: *732 + repository: *740 sender: *4 required: - action @@ -114433,7 +115055,7 @@ x-webhooks: required: - login - id - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114594,12 +115216,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *729 - installation: *730 - organization: *731 - ref: *744 - repository: *732 + commit_oid: *751 + enterprise: *737 + installation: *738 + organization: *739 + ref: *752 + repository: *740 sender: *4 required: - action @@ -114694,7 +115316,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114860,12 +115482,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *729 - installation: *730 - organization: *731 - ref: *744 - repository: *732 + commit_oid: *751 + enterprise: *737 + installation: *738 + organization: *739 + ref: *752 + repository: *740 sender: *4 required: - action @@ -115028,7 +115650,7 @@ x-webhooks: required: - login - id - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -115194,12 +115816,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *729 - installation: *730 - organization: *731 - ref: *744 - repository: *732 + commit_oid: *751 + enterprise: *737 + installation: *738 + organization: *739 + ref: *752 + repository: *740 sender: *4 required: - action @@ -115296,7 +115918,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115464,16 +116086,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 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: *732 + repository: *740 sender: *4 required: - action @@ -115567,7 +116189,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *439 + dismissed_comment: *447 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115707,12 +116329,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *743 - enterprise: *729 - installation: *730 - organization: *731 - ref: *744 - repository: *732 + commit_oid: *751 + enterprise: *737 + installation: *738 + organization: *739 + ref: *752 + repository: *740 sender: *4 required: - action @@ -115969,10 +116591,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -116052,18 +116674,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *731 - pusher_type: &745 + organization: *739 + pusher_type: &753 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &746 + ref: &754 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -116073,7 +116695,7 @@ x-webhooks: enum: - tag - branch - repository: *732 + repository: *740 sender: *4 required: - ref @@ -116155,10 +116777,10 @@ x-webhooks: type: string enum: - created - definition: *108 - enterprise: *729 - installation: *730 - organization: *731 + definition: *111 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -116243,9 +116865,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -116322,10 +116944,10 @@ x-webhooks: type: string enum: - updated - definition: *108 - enterprise: *729 - installation: *730 - organization: *731 + definition: *111 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -116402,19 +117024,19 @@ x-webhooks: type: string enum: - updated - enterprise: *729 - installation: *730 - repository: *732 - organization: *731 + enterprise: *737 + installation: *738 + repository: *740 + organization: *739 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *303 + items: *307 old_property_values: type: array description: The old custom property values for the repository. - items: *303 + items: *307 required: - action - repository @@ -116490,18 +117112,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *729 - installation: *730 - organization: *731 - pusher_type: *745 - ref: *746 + enterprise: *737 + installation: *738 + organization: *739 + pusher_type: *753 + ref: *754 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *732 + repository: *740 sender: *4 required: - ref @@ -116585,11 +117207,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -116673,11 +117295,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -116761,11 +117383,11 @@ x-webhooks: type: string enum: - created - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -116847,11 +117469,11 @@ x-webhooks: type: string enum: - dismissed - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -116933,11 +117555,11 @@ x-webhooks: type: string enum: - fixed - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -117020,11 +117642,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -117106,11 +117728,11 @@ x-webhooks: type: string enum: - reopened - alert: *496 - installation: *730 - organization: *731 - enterprise: *729 - repository: *732 + alert: *504 + installation: *738 + organization: *739 + enterprise: *737 + repository: *740 sender: *4 required: - action @@ -117187,9 +117809,9 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - key: &747 + enterprise: *737 + installation: *738 + key: &755 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117225,8 +117847,8 @@ x-webhooks: - verified - created_at - read_only - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -117303,11 +117925,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - key: *747 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + key: *755 + organization: *739 + repository: *740 sender: *4 required: - action @@ -117868,12 +118490,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: &751 + workflow: &759 title: Workflow type: object nullable: true @@ -118599,13 +119221,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *502 + deployment: *510 pull_requests: type: array - items: *587 - repository: *732 - organization: *731 - installation: *730 + items: *595 + repository: *740 + organization: *739 + installation: *738 sender: *4 responses: '200': @@ -118676,7 +119298,7 @@ x-webhooks: type: string enum: - approved - approver: &748 + approver: &756 type: object properties: avatar_url: @@ -118719,11 +119341,11 @@ x-webhooks: type: string comment: type: string - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - reviewers: &749 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + reviewers: &757 type: array items: type: object @@ -118802,7 +119424,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &750 + workflow_job_run: &758 type: object properties: conclusion: @@ -119533,18 +120155,18 @@ x-webhooks: type: string enum: - rejected - approver: *748 + approver: *756 comment: type: string - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - reviewers: *749 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + reviewers: *757 sender: *4 since: type: string - workflow_job_run: *750 + workflow_job_run: *758 workflow_job_runs: type: array items: @@ -120248,13 +120870,13 @@ x-webhooks: type: string enum: - requested - enterprise: *729 + enterprise: *737 environment: type: string - installation: *730 - organization: *731 - repository: *732 - requestor: &756 + installation: *738 + organization: *739 + repository: *740 + requestor: &764 title: User type: object nullable: true @@ -122153,12 +122775,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *751 + workflow: *759 workflow_run: title: Deployment Workflow Run type: object @@ -122838,7 +123460,7 @@ x-webhooks: type: string enum: - answered - answer: &754 + answer: &762 type: object properties: author_association: @@ -122995,7 +123617,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &752 + discussion: &760 title: Discussion description: A Discussion in a repository. type: object @@ -123281,7 +123903,7 @@ x-webhooks: - id labels: type: array - items: *549 + items: *557 required: - repository_url - category @@ -123303,10 +123925,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -123433,11 +124055,11 @@ x-webhooks: - from required: - category - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -123520,11 +124142,11 @@ x-webhooks: type: string enum: - closed - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -123606,7 +124228,7 @@ x-webhooks: type: string enum: - created - comment: &753 + comment: &761 type: object properties: author_association: @@ -123763,11 +124385,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -123850,12 +124472,12 @@ x-webhooks: type: string enum: - deleted - comment: *753 - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + comment: *761 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -123950,12 +124572,12 @@ x-webhooks: - from required: - body - comment: *753 - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + comment: *761 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124039,11 +124661,11 @@ x-webhooks: type: string enum: - created - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124125,11 +124747,11 @@ x-webhooks: type: string enum: - deleted - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124229,11 +124851,11 @@ x-webhooks: type: string required: - from - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124315,10 +124937,10 @@ x-webhooks: type: string enum: - labeled - discussion: *752 - enterprise: *729 - installation: *730 - label: &755 + discussion: *760 + enterprise: *737 + installation: *738 + label: &763 title: Label type: object properties: @@ -124350,8 +124972,8 @@ x-webhooks: - color - default - description - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124434,11 +125056,11 @@ x-webhooks: type: string enum: - locked - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124520,11 +125142,11 @@ x-webhooks: type: string enum: - pinned - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124606,11 +125228,11 @@ x-webhooks: type: string enum: - reopened - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124695,16 +125317,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *752 - new_repository: *732 + new_discussion: *760 + new_repository: *740 required: - new_discussion - new_repository - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124787,10 +125409,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *752 - old_answer: *754 - organization: *731 - repository: *732 + discussion: *760 + old_answer: *762 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124872,12 +125494,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *752 - enterprise: *729 - installation: *730 - label: *755 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -124960,11 +125582,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125046,11 +125668,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *752 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + discussion: *760 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -125123,7 +125745,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *729 + enterprise: *737 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -125783,9 +126405,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *730 - organization: *731 - repository: *732 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - forkee @@ -125931,9 +126553,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pages: description: The pages that were updated. type: array @@ -125970,7 +126592,7 @@ x-webhooks: - action - sha - html_url - repository: *732 + repository: *740 sender: *4 required: - pages @@ -126046,10 +126668,10 @@ x-webhooks: type: string enum: - created - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories: &757 + organization: *739 + repositories: &765 description: An array of repository objects that the installation can access. type: array @@ -126075,8 +126697,8 @@ x-webhooks: - name - full_name - private - repository: *732 - requester: *756 + repository: *740 + requester: *764 sender: *4 required: - action @@ -126151,11 +126773,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories: *757 - repository: *732 + organization: *739 + repositories: *765 + repository: *740 requester: nullable: true sender: *4 @@ -126231,11 +126853,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories: *757 - repository: *732 + organization: *739 + repositories: *765 + repository: *740 requester: nullable: true sender: *4 @@ -126311,10 +126933,10 @@ x-webhooks: type: string enum: - added - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories_added: &758 + organization: *739 + repositories_added: &766 description: An array of repository objects, which were added to the installation. type: array @@ -126360,15 +126982,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *732 - repository_selection: &759 + repository: *740 + repository_selection: &767 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *756 + requester: *764 sender: *4 required: - action @@ -126447,10 +127069,10 @@ x-webhooks: type: string enum: - removed - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories_added: *758 + organization: *739 + repositories_added: *766 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126477,9 +127099,9 @@ x-webhooks: - name - full_name - private - repository: *732 - repository_selection: *759 - requester: *756 + repository: *740 + repository_selection: *767 + requester: *764 sender: *4 required: - action @@ -126558,11 +127180,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories: *757 - repository: *732 + organization: *739 + repositories: *765 + repository: *740 requester: nullable: true sender: *4 @@ -126741,10 +127363,10 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 target_type: type: string @@ -126823,11 +127445,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *729 + enterprise: *737 installation: *22 - organization: *731 - repositories: *757 - repository: *732 + organization: *739 + repositories: *765 + repository: *740 requester: nullable: true sender: *4 @@ -126951,8 +127573,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *132 - required: *133 + properties: *135 + required: *136 reactions: title: Reactions type: object @@ -127079,8 +127701,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128235,8 +128857,8 @@ x-webhooks: - state - locked - assignee - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -128316,7 +128938,7 @@ x-webhooks: type: string enum: - deleted - comment: &760 + comment: &768 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -128481,8 +129103,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129635,8 +130257,8 @@ x-webhooks: - state - locked - assignee - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -129716,7 +130338,7 @@ x-webhooks: type: string enum: - edited - changes: &788 + changes: &796 description: The changes to the comment. type: object properties: @@ -129728,9 +130350,9 @@ x-webhooks: type: string required: - from - comment: *760 - enterprise: *729 - installation: *730 + comment: *768 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -130884,8 +131506,8 @@ x-webhooks: - state - locked - assignee - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -130967,10 +131589,10 @@ x-webhooks: type: string enum: - assigned - assignee: *756 - enterprise: *729 - installation: *730 - issue: &763 + assignee: *764 + enterprise: *737 + installation: *738 + issue: &771 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -131888,8 +132510,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -131969,8 +132591,8 @@ x-webhooks: type: string enum: - closed - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -133028,8 +133650,8 @@ x-webhooks: required: - state - closed_at - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -133108,8 +133730,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134020,8 +134642,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -134100,8 +134722,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135015,7 +135637,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &761 + milestone: &769 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135153,8 +135775,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -135253,8 +135875,8 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136172,9 +136794,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *755 - organization: *731 - repository: *732 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -136254,8 +136876,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137172,9 +137794,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *755 - organization: *731 - repository: *732 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -137254,8 +137876,8 @@ x-webhooks: type: string enum: - locked - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138173,8 +138795,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -138253,8 +138875,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139166,9 +139788,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *761 - organization: *731 - repository: *732 + milestone: *769 + organization: *739 + repository: *740 sender: *4 required: - action @@ -140629,8 +141251,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141547,8 +142169,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -141628,9 +142250,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *729 - installation: *730 - issue: &762 + enterprise: *737 + installation: *738 + issue: &770 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -142541,8 +143163,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -142621,8 +143243,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143539,8 +144161,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -145002,11 +145624,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *729 - installation: *730 - issue: *762 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + issue: *770 + organization: *739 + repository: *740 sender: *4 required: - action @@ -145087,7 +145709,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &791 + assignee: &799 title: User type: object nullable: true @@ -145157,11 +145779,11 @@ x-webhooks: required: - login - id - enterprise: *729 - installation: *730 - issue: *763 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + issue: *771 + organization: *739 + repository: *740 sender: *4 required: - action @@ -145240,12 +145862,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *729 - installation: *730 - issue: *763 - label: *755 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + issue: *771 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -145325,8 +145947,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146242,8 +146864,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146323,11 +146945,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *729 - installation: *730 - issue: *762 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + issue: *770 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146406,11 +147028,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - label: *755 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146488,11 +147110,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - label: *755 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146602,11 +147224,11 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - label: *755 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + label: *763 + organization: *739 + repository: *740 sender: *4 required: - action @@ -146688,9 +147310,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *729 - installation: *730 - marketplace_purchase: &764 + enterprise: *737 + installation: *738 + marketplace_purchase: &772 title: Marketplace Purchase type: object required: @@ -146773,8 +147395,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *731 - previous_marketplace_purchase: &765 + organization: *739 + previous_marketplace_purchase: &773 title: Marketplace Purchase type: object properties: @@ -146854,7 +147476,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *732 + repository: *740 sender: *4 required: - action @@ -146934,10 +147556,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *729 - installation: *730 - marketplace_purchase: *764 - organization: *731 + enterprise: *737 + installation: *738 + marketplace_purchase: *772 + organization: *739 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -147020,7 +147642,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *732 + repository: *740 sender: *4 required: - action @@ -147102,10 +147724,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *729 - installation: *730 - marketplace_purchase: *764 - organization: *731 + enterprise: *737 + installation: *738 + marketplace_purchase: *772 + organization: *739 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -147187,7 +147809,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *732 + repository: *740 sender: *4 required: - action @@ -147268,8 +147890,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 marketplace_purchase: title: Marketplace Purchase type: object @@ -147351,9 +147973,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *731 - previous_marketplace_purchase: *765 - repository: *732 + organization: *739 + previous_marketplace_purchase: *773 + repository: *740 sender: *4 required: - action @@ -147433,12 +148055,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *729 - installation: *730 - marketplace_purchase: *764 - organization: *731 - previous_marketplace_purchase: *765 - repository: *732 + enterprise: *737 + installation: *738 + marketplace_purchase: *772 + organization: *739 + previous_marketplace_purchase: *773 + repository: *740 sender: *4 required: - action @@ -147540,11 +148162,11 @@ x-webhooks: type: string required: - to - enterprise: *729 - installation: *730 - member: *756 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + member: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -147644,11 +148266,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *729 - installation: *730 - member: *756 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + member: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -147727,11 +148349,11 @@ x-webhooks: type: string enum: - removed - enterprise: *729 - installation: *730 - member: *756 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + member: *764 + organization: *739 + repository: *740 sender: *4 required: - action @@ -147809,11 +148431,11 @@ x-webhooks: type: string enum: - added - enterprise: *729 - installation: *730 - member: *756 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + member: *764 + organization: *739 + repository: *740 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147889,7 +148511,7 @@ x-webhooks: required: - login - id - team: &766 + team: &774 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -148079,11 +148701,11 @@ x-webhooks: type: string enum: - removed - enterprise: *729 - installation: *730 - member: *756 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + member: *764 + organization: *739 + repository: *740 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148160,7 +148782,7 @@ x-webhooks: required: - login - id - team: *766 + team: *774 required: - action - scope @@ -148242,8 +148864,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *730 - merge_group: &768 + installation: *738 + merge_group: &776 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -148262,15 +148884,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *767 + head_commit: *775 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148356,10 +148978,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *730 - merge_group: *768 - organization: *731 - repository: *732 + installation: *738 + merge_group: *776 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148432,7 +149054,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 + enterprise: *737 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -148540,16 +149162,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *730 - organization: *731 + installation: *738 + organization: *739 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: *769 - required: *770 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -148630,11 +149252,11 @@ x-webhooks: type: string enum: - closed - enterprise: *729 - installation: *730 - milestone: *761 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + milestone: *769 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148713,9 +149335,9 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - milestone: &771 + enterprise: *737 + installation: *738 + milestone: &779 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148852,8 +149474,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -148932,11 +149554,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - milestone: *761 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + milestone: *769 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149046,11 +149668,11 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - milestone: *761 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + milestone: *769 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149130,11 +149752,11 @@ x-webhooks: type: string enum: - opened - enterprise: *729 - installation: *730 - milestone: *771 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + milestone: *779 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149213,11 +149835,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *756 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + blocked_user: *764 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149296,11 +149918,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *756 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + blocked_user: *764 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149379,9 +150001,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - membership: &772 + enterprise: *737 + installation: *738 + membership: &780 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -149473,8 +150095,8 @@ x-webhooks: - role - organization_url - user - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149552,11 +150174,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *729 - installation: *730 - membership: *772 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + membership: *780 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149635,8 +150257,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -149752,10 +150374,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 - user: *756 + user: *764 required: - action - invitation @@ -149833,11 +150455,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *729 - installation: *730 - membership: *772 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + membership: *780 + organization: *739 + repository: *740 sender: *4 required: - action @@ -149924,11 +150546,11 @@ x-webhooks: properties: from: type: string - enterprise: *729 - installation: *730 - membership: *772 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + membership: *780 + organization: *739 + repository: *740 sender: *4 required: - action @@ -150004,9 +150626,9 @@ x-webhooks: type: string enum: - published - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 package: description: Information about the package. type: object @@ -150505,7 +151127,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &773 + items: &781 title: Ruby Gems metadata type: object properties: @@ -150600,7 +151222,7 @@ x-webhooks: - owner - package_version - registry - repository: *732 + repository: *740 sender: *4 required: - action @@ -150676,9 +151298,9 @@ x-webhooks: type: string enum: - updated - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 package: description: Information about the package. type: object @@ -151031,7 +151653,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *773 + items: *781 source_url: type: string format: uri @@ -151101,7 +151723,7 @@ x-webhooks: - owner - package_version - registry - repository: *732 + repository: *740 sender: *4 required: - action @@ -151278,12 +151900,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *729 + enterprise: *737 id: type: integer - installation: *730 - organization: *731 - repository: *732 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - id @@ -151363,7 +151985,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &774 + personal_access_token_request: &782 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -151509,10 +152131,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *729 - organization: *731 + enterprise: *737 + organization: *739 sender: *4 - installation: *730 + installation: *738 required: - action - personal_access_token_request @@ -151591,11 +152213,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *774 - enterprise: *729 - organization: *731 + personal_access_token_request: *782 + enterprise: *737 + organization: *739 sender: *4 - installation: *730 + installation: *738 required: - action - personal_access_token_request @@ -151673,11 +152295,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *774 - enterprise: *729 - organization: *731 + personal_access_token_request: *782 + enterprise: *737 + organization: *739 sender: *4 - installation: *730 + installation: *738 required: - action - personal_access_token_request @@ -151754,11 +152376,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *774 - organization: *731 - enterprise: *729 + personal_access_token_request: *782 + organization: *739 + enterprise: *737 sender: *4 - installation: *730 + installation: *738 required: - action - personal_access_token_request @@ -151862,7 +152484,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *775 + last_response: *783 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -151894,8 +152516,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 zen: description: Random string of GitHub zen. @@ -152140,10 +152762,10 @@ x-webhooks: - from required: - note - enterprise: *729 - installation: *730 - organization: *731 - project_card: &776 + enterprise: *737 + installation: *738 + organization: *739 + project_card: &784 title: Project Card type: object properties: @@ -152262,7 +152884,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *732 + repository: *740 sender: *4 required: - action @@ -152343,11 +152965,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - project_card: *776 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project_card: *784 + repository: *740 sender: *4 required: - action @@ -152427,9 +153049,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 project_card: title: Project Card type: object @@ -152557,8 +153179,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: *769 - required: *770 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -152652,11 +153274,11 @@ x-webhooks: - from required: - note - enterprise: *729 - installation: *730 - organization: *731 - project_card: *776 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project_card: *784 + repository: *740 sender: *4 required: - action @@ -152750,9 +153372,9 @@ x-webhooks: - from required: - column_id - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 project_card: allOf: - title: Project Card @@ -152942,7 +153564,7 @@ x-webhooks: type: string required: - after_id - repository: *732 + repository: *740 sender: *4 required: - action @@ -153022,10 +153644,10 @@ x-webhooks: type: string enum: - closed - enterprise: *729 - installation: *730 - organization: *731 - project: &778 + enterprise: *737 + installation: *738 + organization: *739 + project: &786 title: Project type: object properties: @@ -153149,7 +153771,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *732 + repository: *740 sender: *4 required: - action @@ -153229,10 +153851,10 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - project_column: &777 + enterprise: *737 + installation: *738 + organization: *739 + project_column: &785 title: Project Column type: object properties: @@ -153271,7 +153893,7 @@ x-webhooks: - name - created_at - updated_at - repository: *732 + repository: *740 sender: *4 required: - action @@ -153350,18 +153972,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - project_column: *777 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *785 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: *769 - required: *770 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -153451,11 +154073,11 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - organization: *731 - project_column: *777 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *785 + repository: *740 sender: *4 required: - action @@ -153535,11 +154157,11 @@ x-webhooks: type: string enum: - moved - enterprise: *729 - installation: *730 - organization: *731 - project_column: *777 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project_column: *785 + repository: *740 sender: *4 required: - action @@ -153619,11 +154241,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - project: *778 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project: *786 + repository: *740 sender: *4 required: - action @@ -153703,18 +154325,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - project: *778 + enterprise: *737 + installation: *738 + organization: *739 + project: *786 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: *769 - required: *770 + properties: *777 + required: *778 nullable: true sender: *4 required: @@ -153816,11 +154438,11 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - organization: *731 - project: *778 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project: *786 + repository: *740 sender: *4 required: - action @@ -153899,11 +154521,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *729 - installation: *730 - organization: *731 - project: *778 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + project: *786 + repository: *740 sender: *4 required: - action @@ -153984,9 +154606,9 @@ x-webhooks: type: string enum: - closed - installation: *730 - organization: *731 - projects_v2: &779 + installation: *738 + organization: *739 + projects_v2: &787 title: Projects v2 Project description: A projects v2 project type: object @@ -154129,9 +154751,9 @@ x-webhooks: type: string enum: - created - installation: *730 - organization: *731 - projects_v2: *779 + installation: *738 + organization: *739 + projects_v2: *787 sender: *4 required: - action @@ -154212,9 +154834,9 @@ x-webhooks: type: string enum: - deleted - installation: *730 - organization: *731 - projects_v2: *779 + installation: *738 + organization: *739 + projects_v2: *787 sender: *4 required: - action @@ -154331,9 +154953,9 @@ x-webhooks: type: string to: type: string - installation: *730 - organization: *731 - projects_v2: *779 + installation: *738 + organization: *739 + projects_v2: *787 sender: *4 required: - action @@ -154416,7 +155038,7 @@ x-webhooks: type: string enum: - archived - changes: &783 + changes: &791 type: object properties: archived_at: @@ -154430,9 +155052,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *730 - organization: *731 - projects_v2_item: &780 + installation: *738 + organization: *739 + projects_v2_item: &788 title: Projects v2 Item description: An item belonging to a project type: object @@ -154566,9 +155188,9 @@ x-webhooks: nullable: true to: type: string - installation: *730 - organization: *731 - projects_v2_item: *780 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -154650,9 +155272,9 @@ x-webhooks: type: string enum: - created - installation: *730 - organization: *731 - projects_v2_item: *780 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -154733,9 +155355,9 @@ x-webhooks: type: string enum: - deleted - installation: *730 - organization: *731 - projects_v2_item: *780 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -154841,7 +155463,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &781 + - &789 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -154859,7 +155481,7 @@ x-webhooks: required: - id - name - - &782 + - &790 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -154882,8 +155504,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *781 - - *782 + - *789 + - *790 required: - field_value - type: object @@ -154899,9 +155521,9 @@ x-webhooks: nullable: true required: - body - installation: *730 - organization: *731 - projects_v2_item: *780 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -154996,9 +155618,9 @@ x-webhooks: to: type: string nullable: true - installation: *730 - organization: *731 - projects_v2_item: *780 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -155081,10 +155703,10 @@ x-webhooks: type: string enum: - restored - changes: *783 - installation: *730 - organization: *731 - projects_v2_item: *780 + changes: *791 + installation: *738 + organization: *739 + projects_v2_item: *788 sender: *4 required: - action @@ -155166,9 +155788,9 @@ x-webhooks: type: string enum: - reopened - installation: *730 - organization: *731 - projects_v2: *779 + installation: *738 + organization: *739 + projects_v2: *787 sender: *4 required: - action @@ -155249,9 +155871,9 @@ x-webhooks: type: string enum: - created - installation: *730 - organization: *731 - projects_v2_status_update: &784 + installation: *738 + organization: *739 + projects_v2_status_update: &792 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -155378,9 +156000,9 @@ x-webhooks: type: string enum: - deleted - installation: *730 - organization: *731 - projects_v2_status_update: *784 + installation: *738 + organization: *739 + projects_v2_status_update: *792 sender: *4 required: - action @@ -155516,9 +156138,9 @@ x-webhooks: type: string format: date nullable: true - installation: *730 - organization: *731 - projects_v2_status_update: *784 + installation: *738 + organization: *739 + projects_v2_status_update: *792 sender: *4 required: - action @@ -155589,10 +156211,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - repository @@ -155669,13 +156291,13 @@ x-webhooks: type: string enum: - assigned - assignee: *756 - enterprise: *729 - installation: *730 - number: &785 + assignee: *764 + enterprise: *737 + installation: *738 + number: &793 description: The pull request number. type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -157958,7 +158580,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -158040,11 +158662,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -160322,7 +160944,7 @@ x-webhooks: - draft reason: type: string - repository: *732 + repository: *740 sender: *4 required: - action @@ -160404,11 +161026,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -162686,7 +163308,7 @@ x-webhooks: - draft reason: type: string - repository: *732 + repository: *740 sender: *4 required: - action @@ -162768,13 +163390,13 @@ x-webhooks: type: string enum: - closed - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: &786 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: &794 allOf: - - *587 + - *595 - type: object properties: allow_auto_merge: @@ -162836,7 +163458,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *732 + repository: *740 sender: *4 required: - action @@ -162917,12 +163539,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: *786 - repository: *732 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: *794 + repository: *740 sender: *4 required: - action @@ -163002,11 +163624,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *729 - milestone: *570 - number: *785 - organization: *731 - pull_request: &787 + enterprise: *737 + milestone: *578 + number: *793 + organization: *739 + pull_request: &795 title: Pull Request type: object properties: @@ -165269,7 +165891,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -165348,11 +165970,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -167634,7 +168256,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *732 + repository: *740 sender: *4 required: - action @@ -167758,12 +168380,12 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: *786 - repository: *732 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: *794 + repository: *740 sender: *4 required: - action @@ -167843,11 +168465,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -170114,7 +170736,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -170194,11 +170816,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *729 - installation: *730 - label: *755 - number: *785 - organization: *731 + enterprise: *737 + installation: *738 + label: *763 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -172480,7 +173102,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -172561,10 +173183,10 @@ x-webhooks: type: string enum: - locked - enterprise: *729 - installation: *730 - number: *785 - organization: *731 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -174844,7 +175466,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -174924,12 +175546,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *729 - milestone: *570 - number: *785 - organization: *731 - pull_request: *787 - repository: *732 + enterprise: *737 + milestone: *578 + number: *793 + organization: *739 + pull_request: *795 + repository: *740 sender: *4 required: - action @@ -175008,12 +175630,12 @@ x-webhooks: type: string enum: - opened - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: *786 - repository: *732 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: *794 + repository: *740 sender: *4 required: - action @@ -175094,12 +175716,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: *786 - repository: *732 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: *794 + repository: *740 sender: *4 required: - action @@ -175179,12 +175801,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *729 - installation: *730 - number: *785 - organization: *731 - pull_request: *786 - repository: *732 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 + pull_request: *794 + repository: *740 sender: *4 required: - action @@ -175550,9 +176172,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -177722,7 +178344,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *732 + repository: *740 sender: *4 required: - action @@ -177802,7 +178424,7 @@ x-webhooks: type: string enum: - deleted - comment: &789 + comment: &797 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. @@ -178087,9 +178709,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -180247,7 +180869,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *732 + repository: *740 sender: *4 required: - action @@ -180327,11 +180949,11 @@ x-webhooks: type: string enum: - edited - changes: *788 - comment: *789 - enterprise: *729 - installation: *730 - organization: *731 + changes: *796 + comment: *797 + enterprise: *737 + installation: *738 + organization: *739 pull_request: type: object properties: @@ -182492,7 +183114,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *732 + repository: *740 sender: *4 required: - action @@ -182573,9 +183195,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -184748,7 +185370,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *732 + repository: *740 review: description: The review that was affected. type: object @@ -184991,9 +185613,9 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -187047,8 +187669,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *732 - review: &790 + repository: *740 + review: &798 description: The review that was affected. type: object properties: @@ -187277,12 +187899,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -189565,7 +190187,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 requested_reviewer: title: User type: object @@ -189649,12 +190271,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -191944,7 +192566,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192136,12 +192758,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -194426,7 +195048,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 requested_reviewer: title: User type: object @@ -194511,12 +195133,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *729 - installation: *730 + enterprise: *737 + installation: *738 number: description: The pull request number. type: integer - organization: *731 + organization: *739 pull_request: title: Pull Request type: object @@ -196792,7 +197414,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196973,9 +197595,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -199150,8 +199772,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *732 - review: *790 + repository: *740 + review: *798 sender: *4 required: - action @@ -199231,9 +199853,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -201303,7 +201925,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *732 + repository: *740 sender: *4 thread: type: object @@ -201686,9 +202308,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 pull_request: title: Simple Pull Request type: object @@ -203744,7 +204366,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *732 + repository: *740 sender: *4 thread: type: object @@ -204130,10 +204752,10 @@ x-webhooks: type: string before: type: string - enterprise: *729 - installation: *730 - number: *785 - organization: *731 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -206404,7 +207026,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -206486,11 +207108,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *791 - enterprise: *729 - installation: *730 - number: *785 - organization: *731 + assignee: *799 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -208773,7 +209395,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -208852,11 +209474,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *729 - installation: *730 - label: *755 - number: *785 - organization: *731 + enterprise: *737 + installation: *738 + label: *763 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -211129,7 +211751,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -211210,10 +211832,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *729 - installation: *730 - number: *785 - organization: *731 + enterprise: *737 + installation: *738 + number: *793 + organization: *739 pull_request: title: Pull Request type: object @@ -213478,7 +214100,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *732 + repository: *740 sender: *4 required: - action @@ -213678,7 +214300,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *729 + enterprise: *737 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -213770,8 +214392,8 @@ x-webhooks: - url - author - committer - installation: *730 - organization: *731 + installation: *738 + organization: *739 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -214346,9 +214968,9 @@ x-webhooks: type: string enum: - published - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 registry_package: type: object properties: @@ -214794,7 +215416,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *773 + items: *781 summary: type: string tag_name: @@ -214848,7 +215470,7 @@ x-webhooks: - owner - package_version - registry - repository: *732 + repository: *740 sender: *4 required: - action @@ -214926,9 +215548,9 @@ x-webhooks: type: string enum: - updated - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 registry_package: type: object properties: @@ -215236,7 +215858,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *773 + items: *781 summary: type: string tag_name: @@ -215285,7 +215907,7 @@ x-webhooks: - owner - package_version - registry - repository: *732 + repository: *740 sender: *4 required: - action @@ -215362,10 +215984,10 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - release: &792 + enterprise: *737 + installation: *738 + organization: *739 + release: &800 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -215670,7 +216292,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *732 + repository: *740 sender: *4 required: - action @@ -215747,11 +216369,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - release: *792 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + release: *800 + repository: *740 sender: *4 required: - action @@ -215859,11 +216481,11 @@ x-webhooks: type: boolean required: - to - enterprise: *729 - installation: *730 - organization: *731 - release: *792 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + release: *800 + repository: *740 sender: *4 required: - action @@ -215941,9 +216563,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -216252,7 +216874,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *732 + repository: *740 sender: *4 required: - action @@ -216328,10 +216950,10 @@ x-webhooks: type: string enum: - published - enterprise: *729 - installation: *730 - organization: *731 - release: &793 + enterprise: *737 + installation: *738 + organization: *739 + release: &801 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216637,7 +217259,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *732 + repository: *740 sender: *4 required: - action @@ -216713,11 +217335,11 @@ x-webhooks: type: string enum: - released - enterprise: *729 - installation: *730 - organization: *731 - release: *792 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + release: *800 + repository: *740 sender: *4 required: - action @@ -216793,11 +217415,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *729 - installation: *730 - organization: *731 - release: *793 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + release: *801 + repository: *740 sender: *4 required: - action @@ -216873,11 +217495,11 @@ x-webhooks: type: string enum: - published - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - repository_advisory: *640 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_advisory: *648 sender: *4 required: - action @@ -216953,11 +217575,11 @@ x-webhooks: type: string enum: - reported - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - repository_advisory: *640 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_advisory: *648 sender: *4 required: - action @@ -217033,10 +217655,10 @@ x-webhooks: type: string enum: - archived - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217113,10 +217735,10 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217194,10 +217816,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217281,10 +217903,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217396,10 +218018,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217471,10 +218093,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 status: type: string @@ -217555,10 +218177,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217635,10 +218257,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217732,10 +218354,10 @@ x-webhooks: - name required: - repository - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -217815,11 +218437,11 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - repository_ruleset: *122 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_ruleset: *125 sender: *4 required: - action @@ -217897,11 +218519,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - repository_ruleset: *122 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_ruleset: *125 sender: *4 required: - action @@ -217979,11 +218601,11 @@ x-webhooks: type: string enum: - edited - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - repository_ruleset: *122 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + repository_ruleset: *125 changes: type: object properties: @@ -218002,16 +218624,16 @@ x-webhooks: properties: added: type: array - items: *115 + items: *118 deleted: type: array - items: *115 + items: *118 updated: type: array items: type: object properties: - condition: *115 + condition: *118 changes: type: object properties: @@ -218044,16 +218666,16 @@ x-webhooks: properties: added: type: array - items: *121 + items: *124 deleted: type: array - items: *121 + items: *124 updated: type: array items: type: object properties: - rule: *121 + rule: *124 changes: type: object properties: @@ -218287,10 +218909,10 @@ x-webhooks: - from required: - owner - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -218368,10 +218990,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -218449,7 +219071,7 @@ x-webhooks: type: string enum: - create - alert: &794 + alert: &802 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -218570,10 +219192,10 @@ x-webhooks: type: string enum: - open - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -218779,10 +219401,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -218860,11 +219482,11 @@ x-webhooks: type: string enum: - reopen - alert: *794 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + alert: *802 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219063,10 +219685,10 @@ x-webhooks: enum: - fixed - open - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219144,7 +219766,7 @@ x-webhooks: type: string enum: - created - alert: &795 + alert: &803 type: object properties: number: *98 @@ -219255,10 +219877,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219339,11 +219961,11 @@ x-webhooks: type: string enum: - created - alert: *795 - installation: *730 - location: *796 - organization: *731 - repository: *732 + alert: *803 + installation: *738 + location: *804 + organization: *739 + repository: *740 sender: *4 required: - location @@ -219581,11 +220203,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *795 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + alert: *803 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219663,11 +220285,11 @@ x-webhooks: type: string enum: - reopened - alert: *795 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + alert: *803 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219745,11 +220367,11 @@ x-webhooks: type: string enum: - resolved - alert: *795 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + alert: *803 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219827,11 +220449,11 @@ x-webhooks: type: string enum: - validated - alert: *795 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + alert: *803 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -219957,10 +220579,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *732 - enterprise: *729 - installation: *730 - organization: *731 + repository: *740 + enterprise: *737 + installation: *738 + organization: *739 sender: *4 required: - action @@ -220038,11 +220660,11 @@ x-webhooks: type: string enum: - published - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - security_advisory: &797 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + security_advisory: &805 description: The details of the security advisory, including summary, description, and severity. type: object @@ -220225,11 +220847,11 @@ x-webhooks: type: string enum: - updated - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 - security_advisory: *797 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 + security_advisory: *805 sender: *4 required: - action @@ -220302,10 +220924,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -220489,11 +221111,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *306 - enterprise: *729 - installation: *730 - organization: *731 - repository: *364 + security_and_analysis: *310 + enterprise: *737 + installation: *738 + organization: *739 + repository: *372 sender: *4 required: - changes @@ -220571,12 +221193,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: &798 + sponsorship: &806 type: object properties: created_at: @@ -220877,12 +221499,12 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *798 + sponsorship: *806 required: - action - sponsorship @@ -220970,12 +221592,12 @@ x-webhooks: type: string required: - from - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *798 + sponsorship: *806 required: - action - changes @@ -221052,17 +221674,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &799 + effective_date: &807 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: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *798 + sponsorship: *806 required: - action - sponsorship @@ -221136,7 +221758,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &800 + changes: &808 type: object properties: tier: @@ -221180,13 +221802,13 @@ x-webhooks: - from required: - tier - effective_date: *799 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + effective_date: *807 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *798 + sponsorship: *806 required: - action - changes @@ -221263,13 +221885,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *800 - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + changes: *808 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - sponsorship: *798 + sponsorship: *806 required: - action - changes @@ -221343,10 +221965,10 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221429,10 +222051,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221851,15 +222473,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *729 + enterprise: *737 id: description: The unique identifier of the status. type: integer - installation: *730 + installation: *738 name: type: string - organization: *731 - repository: *732 + organization: *739 + repository: *740 sender: *4 sha: description: The Commit SHA. @@ -221968,15 +222590,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *147 + parent_issue: *150 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *147 - installation: *730 - organization: *731 - repository: *732 + sub_issue: *150 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222060,15 +222682,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *147 + parent_issue: *150 parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *147 - installation: *730 - organization: *731 - repository: *732 + sub_issue: *150 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222152,15 +222774,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *147 + sub_issue: *150 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *147 - installation: *730 - organization: *731 - repository: *732 + parent_issue: *150 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222244,15 +222866,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *147 + sub_issue: *150 sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *147 - installation: *730 - organization: *731 - repository: *732 + parent_issue: *150 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -222329,12 +222951,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - team: &801 + team: &809 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -222524,9 +223146,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -222984,7 +223606,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *801 + team: *809 required: - action - team @@ -223060,9 +223682,9 @@ x-webhooks: type: string enum: - created - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -223520,7 +224142,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *801 + team: *809 required: - action - team @@ -223597,9 +224219,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -224057,7 +224679,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *801 + team: *809 required: - action - team @@ -224201,9 +224823,9 @@ x-webhooks: - from required: - permissions - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -224661,7 +225283,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *801 + team: *809 required: - action - changes @@ -224739,9 +225361,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *729 - installation: *730 - organization: *731 + enterprise: *737 + installation: *738 + organization: *739 repository: title: Repository description: A git repository @@ -225199,7 +225821,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *801 + team: *809 required: - action - team @@ -225275,10 +225897,10 @@ x-webhooks: type: string enum: - started - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 required: - action @@ -225351,16 +225973,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *729 + enterprise: *737 inputs: type: object nullable: true additionalProperties: true - installation: *730 - organization: *731 + installation: *738 + organization: *739 ref: type: string - repository: *732 + repository: *740 sender: *4 workflow: type: string @@ -225442,10 +226064,10 @@ x-webhooks: type: string enum: - completed - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: allOf: @@ -225682,7 +226304,7 @@ x-webhooks: type: string required: - conclusion - deployment: *502 + deployment: *510 required: - action - repository @@ -225761,10 +226383,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: allOf: @@ -226024,7 +226646,7 @@ x-webhooks: required: - status - steps - deployment: *502 + deployment: *510 required: - action - repository @@ -226103,10 +226725,10 @@ x-webhooks: type: string enum: - queued - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: type: object @@ -226241,7 +226863,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *502 + deployment: *510 required: - action - repository @@ -226320,10 +226942,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 workflow_job: type: object @@ -226459,7 +227081,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *502 + deployment: *510 required: - action - repository @@ -226539,12 +227161,12 @@ x-webhooks: type: string enum: - completed - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *751 + workflow: *759 workflow_run: title: Workflow Run type: object @@ -227543,12 +228165,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *751 + workflow: *759 workflow_run: title: Workflow Run type: object @@ -228532,12 +229154,12 @@ x-webhooks: type: string enum: - requested - enterprise: *729 - installation: *730 - organization: *731 - repository: *732 + enterprise: *737 + installation: *738 + organization: *739 + repository: *740 sender: *4 - workflow: *751 + workflow: *759 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 8c2aeb6f5..cac19c333 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -191,6 +191,10 @@ { "name": "private-registries", "description": "Manage private registry configurations." + }, + { + "name": "hosted-compute", + "description": "Manage hosted compute networking resources." } ], "servers": [ @@ -6797,6 +6801,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -6910,6 +6917,386 @@ } } }, + "/enterprises/{enterprise}/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an enterprise", + "description": "Lists all hosted compute network configurations configured in an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "network_configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "network_configurations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/network-configuration" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configurations-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an enterprise", + "description": "Creates a hosted compute network configuration for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, `.`, `-`, and `_`.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, + "/enterprises/{enterprise}/network-configurations/{network_configuration_id}": { + "get": { + "summary": "Get a hosted compute network configuration for an enterprise", + "description": "Gets a hosted compute network configuration configured in an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an enterprise", + "description": "Updates a hosted compute network configuration for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, `.`, `-`, and `_`.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an enterprise", + "description": "Deletes a hosted compute network configuration from an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, + "/enterprises/{enterprise}/network-settings/{network_settings_id}": { + "get": { + "summary": "Get a hosted compute network settings resource for an enterprise", + "description": "Gets a hosted compute network settings resource configured for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-settings-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/network-settings-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-settings" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, "/enterprises/{enterprise}/properties/schema": { "get": { "summary": "Get custom properties for an enterprise", @@ -19515,6 +19902,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -28038,6 +28428,380 @@ } } }, + "/orgs/{org}/settings/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an organization", + "description": "Lists all hosted compute network configurations configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "network_configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "network_configurations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/network-configuration" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configurations-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an organization", + "description": "Creates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": { + "get": { + "summary": "Get a hosted compute network configuration for an organization", + "description": "Gets a hosted compute network configuration configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an organization", + "description": "Updates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an organization", + "description": "Deletes a hosted compute network configuration from an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-settings/{network_settings_id}": { + "get": { + "summary": "Get a hosted compute network settings resource for an organization", + "description": "Gets a hosted compute network settings resource configured for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-settings-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-settings-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-settings" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, "/orgs/{org}/team-sync/groups": { "get": { "summary": "List IdP groups for an organization", @@ -46709,6 +47473,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -55132,7 +55899,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to remove" + "description": "The id of the sub-issue to remove" } }, "required": [ @@ -55287,7 +56054,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to add" + "description": "The id of the sub-issue to add. The sub-issue must belong to the same repository as the parent issue" }, "replace_parent": { "type": "boolean", @@ -110157,6 +110924,90 @@ } } }, + "network-configuration": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "network-settings": { + "title": "Hosted compute network settings resource", + "description": "A hosted compute network settings resource.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network settings resource.", + "type": "string", + "example": "220F78DACB92BBFBC5E6F22DE1CCF52309D" + }, + "network_configuration_id": { + "description": "The identifier of the network configuration that is using this settings resource.", + "type": "string", + "example": "934E208B3EE0BD60CF5F752C426BFB53562" + }, + "name": { + "description": "The name of the network settings resource.", + "type": "string", + "example": "my-network-settings" + }, + "subnet_id": { + "description": "The subnet this network settings resource is configured for.", + "type": "string", + "example": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + }, + "region": { + "description": "The location of the subnet this network settings resource is configured for.", + "type": "string", + "example": "eastus" + } + }, + "required": [ + "id", + "name", + "subnet_id", + "region" + ] + }, "custom-property": { "title": "Organization Custom Property", "description": "Custom property defined on an organization", @@ -283627,6 +284478,54 @@ ] } }, + "network-configurations-paginated": { + "value": { + "total_count": 2, + "network_configurations": [ + { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + }, + { + "id": "456789ABDCEF123", + "name": "My other configuration", + "compute_service": "none", + "network_settings_ids": [ + "56789ABDCEF1234", + "6789ABDCEF12345" + ], + "created_on": "2023-04-26T15:23:37Z" + } + ] + } + }, + "network-configuration": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + }, + "network-settings": { + "value": { + "id": "220F78DACB92BBFBC5E6F22DE1CCF52309D", + "network_configuration_id": "934E208B3EE0BD60CF5F752C426BFB53562", + "name": "my_network_settings", + "subnet_id": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet", + "region": "eastus" + } + }, "custom-properties": { "value": [ { @@ -311627,6 +312526,14 @@ "type": "string" } }, + "dependabot-alert-comma-separated-epss": { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, "dependabot-alert-scope": { "name": "scope", "in": "query", @@ -311676,6 +312583,24 @@ "maximum": 100 } }, + "network-configuration-id": { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + "network-settings-id": { + "name": "network_settings_id", + "description": "Unique identifier of the hosted compute network settings.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "custom-property-name": { "name": "custom_property_name", "description": "The custom property name", diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 3477f6846..f88492a90 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -101,6 +101,8 @@ tags: description: Endpoints to manage Code security using the REST API. - name: private-registries description: Manage private registry configurations. +- name: hosted-compute + description: Manage hosted compute networking resources. servers: - url: https://api.github.com externalDocs: @@ -4878,6 +4880,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -4945,6 +4948,260 @@ paths: previews: [] category: enterprise-admin subcategory: license + "/enterprises/{enterprise}/network-configurations": + get: + summary: List hosted compute network configurations for an enterprise + description: Lists all hosted compute network configurations configured in an + enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configurations-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an enterprise + description: Creates a hosted compute network configuration for an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, `.`, `-`, and `_`. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + "/enterprises/{enterprise}/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an enterprise + description: Gets a hosted compute network configuration configured in an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an enterprise + description: Updates a hosted compute network configuration for an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/network-configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, `.`, `-`, and `_`. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an enterprise + description: Deletes a hosted compute network configuration from an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + "/enterprises/{enterprise}/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an enterprise + description: Gets a hosted compute network settings resource configured for + an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/get-network-settings-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/network-settings-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-settings" + examples: + default: + "$ref": "#/components/examples/network-settings" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations "/enterprises/{enterprise}/properties/schema": get: summary: Get custom properties for an enterprise @@ -14240,6 +14497,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -20367,6 +20625,270 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/network-configurations": + get: + summary: List hosted compute network configurations for an organization + description: |- + Lists all hosted compute network configurations configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configurations-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an organization + description: |- + Creates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an organization + description: |- + Gets a hosted compute network configuration configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an organization + description: |- + Updates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an organization + description: |- + Deletes a hosted compute network configuration from an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an organization + description: |- + Gets a hosted compute network settings resource configured for an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-settings-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-settings-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-settings" + examples: + default: + "$ref": "#/components/examples/network-settings" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations "/orgs/{org}/team-sync/groups": get: summary: List IdP groups for an organization @@ -34023,6 +34545,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -40134,7 +40657,7 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to remove + description: The id of the sub-issue to remove required: - sub_issue_id examples: @@ -40248,7 +40771,8 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to add + description: The id of the sub-issue to add. The sub-issue must + belong to the same repository as the parent issue replace_parent: type: boolean description: Option that, when true, instructs the operation to @@ -80229,6 +80753,75 @@ components: type: string error: type: string + network-configuration: + title: Hosted compute network configuration + description: A hosted compute network configuration. + type: object + properties: + id: + description: The unique identifier of the network configuration. + type: string + example: 123ABC456DEF789 + name: + description: The name of the network configuration. + type: string + example: my-network-configuration + compute_service: + description: The hosted compute service the network configuration supports. + type: string + enum: + - none + - actions + - codespaces + network_settings_ids: + description: The unique identifier of each network settings in the configuration. + type: array + items: + type: string + example: 123ABC456DEF789 + created_on: + description: The time at which the network configuration was created, in + ISO 8601 format. + type: string + format: date-time + example: '2024-04-26T11:31:07Z' + nullable: true + required: + - id + - name + - created_on + network-settings: + title: Hosted compute network settings resource + description: A hosted compute network settings resource. + type: object + properties: + id: + description: The unique identifier of the network settings resource. + type: string + example: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: + description: The identifier of the network configuration that is using this + settings resource. + type: string + example: 934E208B3EE0BD60CF5F752C426BFB53562 + name: + description: The name of the network settings resource. + type: string + example: my-network-settings + subnet_id: + description: The subnet this network settings resource is configured for. + type: string + example: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: + description: The location of the subnet this network settings resource is + configured for. + type: string + example: eastus + required: + - id + - name + - subnet_id + - region custom-property: title: Organization Custom Property description: Custom property defined on an organization @@ -212134,6 +212727,40 @@ components: date: '2020-01-01T00:00:00Z' status: success error: '' + network-configurations-paginated: + value: + total_count: 2 + network_configurations: + - id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + - id: 456789ABDCEF123 + name: My other configuration + compute_service: none + network_settings_ids: + - 56789ABDCEF1234 + - 6789ABDCEF12345 + created_on: '2023-04-26T15:23:37Z' + network-configuration: + value: + id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + network-settings: + value: + id: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 + name: my_network_settings + subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: eastus custom-properties: value: - property_name: environment @@ -236215,6 +236842,18 @@ components: for these packages will be returned. schema: type: string + dependabot-alert-comma-separated-epss: + name: epss_percentage + in: query + description: |- + CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as: + - An exact number (`n`) + - Comparators such as `>n`, `=n`, `<=n` + - A range like `n..n`, where `n` is a number from 0.0 to 1.0 + + Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. + schema: + type: string dependabot-alert-scope: name: scope in: query @@ -236265,6 +236904,20 @@ components: type: integer minimum: 1 maximum: 100 + network-configuration-id: + name: network_configuration_id + description: Unique identifier of the hosted compute network configuration. + in: path + required: true + schema: + type: string + network-settings-id: + name: network_settings_id + description: Unique identifier of the hosted compute network settings. + in: path + required: true + schema: + type: string custom-property-name: name: custom_property_name description: The custom property name diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 8c2aeb6f5..cac19c333 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -191,6 +191,10 @@ { "name": "private-registries", "description": "Manage private registry configurations." + }, + { + "name": "hosted-compute", + "description": "Manage hosted compute networking resources." } ], "servers": [ @@ -6797,6 +6801,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -6910,6 +6917,386 @@ } } }, + "/enterprises/{enterprise}/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an enterprise", + "description": "Lists all hosted compute network configurations configured in an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "network_configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "network_configurations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/network-configuration" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configurations-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an enterprise", + "description": "Creates a hosted compute network configuration for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, `.`, `-`, and `_`.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, + "/enterprises/{enterprise}/network-configurations/{network_configuration_id}": { + "get": { + "summary": "Get a hosted compute network configuration for an enterprise", + "description": "Gets a hosted compute network configuration configured in an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an enterprise", + "description": "Updates a hosted compute network configuration for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, `.`, `-`, and `_`.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an enterprise", + "description": "Deletes a hosted compute network configuration from an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, + "/enterprises/{enterprise}/network-settings/{network_settings_id}": { + "get": { + "summary": "Get a hosted compute network settings resource for an enterprise", + "description": "Gets a hosted compute network settings resource configured for an enterprise.", + "tags": [ + "enterprise-admin", + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-settings-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/network-settings-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-settings" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "network-configurations" + } + } + }, "/enterprises/{enterprise}/properties/schema": { "get": { "summary": "Get custom properties for an enterprise", @@ -19515,6 +19902,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -28038,6 +28428,380 @@ } } }, + "/orgs/{org}/settings/network-configurations": { + "get": { + "summary": "List hosted compute network configurations for an organization", + "description": "Lists all hosted compute network configurations configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/list-network-configurations-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "network_configurations" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "network_configurations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/network-configuration" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configurations-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "post": { + "summary": "Create a hosted compute network configuration for an organization", + "description": "Creates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/create-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "network_settings_ids" + ] + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": { + "get": { + "summary": "Get a hosted compute network configuration for an organization", + "description": "Gets a hosted compute network configuration configured in an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "patch": { + "summary": "Update a hosted compute network configuration for an organization", + "description": "Updates a hosted compute network configuration for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/update-network-configuration-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "description": "Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.", + "type": "string" + }, + "compute_service": { + "description": "The hosted compute service to use for the network configuration.", + "type": "string", + "enum": [ + "none", + "actions" + ] + }, + "network_settings_ids": { + "type": "array", + "minItems": 0, + "maxItems": 1, + "description": "The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "my-network-configuration", + "network_settings_ids": [ + "23456789ABDCEF1" + ], + "compute_service": "actions" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-configuration" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-configuration" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + }, + "delete": { + "summary": "Delete a hosted compute network configuration from an organization", + "description": "Deletes a hosted compute network configuration from an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/delete-network-configuration-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-configuration-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, + "/orgs/{org}/settings/network-settings/{network_settings_id}": { + "get": { + "summary": "Get a hosted compute network settings resource for an organization", + "description": "Gets a hosted compute network settings resource configured for an organization.\n\nOAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint.", + "tags": [ + "hosted-compute" + ], + "operationId": "hosted-compute/get-network-settings-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/network-settings-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/network-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/network-settings" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "settings", + "subcategory": "network-configurations" + } + } + }, "/orgs/{org}/team-sync/groups": { "get": { "summary": "List IdP groups for an organization", @@ -46709,6 +47473,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -55132,7 +55899,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to remove" + "description": "The id of the sub-issue to remove" } }, "required": [ @@ -55287,7 +56054,7 @@ "properties": { "sub_issue_id": { "type": "integer", - "description": "The sub-issue to add" + "description": "The id of the sub-issue to add. The sub-issue must belong to the same repository as the parent issue" }, "replace_parent": { "type": "boolean", @@ -110157,6 +110924,90 @@ } } }, + "network-configuration": { + "title": "Hosted compute network configuration", + "description": "A hosted compute network configuration.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network configuration.", + "type": "string", + "example": "123ABC456DEF789" + }, + "name": { + "description": "The name of the network configuration.", + "type": "string", + "example": "my-network-configuration" + }, + "compute_service": { + "description": "The hosted compute service the network configuration supports.", + "type": "string", + "enum": [ + "none", + "actions", + "codespaces" + ] + }, + "network_settings_ids": { + "description": "The unique identifier of each network settings in the configuration.", + "type": "array", + "items": { + "type": "string" + }, + "example": "123ABC456DEF789" + }, + "created_on": { + "description": "The time at which the network configuration was created, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2024-04-26T11:31:07Z", + "nullable": true + } + }, + "required": [ + "id", + "name", + "created_on" + ] + }, + "network-settings": { + "title": "Hosted compute network settings resource", + "description": "A hosted compute network settings resource.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the network settings resource.", + "type": "string", + "example": "220F78DACB92BBFBC5E6F22DE1CCF52309D" + }, + "network_configuration_id": { + "description": "The identifier of the network configuration that is using this settings resource.", + "type": "string", + "example": "934E208B3EE0BD60CF5F752C426BFB53562" + }, + "name": { + "description": "The name of the network settings resource.", + "type": "string", + "example": "my-network-settings" + }, + "subnet_id": { + "description": "The subnet this network settings resource is configured for.", + "type": "string", + "example": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + }, + "region": { + "description": "The location of the subnet this network settings resource is configured for.", + "type": "string", + "example": "eastus" + } + }, + "required": [ + "id", + "name", + "subnet_id", + "region" + ] + }, "custom-property": { "title": "Organization Custom Property", "description": "Custom property defined on an organization", @@ -283627,6 +284478,54 @@ ] } }, + "network-configurations-paginated": { + "value": { + "total_count": 2, + "network_configurations": [ + { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + }, + { + "id": "456789ABDCEF123", + "name": "My other configuration", + "compute_service": "none", + "network_settings_ids": [ + "56789ABDCEF1234", + "6789ABDCEF12345" + ], + "created_on": "2023-04-26T15:23:37Z" + } + ] + } + }, + "network-configuration": { + "value": { + "id": "123456789ABCDEF", + "name": "My network configuration", + "compute_service": "actions", + "network_settings_ids": [ + "23456789ABDCEF1", + "3456789ABDCEF12" + ], + "created_on": "2022-10-09T23:39:01Z" + } + }, + "network-settings": { + "value": { + "id": "220F78DACB92BBFBC5E6F22DE1CCF52309D", + "network_configuration_id": "934E208B3EE0BD60CF5F752C426BFB53562", + "name": "my_network_settings", + "subnet_id": "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet", + "region": "eastus" + } + }, "custom-properties": { "value": [ { @@ -311627,6 +312526,14 @@ "type": "string" } }, + "dependabot-alert-comma-separated-epss": { + "name": "epss_percentage", + "in": "query", + "description": "CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as:\n- An exact number (`n`)\n- Comparators such as `>n`, `=n`, `<=n`\n- A range like `n..n`, where `n` is a number from 0.0 to 1.0\n\nFilters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned.", + "schema": { + "type": "string" + } + }, "dependabot-alert-scope": { "name": "scope", "in": "query", @@ -311676,6 +312583,24 @@ "maximum": 100 } }, + "network-configuration-id": { + "name": "network_configuration_id", + "description": "Unique identifier of the hosted compute network configuration.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + "network-settings-id": { + "name": "network_settings_id", + "description": "Unique identifier of the hosted compute network settings.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "custom-property-name": { "name": "custom_property_name", "description": "The custom property name", diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 3477f6846..f88492a90 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -101,6 +101,8 @@ tags: description: Endpoints to manage Code security using the REST API. - name: private-registries description: Manage private registry configurations. +- name: hosted-compute + description: Manage hosted compute networking resources. servers: - url: https://api.github.com externalDocs: @@ -4878,6 +4880,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -4945,6 +4948,260 @@ paths: previews: [] category: enterprise-admin subcategory: license + "/enterprises/{enterprise}/network-configurations": + get: + summary: List hosted compute network configurations for an enterprise + description: Lists all hosted compute network configurations configured in an + enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configurations-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an enterprise + description: Creates a hosted compute network configuration for an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, `.`, `-`, and `_`. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + "/enterprises/{enterprise}/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an enterprise + description: Gets a hosted compute network configuration configured in an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an enterprise + description: Updates a hosted compute network configuration for an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/network-configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, `.`, `-`, and `_`. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an enterprise + description: Deletes a hosted compute network configuration from an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations + "/enterprises/{enterprise}/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an enterprise + description: Gets a hosted compute network settings resource configured for + an enterprise. + tags: + - enterprise-admin + - hosted-compute + operationId: hosted-compute/get-network-settings-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/network-settings-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-settings" + examples: + default: + "$ref": "#/components/examples/network-settings" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: network-configurations "/enterprises/{enterprise}/properties/schema": get: summary: Get custom properties for an enterprise @@ -14240,6 +14497,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -20367,6 +20625,270 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/orgs/{org}/settings/network-configurations": + get: + summary: List hosted compute network configurations for an organization + description: |- + Lists all hosted compute network configurations configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/list-network-configurations-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - network_configurations + properties: + total_count: + type: integer + network_configurations: + type: array + items: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configurations-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + post: + summary: Create a hosted compute network configuration for an organization + description: |- + Creates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/create-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 1 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + required: + - name + - network_settings_ids + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-configurations/{network_configuration_id}": + get: + summary: Get a hosted compute network configuration for an organization + description: |- + Gets a hosted compute network configuration configured in an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + patch: + summary: Update a hosted compute network configuration for an organization + description: |- + Updates a hosted compute network configuration for an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/update-network-configuration-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + description: Name of the network configuration. Must be between + 1 and 100 characters and may only contain upper and lowercase + letters a-z, numbers 0-9, '.', '-', and '_'. + type: string + compute_service: + description: The hosted compute service to use for the network configuration. + type: string + enum: + - none + - actions + network_settings_ids: + type: array + minItems: 0 + maxItems: 1 + description: The identifier of the network settings to use for the + network configuration. Exactly one network settings must be specified. + items: + type: string + examples: + default: + value: + name: my-network-configuration + network_settings_ids: + - 23456789ABDCEF1 + compute_service: actions + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-configuration" + examples: + default: + "$ref": "#/components/examples/network-configuration" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + delete: + summary: Delete a hosted compute network configuration from an organization + description: |- + Deletes a hosted compute network configuration from an organization. + + OAuth app tokens and personal access tokens (classic) need the `write:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/delete-network-configuration-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-configuration-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations + "/orgs/{org}/settings/network-settings/{network_settings_id}": + get: + summary: Get a hosted compute network settings resource for an organization + description: |- + Gets a hosted compute network settings resource configured for an organization. + + OAuth app tokens and personal access tokens (classic) need the `read:network_configurations` scope to use this endpoint. + tags: + - hosted-compute + operationId: hosted-compute/get-network-settings-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/network-settings-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/network-settings" + examples: + default: + "$ref": "#/components/examples/network-settings" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: settings + subcategory: network-configurations "/orgs/{org}/team-sync/groups": get: summary: List IdP groups for an organization @@ -34023,6 +34545,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -40134,7 +40657,7 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to remove + description: The id of the sub-issue to remove required: - sub_issue_id examples: @@ -40248,7 +40771,8 @@ paths: properties: sub_issue_id: type: integer - description: The sub-issue to add + description: The id of the sub-issue to add. The sub-issue must + belong to the same repository as the parent issue replace_parent: type: boolean description: Option that, when true, instructs the operation to @@ -80229,6 +80753,75 @@ components: type: string error: type: string + network-configuration: + title: Hosted compute network configuration + description: A hosted compute network configuration. + type: object + properties: + id: + description: The unique identifier of the network configuration. + type: string + example: 123ABC456DEF789 + name: + description: The name of the network configuration. + type: string + example: my-network-configuration + compute_service: + description: The hosted compute service the network configuration supports. + type: string + enum: + - none + - actions + - codespaces + network_settings_ids: + description: The unique identifier of each network settings in the configuration. + type: array + items: + type: string + example: 123ABC456DEF789 + created_on: + description: The time at which the network configuration was created, in + ISO 8601 format. + type: string + format: date-time + example: '2024-04-26T11:31:07Z' + nullable: true + required: + - id + - name + - created_on + network-settings: + title: Hosted compute network settings resource + description: A hosted compute network settings resource. + type: object + properties: + id: + description: The unique identifier of the network settings resource. + type: string + example: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: + description: The identifier of the network configuration that is using this + settings resource. + type: string + example: 934E208B3EE0BD60CF5F752C426BFB53562 + name: + description: The name of the network settings resource. + type: string + example: my-network-settings + subnet_id: + description: The subnet this network settings resource is configured for. + type: string + example: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: + description: The location of the subnet this network settings resource is + configured for. + type: string + example: eastus + required: + - id + - name + - subnet_id + - region custom-property: title: Organization Custom Property description: Custom property defined on an organization @@ -212134,6 +212727,40 @@ components: date: '2020-01-01T00:00:00Z' status: success error: '' + network-configurations-paginated: + value: + total_count: 2 + network_configurations: + - id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + - id: 456789ABDCEF123 + name: My other configuration + compute_service: none + network_settings_ids: + - 56789ABDCEF1234 + - 6789ABDCEF12345 + created_on: '2023-04-26T15:23:37Z' + network-configuration: + value: + id: 123456789ABCDEF + name: My network configuration + compute_service: actions + network_settings_ids: + - 23456789ABDCEF1 + - 3456789ABDCEF12 + created_on: '2022-10-09T23:39:01Z' + network-settings: + value: + id: 220F78DACB92BBFBC5E6F22DE1CCF52309D + network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 + name: my_network_settings + subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" + region: eastus custom-properties: value: - property_name: environment @@ -236215,6 +236842,18 @@ components: for these packages will be returned. schema: type: string + dependabot-alert-comma-separated-epss: + name: epss_percentage + in: query + description: |- + CVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as: + - An exact number (`n`) + - Comparators such as `>n`, `=n`, `<=n` + - A range like `n..n`, where `n` is a number from 0.0 to 1.0 + + Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. + schema: + type: string dependabot-alert-scope: name: scope in: query @@ -236265,6 +236904,20 @@ components: type: integer minimum: 1 maximum: 100 + network-configuration-id: + name: network_configuration_id + description: Unique identifier of the hosted compute network configuration. + in: path + required: true + schema: + type: string + network-settings-id: + name: network_settings_id + description: Unique identifier of the hosted compute network settings. + in: path + required: true + schema: + type: string custom-property-name: name: custom_property_name description: The custom property name diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json index 9729fd855..4101b5a05 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json @@ -36574,13 +36574,12 @@ { "name": "sort", "in": "query", - "description": "The property by which to sort the results.\n`created` means when the alert was created.\n`updated` means when the alert's state last changed.\n`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.", + "description": "The property by which to sort the results.\n`created` means when the alert was created.\n`updated` means when the alert's state last changed.", "schema": { "type": "string", "enum": [ "created", - "updated", - "epss_percentage" + "updated" ], "default": "created" } @@ -79939,13 +79938,12 @@ { "name": "sort", "in": "query", - "description": "The property by which to sort the results.\n`created` means when the alert was created.\n`updated` means when the alert's state last changed.\n`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.", + "description": "The property by which to sort the results.\n`created` means when the alert was created.\n`updated` means when the alert's state last changed.", "schema": { "type": "string", "enum": [ "created", - "updated", - "epss_percentage" + "updated" ], "default": "created" } @@ -217948,13 +217946,12 @@ { "name": "sort", "in": "query", - "description": "The property by which to sort the results.\n`created` means when the alert was created.\n`updated` means when the alert's state last changed.\n`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.", + "description": "The property by which to sort the results.\n`created` means when the alert was created.\n`updated` means when the alert's state last changed.", "schema": { "type": "string", "enum": [ "created", - "updated", - "epss_percentage" + "updated" ], "default": "created" } @@ -217972,67 +217969,6 @@ ], "default": "desc" } - }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "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.10/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combin{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}